Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-03 23:59:03.093405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/56/image_03012025_23_56_02_867647_0003.jpg', '/home/pi/Desktop/images/03012025/23/57/image_03012025_23_57_03_060506_0000.jpg', '/home/pi/Desktop/images/03012025/23/57/image_03012025_23_57_03_060506_0001.jpg', '/home/pi/Desktop/images/03012025/23/57/image_03012025_23_57_03_060506_0002.jpg', '/home/pi/Desktop/images/03012025/23/57/image_03012025_23_57_03_060506_0003.jpg', '/home/pi/Desktop/images/03012025/23/58/image_03012025_23_58_02_282485_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/56/image_03012025_23_56_02_867647_0003.jpg
/home/pi/Desktop/images/03012025/23/57/image_03012025_23_57_03_060506_0000.jpg
/home/pi/Desktop/images/03012025/23/57/image_03012025_23_57_03_060506_0001.jpg
/home/pi/Desktop/images/03012025/23/57/image_03012025_23_57_03_060506_0002.jpg
/home/pi/Desktop/images/03012025/23/57/image_03012025_23_57_03_060506_0003.jpg
/home/pi/Desktop/images/03012025/23/58/image_03012025_23_58_02_282485_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":["1326110601","1326110510","1326110513","1326110507","1326110602","1326110503"],"photo_ids_order":["1326110503","1326110507","1326110510","1326110513","1326110601","1326110602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d7caa0c110f50f21849c271b63de0fe.jpg","text":"TemporaryFile(/tmp/multipartBody3805182943117906373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945219446,"filename":"image_03012025_23_57_03_060506_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0345689dd814981b037c329200543652.jpg","text":"TemporaryFile(/tmp/multipartBody936107549142444157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945219446,"filename":"image_03012025_23_57_03_060506_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/988efb06454ed230fe59bfac53053413.jpg","text":"TemporaryFile(/tmp/multipartBody1884056784038424535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945219446,"filename":"image_03012025_23_57_03_060506_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e1172b9656fe67dd5f4c8107c441a4ef.jpg","text":"TemporaryFile(/tmp/multipartBody5953230831219614390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945219446,"filename":"image_03012025_23_57_03_060506_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1cb8da20f3d051522e5bd66a1388acae.jpg","text":"TemporaryFile(/tmp/multipartBody5029307339548371500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945219446,"filename":"image_03012025_23_58_02_282485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c34027fff18d309c8a22f12a4f5a7c8a.jpg","text":"TemporaryFile(/tmp/multipartBody296071464900893648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945219446,"filename":"image_03012025_23_56_02_867647_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326110510","file1":"1326110507","file0":"1326110503","file4":"1326110601","file5":"1326110602","file3":"1326110513"},"map_files_photo_id_array":[{"photo_id":"1326110602","filename":"file5"},{"photo_id":"1326110510","filename":"file2"},{"photo_id":"1326110601","filename":"file4"},{"photo_id":"1326110507","filename":"file1"},{"photo_id":"1326110503","filename":"file0"},{"photo_id":"1326110513","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326110601":["hashtag1","hashtag2"]},{"1326110510":["hashtag1","hashtag2"]},{"1326110513":["hashtag1","hashtag2"]},{"1326110507":["hashtag1","hashtag2"]},{"1326110602":["hashtag1","hashtag2"]},{"1326110503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326110601, 1326110510, 1326110513, 1326110507, 1326110602, 1326110503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.48808574676514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:00:02.806802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/58/image_03012025_23_58_02_282485_0001.jpg', '/home/pi/Desktop/images/03012025/23/58/image_03012025_23_58_02_282485_0002.jpg', '/home/pi/Desktop/images/03012025/23/58/image_03012025_23_58_02_282485_0003.jpg', '/home/pi/Desktop/images/03012025/23/59/image_03012025_23_59_02_491982_0000.jpg', '/home/pi/Desktop/images/03012025/23/59/image_03012025_23_59_02_491982_0001.jpg', '/home/pi/Desktop/images/03012025/23/59/image_03012025_23_59_02_491982_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/58/image_03012025_23_58_02_282485_0001.jpg
/home/pi/Desktop/images/03012025/23/58/image_03012025_23_58_02_282485_0002.jpg
/home/pi/Desktop/images/03012025/23/58/image_03012025_23_58_02_282485_0003.jpg
/home/pi/Desktop/images/03012025/23/59/image_03012025_23_59_02_491982_0000.jpg
/home/pi/Desktop/images/03012025/23/59/image_03012025_23_59_02_491982_0001.jpg
/home/pi/Desktop/images/03012025/23/59/image_03012025_23_59_02_491982_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326111071","1326111068","1326111236","1326111425","1326111352","1326111078"],"photo_ids_order":["1326111068","1326111071","1326111078","1326111236","1326111352","1326111425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fade6074746fa4c2ccb14f68621e3c06.jpg","text":"TemporaryFile(/tmp/multipartBody8253401750273170746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945278895,"filename":"image_03012025_23_58_02_282485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/310f0ee243efc93a2e038dc26c1ab9a7.jpg","text":"TemporaryFile(/tmp/multipartBody2281792574602784593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945278895,"filename":"image_03012025_23_58_02_282485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bf2385e1551068234b6c8eb09c4476f8.jpg","text":"TemporaryFile(/tmp/multipartBody6474337841851682984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945278895,"filename":"image_03012025_23_59_02_491982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0b908e9abbe27553e7ebdac3793d8f9.jpg","text":"TemporaryFile(/tmp/multipartBody4273214459939269562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945278895,"filename":"image_03012025_23_59_02_491982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3c74dd2d4b991c875f7f2119f6c2373e.jpg","text":"TemporaryFile(/tmp/multipartBody6227135179067337098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945278895,"filename":"image_03012025_23_59_02_491982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7416fa1f0bdb6ea7de469efe37f256b6.jpg","text":"TemporaryFile(/tmp/multipartBody1459271771010133130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945278895,"filename":"image_03012025_23_58_02_282485_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326111078","file1":"1326111071","file0":"1326111068","file4":"1326111352","file5":"1326111425","file3":"1326111236"},"map_files_photo_id_array":[{"photo_id":"1326111425","filename":"file5"},{"photo_id":"1326111078","filename":"file2"},{"photo_id":"1326111352","filename":"file4"},{"photo_id":"1326111071","filename":"file1"},{"photo_id":"1326111068","filename":"file0"},{"photo_id":"1326111236","filename":"file3"}],"portfolio_id":19381866,"hashtag_by_photo_ids":[{"1326111071":["hashtag1","hashtag2"]},{"1326111068":["hashtag1","hashtag2"]},{"1326111236":["hashtag1","hashtag2"]},{"1326111425":["hashtag1","hashtag2"]},{"1326111352":["hashtag1","hashtag2"]},{"1326111078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19381866 used, photo_id : ArrayBuffer(1326111071, 1326111068, 1326111236, 1326111425, 1326111352, 1326111078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.78853464126587 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:01:03.133265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 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_04012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'portfolio_id': 19403015, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1735945324000}
533
2464341
533
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/00/image_04012025_00_00_02_558196_0000.jpg', '/home/pi/Desktop/images/04012025/00/00/image_04012025_00_00_02_558196_0001.jpg', '/home/pi/Desktop/images/04012025/00/00/image_04012025_00_00_02_558196_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/00/image_04012025_00_00_02_558196_0000.jpg
/home/pi/Desktop/images/04012025/00/00/image_04012025_00_00_02_558196_0001.jpg
/home/pi/Desktop/images/04012025/00/00/image_04012025_00_00_02_558196_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326111626","1326111629","1326111634"],"photo_ids_order":["1326111626","1326111629","1326111634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/67eab110bcb8aa30db136fae4a792a43.jpg","text":"TemporaryFile(/tmp/multipartBody3562939391963838861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945334228,"filename":"image_04012025_00_00_02_558196_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/12c7f43dd3fb285c400642dc7ead9898.jpg","text":"TemporaryFile(/tmp/multipartBody461161683020089070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945334228,"filename":"image_04012025_00_00_02_558196_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/12a9fb688377a07a78eb845da06dce11.jpg","text":"TemporaryFile(/tmp/multipartBody1369032728449632918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945334228,"filename":"image_04012025_00_00_02_558196_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326111634","file1":"1326111629","file0":"1326111626"},"map_files_photo_id_array":[{"photo_id":"1326111634","filename":"file2"},{"photo_id":"1326111629","filename":"file1"},{"photo_id":"1326111626","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326111626":["hashtag1","hashtag2"]},{"1326111629":["hashtag1","hashtag2"]},{"1326111634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326111626, 1326111629, 1326111634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.85238027572632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:01:52.588999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
  port_id : 19381866
  datou_current_id : 2460006
in upload_from_sqlite, uploading in 19381866
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03012025/23/59/image_03012025_23_59_02_491982_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2460006&datou=0
/home/pi/Desktop/images/03012025/23/59/image_03012025_23_59_02_491982_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326111644"],"photo_id":"1326111644","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a3ac7298d707a57baabaf908acc2be59.jpg","text":"TemporaryFile(/tmp/multipartBody5938564599084389424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945376529,"filename":"image_03012025_23_59_02_491982_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326111644"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326111644"}],"hashtags":[],"portfolio_id":"19381866","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.607317209243774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:02:21.749167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/00/image_04012025_00_00_02_558196_0003.jpg', '/home/pi/Desktop/images/04012025/00/01/image_04012025_00_01_02_732405_0000.jpg', '/home/pi/Desktop/images/04012025/00/01/image_04012025_00_01_02_732405_0001.jpg', '/home/pi/Desktop/images/04012025/00/01/image_04012025_00_01_02_732405_0002.jpg', '/home/pi/Desktop/images/04012025/00/01/image_04012025_00_01_02_732405_0003.jpg', '/home/pi/Desktop/images/04012025/00/02/image_04012025_00_02_02_928815_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/00/image_04012025_00_00_02_558196_0003.jpg
/home/pi/Desktop/images/04012025/00/01/image_04012025_00_01_02_732405_0000.jpg
/home/pi/Desktop/images/04012025/00/01/image_04012025_00_01_02_732405_0001.jpg
/home/pi/Desktop/images/04012025/00/01/image_04012025_00_01_02_732405_0002.jpg
/home/pi/Desktop/images/04012025/00/01/image_04012025_00_01_02_732405_0003.jpg
/home/pi/Desktop/images/04012025/00/02/image_04012025_00_02_02_928815_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":["1326112319","1326111863","1326112351","1326111985","1326111754","1326112353"],"photo_ids_order":["1326111754","1326111863","1326111985","1326112319","1326112351","1326112353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2ba1dad667c974540c48f74ed068cee1.jpg","text":"TemporaryFile(/tmp/multipartBody4984713763718102590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945416998,"filename":"image_04012025_00_01_02_732405_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/14046dc7daa9c2c295c49b9fcbe36b25.jpg","text":"TemporaryFile(/tmp/multipartBody793398847754204256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945416998,"filename":"image_04012025_00_01_02_732405_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8eec9fe6869a9d2c51d2f9b6c9d8c04a.jpg","text":"TemporaryFile(/tmp/multipartBody1898772026801480010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945416998,"filename":"image_04012025_00_01_02_732405_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9782ea5f58fd6ad5f606a834809c2287.jpg","text":"TemporaryFile(/tmp/multipartBody7131253892435812487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945416998,"filename":"image_04012025_00_01_02_732405_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c08b9540a0308b5684a14ec580eb454f.jpg","text":"TemporaryFile(/tmp/multipartBody8168361444051969457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945416998,"filename":"image_04012025_00_00_02_558196_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fce970bd7dbd02c6a372ee98856d6744.jpg","text":"TemporaryFile(/tmp/multipartBody870138527651104073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945416998,"filename":"image_04012025_00_02_02_928815_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326111985","file1":"1326111863","file0":"1326111754","file4":"1326112351","file5":"1326112353","file3":"1326112319"},"map_files_photo_id_array":[{"photo_id":"1326112353","filename":"file5"},{"photo_id":"1326111985","filename":"file2"},{"photo_id":"1326112351","filename":"file4"},{"photo_id":"1326111863","filename":"file1"},{"photo_id":"1326111754","filename":"file0"},{"photo_id":"1326112319","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326112319":["hashtag1","hashtag2"]},{"1326111863":["hashtag1","hashtag2"]},{"1326112351":["hashtag1","hashtag2"]},{"1326111985":["hashtag1","hashtag2"]},{"1326111754":["hashtag1","hashtag2"]},{"1326112353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326112319, 1326111863, 1326112351, 1326111985, 1326111754, 1326112353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.91822123527527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:03:21.967627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/02/image_04012025_00_02_02_928815_0001.jpg', '/home/pi/Desktop/images/04012025/00/02/image_04012025_00_02_02_928815_0002.jpg', '/home/pi/Desktop/images/04012025/00/02/image_04012025_00_02_02_928815_0003.jpg', '/home/pi/Desktop/images/04012025/00/03/image_04012025_00_03_02_123900_0000.jpg', '/home/pi/Desktop/images/04012025/00/03/image_04012025_00_03_02_123900_0001.jpg', '/home/pi/Desktop/images/04012025/00/03/image_04012025_00_03_02_123900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/02/image_04012025_00_02_02_928815_0001.jpg
/home/pi/Desktop/images/04012025/00/02/image_04012025_00_02_02_928815_0002.jpg
/home/pi/Desktop/images/04012025/00/02/image_04012025_00_02_02_928815_0003.jpg
/home/pi/Desktop/images/04012025/00/03/image_04012025_00_03_02_123900_0000.jpg
/home/pi/Desktop/images/04012025/00/03/image_04012025_00_03_02_123900_0001.jpg
/home/pi/Desktop/images/04012025/00/03/image_04012025_00_03_02_123900_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326112733","1326112622","1326112735","1326112671","1326112719","1326112571"],"photo_ids_order":["1326112571","1326112622","1326112671","1326112719","1326112733","1326112735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/24450d2fea906cb843d4e07164de212f.jpg","text":"TemporaryFile(/tmp/multipartBody2727345002968588246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945477159,"filename":"image_04012025_00_03_02_123900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/baa161cf9865ed8fdfa4cb9b4f573f38.jpg","text":"TemporaryFile(/tmp/multipartBody4015477359006933715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945477159,"filename":"image_04012025_00_02_02_928815_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/94893c4116b7695212fc87851281cd45.jpg","text":"TemporaryFile(/tmp/multipartBody5830112830792835249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945477159,"filename":"image_04012025_00_03_02_123900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/36575e8a79c43a251e703788ce306d02.jpg","text":"TemporaryFile(/tmp/multipartBody6833865589901246740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945477159,"filename":"image_04012025_00_02_02_928815_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8995e7c5d6eed6dc54f110a1c5184bfd.jpg","text":"TemporaryFile(/tmp/multipartBody3865533459396830551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945477159,"filename":"image_04012025_00_03_02_123900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2e8620d358cbc590ba5b98ae32a3940d.jpg","text":"TemporaryFile(/tmp/multipartBody3466936288485337517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945477159,"filename":"image_04012025_00_02_02_928815_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326112671","file1":"1326112622","file0":"1326112571","file4":"1326112733","file5":"1326112735","file3":"1326112719"},"map_files_photo_id_array":[{"photo_id":"1326112735","filename":"file5"},{"photo_id":"1326112671","filename":"file2"},{"photo_id":"1326112733","filename":"file4"},{"photo_id":"1326112622","filename":"file1"},{"photo_id":"1326112571","filename":"file0"},{"photo_id":"1326112719","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326112733":["hashtag1","hashtag2"]},{"1326112622":["hashtag1","hashtag2"]},{"1326112735":["hashtag1","hashtag2"]},{"1326112671":["hashtag1","hashtag2"]},{"1326112719":["hashtag1","hashtag2"]},{"1326112571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326112733, 1326112622, 1326112735, 1326112671, 1326112719, 1326112571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.17099213600159 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:04:22.122712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/03/image_04012025_00_03_02_123900_0003.jpg', '/home/pi/Desktop/images/04012025/00/04/image_04012025_00_04_02_279256_0000.jpg', '/home/pi/Desktop/images/04012025/00/04/image_04012025_00_04_02_279256_0001.jpg', '/home/pi/Desktop/images/04012025/00/04/image_04012025_00_04_02_279256_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/03/image_04012025_00_03_02_123900_0003.jpg
/home/pi/Desktop/images/04012025/00/04/image_04012025_00_04_02_279256_0000.jpg
/home/pi/Desktop/images/04012025/00/04/image_04012025_00_04_02_279256_0001.jpg
/home/pi/Desktop/images/04012025/00/04/image_04012025_00_04_02_279256_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.024346590042114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:04:52.121038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:05:02.858490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/03/image_04012025_00_03_02_123900_0003.jpg', '/home/pi/Desktop/images/04012025/00/04/image_04012025_00_04_02_279256_0000.jpg', '/home/pi/Desktop/images/04012025/00/04/image_04012025_00_04_02_279256_0001.jpg', '/home/pi/Desktop/images/04012025/00/04/image_04012025_00_04_02_279256_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/03/image_04012025_00_03_02_123900_0003.jpg
/home/pi/Desktop/images/04012025/00/04/image_04012025_00_04_02_279256_0000.jpg
/home/pi/Desktop/images/04012025/00/04/image_04012025_00_04_02_279256_0001.jpg
/home/pi/Desktop/images/04012025/00/04/image_04012025_00_04_02_279256_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326113766","1326113652","1326113703","1326113651"],"photo_ids_order":["1326113651","1326113652","1326113703","1326113766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6f3f71531e27c4f785d98eb1697d4062.jpg","text":"TemporaryFile(/tmp/multipartBody6054763118087184304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945573363,"filename":"image_04012025_00_04_02_279256_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c81d3e00bd89e9168185f85415192311.jpg","text":"TemporaryFile(/tmp/multipartBody3914473034434450683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945573363,"filename":"image_04012025_00_04_02_279256_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4e197b72d245e9a23fefb42c4a0d9b20.jpg","text":"TemporaryFile(/tmp/multipartBody4592228027642795629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945573363,"filename":"image_04012025_00_04_02_279256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/68fc1832df0cb54bd4b64a80635b2202.jpg","text":"TemporaryFile(/tmp/multipartBody5852886265740218135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945573363,"filename":"image_04012025_00_03_02_123900_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326113703","file1":"1326113652","file0":"1326113651","file3":"1326113766"},"map_files_photo_id_array":[{"photo_id":"1326113703","filename":"file2"},{"photo_id":"1326113652","filename":"file1"},{"photo_id":"1326113651","filename":"file0"},{"photo_id":"1326113766","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326113766":["hashtag1","hashtag2"]},{"1326113652":["hashtag1","hashtag2"]},{"1326113703":["hashtag1","hashtag2"]},{"1326113651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326113766, 1326113652, 1326113703, 1326113651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.29191040992737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:05:52.340062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:06:02.883796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/04/image_04012025_00_04_02_279256_0003.jpg', '/home/pi/Desktop/images/04012025/00/05/image_04012025_00_05_02_452932_0000.jpg', '/home/pi/Desktop/images/04012025/00/05/image_04012025_00_05_02_452932_0001.jpg', '/home/pi/Desktop/images/04012025/00/05/image_04012025_00_05_02_452932_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/04/image_04012025_00_04_02_279256_0003.jpg
/home/pi/Desktop/images/04012025/00/05/image_04012025_00_05_02_452932_0000.jpg
/home/pi/Desktop/images/04012025/00/05/image_04012025_00_05_02_452932_0001.jpg
/home/pi/Desktop/images/04012025/00/05/image_04012025_00_05_02_452932_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.002093076705933 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:06:22.517995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/04/image_04012025_00_04_02_279256_0003.jpg', '/home/pi/Desktop/images/04012025/00/05/image_04012025_00_05_02_452932_0000.jpg', '/home/pi/Desktop/images/04012025/00/05/image_04012025_00_05_02_452932_0001.jpg', '/home/pi/Desktop/images/04012025/00/05/image_04012025_00_05_02_452932_0002.jpg', '/home/pi/Desktop/images/04012025/00/05/image_04012025_00_05_02_452932_0003.jpg', '/home/pi/Desktop/images/04012025/00/06/image_04012025_00_06_02_720641_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/04/image_04012025_00_04_02_279256_0003.jpg
/home/pi/Desktop/images/04012025/00/05/image_04012025_00_05_02_452932_0000.jpg
/home/pi/Desktop/images/04012025/00/05/image_04012025_00_05_02_452932_0001.jpg
/home/pi/Desktop/images/04012025/00/05/image_04012025_00_05_02_452932_0002.jpg
/home/pi/Desktop/images/04012025/00/05/image_04012025_00_05_02_452932_0003.jpg
/home/pi/Desktop/images/04012025/00/06/image_04012025_00_06_02_720641_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":["1326114610","1326114582","1326114519","1326114605","1326114608","1326114518"],"photo_ids_order":["1326114518","1326114519","1326114582","1326114605","1326114608","1326114610"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/60e96046ec8976ca00bbabb1f2cdd64d.jpg","text":"TemporaryFile(/tmp/multipartBody7544633017954279269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945657843,"filename":"image_04012025_00_06_02_720641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/363a1d37e4afdf31f50304aa0b206d4d.jpg","text":"TemporaryFile(/tmp/multipartBody3212355487889896345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945657843,"filename":"image_04012025_00_05_02_452932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4bb955c2b15a0c1556f0262685741e7c.jpg","text":"TemporaryFile(/tmp/multipartBody5189536809916243848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945657843,"filename":"image_04012025_00_05_02_452932_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/889ae82178eea03ce0ddd1fe46cca7da.jpg","text":"TemporaryFile(/tmp/multipartBody4518185979691439843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945657843,"filename":"image_04012025_00_05_02_452932_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6b9fc1ea4678b423c61486e2e27d8694.jpg","text":"TemporaryFile(/tmp/multipartBody6379256601612474110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945657843,"filename":"image_04012025_00_05_02_452932_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7a17e02aebecbe31177de8f803a83449.jpg","text":"TemporaryFile(/tmp/multipartBody3952031310749992185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945657843,"filename":"image_04012025_00_04_02_279256_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326114582","file1":"1326114519","file0":"1326114518","file4":"1326114608","file5":"1326114610","file3":"1326114605"},"map_files_photo_id_array":[{"photo_id":"1326114610","filename":"file5"},{"photo_id":"1326114582","filename":"file2"},{"photo_id":"1326114608","filename":"file4"},{"photo_id":"1326114519","filename":"file1"},{"photo_id":"1326114518","filename":"file0"},{"photo_id":"1326114605","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326114610":["hashtag1","hashtag2"]},{"1326114582":["hashtag1","hashtag2"]},{"1326114519":["hashtag1","hashtag2"]},{"1326114605":["hashtag1","hashtag2"]},{"1326114608":["hashtag1","hashtag2"]},{"1326114518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326114610, 1326114582, 1326114519, 1326114605, 1326114608, 1326114518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.69094681739807 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:07:22.695261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/06/image_04012025_00_06_02_720641_0001.jpg', '/home/pi/Desktop/images/04012025/00/06/image_04012025_00_06_02_720641_0002.jpg', '/home/pi/Desktop/images/04012025/00/07/image_04012025_00_07_02_927224_0000.jpg', '/home/pi/Desktop/images/04012025/00/07/image_04012025_00_07_02_927224_0001.jpg', '/home/pi/Desktop/images/04012025/00/07/image_04012025_00_07_02_927224_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/06/image_04012025_00_06_02_720641_0001.jpg
/home/pi/Desktop/images/04012025/00/06/image_04012025_00_06_02_720641_0002.jpg
/home/pi/Desktop/images/04012025/00/07/image_04012025_00_07_02_927224_0000.jpg
/home/pi/Desktop/images/04012025/00/07/image_04012025_00_07_02_927224_0001.jpg
/home/pi/Desktop/images/04012025/00/07/image_04012025_00_07_02_927224_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326114616","1326114619","1326114621","1326114626","1326114617"],"photo_ids_order":["1326114616","1326114617","1326114619","1326114621","1326114626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d1d22d2d48d6fe558dddb4e6d6f313f.jpg","text":"TemporaryFile(/tmp/multipartBody5279755348312437529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945715371,"filename":"image_04012025_00_06_02_720641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3dc5e26f56b1b92239804850399dcb2b.jpg","text":"TemporaryFile(/tmp/multipartBody2057182440038573291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945715371,"filename":"image_04012025_00_07_02_927224_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6a7fe34e4f722e50540fb6f380b6e8c8.jpg","text":"TemporaryFile(/tmp/multipartBody8944428399318923305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945715371,"filename":"image_04012025_00_07_02_927224_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/092dc416b457029c8ad3dcdad8ff08ea.jpg","text":"TemporaryFile(/tmp/multipartBody8561367213969331044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945715371,"filename":"image_04012025_00_07_02_927224_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/33bfb6b73fb0224b1df7ddd08db683cb.jpg","text":"TemporaryFile(/tmp/multipartBody5813122074518031688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945715371,"filename":"image_04012025_00_06_02_720641_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326114619","file1":"1326114617","file0":"1326114616","file4":"1326114626","file3":"1326114621"},"map_files_photo_id_array":[{"photo_id":"1326114619","filename":"file2"},{"photo_id":"1326114626","filename":"file4"},{"photo_id":"1326114617","filename":"file1"},{"photo_id":"1326114616","filename":"file0"},{"photo_id":"1326114621","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326114616":["hashtag1","hashtag2"]},{"1326114619":["hashtag1","hashtag2"]},{"1326114621":["hashtag1","hashtag2"]},{"1326114626":["hashtag1","hashtag2"]},{"1326114617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326114616, 1326114619, 1326114621, 1326114626, 1326114617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.497254371643066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:08:21.936452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/07/image_04012025_00_07_02_927224_0003.jpg', '/home/pi/Desktop/images/04012025/00/08/image_04012025_00_08_03_056187_0000.jpg', '/home/pi/Desktop/images/04012025/00/08/image_04012025_00_08_03_056187_0001.jpg', '/home/pi/Desktop/images/04012025/00/08/image_04012025_00_08_03_056187_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/07/image_04012025_00_07_02_927224_0003.jpg
/home/pi/Desktop/images/04012025/00/08/image_04012025_00_08_03_056187_0000.jpg
/home/pi/Desktop/images/04012025/00/08/image_04012025_00_08_03_056187_0001.jpg
/home/pi/Desktop/images/04012025/00/08/image_04012025_00_08_03_056187_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326115312","1326115391","1326115252","1326114997"],"photo_ids_order":["1326114997","1326115252","1326115312","1326115391"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a238866b31a9b94f5cb71ffc5edf9ccb.jpg","text":"TemporaryFile(/tmp/multipartBody8627581553456109328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945772247,"filename":"image_04012025_00_08_03_056187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d0994cb76b81d163a4d54f3f91dfc9af.jpg","text":"TemporaryFile(/tmp/multipartBody757362830055418808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945772247,"filename":"image_04012025_00_08_03_056187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c629e562c2cabd852631365d59b2052d.jpg","text":"TemporaryFile(/tmp/multipartBody1726916087532176586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945772247,"filename":"image_04012025_00_08_03_056187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/14ee85eb321da06f7eff8e79b791a707.jpg","text":"TemporaryFile(/tmp/multipartBody3973757322690213640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945772247,"filename":"image_04012025_00_07_02_927224_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326115312","file1":"1326115252","file0":"1326114997","file3":"1326115391"},"map_files_photo_id_array":[{"photo_id":"1326115312","filename":"file2"},{"photo_id":"1326115252","filename":"file1"},{"photo_id":"1326114997","filename":"file0"},{"photo_id":"1326115391","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326115312":["hashtag1","hashtag2"]},{"1326115391":["hashtag1","hashtag2"]},{"1326115252":["hashtag1","hashtag2"]},{"1326114997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326115312, 1326115391, 1326115252, 1326114997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.01362156867981 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:09:22.079737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/08/image_04012025_00_08_03_056187_0003.jpg', '/home/pi/Desktop/images/04012025/00/09/image_04012025_00_09_02_268600_0000.jpg', '/home/pi/Desktop/images/04012025/00/09/image_04012025_00_09_02_268600_0001.jpg', '/home/pi/Desktop/images/04012025/00/09/image_04012025_00_09_02_268600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/08/image_04012025_00_08_03_056187_0003.jpg
/home/pi/Desktop/images/04012025/00/09/image_04012025_00_09_02_268600_0000.jpg
/home/pi/Desktop/images/04012025/00/09/image_04012025_00_09_02_268600_0001.jpg
/home/pi/Desktop/images/04012025/00/09/image_04012025_00_09_02_268600_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326115686","1326115683","1326115685","1326115687"],"photo_ids_order":["1326115683","1326115685","1326115686","1326115687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1e00a5ab8c2cda0a4ca96490557ce2f6.jpg","text":"TemporaryFile(/tmp/multipartBody2632351434011927745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945832559,"filename":"image_04012025_00_09_02_268600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/55beed6db286ed5bd5d45479905a0f85.jpg","text":"TemporaryFile(/tmp/multipartBody7871833158994252490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945832559,"filename":"image_04012025_00_08_03_056187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b43e69f2a0ac7e4a527b739ae001fa06.jpg","text":"TemporaryFile(/tmp/multipartBody7903996112833401735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945832559,"filename":"image_04012025_00_09_02_268600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9b1109ab85495d0d3577d90ebaf68d6c.jpg","text":"TemporaryFile(/tmp/multipartBody3113517674610605260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945832559,"filename":"image_04012025_00_09_02_268600_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326115686","file1":"1326115685","file0":"1326115683","file3":"1326115687"},"map_files_photo_id_array":[{"photo_id":"1326115686","filename":"file2"},{"photo_id":"1326115685","filename":"file1"},{"photo_id":"1326115683","filename":"file0"},{"photo_id":"1326115687","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326115686":["hashtag1","hashtag2"]},{"1326115683":["hashtag1","hashtag2"]},{"1326115685":["hashtag1","hashtag2"]},{"1326115687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326115686, 1326115683, 1326115685, 1326115687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.47914099693298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:10:22.252723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/09/image_04012025_00_09_02_268600_0003.jpg', '/home/pi/Desktop/images/04012025/00/10/image_04012025_00_10_02_448509_0000.jpg', '/home/pi/Desktop/images/04012025/00/10/image_04012025_00_10_02_448509_0001.jpg', '/home/pi/Desktop/images/04012025/00/10/image_04012025_00_10_02_448509_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/09/image_04012025_00_09_02_268600_0003.jpg
/home/pi/Desktop/images/04012025/00/10/image_04012025_00_10_02_448509_0000.jpg
/home/pi/Desktop/images/04012025/00/10/image_04012025_00_10_02_448509_0001.jpg
/home/pi/Desktop/images/04012025/00/10/image_04012025_00_10_02_448509_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.90714716911316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:10:52.280530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:11:02.934628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/09/image_04012025_00_09_02_268600_0003.jpg', '/home/pi/Desktop/images/04012025/00/10/image_04012025_00_10_02_448509_0000.jpg', '/home/pi/Desktop/images/04012025/00/10/image_04012025_00_10_02_448509_0001.jpg', '/home/pi/Desktop/images/04012025/00/10/image_04012025_00_10_02_448509_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/09/image_04012025_00_09_02_268600_0003.jpg
/home/pi/Desktop/images/04012025/00/10/image_04012025_00_10_02_448509_0000.jpg
/home/pi/Desktop/images/04012025/00/10/image_04012025_00_10_02_448509_0001.jpg
/home/pi/Desktop/images/04012025/00/10/image_04012025_00_10_02_448509_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326115740","1326115716","1326115710","1326115712"],"photo_ids_order":["1326115710","1326115712","1326115716","1326115740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5f3398879570ead6fa202ab2923ba2e0.jpg","text":"TemporaryFile(/tmp/multipartBody5595789663679376866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945933305,"filename":"image_04012025_00_10_02_448509_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e4d574ca85510d407f946521687e97b4.jpg","text":"TemporaryFile(/tmp/multipartBody6681202699113103162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945933305,"filename":"image_04012025_00_10_02_448509_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6da5720df4f326c53fb72c9916c08c73.jpg","text":"TemporaryFile(/tmp/multipartBody3058217054967363811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945933305,"filename":"image_04012025_00_09_02_268600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/639d6daae173c94b60ba1cdfdcac1a81.jpg","text":"TemporaryFile(/tmp/multipartBody4057610060598811655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945933305,"filename":"image_04012025_00_10_02_448509_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326115716","file1":"1326115712","file0":"1326115710","file3":"1326115740"},"map_files_photo_id_array":[{"photo_id":"1326115716","filename":"file2"},{"photo_id":"1326115712","filename":"file1"},{"photo_id":"1326115710","filename":"file0"},{"photo_id":"1326115740","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326115740":["hashtag1","hashtag2"]},{"1326115716":["hashtag1","hashtag2"]},{"1326115710":["hashtag1","hashtag2"]},{"1326115712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326115740, 1326115716, 1326115710, 1326115712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.451486110687256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:11:52.454380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:12:02.983333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/10/image_04012025_00_10_02_448509_0003.jpg', '/home/pi/Desktop/images/04012025/00/11/image_04012025_00_11_02_595430_0000.jpg', '/home/pi/Desktop/images/04012025/00/11/image_04012025_00_11_02_595430_0001.jpg', '/home/pi/Desktop/images/04012025/00/11/image_04012025_00_11_02_595430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/10/image_04012025_00_10_02_448509_0003.jpg
/home/pi/Desktop/images/04012025/00/11/image_04012025_00_11_02_595430_0000.jpg
/home/pi/Desktop/images/04012025/00/11/image_04012025_00_11_02_595430_0001.jpg
/home/pi/Desktop/images/04012025/00/11/image_04012025_00_11_02_595430_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326116430","1326116526","1326116470","1326116598"],"photo_ids_order":["1326116430","1326116470","1326116526","1326116598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8a54e8046af56da2e37462cfcf53288d.jpg","text":"TemporaryFile(/tmp/multipartBody9036214021201185830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945993301,"filename":"image_04012025_00_10_02_448509_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cc0c5187f53db8c39783726eed43a643.jpg","text":"TemporaryFile(/tmp/multipartBody286516485352912197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945993301,"filename":"image_04012025_00_11_02_595430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1042cc6fb327c6fe014658091805c2a7.jpg","text":"TemporaryFile(/tmp/multipartBody1161118741264304021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945993301,"filename":"image_04012025_00_11_02_595430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/56deff1f17b5e58a7679b7b2e46bebe1.jpg","text":"TemporaryFile(/tmp/multipartBody8157366175294941424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735945993301,"filename":"image_04012025_00_11_02_595430_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326116526","file1":"1326116470","file0":"1326116430","file3":"1326116598"},"map_files_photo_id_array":[{"photo_id":"1326116526","filename":"file2"},{"photo_id":"1326116470","filename":"file1"},{"photo_id":"1326116430","filename":"file0"},{"photo_id":"1326116598","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326116430":["hashtag1","hashtag2"]},{"1326116526":["hashtag1","hashtag2"]},{"1326116470":["hashtag1","hashtag2"]},{"1326116598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326116430, 1326116526, 1326116470, 1326116598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.350688219070435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:12:52.660908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:13:02.516661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/11/image_04012025_00_11_02_595430_0003.jpg', '/home/pi/Desktop/images/04012025/00/12/image_04012025_00_12_02_861634_0000.jpg', '/home/pi/Desktop/images/04012025/00/12/image_04012025_00_12_02_861634_0001.jpg', '/home/pi/Desktop/images/04012025/00/12/image_04012025_00_12_02_861634_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/11/image_04012025_00_11_02_595430_0003.jpg
/home/pi/Desktop/images/04012025/00/12/image_04012025_00_12_02_861634_0000.jpg
/home/pi/Desktop/images/04012025/00/12/image_04012025_00_12_02_861634_0001.jpg
/home/pi/Desktop/images/04012025/00/12/image_04012025_00_12_02_861634_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326116739","1326116726","1326116728","1326116862"],"photo_ids_order":["1326116726","1326116728","1326116739","1326116862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c7d92c4c324092fdf3061e05832ba039.jpg","text":"TemporaryFile(/tmp/multipartBody5776102742873929283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946052877,"filename":"image_04012025_00_12_02_861634_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b24238a1f188dcb30f646323eb5426c0.jpg","text":"TemporaryFile(/tmp/multipartBody1968833250282378389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946052877,"filename":"image_04012025_00_11_02_595430_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3e9a039d622aab68c3f0bd8ab2ee3a0d.jpg","text":"TemporaryFile(/tmp/multipartBody9057416548651476215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946052877,"filename":"image_04012025_00_12_02_861634_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e38e3792b477743f9cd7400371232f3e.jpg","text":"TemporaryFile(/tmp/multipartBody7595598592814325107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946052877,"filename":"image_04012025_00_12_02_861634_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326116739","file1":"1326116728","file0":"1326116726","file3":"1326116862"},"map_files_photo_id_array":[{"photo_id":"1326116739","filename":"file2"},{"photo_id":"1326116728","filename":"file1"},{"photo_id":"1326116726","filename":"file0"},{"photo_id":"1326116862","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326116739":["hashtag1","hashtag2"]},{"1326116726":["hashtag1","hashtag2"]},{"1326116728":["hashtag1","hashtag2"]},{"1326116862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326116739, 1326116726, 1326116728, 1326116862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.97238898277283 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:13:51.830308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:14:02.383490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/12/image_04012025_00_12_02_861634_0003.jpg', '/home/pi/Desktop/images/04012025/00/13/image_04012025_00_13_02_980891_0000.jpg', '/home/pi/Desktop/images/04012025/00/13/image_04012025_00_13_02_980891_0001.jpg', '/home/pi/Desktop/images/04012025/00/13/image_04012025_00_13_02_980891_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/12/image_04012025_00_12_02_861634_0003.jpg
/home/pi/Desktop/images/04012025/00/13/image_04012025_00_13_02_980891_0000.jpg
/home/pi/Desktop/images/04012025/00/13/image_04012025_00_13_02_980891_0001.jpg
/home/pi/Desktop/images/04012025/00/13/image_04012025_00_13_02_980891_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326117309","1326117527","1326117271","1326117505"],"photo_ids_order":["1326117271","1326117309","1326117505","1326117527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c856dadf8e6ed3afc294db443050a9dc.jpg","text":"TemporaryFile(/tmp/multipartBody5982569339723550963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946112944,"filename":"image_04012025_00_13_02_980891_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6659903f15ba50b8e95b83772d9a1c90.jpg","text":"TemporaryFile(/tmp/multipartBody8598843743305836316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946112944,"filename":"image_04012025_00_13_02_980891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dab8d0f7a44b80ad4d298bbdba233686.jpg","text":"TemporaryFile(/tmp/multipartBody2312468215893344161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946112944,"filename":"image_04012025_00_12_02_861634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f01834c33cde1985582cd8d58c6d7b4c.jpg","text":"TemporaryFile(/tmp/multipartBody4206112706747769750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946112944,"filename":"image_04012025_00_13_02_980891_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326117505","file1":"1326117309","file0":"1326117271","file3":"1326117527"},"map_files_photo_id_array":[{"photo_id":"1326117505","filename":"file2"},{"photo_id":"1326117309","filename":"file1"},{"photo_id":"1326117271","filename":"file0"},{"photo_id":"1326117527","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326117309":["hashtag1","hashtag2"]},{"1326117527":["hashtag1","hashtag2"]},{"1326117271":["hashtag1","hashtag2"]},{"1326117505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326117309, 1326117527, 1326117271, 1326117505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.79388451576233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:14:51.999181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:15:02.793754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/13/image_04012025_00_13_02_980891_0003.jpg', '/home/pi/Desktop/images/04012025/00/14/image_04012025_00_14_02_201757_0000.jpg', '/home/pi/Desktop/images/04012025/00/14/image_04012025_00_14_02_201757_0001.jpg', '/home/pi/Desktop/images/04012025/00/14/image_04012025_00_14_02_201757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/13/image_04012025_00_13_02_980891_0003.jpg
/home/pi/Desktop/images/04012025/00/14/image_04012025_00_14_02_201757_0000.jpg
/home/pi/Desktop/images/04012025/00/14/image_04012025_00_14_02_201757_0001.jpg
/home/pi/Desktop/images/04012025/00/14/image_04012025_00_14_02_201757_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326118372","1326118261","1326118065","1326118062"],"photo_ids_order":["1326118062","1326118065","1326118261","1326118372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c4f4203069fef6ea95c4254168ac6948.jpg","text":"TemporaryFile(/tmp/multipartBody7859945352016012905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946173288,"filename":"image_04012025_00_14_02_201757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9047fde1778f646f1ca5c558c488a1d6.jpg","text":"TemporaryFile(/tmp/multipartBody7249735539694647873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946173288,"filename":"image_04012025_00_14_02_201757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ace0300771c02008de246f6ee9eacf57.jpg","text":"TemporaryFile(/tmp/multipartBody7562432066141423190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946173288,"filename":"image_04012025_00_14_02_201757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bf165997e8a68cda51cc739a98b5e14b.jpg","text":"TemporaryFile(/tmp/multipartBody1199205130598179140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946173288,"filename":"image_04012025_00_13_02_980891_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326118261","file1":"1326118065","file0":"1326118062","file3":"1326118372"},"map_files_photo_id_array":[{"photo_id":"1326118261","filename":"file2"},{"photo_id":"1326118065","filename":"file1"},{"photo_id":"1326118062","filename":"file0"},{"photo_id":"1326118372","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326118372":["hashtag1","hashtag2"]},{"1326118261":["hashtag1","hashtag2"]},{"1326118065":["hashtag1","hashtag2"]},{"1326118062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326118372, 1326118261, 1326118065, 1326118062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.29533553123474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:15:52.181294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:16:02.792787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/14/image_04012025_00_14_02_201757_0003.jpg', '/home/pi/Desktop/images/04012025/00/15/image_04012025_00_15_02_360025_0000.jpg', '/home/pi/Desktop/images/04012025/00/15/image_04012025_00_15_02_360025_0001.jpg', '/home/pi/Desktop/images/04012025/00/15/image_04012025_00_15_02_360025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/14/image_04012025_00_14_02_201757_0003.jpg
/home/pi/Desktop/images/04012025/00/15/image_04012025_00_15_02_360025_0000.jpg
/home/pi/Desktop/images/04012025/00/15/image_04012025_00_15_02_360025_0001.jpg
/home/pi/Desktop/images/04012025/00/15/image_04012025_00_15_02_360025_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326118508","1326118501","1326118504","1326118499"],"photo_ids_order":["1326118499","1326118501","1326118504","1326118508"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e4387a17049c02c9d7b0537c7853725d.jpg","text":"TemporaryFile(/tmp/multipartBody2259351249391044674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946233209,"filename":"image_04012025_00_15_02_360025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e8cb1e88e201fb08f8fad4adc7bf989d.jpg","text":"TemporaryFile(/tmp/multipartBody5422357020429106378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946233209,"filename":"image_04012025_00_15_02_360025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ace5668aa325a53300fe14ea2526e5eb.jpg","text":"TemporaryFile(/tmp/multipartBody7647312377272645520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946233209,"filename":"image_04012025_00_15_02_360025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/088e2a9a30963b6b8b266f78f139d778.jpg","text":"TemporaryFile(/tmp/multipartBody6085791677037430406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946233209,"filename":"image_04012025_00_14_02_201757_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326118504","file1":"1326118501","file0":"1326118499","file3":"1326118508"},"map_files_photo_id_array":[{"photo_id":"1326118504","filename":"file2"},{"photo_id":"1326118501","filename":"file1"},{"photo_id":"1326118499","filename":"file0"},{"photo_id":"1326118508","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326118508":["hashtag1","hashtag2"]},{"1326118501":["hashtag1","hashtag2"]},{"1326118504":["hashtag1","hashtag2"]},{"1326118499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326118508, 1326118501, 1326118504, 1326118499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.338547706604004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:16:52.336850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:17:03.159773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/15/image_04012025_00_15_02_360025_0003.jpg', '/home/pi/Desktop/images/04012025/00/16/image_04012025_00_16_02_545478_0000.jpg', '/home/pi/Desktop/images/04012025/00/16/image_04012025_00_16_02_545478_0001.jpg', '/home/pi/Desktop/images/04012025/00/16/image_04012025_00_16_02_545478_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/15/image_04012025_00_15_02_360025_0003.jpg
/home/pi/Desktop/images/04012025/00/16/image_04012025_00_16_02_545478_0000.jpg
/home/pi/Desktop/images/04012025/00/16/image_04012025_00_16_02_545478_0001.jpg
/home/pi/Desktop/images/04012025/00/16/image_04012025_00_16_02_545478_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326118534","1326118522","1326118518","1326118515"],"photo_ids_order":["1326118515","1326118518","1326118522","1326118534"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cfa46ab69a0d045c0fbcb7b2bee0339f.jpg","text":"TemporaryFile(/tmp/multipartBody1831935682081214956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946293668,"filename":"image_04012025_00_16_02_545478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f92f0af3793b244d4bfbaa2c698952bb.jpg","text":"TemporaryFile(/tmp/multipartBody7331652680740254829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946293668,"filename":"image_04012025_00_16_02_545478_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d290d99076b7fd419f4cb3e7b86091e4.jpg","text":"TemporaryFile(/tmp/multipartBody6370527273748684506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946293668,"filename":"image_04012025_00_16_02_545478_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0b0d4cc9e65d46965e28e1af9e42c65d.jpg","text":"TemporaryFile(/tmp/multipartBody1295033218392522151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946293668,"filename":"image_04012025_00_15_02_360025_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326118522","file1":"1326118518","file0":"1326118515","file3":"1326118534"},"map_files_photo_id_array":[{"photo_id":"1326118522","filename":"file2"},{"photo_id":"1326118518","filename":"file1"},{"photo_id":"1326118515","filename":"file0"},{"photo_id":"1326118534","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326118534":["hashtag1","hashtag2"]},{"1326118522":["hashtag1","hashtag2"]},{"1326118518":["hashtag1","hashtag2"]},{"1326118515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326118534, 1326118522, 1326118518, 1326118515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.98819923400879 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:17:52.548523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:18:03.080824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/16/image_04012025_00_16_02_545478_0003.jpg', '/home/pi/Desktop/images/04012025/00/17/image_04012025_00_17_02_752198_0000.jpg', '/home/pi/Desktop/images/04012025/00/17/image_04012025_00_17_02_752198_0001.jpg', '/home/pi/Desktop/images/04012025/00/17/image_04012025_00_17_02_752198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/16/image_04012025_00_16_02_545478_0003.jpg
/home/pi/Desktop/images/04012025/00/17/image_04012025_00_17_02_752198_0000.jpg
/home/pi/Desktop/images/04012025/00/17/image_04012025_00_17_02_752198_0001.jpg
/home/pi/Desktop/images/04012025/00/17/image_04012025_00_17_02_752198_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326118580","1326118575","1326118595","1326118577"],"photo_ids_order":["1326118575","1326118577","1326118580","1326118595"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/46a646326b37ff6d76a3956f774bc21e.jpg","text":"TemporaryFile(/tmp/multipartBody6350083082738175291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946353476,"filename":"image_04012025_00_17_02_752198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7bfd5dc19bae3d110164954e7f5f6393.jpg","text":"TemporaryFile(/tmp/multipartBody8472322333830126573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946353476,"filename":"image_04012025_00_16_02_545478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/249b93d575e2c2e46186afaf9944b9fb.jpg","text":"TemporaryFile(/tmp/multipartBody5131465442235314744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946353476,"filename":"image_04012025_00_17_02_752198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ac58bf83e97ff3c58ff7f0cffa5521d4.jpg","text":"TemporaryFile(/tmp/multipartBody6772141746821014889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946353476,"filename":"image_04012025_00_17_02_752198_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326118580","file1":"1326118577","file0":"1326118575","file3":"1326118595"},"map_files_photo_id_array":[{"photo_id":"1326118580","filename":"file2"},{"photo_id":"1326118577","filename":"file1"},{"photo_id":"1326118575","filename":"file0"},{"photo_id":"1326118595","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326118580":["hashtag1","hashtag2"]},{"1326118575":["hashtag1","hashtag2"]},{"1326118595":["hashtag1","hashtag2"]},{"1326118577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326118580, 1326118575, 1326118595, 1326118577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.5615873336792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:18:52.700326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:19:02.494270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/17/image_04012025_00_17_02_752198_0003.jpg', '/home/pi/Desktop/images/04012025/00/18/image_04012025_00_18_02_850402_0000.jpg', '/home/pi/Desktop/images/04012025/00/18/image_04012025_00_18_02_850402_0001.jpg', '/home/pi/Desktop/images/04012025/00/18/image_04012025_00_18_02_850402_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/17/image_04012025_00_17_02_752198_0003.jpg
/home/pi/Desktop/images/04012025/00/18/image_04012025_00_18_02_850402_0000.jpg
/home/pi/Desktop/images/04012025/00/18/image_04012025_00_18_02_850402_0001.jpg
/home/pi/Desktop/images/04012025/00/18/image_04012025_00_18_02_850402_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.08169436454773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:19:21.871318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/17/image_04012025_00_17_02_752198_0003.jpg', '/home/pi/Desktop/images/04012025/00/18/image_04012025_00_18_02_850402_0000.jpg', '/home/pi/Desktop/images/04012025/00/18/image_04012025_00_18_02_850402_0001.jpg', '/home/pi/Desktop/images/04012025/00/18/image_04012025_00_18_02_850402_0002.jpg', '/home/pi/Desktop/images/04012025/00/18/image_04012025_00_18_02_850402_0003.jpg', '/home/pi/Desktop/images/04012025/00/19/image_04012025_00_19_03_107854_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/17/image_04012025_00_17_02_752198_0003.jpg
/home/pi/Desktop/images/04012025/00/18/image_04012025_00_18_02_850402_0000.jpg
/home/pi/Desktop/images/04012025/00/18/image_04012025_00_18_02_850402_0001.jpg
/home/pi/Desktop/images/04012025/00/18/image_04012025_00_18_02_850402_0002.jpg
/home/pi/Desktop/images/04012025/00/18/image_04012025_00_18_02_850402_0003.jpg
/home/pi/Desktop/images/04012025/00/19/image_04012025_00_19_03_107854_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":["1326119491","1326119482","1326119545","1326119397","1326119547","1326119492"],"photo_ids_order":["1326119397","1326119482","1326119491","1326119492","1326119545","1326119547"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/33898a60d4065d1d133f14251c61f705.jpg","text":"TemporaryFile(/tmp/multipartBody4529264625338473496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946437077,"filename":"image_04012025_00_18_02_850402_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9d8c1bbd1c3a142994d8adf9abab4f77.jpg","text":"TemporaryFile(/tmp/multipartBody5756456225649111437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946437077,"filename":"image_04012025_00_18_02_850402_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4c574f421e780e7feba87f37fb8a1a89.jpg","text":"TemporaryFile(/tmp/multipartBody4993662743699091751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946437077,"filename":"image_04012025_00_18_02_850402_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/da2fd3ba25d02ecab733db79423d2766.jpg","text":"TemporaryFile(/tmp/multipartBody4748057505855460879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946437077,"filename":"image_04012025_00_17_02_752198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/16d6a9f546d65eaecd808a1791547c90.jpg","text":"TemporaryFile(/tmp/multipartBody7314444280050976806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946437077,"filename":"image_04012025_00_19_03_107854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d2d8a1190257dc90fba564ad53ccb86.jpg","text":"TemporaryFile(/tmp/multipartBody6618159282175591439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946437077,"filename":"image_04012025_00_18_02_850402_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326119491","file1":"1326119482","file0":"1326119397","file4":"1326119545","file5":"1326119547","file3":"1326119492"},"map_files_photo_id_array":[{"photo_id":"1326119547","filename":"file5"},{"photo_id":"1326119491","filename":"file2"},{"photo_id":"1326119545","filename":"file4"},{"photo_id":"1326119482","filename":"file1"},{"photo_id":"1326119397","filename":"file0"},{"photo_id":"1326119492","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326119491":["hashtag1","hashtag2"]},{"1326119482":["hashtag1","hashtag2"]},{"1326119545":["hashtag1","hashtag2"]},{"1326119397":["hashtag1","hashtag2"]},{"1326119547":["hashtag1","hashtag2"]},{"1326119492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326119491, 1326119482, 1326119545, 1326119397, 1326119547, 1326119492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.56162929534912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:20:22.252499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/19/image_04012025_00_19_03_107854_0001.jpg', '/home/pi/Desktop/images/04012025/00/19/image_04012025_00_19_03_107854_0002.jpg', '/home/pi/Desktop/images/04012025/00/19/image_04012025_00_19_03_107854_0003.jpg', '/home/pi/Desktop/images/04012025/00/20/image_04012025_00_20_02_242496_0000.jpg', '/home/pi/Desktop/images/04012025/00/20/image_04012025_00_20_02_242496_0001.jpg', '/home/pi/Desktop/images/04012025/00/20/image_04012025_00_20_02_242496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/19/image_04012025_00_19_03_107854_0001.jpg
/home/pi/Desktop/images/04012025/00/19/image_04012025_00_19_03_107854_0002.jpg
/home/pi/Desktop/images/04012025/00/19/image_04012025_00_19_03_107854_0003.jpg
/home/pi/Desktop/images/04012025/00/20/image_04012025_00_20_02_242496_0000.jpg
/home/pi/Desktop/images/04012025/00/20/image_04012025_00_20_02_242496_0001.jpg
/home/pi/Desktop/images/04012025/00/20/image_04012025_00_20_02_242496_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.949667692184448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:20:52.291445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:21:03.084241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/19/image_04012025_00_19_03_107854_0001.jpg', '/home/pi/Desktop/images/04012025/00/19/image_04012025_00_19_03_107854_0002.jpg', '/home/pi/Desktop/images/04012025/00/19/image_04012025_00_19_03_107854_0003.jpg', '/home/pi/Desktop/images/04012025/00/20/image_04012025_00_20_02_242496_0000.jpg', '/home/pi/Desktop/images/04012025/00/20/image_04012025_00_20_02_242496_0001.jpg', '/home/pi/Desktop/images/04012025/00/20/image_04012025_00_20_02_242496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/19/image_04012025_00_19_03_107854_0001.jpg
/home/pi/Desktop/images/04012025/00/19/image_04012025_00_19_03_107854_0002.jpg
/home/pi/Desktop/images/04012025/00/19/image_04012025_00_19_03_107854_0003.jpg
/home/pi/Desktop/images/04012025/00/20/image_04012025_00_20_02_242496_0000.jpg
/home/pi/Desktop/images/04012025/00/20/image_04012025_00_20_02_242496_0001.jpg
/home/pi/Desktop/images/04012025/00/20/image_04012025_00_20_02_242496_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326120946","1326121309","1326121179","1326120744","1326120630","1326121175"],"photo_ids_order":["1326120630","1326120744","1326120946","1326121175","1326121179","1326121309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/002fae6c8fcefec855f08f52d5c4eb72.jpg","text":"TemporaryFile(/tmp/multipartBody136554745411289280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946538482,"filename":"image_04012025_00_19_03_107854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b6af8aff21d52879c7d55df00033793.jpg","text":"TemporaryFile(/tmp/multipartBody3381173701482147166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946538482,"filename":"image_04012025_00_20_02_242496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/93d5717961ed667a61e8baf402d1fca3.jpg","text":"TemporaryFile(/tmp/multipartBody8790698039320345282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946538482,"filename":"image_04012025_00_20_02_242496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/333124dfe582f924648d25ca18827274.jpg","text":"TemporaryFile(/tmp/multipartBody6728725712924129540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946538482,"filename":"image_04012025_00_19_03_107854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/29cf567511b3fba542ed4332ffe8ccd6.jpg","text":"TemporaryFile(/tmp/multipartBody8643413076862638223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946538482,"filename":"image_04012025_00_19_03_107854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ea87cc4b5c09c1322ef7a6eb9ff3a5ba.jpg","text":"TemporaryFile(/tmp/multipartBody5132853027549452131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946538482,"filename":"image_04012025_00_20_02_242496_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326120946","file1":"1326120744","file0":"1326120630","file4":"1326121179","file5":"1326121309","file3":"1326121175"},"map_files_photo_id_array":[{"photo_id":"1326121309","filename":"file5"},{"photo_id":"1326120946","filename":"file2"},{"photo_id":"1326121179","filename":"file4"},{"photo_id":"1326120744","filename":"file1"},{"photo_id":"1326120630","filename":"file0"},{"photo_id":"1326121175","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326120946":["hashtag1","hashtag2"]},{"1326121309":["hashtag1","hashtag2"]},{"1326121179":["hashtag1","hashtag2"]},{"1326120744":["hashtag1","hashtag2"]},{"1326120630":["hashtag1","hashtag2"]},{"1326121175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326120946, 1326121309, 1326121179, 1326120744, 1326120630, 1326121175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.781951904296875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:22:03.035279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/20/image_04012025_00_20_02_242496_0003.jpg', '/home/pi/Desktop/images/04012025/00/21/image_04012025_00_21_02_631257_0000.jpg', '/home/pi/Desktop/images/04012025/00/21/image_04012025_00_21_02_631257_0001.jpg', '/home/pi/Desktop/images/04012025/00/21/image_04012025_00_21_02_631257_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/20/image_04012025_00_20_02_242496_0003.jpg
/home/pi/Desktop/images/04012025/00/21/image_04012025_00_21_02_631257_0000.jpg
/home/pi/Desktop/images/04012025/00/21/image_04012025_00_21_02_631257_0001.jpg
/home/pi/Desktop/images/04012025/00/21/image_04012025_00_21_02_631257_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326121543","1326121402","1326121405","1326121539"],"photo_ids_order":["1326121402","1326121405","1326121539","1326121543"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/432c475f9fcbf3b366c383d80322f2b7.jpg","text":"TemporaryFile(/tmp/multipartBody6268045732073506105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946593516,"filename":"image_04012025_00_21_02_631257_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ebef03e45ee936621d3b4470825a6284.jpg","text":"TemporaryFile(/tmp/multipartBody3696229020940751079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946593516,"filename":"image_04012025_00_20_02_242496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/70b71dddce2a3c4c29f20b3bafc0c547.jpg","text":"TemporaryFile(/tmp/multipartBody2760202450527042343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946593516,"filename":"image_04012025_00_21_02_631257_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3d146e89ddf789b3dd1d83a33c76b76d.jpg","text":"TemporaryFile(/tmp/multipartBody1530677274692597159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946593516,"filename":"image_04012025_00_21_02_631257_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326121539","file1":"1326121405","file0":"1326121402","file3":"1326121543"},"map_files_photo_id_array":[{"photo_id":"1326121539","filename":"file2"},{"photo_id":"1326121405","filename":"file1"},{"photo_id":"1326121402","filename":"file0"},{"photo_id":"1326121543","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326121543":["hashtag1","hashtag2"]},{"1326121402":["hashtag1","hashtag2"]},{"1326121405":["hashtag1","hashtag2"]},{"1326121539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326121543, 1326121402, 1326121405, 1326121539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.15882134437561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:22:52.697165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:23:02.488021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/21/image_04012025_00_21_02_631257_0003.jpg', '/home/pi/Desktop/images/04012025/00/22/image_04012025_00_22_02_921681_0000.jpg', '/home/pi/Desktop/images/04012025/00/22/image_04012025_00_22_02_921681_0001.jpg', '/home/pi/Desktop/images/04012025/00/22/image_04012025_00_22_02_921681_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/21/image_04012025_00_21_02_631257_0003.jpg
/home/pi/Desktop/images/04012025/00/22/image_04012025_00_22_02_921681_0000.jpg
/home/pi/Desktop/images/04012025/00/22/image_04012025_00_22_02_921681_0001.jpg
/home/pi/Desktop/images/04012025/00/22/image_04012025_00_22_02_921681_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326122425","1326122110","1326122304","1326122543"],"photo_ids_order":["1326122110","1326122304","1326122425","1326122543"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8079c1445ad3c12f0780ba1e161b21a8.jpg","text":"TemporaryFile(/tmp/multipartBody2420550289802491081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946652885,"filename":"image_04012025_00_22_02_921681_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85961e49d4d93274b78da84c5dcba31f.jpg","text":"TemporaryFile(/tmp/multipartBody7877637014183311948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946652885,"filename":"image_04012025_00_21_02_631257_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/12ad958330c7e48a64895e1bd91dd999.jpg","text":"TemporaryFile(/tmp/multipartBody4877346658541706941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946652885,"filename":"image_04012025_00_22_02_921681_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/299075f3b91f6e8c76595b73912e1b18.jpg","text":"TemporaryFile(/tmp/multipartBody6258460648333494148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946652885,"filename":"image_04012025_00_22_02_921681_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326122425","file1":"1326122304","file0":"1326122110","file3":"1326122543"},"map_files_photo_id_array":[{"photo_id":"1326122425","filename":"file2"},{"photo_id":"1326122304","filename":"file1"},{"photo_id":"1326122110","filename":"file0"},{"photo_id":"1326122543","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326122425":["hashtag1","hashtag2"]},{"1326122110":["hashtag1","hashtag2"]},{"1326122304":["hashtag1","hashtag2"]},{"1326122543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326122425, 1326122110, 1326122304, 1326122543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68680453300476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:23:51.881748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:24:02.537334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/22/image_04012025_00_22_02_921681_0003.jpg', '/home/pi/Desktop/images/04012025/00/23/image_04012025_00_23_03_087908_0000.jpg', '/home/pi/Desktop/images/04012025/00/23/image_04012025_00_23_03_087908_0001.jpg', '/home/pi/Desktop/images/04012025/00/23/image_04012025_00_23_03_087908_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/22/image_04012025_00_22_02_921681_0003.jpg
/home/pi/Desktop/images/04012025/00/23/image_04012025_00_23_03_087908_0000.jpg
/home/pi/Desktop/images/04012025/00/23/image_04012025_00_23_03_087908_0001.jpg
/home/pi/Desktop/images/04012025/00/23/image_04012025_00_23_03_087908_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326123204","1326123207","1326123199","1326123139"],"photo_ids_order":["1326123139","1326123199","1326123204","1326123207"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c46c089769a1dfc64c8a2ec6a005de95.jpg","text":"TemporaryFile(/tmp/multipartBody4230422593812855107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946712853,"filename":"image_04012025_00_23_03_087908_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/39cd4dc39c3a1df6045ab0e4b6cf8918.jpg","text":"TemporaryFile(/tmp/multipartBody648137604903165304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946712853,"filename":"image_04012025_00_23_03_087908_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0af9500e9014876b661f3b9c2ca35706.jpg","text":"TemporaryFile(/tmp/multipartBody1179303251098913379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946712853,"filename":"image_04012025_00_23_03_087908_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4ae352f42b523fce62cfaa57c97e9d48.jpg","text":"TemporaryFile(/tmp/multipartBody6129340796476289167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946712853,"filename":"image_04012025_00_22_02_921681_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326123204","file1":"1326123199","file0":"1326123139","file3":"1326123207"},"map_files_photo_id_array":[{"photo_id":"1326123204","filename":"file2"},{"photo_id":"1326123199","filename":"file1"},{"photo_id":"1326123139","filename":"file0"},{"photo_id":"1326123207","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326123204":["hashtag1","hashtag2"]},{"1326123207":["hashtag1","hashtag2"]},{"1326123199":["hashtag1","hashtag2"]},{"1326123139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326123204, 1326123207, 1326123199, 1326123139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71065402030945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:24:52.070274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:25:02.926181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/23/image_04012025_00_23_03_087908_0003.jpg', '/home/pi/Desktop/images/04012025/00/24/image_04012025_00_24_02_272743_0000.jpg', '/home/pi/Desktop/images/04012025/00/24/image_04012025_00_24_02_272743_0001.jpg', '/home/pi/Desktop/images/04012025/00/24/image_04012025_00_24_02_272743_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/23/image_04012025_00_23_03_087908_0003.jpg
/home/pi/Desktop/images/04012025/00/24/image_04012025_00_24_02_272743_0000.jpg
/home/pi/Desktop/images/04012025/00/24/image_04012025_00_24_02_272743_0001.jpg
/home/pi/Desktop/images/04012025/00/24/image_04012025_00_24_02_272743_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.944525003433228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:25:22.205019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/23/image_04012025_00_23_03_087908_0003.jpg', '/home/pi/Desktop/images/04012025/00/24/image_04012025_00_24_02_272743_0000.jpg', '/home/pi/Desktop/images/04012025/00/24/image_04012025_00_24_02_272743_0001.jpg', '/home/pi/Desktop/images/04012025/00/24/image_04012025_00_24_02_272743_0002.jpg', '/home/pi/Desktop/images/04012025/00/24/image_04012025_00_24_02_272743_0003.jpg', '/home/pi/Desktop/images/04012025/00/25/image_04012025_00_25_02_414571_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/23/image_04012025_00_23_03_087908_0003.jpg
/home/pi/Desktop/images/04012025/00/24/image_04012025_00_24_02_272743_0000.jpg
/home/pi/Desktop/images/04012025/00/24/image_04012025_00_24_02_272743_0001.jpg
/home/pi/Desktop/images/04012025/00/24/image_04012025_00_24_02_272743_0002.jpg
/home/pi/Desktop/images/04012025/00/24/image_04012025_00_24_02_272743_0003.jpg
/home/pi/Desktop/images/04012025/00/25/image_04012025_00_25_02_414571_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":["1326123756","1326123759","1326123761","1326123755","1326123758","1326123757"],"photo_ids_order":["1326123755","1326123756","1326123757","1326123758","1326123759","1326123761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/75996dd1c900d5711d504d970d285043.jpg","text":"TemporaryFile(/tmp/multipartBody4423529627132236734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946797352,"filename":"image_04012025_00_24_02_272743_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/97b4a366e4f688e4cdd897056bda9ccd.jpg","text":"TemporaryFile(/tmp/multipartBody6877182833009923474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946797352,"filename":"image_04012025_00_24_02_272743_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d4fd0b8e101df9d8706e526e68a86c20.jpg","text":"TemporaryFile(/tmp/multipartBody2138386358427955748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946797352,"filename":"image_04012025_00_25_02_414571_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9d02f8bfe792de0dc5cfb70fbc58c9dd.jpg","text":"TemporaryFile(/tmp/multipartBody3859064954869441656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946797352,"filename":"image_04012025_00_23_03_087908_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8b32d5858d910bb056635d9e727bcd9d.jpg","text":"TemporaryFile(/tmp/multipartBody143095421171848315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946797352,"filename":"image_04012025_00_24_02_272743_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cc6656bd1e5c65fa100c9674841c69a5.jpg","text":"TemporaryFile(/tmp/multipartBody2518509049898314355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946797352,"filename":"image_04012025_00_24_02_272743_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326123757","file1":"1326123756","file0":"1326123755","file4":"1326123759","file5":"1326123761","file3":"1326123758"},"map_files_photo_id_array":[{"photo_id":"1326123761","filename":"file5"},{"photo_id":"1326123757","filename":"file2"},{"photo_id":"1326123759","filename":"file4"},{"photo_id":"1326123756","filename":"file1"},{"photo_id":"1326123755","filename":"file0"},{"photo_id":"1326123758","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326123756":["hashtag1","hashtag2"]},{"1326123759":["hashtag1","hashtag2"]},{"1326123761":["hashtag1","hashtag2"]},{"1326123755":["hashtag1","hashtag2"]},{"1326123758":["hashtag1","hashtag2"]},{"1326123757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326123756, 1326123759, 1326123761, 1326123755, 1326123758, 1326123757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.416351556777954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:26:22.440195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/25/image_04012025_00_25_02_414571_0001.jpg', '/home/pi/Desktop/images/04012025/00/25/image_04012025_00_25_02_414571_0002.jpg', '/home/pi/Desktop/images/04012025/00/25/image_04012025_00_25_02_414571_0003.jpg', '/home/pi/Desktop/images/04012025/00/26/image_04012025_00_26_02_669684_0000.jpg', '/home/pi/Desktop/images/04012025/00/26/image_04012025_00_26_02_669684_0001.jpg', '/home/pi/Desktop/images/04012025/00/26/image_04012025_00_26_02_669684_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/25/image_04012025_00_25_02_414571_0001.jpg
/home/pi/Desktop/images/04012025/00/25/image_04012025_00_25_02_414571_0002.jpg
/home/pi/Desktop/images/04012025/00/25/image_04012025_00_25_02_414571_0003.jpg
/home/pi/Desktop/images/04012025/00/26/image_04012025_00_26_02_669684_0000.jpg
/home/pi/Desktop/images/04012025/00/26/image_04012025_00_26_02_669684_0001.jpg
/home/pi/Desktop/images/04012025/00/26/image_04012025_00_26_02_669684_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.815876483917236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:26:52.455494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:27:03.184854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/25/image_04012025_00_25_02_414571_0001.jpg', '/home/pi/Desktop/images/04012025/00/25/image_04012025_00_25_02_414571_0002.jpg', '/home/pi/Desktop/images/04012025/00/25/image_04012025_00_25_02_414571_0003.jpg', '/home/pi/Desktop/images/04012025/00/26/image_04012025_00_26_02_669684_0000.jpg', '/home/pi/Desktop/images/04012025/00/26/image_04012025_00_26_02_669684_0001.jpg', '/home/pi/Desktop/images/04012025/00/26/image_04012025_00_26_02_669684_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/25/image_04012025_00_25_02_414571_0001.jpg
/home/pi/Desktop/images/04012025/00/25/image_04012025_00_25_02_414571_0002.jpg
/home/pi/Desktop/images/04012025/00/25/image_04012025_00_25_02_414571_0003.jpg
/home/pi/Desktop/images/04012025/00/26/image_04012025_00_26_02_669684_0000.jpg
/home/pi/Desktop/images/04012025/00/26/image_04012025_00_26_02_669684_0001.jpg
/home/pi/Desktop/images/04012025/00/26/image_04012025_00_26_02_669684_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326124221","1326124215","1326124218","1326124402","1326124572","1326124108"],"photo_ids_order":["1326124108","1326124215","1326124218","1326124221","1326124402","1326124572"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d0113c6a0fe0c8bbb4d611f6977e156.jpg","text":"TemporaryFile(/tmp/multipartBody7465744862539697799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946898415,"filename":"image_04012025_00_26_02_669684_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d4bfac5e6abad361f7666b4125e49fe.jpg","text":"TemporaryFile(/tmp/multipartBody3442276285643167278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946898415,"filename":"image_04012025_00_25_02_414571_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/54f7e49577c36388370f9cd9e806236e.jpg","text":"TemporaryFile(/tmp/multipartBody2688376876270929321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946898415,"filename":"image_04012025_00_25_02_414571_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7b4848e0e94dfddec4781b4e32c79cf.jpg","text":"TemporaryFile(/tmp/multipartBody1270813046069385948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946898415,"filename":"image_04012025_00_26_02_669684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/44c8bbc347a7983a07ac0d117c96638a.jpg","text":"TemporaryFile(/tmp/multipartBody5945925141591555996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946898415,"filename":"image_04012025_00_26_02_669684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/99c33d093ec7bc02661c15bc21a756b2.jpg","text":"TemporaryFile(/tmp/multipartBody1696791177212883622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946898415,"filename":"image_04012025_00_25_02_414571_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326124218","file1":"1326124215","file0":"1326124108","file4":"1326124402","file5":"1326124572","file3":"1326124221"},"map_files_photo_id_array":[{"photo_id":"1326124572","filename":"file5"},{"photo_id":"1326124218","filename":"file2"},{"photo_id":"1326124402","filename":"file4"},{"photo_id":"1326124215","filename":"file1"},{"photo_id":"1326124108","filename":"file0"},{"photo_id":"1326124221","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326124221":["hashtag1","hashtag2"]},{"1326124215":["hashtag1","hashtag2"]},{"1326124218":["hashtag1","hashtag2"]},{"1326124402":["hashtag1","hashtag2"]},{"1326124572":["hashtag1","hashtag2"]},{"1326124108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326124221, 1326124215, 1326124218, 1326124402, 1326124572, 1326124108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.69316577911377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:28:02.264081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/26/image_04012025_00_26_02_669684_0003.jpg', '/home/pi/Desktop/images/04012025/00/27/image_04012025_00_27_02_837541_0000.jpg', '/home/pi/Desktop/images/04012025/00/27/image_04012025_00_27_02_837541_0001.jpg', '/home/pi/Desktop/images/04012025/00/27/image_04012025_00_27_02_837541_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/26/image_04012025_00_26_02_669684_0003.jpg
/home/pi/Desktop/images/04012025/00/27/image_04012025_00_27_02_837541_0000.jpg
/home/pi/Desktop/images/04012025/00/27/image_04012025_00_27_02_837541_0001.jpg
/home/pi/Desktop/images/04012025/00/27/image_04012025_00_27_02_837541_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326125082","1326125136","1326125232","1326125226"],"photo_ids_order":["1326125082","1326125136","1326125226","1326125232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3a41fc4d7ec7b4fe753706131a0cacb7.jpg","text":"TemporaryFile(/tmp/multipartBody549397338639296864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946952686,"filename":"image_04012025_00_26_02_669684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bb3175dcfa072ce1c325cff82ac3c1bf.jpg","text":"TemporaryFile(/tmp/multipartBody2852945957825939479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946952686,"filename":"image_04012025_00_27_02_837541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/870fe458c91dc6ef97aca3108ad5eb2d.jpg","text":"TemporaryFile(/tmp/multipartBody1167998345005066147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946952686,"filename":"image_04012025_00_27_02_837541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aa89ae8588b2ae8793a4cf5739ed4bed.jpg","text":"TemporaryFile(/tmp/multipartBody4860655761480699249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735946952686,"filename":"image_04012025_00_27_02_837541_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326125226","file1":"1326125136","file0":"1326125082","file3":"1326125232"},"map_files_photo_id_array":[{"photo_id":"1326125226","filename":"file2"},{"photo_id":"1326125136","filename":"file1"},{"photo_id":"1326125082","filename":"file0"},{"photo_id":"1326125232","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326125082":["hashtag1","hashtag2"]},{"1326125136":["hashtag1","hashtag2"]},{"1326125232":["hashtag1","hashtag2"]},{"1326125226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326125082, 1326125136, 1326125232, 1326125226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 52.006126165390015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:29:02.720185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/27/image_04012025_00_27_02_837541_0003.jpg', '/home/pi/Desktop/images/04012025/00/28/image_04012025_00_28_02_974653_0000.jpg', '/home/pi/Desktop/images/04012025/00/28/image_04012025_00_28_02_974653_0001.jpg', '/home/pi/Desktop/images/04012025/00/28/image_04012025_00_28_02_974653_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/27/image_04012025_00_27_02_837541_0003.jpg
/home/pi/Desktop/images/04012025/00/28/image_04012025_00_28_02_974653_0000.jpg
/home/pi/Desktop/images/04012025/00/28/image_04012025_00_28_02_974653_0001.jpg
/home/pi/Desktop/images/04012025/00/28/image_04012025_00_28_02_974653_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326125462","1326125473","1326125458","1326125469"],"photo_ids_order":["1326125458","1326125462","1326125469","1326125473"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1f6d5c0ad047f1f4182840df4b44f5b5.jpg","text":"TemporaryFile(/tmp/multipartBody1827089405393175007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947013237,"filename":"image_04012025_00_28_02_974653_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a32151cbba2aa582e09c1ecea5af843a.jpg","text":"TemporaryFile(/tmp/multipartBody2455001553437501420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947013237,"filename":"image_04012025_00_28_02_974653_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3018a447c5212438ffdc47ff2be7fb81.jpg","text":"TemporaryFile(/tmp/multipartBody5305244142264046077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947013237,"filename":"image_04012025_00_27_02_837541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/718f9236888a10dcd0ae1f7f1c5ebfb8.jpg","text":"TemporaryFile(/tmp/multipartBody7686256120559591101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947013237,"filename":"image_04012025_00_28_02_974653_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326125469","file1":"1326125462","file0":"1326125458","file3":"1326125473"},"map_files_photo_id_array":[{"photo_id":"1326125469","filename":"file2"},{"photo_id":"1326125462","filename":"file1"},{"photo_id":"1326125458","filename":"file0"},{"photo_id":"1326125473","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326125462":["hashtag1","hashtag2"]},{"1326125473":["hashtag1","hashtag2"]},{"1326125458":["hashtag1","hashtag2"]},{"1326125469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326125462, 1326125473, 1326125458, 1326125469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.63735628128052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:29:52.034472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:30:02.597484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/28/image_04012025_00_28_02_974653_0003.jpg', '/home/pi/Desktop/images/04012025/00/29/image_04012025_00_29_02_192898_0000.jpg', '/home/pi/Desktop/images/04012025/00/29/image_04012025_00_29_02_192898_0001.jpg', '/home/pi/Desktop/images/04012025/00/29/image_04012025_00_29_02_192898_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/28/image_04012025_00_28_02_974653_0003.jpg
/home/pi/Desktop/images/04012025/00/29/image_04012025_00_29_02_192898_0000.jpg
/home/pi/Desktop/images/04012025/00/29/image_04012025_00_29_02_192898_0001.jpg
/home/pi/Desktop/images/04012025/00/29/image_04012025_00_29_02_192898_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326126357","1326126354","1326126260","1326126398"],"photo_ids_order":["1326126260","1326126354","1326126357","1326126398"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3420ceb5cf6a0971136076d4458a007e.jpg","text":"TemporaryFile(/tmp/multipartBody796426603639299820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947072946,"filename":"image_04012025_00_29_02_192898_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28edcb6fa6c3a8ca6c054b50e62ae996.jpg","text":"TemporaryFile(/tmp/multipartBody5644278726099972938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947072946,"filename":"image_04012025_00_29_02_192898_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/009d3f7eced3eb3ff9bed819481f9bf0.jpg","text":"TemporaryFile(/tmp/multipartBody1924556852774682645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947072946,"filename":"image_04012025_00_28_02_974653_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/09bca9cdc6d935708e569b02cee33e0a.jpg","text":"TemporaryFile(/tmp/multipartBody1147959201572777597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947072946,"filename":"image_04012025_00_29_02_192898_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326126357","file1":"1326126354","file0":"1326126260","file3":"1326126398"},"map_files_photo_id_array":[{"photo_id":"1326126357","filename":"file2"},{"photo_id":"1326126354","filename":"file1"},{"photo_id":"1326126260","filename":"file0"},{"photo_id":"1326126398","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326126357":["hashtag1","hashtag2"]},{"1326126354":["hashtag1","hashtag2"]},{"1326126260":["hashtag1","hashtag2"]},{"1326126398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326126357, 1326126354, 1326126260, 1326126398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.080779790878296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:30:52.240808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:31:03.161886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/29/image_04012025_00_29_02_192898_0003.jpg', '/home/pi/Desktop/images/04012025/00/30/image_04012025_00_30_02_369247_0000.jpg', '/home/pi/Desktop/images/04012025/00/30/image_04012025_00_30_02_369247_0001.jpg', '/home/pi/Desktop/images/04012025/00/30/image_04012025_00_30_02_369247_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/29/image_04012025_00_29_02_192898_0003.jpg
/home/pi/Desktop/images/04012025/00/30/image_04012025_00_30_02_369247_0000.jpg
/home/pi/Desktop/images/04012025/00/30/image_04012025_00_30_02_369247_0001.jpg
/home/pi/Desktop/images/04012025/00/30/image_04012025_00_30_02_369247_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326127054","1326127101","1326127104","1326127040"],"photo_ids_order":["1326127040","1326127054","1326127101","1326127104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/032e87b71136c7b280ef5d83c03a869c.jpg","text":"TemporaryFile(/tmp/multipartBody4878638804667871288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947133546,"filename":"image_04012025_00_30_02_369247_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/46df21f9a9cec3867192aaf4ca8307c7.jpg","text":"TemporaryFile(/tmp/multipartBody3898239254120762236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947133546,"filename":"image_04012025_00_30_02_369247_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6accd2b3854550ce8f925cc98831980f.jpg","text":"TemporaryFile(/tmp/multipartBody3865782728789971468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947133546,"filename":"image_04012025_00_30_02_369247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/56c8be3f4eabe3ac7902555e7948c752.jpg","text":"TemporaryFile(/tmp/multipartBody5645650260396959571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947133546,"filename":"image_04012025_00_29_02_192898_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326127101","file1":"1326127054","file0":"1326127040","file3":"1326127104"},"map_files_photo_id_array":[{"photo_id":"1326127101","filename":"file2"},{"photo_id":"1326127054","filename":"file1"},{"photo_id":"1326127040","filename":"file0"},{"photo_id":"1326127104","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326127054":["hashtag1","hashtag2"]},{"1326127101":["hashtag1","hashtag2"]},{"1326127104":["hashtag1","hashtag2"]},{"1326127040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326127054, 1326127101, 1326127104, 1326127040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.567684173583984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:31:52.409992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:32:03.042689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/30/image_04012025_00_30_02_369247_0003.jpg', '/home/pi/Desktop/images/04012025/00/31/image_04012025_00_31_02_588600_0000.jpg', '/home/pi/Desktop/images/04012025/00/31/image_04012025_00_31_02_588600_0001.jpg', '/home/pi/Desktop/images/04012025/00/31/image_04012025_00_31_02_588600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/30/image_04012025_00_30_02_369247_0003.jpg
/home/pi/Desktop/images/04012025/00/31/image_04012025_00_31_02_588600_0000.jpg
/home/pi/Desktop/images/04012025/00/31/image_04012025_00_31_02_588600_0001.jpg
/home/pi/Desktop/images/04012025/00/31/image_04012025_00_31_02_588600_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326127216","1326127213","1326127221","1326127211"],"photo_ids_order":["1326127211","1326127213","1326127216","1326127221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/90a16ea1cb2e451959f9cbd020ec2c48.jpg","text":"TemporaryFile(/tmp/multipartBody328459527307137180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947193330,"filename":"image_04012025_00_31_02_588600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9329923f084803c9db33f3493220d16b.jpg","text":"TemporaryFile(/tmp/multipartBody5259068280409780221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947193330,"filename":"image_04012025_00_31_02_588600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/421e824f739ac498fb4cc458f67c1668.jpg","text":"TemporaryFile(/tmp/multipartBody5744906696502750672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947193330,"filename":"image_04012025_00_31_02_588600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cdc7d1c29b4f3e60706f73ebaebed8b2.jpg","text":"TemporaryFile(/tmp/multipartBody36282238962983357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947193330,"filename":"image_04012025_00_30_02_369247_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326127216","file1":"1326127213","file0":"1326127211","file3":"1326127221"},"map_files_photo_id_array":[{"photo_id":"1326127216","filename":"file2"},{"photo_id":"1326127213","filename":"file1"},{"photo_id":"1326127211","filename":"file0"},{"photo_id":"1326127221","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326127216":["hashtag1","hashtag2"]},{"1326127213":["hashtag1","hashtag2"]},{"1326127221":["hashtag1","hashtag2"]},{"1326127211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326127216, 1326127213, 1326127221, 1326127211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.14433312416077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:32:52.577555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:33:02.441088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/31/image_04012025_00_31_02_588600_0003.jpg', '/home/pi/Desktop/images/04012025/00/32/image_04012025_00_32_02_787236_0000.jpg', '/home/pi/Desktop/images/04012025/00/32/image_04012025_00_32_02_787236_0001.jpg', '/home/pi/Desktop/images/04012025/00/32/image_04012025_00_32_02_787236_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/31/image_04012025_00_31_02_588600_0003.jpg
/home/pi/Desktop/images/04012025/00/32/image_04012025_00_32_02_787236_0000.jpg
/home/pi/Desktop/images/04012025/00/32/image_04012025_00_32_02_787236_0001.jpg
/home/pi/Desktop/images/04012025/00/32/image_04012025_00_32_02_787236_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326127519","1326127708","1326127791","1326127799"],"photo_ids_order":["1326127519","1326127708","1326127791","1326127799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c56de50471a3b936b6206b077c212860.jpg","text":"TemporaryFile(/tmp/multipartBody8777943945706034428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947252816,"filename":"image_04012025_00_31_02_588600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cecfb4d3dc3ee33701b6ad1b4134970c.jpg","text":"TemporaryFile(/tmp/multipartBody8755854560031213758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947252816,"filename":"image_04012025_00_32_02_787236_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/da7aa46a0ba0c4faeb7914257491f5bb.jpg","text":"TemporaryFile(/tmp/multipartBody2482666433382046512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947252816,"filename":"image_04012025_00_32_02_787236_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2f758295d63cf3f992aadd6849949dc9.jpg","text":"TemporaryFile(/tmp/multipartBody5109716994206352020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947252816,"filename":"image_04012025_00_32_02_787236_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326127791","file1":"1326127708","file0":"1326127519","file3":"1326127799"},"map_files_photo_id_array":[{"photo_id":"1326127791","filename":"file2"},{"photo_id":"1326127708","filename":"file1"},{"photo_id":"1326127519","filename":"file0"},{"photo_id":"1326127799","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326127519":["hashtag1","hashtag2"]},{"1326127708":["hashtag1","hashtag2"]},{"1326127791":["hashtag1","hashtag2"]},{"1326127799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326127519, 1326127708, 1326127791, 1326127799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.49741816520691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:33:51.802119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:34:02.378215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/32/image_04012025_00_32_02_787236_0003.jpg', '/home/pi/Desktop/images/04012025/00/33/image_04012025_00_33_02_964788_0000.jpg', '/home/pi/Desktop/images/04012025/00/33/image_04012025_00_33_02_964788_0001.jpg', '/home/pi/Desktop/images/04012025/00/33/image_04012025_00_33_02_964788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/32/image_04012025_00_32_02_787236_0003.jpg
/home/pi/Desktop/images/04012025/00/33/image_04012025_00_33_02_964788_0000.jpg
/home/pi/Desktop/images/04012025/00/33/image_04012025_00_33_02_964788_0001.jpg
/home/pi/Desktop/images/04012025/00/33/image_04012025_00_33_02_964788_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326127933","1326127927","1326127926","1326127931"],"photo_ids_order":["1326127926","1326127927","1326127931","1326127933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/422245caa0a594c3b1936f94b9971cab.jpg","text":"TemporaryFile(/tmp/multipartBody7720639327192351509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947312817,"filename":"image_04012025_00_33_02_964788_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5566e971a0aff3f1748ce382a8178760.jpg","text":"TemporaryFile(/tmp/multipartBody267345987919758869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947312817,"filename":"image_04012025_00_33_02_964788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/09e6d65e864f7bdfa65a9d8e2993145a.jpg","text":"TemporaryFile(/tmp/multipartBody8283140451419062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947312817,"filename":"image_04012025_00_32_02_787236_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dc3a8ee05d0fc31a511ffa74ad28b8ad.jpg","text":"TemporaryFile(/tmp/multipartBody6383010221848816134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947312817,"filename":"image_04012025_00_33_02_964788_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326127931","file1":"1326127927","file0":"1326127926","file3":"1326127933"},"map_files_photo_id_array":[{"photo_id":"1326127931","filename":"file2"},{"photo_id":"1326127927","filename":"file1"},{"photo_id":"1326127926","filename":"file0"},{"photo_id":"1326127933","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326127933":["hashtag1","hashtag2"]},{"1326127927":["hashtag1","hashtag2"]},{"1326127926":["hashtag1","hashtag2"]},{"1326127931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326127933, 1326127927, 1326127926, 1326127931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57787466049194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:34:51.960430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:35:02.773740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/33/image_04012025_00_33_02_964788_0003.jpg', '/home/pi/Desktop/images/04012025/00/34/image_04012025_00_34_02_182446_0000.jpg', '/home/pi/Desktop/images/04012025/00/34/image_04012025_00_34_02_182446_0001.jpg', '/home/pi/Desktop/images/04012025/00/34/image_04012025_00_34_02_182446_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/33/image_04012025_00_33_02_964788_0003.jpg
/home/pi/Desktop/images/04012025/00/34/image_04012025_00_34_02_182446_0000.jpg
/home/pi/Desktop/images/04012025/00/34/image_04012025_00_34_02_182446_0001.jpg
/home/pi/Desktop/images/04012025/00/34/image_04012025_00_34_02_182446_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326127950","1326127938","1326127947","1326127973"],"photo_ids_order":["1326127938","1326127947","1326127950","1326127973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3495a5d1c86cd35b6085ded5852c3058.jpg","text":"TemporaryFile(/tmp/multipartBody4258541214920203647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947373200,"filename":"image_04012025_00_34_02_182446_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4df1fcebc2909c7d87bb955d46219c64.jpg","text":"TemporaryFile(/tmp/multipartBody7277032000112070138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947373200,"filename":"image_04012025_00_33_02_964788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bd970edf2d40fc00f12a73613e1eeb03.jpg","text":"TemporaryFile(/tmp/multipartBody7828070220248751271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947373200,"filename":"image_04012025_00_34_02_182446_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8e373755459e432b0862229f0352ab18.jpg","text":"TemporaryFile(/tmp/multipartBody3058070342686738740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947373200,"filename":"image_04012025_00_34_02_182446_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326127950","file1":"1326127947","file0":"1326127938","file3":"1326127973"},"map_files_photo_id_array":[{"photo_id":"1326127950","filename":"file2"},{"photo_id":"1326127947","filename":"file1"},{"photo_id":"1326127938","filename":"file0"},{"photo_id":"1326127973","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326127950":["hashtag1","hashtag2"]},{"1326127938":["hashtag1","hashtag2"]},{"1326127947":["hashtag1","hashtag2"]},{"1326127973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326127950, 1326127938, 1326127947, 1326127973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.84344840049744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:35:52.131552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:36:02.751767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/34/image_04012025_00_34_02_182446_0003.jpg', '/home/pi/Desktop/images/04012025/00/35/image_04012025_00_35_02_353233_0000.jpg', '/home/pi/Desktop/images/04012025/00/35/image_04012025_00_35_02_353233_0001.jpg', '/home/pi/Desktop/images/04012025/00/35/image_04012025_00_35_02_353233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/34/image_04012025_00_34_02_182446_0003.jpg
/home/pi/Desktop/images/04012025/00/35/image_04012025_00_35_02_353233_0000.jpg
/home/pi/Desktop/images/04012025/00/35/image_04012025_00_35_02_353233_0001.jpg
/home/pi/Desktop/images/04012025/00/35/image_04012025_00_35_02_353233_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326128353","1326128390","1326128387","1326128392"],"photo_ids_order":["1326128353","1326128387","1326128390","1326128392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/80c0f7c2e34b22c53e98bb060a8e4604.jpg","text":"TemporaryFile(/tmp/multipartBody8647678237456230309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947433058,"filename":"image_04012025_00_34_02_182446_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/57818263d106f826b667ae55f5a819b6.jpg","text":"TemporaryFile(/tmp/multipartBody3500209225070503567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947433058,"filename":"image_04012025_00_35_02_353233_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b9cc3a6dc9377482e7d1ba24a0eaddfc.jpg","text":"TemporaryFile(/tmp/multipartBody4884724100860423701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947433058,"filename":"image_04012025_00_35_02_353233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/128df97f1b27fecdf1d63d4737bb49ad.jpg","text":"TemporaryFile(/tmp/multipartBody5519688565971168029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947433058,"filename":"image_04012025_00_35_02_353233_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326128390","file1":"1326128387","file0":"1326128353","file3":"1326128392"},"map_files_photo_id_array":[{"photo_id":"1326128390","filename":"file2"},{"photo_id":"1326128387","filename":"file1"},{"photo_id":"1326128353","filename":"file0"},{"photo_id":"1326128392","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326128353":["hashtag1","hashtag2"]},{"1326128390":["hashtag1","hashtag2"]},{"1326128387":["hashtag1","hashtag2"]},{"1326128392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326128353, 1326128390, 1326128387, 1326128392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.25913906097412 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:36:52.315667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:37:03.205982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/35/image_04012025_00_35_02_353233_0003.jpg', '/home/pi/Desktop/images/04012025/00/36/image_04012025_00_36_02_514901_0000.jpg', '/home/pi/Desktop/images/04012025/00/36/image_04012025_00_36_02_514901_0001.jpg', '/home/pi/Desktop/images/04012025/00/36/image_04012025_00_36_02_514901_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/35/image_04012025_00_35_02_353233_0003.jpg
/home/pi/Desktop/images/04012025/00/36/image_04012025_00_36_02_514901_0000.jpg
/home/pi/Desktop/images/04012025/00/36/image_04012025_00_36_02_514901_0001.jpg
/home/pi/Desktop/images/04012025/00/36/image_04012025_00_36_02_514901_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.812005996704102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:37:22.450587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/35/image_04012025_00_35_02_353233_0003.jpg', '/home/pi/Desktop/images/04012025/00/36/image_04012025_00_36_02_514901_0000.jpg', '/home/pi/Desktop/images/04012025/00/36/image_04012025_00_36_02_514901_0001.jpg', '/home/pi/Desktop/images/04012025/00/36/image_04012025_00_36_02_514901_0002.jpg', '/home/pi/Desktop/images/04012025/00/36/image_04012025_00_36_02_514901_0003.jpg', '/home/pi/Desktop/images/04012025/00/37/image_04012025_00_37_02_687221_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/35/image_04012025_00_35_02_353233_0003.jpg
/home/pi/Desktop/images/04012025/00/36/image_04012025_00_36_02_514901_0000.jpg
/home/pi/Desktop/images/04012025/00/36/image_04012025_00_36_02_514901_0001.jpg
/home/pi/Desktop/images/04012025/00/36/image_04012025_00_36_02_514901_0002.jpg
/home/pi/Desktop/images/04012025/00/36/image_04012025_00_36_02_514901_0003.jpg
/home/pi/Desktop/images/04012025/00/37/image_04012025_00_37_02_687221_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":["1326129369","1326129399","1326129392","1326129368","1326129338","1326129397"],"photo_ids_order":["1326129338","1326129368","1326129369","1326129392","1326129397","1326129399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e86dfc8501103085ac02a4ce0863f672.jpg","text":"TemporaryFile(/tmp/multipartBody4011382378502814004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947517394,"filename":"image_04012025_00_36_02_514901_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bcf15928079665bc4d14f8e8d0e0467e.jpg","text":"TemporaryFile(/tmp/multipartBody4345058305521460448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947517394,"filename":"image_04012025_00_37_02_687221_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/586be2d17007f515f828df014e71de6a.jpg","text":"TemporaryFile(/tmp/multipartBody5345757162648610005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947517394,"filename":"image_04012025_00_36_02_514901_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2ea1e9e0543f7440cc11aa403004e844.jpg","text":"TemporaryFile(/tmp/multipartBody5605557093724099421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947517394,"filename":"image_04012025_00_36_02_514901_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b5e4ae3f0bad6518445f5fa86b3aa40f.jpg","text":"TemporaryFile(/tmp/multipartBody4193541586058591556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947517394,"filename":"image_04012025_00_35_02_353233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/332198f04b4729a2017472dd7a1fae58.jpg","text":"TemporaryFile(/tmp/multipartBody6752439354999148609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947517394,"filename":"image_04012025_00_36_02_514901_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326129369","file1":"1326129368","file0":"1326129338","file4":"1326129397","file5":"1326129399","file3":"1326129392"},"map_files_photo_id_array":[{"photo_id":"1326129399","filename":"file5"},{"photo_id":"1326129369","filename":"file2"},{"photo_id":"1326129397","filename":"file4"},{"photo_id":"1326129368","filename":"file1"},{"photo_id":"1326129338","filename":"file0"},{"photo_id":"1326129392","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326129369":["hashtag1","hashtag2"]},{"1326129399":["hashtag1","hashtag2"]},{"1326129392":["hashtag1","hashtag2"]},{"1326129368":["hashtag1","hashtag2"]},{"1326129338":["hashtag1","hashtag2"]},{"1326129397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326129369, 1326129399, 1326129392, 1326129368, 1326129338, 1326129397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.576459884643555 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 1
2025-01-04 00:38:52.651408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:39:02.483355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/37/image_04012025_00_37_02_687221_0001.jpg', '/home/pi/Desktop/images/04012025/00/37/image_04012025_00_37_02_687221_0002.jpg', '/home/pi/Desktop/images/04012025/00/37/image_04012025_00_37_02_687221_0003.jpg', '/home/pi/Desktop/images/04012025/00/38/image_04012025_00_38_02_916905_0000.jpg', '/home/pi/Desktop/images/04012025/00/38/image_04012025_00_38_02_916905_0001.jpg', '/home/pi/Desktop/images/04012025/00/38/image_04012025_00_38_02_916905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/37/image_04012025_00_37_02_687221_0001.jpg
/home/pi/Desktop/images/04012025/00/37/image_04012025_00_37_02_687221_0002.jpg
/home/pi/Desktop/images/04012025/00/37/image_04012025_00_37_02_687221_0003.jpg
/home/pi/Desktop/images/04012025/00/38/image_04012025_00_38_02_916905_0000.jpg
/home/pi/Desktop/images/04012025/00/38/image_04012025_00_38_02_916905_0001.jpg
/home/pi/Desktop/images/04012025/00/38/image_04012025_00_38_02_916905_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.8163161277771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:39:21.820793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/37/image_04012025_00_37_02_687221_0001.jpg', '/home/pi/Desktop/images/04012025/00/37/image_04012025_00_37_02_687221_0002.jpg', '/home/pi/Desktop/images/04012025/00/37/image_04012025_00_37_02_687221_0003.jpg', '/home/pi/Desktop/images/04012025/00/38/image_04012025_00_38_02_916905_0000.jpg', '/home/pi/Desktop/images/04012025/00/38/image_04012025_00_38_02_916905_0001.jpg', '/home/pi/Desktop/images/04012025/00/38/image_04012025_00_38_02_916905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/37/image_04012025_00_37_02_687221_0001.jpg
/home/pi/Desktop/images/04012025/00/37/image_04012025_00_37_02_687221_0002.jpg
/home/pi/Desktop/images/04012025/00/37/image_04012025_00_37_02_687221_0003.jpg
/home/pi/Desktop/images/04012025/00/38/image_04012025_00_38_02_916905_0000.jpg
/home/pi/Desktop/images/04012025/00/38/image_04012025_00_38_02_916905_0001.jpg
/home/pi/Desktop/images/04012025/00/38/image_04012025_00_38_02_916905_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326129471","1326129473","1326129472","1326129466","1326129475","1326129469"],"photo_ids_order":["1326129466","1326129469","1326129471","1326129472","1326129473","1326129475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/72cf7ec7f25afe099be787f724b26111.jpg","text":"TemporaryFile(/tmp/multipartBody8862611396632660845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947636927,"filename":"image_04012025_00_37_02_687221_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/645e7a21c3c8aabb08b7fc8ed75ad428.jpg","text":"TemporaryFile(/tmp/multipartBody7438946885219946001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947636927,"filename":"image_04012025_00_38_02_916905_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4762f38c0ed855018b1baef86c9cb143.jpg","text":"TemporaryFile(/tmp/multipartBody2313295211336051104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947636927,"filename":"image_04012025_00_38_02_916905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0d3c77d2a51ab5aa6c4db0c849f38080.jpg","text":"TemporaryFile(/tmp/multipartBody9098923598181020897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947636927,"filename":"image_04012025_00_37_02_687221_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed24f4cc6d00fcc2e1a9aca0ae759f6f.jpg","text":"TemporaryFile(/tmp/multipartBody7018064181709249955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947636927,"filename":"image_04012025_00_38_02_916905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49fce259ce0fe6226df80f24a64dae3c.jpg","text":"TemporaryFile(/tmp/multipartBody7215584146694135197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947636927,"filename":"image_04012025_00_37_02_687221_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326129471","file1":"1326129469","file0":"1326129466","file4":"1326129473","file5":"1326129475","file3":"1326129472"},"map_files_photo_id_array":[{"photo_id":"1326129475","filename":"file5"},{"photo_id":"1326129471","filename":"file2"},{"photo_id":"1326129473","filename":"file4"},{"photo_id":"1326129469","filename":"file1"},{"photo_id":"1326129466","filename":"file0"},{"photo_id":"1326129472","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326129471":["hashtag1","hashtag2"]},{"1326129473":["hashtag1","hashtag2"]},{"1326129472":["hashtag1","hashtag2"]},{"1326129466":["hashtag1","hashtag2"]},{"1326129475":["hashtag1","hashtag2"]},{"1326129469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326129471, 1326129473, 1326129472, 1326129466, 1326129475, 1326129469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.370341539382935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:40:22.060453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/38/image_04012025_00_38_02_916905_0003.jpg', '/home/pi/Desktop/images/04012025/00/39/image_04012025_00_39_03_022344_0000.jpg', '/home/pi/Desktop/images/04012025/00/39/image_04012025_00_39_03_022344_0001.jpg', '/home/pi/Desktop/images/04012025/00/39/image_04012025_00_39_03_022344_0002.jpg', '/home/pi/Desktop/images/04012025/00/39/image_04012025_00_39_03_022344_0003.jpg', '/home/pi/Desktop/images/04012025/00/40/image_04012025_00_40_02_326567_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/38/image_04012025_00_38_02_916905_0003.jpg
/home/pi/Desktop/images/04012025/00/39/image_04012025_00_39_03_022344_0000.jpg
/home/pi/Desktop/images/04012025/00/39/image_04012025_00_39_03_022344_0001.jpg
/home/pi/Desktop/images/04012025/00/39/image_04012025_00_39_03_022344_0002.jpg
/home/pi/Desktop/images/04012025/00/39/image_04012025_00_39_03_022344_0003.jpg
/home/pi/Desktop/images/04012025/00/40/image_04012025_00_40_02_326567_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.643980979919434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:40:52.079141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:41:02.815664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/38/image_04012025_00_38_02_916905_0003.jpg', '/home/pi/Desktop/images/04012025/00/39/image_04012025_00_39_03_022344_0000.jpg', '/home/pi/Desktop/images/04012025/00/39/image_04012025_00_39_03_022344_0001.jpg', '/home/pi/Desktop/images/04012025/00/39/image_04012025_00_39_03_022344_0002.jpg', '/home/pi/Desktop/images/04012025/00/39/image_04012025_00_39_03_022344_0003.jpg', '/home/pi/Desktop/images/04012025/00/40/image_04012025_00_40_02_326567_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/38/image_04012025_00_38_02_916905_0003.jpg
/home/pi/Desktop/images/04012025/00/39/image_04012025_00_39_03_022344_0000.jpg
/home/pi/Desktop/images/04012025/00/39/image_04012025_00_39_03_022344_0001.jpg
/home/pi/Desktop/images/04012025/00/39/image_04012025_00_39_03_022344_0002.jpg
/home/pi/Desktop/images/04012025/00/39/image_04012025_00_39_03_022344_0003.jpg
/home/pi/Desktop/images/04012025/00/40/image_04012025_00_40_02_326567_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":["1326130942","1326130728","1326130224","1326130945","1326130456","1326130075"],"photo_ids_order":["1326130075","1326130224","1326130456","1326130728","1326130942","1326130945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e05777ae0053d447eef3efd75d650f60.jpg","text":"TemporaryFile(/tmp/multipartBody1474063497258672376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947737919,"filename":"image_04012025_00_39_03_022344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/22bee874f86be285ed2547dc7bd282f1.jpg","text":"TemporaryFile(/tmp/multipartBody2452422973371916087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947737919,"filename":"image_04012025_00_39_03_022344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba379caf7022d41178c8892a99127fa2.jpg","text":"TemporaryFile(/tmp/multipartBody3245670671007726335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947737919,"filename":"image_04012025_00_39_03_022344_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/461478610930681058a218dfea0050c0.jpg","text":"TemporaryFile(/tmp/multipartBody7523103393865738148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947737919,"filename":"image_04012025_00_40_02_326567_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/06c10ad7679b941e4ec159c83f4d1520.jpg","text":"TemporaryFile(/tmp/multipartBody8387512898495499631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947737919,"filename":"image_04012025_00_39_03_022344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/25476a29872867b61dacdf20f6711389.jpg","text":"TemporaryFile(/tmp/multipartBody4762895561174143498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947737919,"filename":"image_04012025_00_38_02_916905_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326130456","file1":"1326130224","file0":"1326130075","file4":"1326130942","file5":"1326130945","file3":"1326130728"},"map_files_photo_id_array":[{"photo_id":"1326130945","filename":"file5"},{"photo_id":"1326130456","filename":"file2"},{"photo_id":"1326130942","filename":"file4"},{"photo_id":"1326130224","filename":"file1"},{"photo_id":"1326130075","filename":"file0"},{"photo_id":"1326130728","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326130942":["hashtag1","hashtag2"]},{"1326130728":["hashtag1","hashtag2"]},{"1326130224":["hashtag1","hashtag2"]},{"1326130945":["hashtag1","hashtag2"]},{"1326130456":["hashtag1","hashtag2"]},{"1326130075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326130942, 1326130728, 1326130224, 1326130945, 1326130456, 1326130075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.60396194458008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:42:02.911233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/40/image_04012025_00_40_02_326567_0001.jpg', '/home/pi/Desktop/images/04012025/00/40/image_04012025_00_40_02_326567_0002.jpg', '/home/pi/Desktop/images/04012025/00/40/image_04012025_00_40_02_326567_0003.jpg', '/home/pi/Desktop/images/04012025/00/41/image_04012025_00_41_02_468420_0000.jpg', '/home/pi/Desktop/images/04012025/00/41/image_04012025_00_41_02_468420_0001.jpg', '/home/pi/Desktop/images/04012025/00/41/image_04012025_00_41_02_468420_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/40/image_04012025_00_40_02_326567_0001.jpg
/home/pi/Desktop/images/04012025/00/40/image_04012025_00_40_02_326567_0002.jpg
/home/pi/Desktop/images/04012025/00/40/image_04012025_00_40_02_326567_0003.jpg
/home/pi/Desktop/images/04012025/00/41/image_04012025_00_41_02_468420_0000.jpg
/home/pi/Desktop/images/04012025/00/41/image_04012025_00_41_02_468420_0001.jpg
/home/pi/Desktop/images/04012025/00/41/image_04012025_00_41_02_468420_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326131232","1326131093","1326131267","1326131293","1326131350","1326131113"],"photo_ids_order":["1326131093","1326131113","1326131232","1326131267","1326131293","1326131350"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/356fd2619174b8f6fb8e97eff4dc0740.jpg","text":"TemporaryFile(/tmp/multipartBody6511084789745022650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947798087,"filename":"image_04012025_00_40_02_326567_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9d7da01f26444330bf1cc9db427ffb01.jpg","text":"TemporaryFile(/tmp/multipartBody3630968036930360392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947798087,"filename":"image_04012025_00_40_02_326567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8b3156cf556d4a0e82c0f5190b5a35e6.jpg","text":"TemporaryFile(/tmp/multipartBody6205025710861394566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947798087,"filename":"image_04012025_00_41_02_468420_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6815f4e6c03fdf51e37b81a23194a7f4.jpg","text":"TemporaryFile(/tmp/multipartBody7213398331481932380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947798087,"filename":"image_04012025_00_41_02_468420_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3c4cfbeaef0527b7c31c8374282540f6.jpg","text":"TemporaryFile(/tmp/multipartBody8881987737506151033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947798087,"filename":"image_04012025_00_41_02_468420_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/923d6cc55104ebbf9a15be642bf11118.jpg","text":"TemporaryFile(/tmp/multipartBody7190758311010375396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947798087,"filename":"image_04012025_00_40_02_326567_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326131232","file1":"1326131113","file0":"1326131093","file4":"1326131293","file5":"1326131350","file3":"1326131267"},"map_files_photo_id_array":[{"photo_id":"1326131350","filename":"file5"},{"photo_id":"1326131232","filename":"file2"},{"photo_id":"1326131293","filename":"file4"},{"photo_id":"1326131113","filename":"file1"},{"photo_id":"1326131093","filename":"file0"},{"photo_id":"1326131267","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326131232":["hashtag1","hashtag2"]},{"1326131093":["hashtag1","hashtag2"]},{"1326131267":["hashtag1","hashtag2"]},{"1326131293":["hashtag1","hashtag2"]},{"1326131350":["hashtag1","hashtag2"]},{"1326131113":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326131232, 1326131093, 1326131267, 1326131293, 1326131350, 1326131113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.41862964630127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:43:22.587697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/41/image_04012025_00_41_02_468420_0003.jpg', '/home/pi/Desktop/images/04012025/00/42/image_04012025_00_42_02_634813_0000.jpg', '/home/pi/Desktop/images/04012025/00/42/image_04012025_00_42_02_634813_0001.jpg', '/home/pi/Desktop/images/04012025/00/42/image_04012025_00_42_02_634813_0002.jpg', '/home/pi/Desktop/images/04012025/00/42/image_04012025_00_42_02_634813_0003.jpg', '/home/pi/Desktop/images/04012025/00/43/image_04012025_00_43_02_864588_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/41/image_04012025_00_41_02_468420_0003.jpg
/home/pi/Desktop/images/04012025/00/42/image_04012025_00_42_02_634813_0000.jpg
/home/pi/Desktop/images/04012025/00/42/image_04012025_00_42_02_634813_0001.jpg
/home/pi/Desktop/images/04012025/00/42/image_04012025_00_42_02_634813_0002.jpg
/home/pi/Desktop/images/04012025/00/42/image_04012025_00_42_02_634813_0003.jpg
/home/pi/Desktop/images/04012025/00/43/image_04012025_00_43_02_864588_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":["1326132776","1326132572","1326132284","1326132128","1326132343","1326131887"],"photo_ids_order":["1326131887","1326132128","1326132284","1326132343","1326132572","1326132776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/81736791cc2dc2575d5dbd28b3864072.jpg","text":"TemporaryFile(/tmp/multipartBody9094978102576166837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947877759,"filename":"image_04012025_00_43_02_864588_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/276d91879120a1fde3d2ca164c0e0253.jpg","text":"TemporaryFile(/tmp/multipartBody7768861707336354021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947877759,"filename":"image_04012025_00_42_02_634813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca96c362ffceb3ad248acfe78994eb85.jpg","text":"TemporaryFile(/tmp/multipartBody8909004819646443529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947877759,"filename":"image_04012025_00_42_02_634813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/653658fa5f46a6a1737e52bca066580d.jpg","text":"TemporaryFile(/tmp/multipartBody3312762408930411821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947877759,"filename":"image_04012025_00_42_02_634813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3fedac206043e5fea00bc2c868332f9f.jpg","text":"TemporaryFile(/tmp/multipartBody1915805593138592509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947877759,"filename":"image_04012025_00_42_02_634813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2b71912d8a4903c2f8221de12678b73a.jpg","text":"TemporaryFile(/tmp/multipartBody6872685063729730573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947877759,"filename":"image_04012025_00_41_02_468420_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326132284","file1":"1326132128","file0":"1326131887","file4":"1326132572","file5":"1326132776","file3":"1326132343"},"map_files_photo_id_array":[{"photo_id":"1326132776","filename":"file5"},{"photo_id":"1326132284","filename":"file2"},{"photo_id":"1326132572","filename":"file4"},{"photo_id":"1326132128","filename":"file1"},{"photo_id":"1326131887","filename":"file0"},{"photo_id":"1326132343","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326132776":["hashtag1","hashtag2"]},{"1326132572":["hashtag1","hashtag2"]},{"1326132284":["hashtag1","hashtag2"]},{"1326132128":["hashtag1","hashtag2"]},{"1326132343":["hashtag1","hashtag2"]},{"1326131887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326132776, 1326132572, 1326132284, 1326132128, 1326132343, 1326131887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.04218411445618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:44:21.771540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/43/image_04012025_00_43_02_864588_0001.jpg', '/home/pi/Desktop/images/04012025/00/43/image_04012025_00_43_02_864588_0002.jpg', '/home/pi/Desktop/images/04012025/00/43/image_04012025_00_43_02_864588_0003.jpg', '/home/pi/Desktop/images/04012025/00/44/image_04012025_00_44_02_986271_0000.jpg', '/home/pi/Desktop/images/04012025/00/44/image_04012025_00_44_02_986271_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/43/image_04012025_00_43_02_864588_0001.jpg
/home/pi/Desktop/images/04012025/00/43/image_04012025_00_43_02_864588_0002.jpg
/home/pi/Desktop/images/04012025/00/43/image_04012025_00_43_02_864588_0003.jpg
/home/pi/Desktop/images/04012025/00/44/image_04012025_00_44_02_986271_0000.jpg
/home/pi/Desktop/images/04012025/00/44/image_04012025_00_44_02_986271_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: 12.421615362167358 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:44:51.768147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:45:02.631745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/43/image_04012025_00_43_02_864588_0001.jpg', '/home/pi/Desktop/images/04012025/00/43/image_04012025_00_43_02_864588_0002.jpg', '/home/pi/Desktop/images/04012025/00/43/image_04012025_00_43_02_864588_0003.jpg', '/home/pi/Desktop/images/04012025/00/44/image_04012025_00_44_02_986271_0000.jpg', '/home/pi/Desktop/images/04012025/00/44/image_04012025_00_44_02_986271_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/43/image_04012025_00_43_02_864588_0001.jpg
/home/pi/Desktop/images/04012025/00/43/image_04012025_00_43_02_864588_0002.jpg
/home/pi/Desktop/images/04012025/00/43/image_04012025_00_43_02_864588_0003.jpg
/home/pi/Desktop/images/04012025/00/44/image_04012025_00_44_02_986271_0000.jpg
/home/pi/Desktop/images/04012025/00/44/image_04012025_00_44_02_986271_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326134504","1326134429","1326134443","1326134329","1326134436"],"photo_ids_order":["1326134329","1326134429","1326134436","1326134443","1326134504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c96782a3227b018ecf3af6afc542d059.jpg","text":"TemporaryFile(/tmp/multipartBody5698056650437099759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947975453,"filename":"image_04012025_00_44_02_986271_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0b78335734854f0632bcbd2402cade75.jpg","text":"TemporaryFile(/tmp/multipartBody7022543554803877740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947975453,"filename":"image_04012025_00_43_02_864588_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/01a23a1c027c1d04c64ebc666533281f.jpg","text":"TemporaryFile(/tmp/multipartBody7312528534243850870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947975453,"filename":"image_04012025_00_44_02_986271_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d98d9a20b7d542890748463536d484ef.jpg","text":"TemporaryFile(/tmp/multipartBody3831720254642882048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947975453,"filename":"image_04012025_00_43_02_864588_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a2e6c823321d9518550bffe4877bd19c.jpg","text":"TemporaryFile(/tmp/multipartBody679083396665015714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735947975453,"filename":"image_04012025_00_43_02_864588_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326134436","file1":"1326134429","file0":"1326134329","file4":"1326134504","file3":"1326134443"},"map_files_photo_id_array":[{"photo_id":"1326134436","filename":"file2"},{"photo_id":"1326134504","filename":"file4"},{"photo_id":"1326134429","filename":"file1"},{"photo_id":"1326134329","filename":"file0"},{"photo_id":"1326134443","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326134504":["hashtag1","hashtag2"]},{"1326134429":["hashtag1","hashtag2"]},{"1326134443":["hashtag1","hashtag2"]},{"1326134329":["hashtag1","hashtag2"]},{"1326134436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326134504, 1326134429, 1326134443, 1326134329, 1326134436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.41161775588989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:45:51.965466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:46:02.554970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/44/image_04012025_00_44_02_986271_0003.jpg', '/home/pi/Desktop/images/04012025/00/45/image_04012025_00_45_02_163466_0000.jpg', '/home/pi/Desktop/images/04012025/00/45/image_04012025_00_45_02_163466_0001.jpg', '/home/pi/Desktop/images/04012025/00/45/image_04012025_00_45_02_163466_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/44/image_04012025_00_44_02_986271_0003.jpg
/home/pi/Desktop/images/04012025/00/45/image_04012025_00_45_02_163466_0000.jpg
/home/pi/Desktop/images/04012025/00/45/image_04012025_00_45_02_163466_0001.jpg
/home/pi/Desktop/images/04012025/00/45/image_04012025_00_45_02_163466_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326134603","1326134602","1326134605","1326134607"],"photo_ids_order":["1326134602","1326134603","1326134605","1326134607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/956bd8fdfd57af56032c50c961126876.jpg","text":"TemporaryFile(/tmp/multipartBody1239410481244233653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948032858,"filename":"image_04012025_00_45_02_163466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed35999e6676e201c0cc921bd8d8d8c5.jpg","text":"TemporaryFile(/tmp/multipartBody2211006863693884337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948032858,"filename":"image_04012025_00_44_02_986271_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6647108b8630dc30f01f261ead7c7d1f.jpg","text":"TemporaryFile(/tmp/multipartBody7453168417746917304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948032858,"filename":"image_04012025_00_45_02_163466_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d78742cfdbfcb7f5b7f9adc4f6d9c5d4.jpg","text":"TemporaryFile(/tmp/multipartBody4394298120377417449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948032858,"filename":"image_04012025_00_45_02_163466_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326134605","file1":"1326134603","file0":"1326134602","file3":"1326134607"},"map_files_photo_id_array":[{"photo_id":"1326134605","filename":"file2"},{"photo_id":"1326134603","filename":"file1"},{"photo_id":"1326134602","filename":"file0"},{"photo_id":"1326134607","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326134603":["hashtag1","hashtag2"]},{"1326134602":["hashtag1","hashtag2"]},{"1326134605":["hashtag1","hashtag2"]},{"1326134607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326134603, 1326134602, 1326134605, 1326134607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.737457036972046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:46:52.138930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:47:02.855683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/45/image_04012025_00_45_02_163466_0003.jpg', '/home/pi/Desktop/images/04012025/00/46/image_04012025_00_46_02_426946_0000.jpg', '/home/pi/Desktop/images/04012025/00/46/image_04012025_00_46_02_426946_0001.jpg', '/home/pi/Desktop/images/04012025/00/46/image_04012025_00_46_02_426946_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/45/image_04012025_00_45_02_163466_0003.jpg
/home/pi/Desktop/images/04012025/00/46/image_04012025_00_46_02_426946_0000.jpg
/home/pi/Desktop/images/04012025/00/46/image_04012025_00_46_02_426946_0001.jpg
/home/pi/Desktop/images/04012025/00/46/image_04012025_00_46_02_426946_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326135118","1326135115","1326135060","1326135141"],"photo_ids_order":["1326135060","1326135115","1326135118","1326135141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6815a93e4dd5fc0fd736ecc92ae3f01a.jpg","text":"TemporaryFile(/tmp/multipartBody7812142206827164650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948093146,"filename":"image_04012025_00_46_02_426946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/00bb05a503f68c7e5ca0856ec6c0c160.jpg","text":"TemporaryFile(/tmp/multipartBody126841978922151395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948093146,"filename":"image_04012025_00_46_02_426946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ffc53bbb1c616ee1c472b787cd9f76f9.jpg","text":"TemporaryFile(/tmp/multipartBody708608178112893203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948093146,"filename":"image_04012025_00_45_02_163466_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/93eabd1fa22b3158563237d4a26b9367.jpg","text":"TemporaryFile(/tmp/multipartBody4113326403457859958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948093146,"filename":"image_04012025_00_46_02_426946_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326135118","file1":"1326135115","file0":"1326135060","file3":"1326135141"},"map_files_photo_id_array":[{"photo_id":"1326135118","filename":"file2"},{"photo_id":"1326135115","filename":"file1"},{"photo_id":"1326135060","filename":"file0"},{"photo_id":"1326135141","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326135118":["hashtag1","hashtag2"]},{"1326135115":["hashtag1","hashtag2"]},{"1326135060":["hashtag1","hashtag2"]},{"1326135141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326135118, 1326135115, 1326135060, 1326135141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39431548118591 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:47:52.307239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:48:02.822613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/46/image_04012025_00_46_02_426946_0003.jpg', '/home/pi/Desktop/images/04012025/00/47/image_04012025_00_47_02_604174_0000.jpg', '/home/pi/Desktop/images/04012025/00/47/image_04012025_00_47_02_604174_0001.jpg', '/home/pi/Desktop/images/04012025/00/47/image_04012025_00_47_02_604174_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/46/image_04012025_00_46_02_426946_0003.jpg
/home/pi/Desktop/images/04012025/00/47/image_04012025_00_47_02_604174_0000.jpg
/home/pi/Desktop/images/04012025/00/47/image_04012025_00_47_02_604174_0001.jpg
/home/pi/Desktop/images/04012025/00/47/image_04012025_00_47_02_604174_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326135751","1326135759","1326135756","1326135801"],"photo_ids_order":["1326135751","1326135756","1326135759","1326135801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5d418426ceba271a5807e5ce8a333fa3.jpg","text":"TemporaryFile(/tmp/multipartBody5638748837732204516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948153140,"filename":"image_04012025_00_46_02_426946_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5b37a47c8041678a5abaf793f226422e.jpg","text":"TemporaryFile(/tmp/multipartBody2362491579220700690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948153140,"filename":"image_04012025_00_47_02_604174_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8ee8d5f521eeb97dab3533d41480198b.jpg","text":"TemporaryFile(/tmp/multipartBody1295666630925766911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948153140,"filename":"image_04012025_00_47_02_604174_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/39f53d70d1b823436e4e7baf4ffa5fe3.jpg","text":"TemporaryFile(/tmp/multipartBody6795294875522607819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948153140,"filename":"image_04012025_00_47_02_604174_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326135759","file1":"1326135756","file0":"1326135751","file3":"1326135801"},"map_files_photo_id_array":[{"photo_id":"1326135759","filename":"file2"},{"photo_id":"1326135756","filename":"file1"},{"photo_id":"1326135751","filename":"file0"},{"photo_id":"1326135801","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326135751":["hashtag1","hashtag2"]},{"1326135759":["hashtag1","hashtag2"]},{"1326135756":["hashtag1","hashtag2"]},{"1326135801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326135751, 1326135759, 1326135756, 1326135801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.99269223213196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:48:52.507807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:49:03.296972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/47/image_04012025_00_47_02_604174_0003.jpg', '/home/pi/Desktop/images/04012025/00/48/image_04012025_00_48_02_704345_0000.jpg', '/home/pi/Desktop/images/04012025/00/48/image_04012025_00_48_02_704345_0001.jpg', '/home/pi/Desktop/images/04012025/00/48/image_04012025_00_48_02_704345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/47/image_04012025_00_47_02_604174_0003.jpg
/home/pi/Desktop/images/04012025/00/48/image_04012025_00_48_02_704345_0000.jpg
/home/pi/Desktop/images/04012025/00/48/image_04012025_00_48_02_704345_0001.jpg
/home/pi/Desktop/images/04012025/00/48/image_04012025_00_48_02_704345_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.895835638046265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:49:22.639369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/47/image_04012025_00_47_02_604174_0003.jpg', '/home/pi/Desktop/images/04012025/00/48/image_04012025_00_48_02_704345_0000.jpg', '/home/pi/Desktop/images/04012025/00/48/image_04012025_00_48_02_704345_0001.jpg', '/home/pi/Desktop/images/04012025/00/48/image_04012025_00_48_02_704345_0002.jpg', '/home/pi/Desktop/images/04012025/00/48/image_04012025_00_48_02_704345_0003.jpg', '/home/pi/Desktop/images/04012025/00/49/image_04012025_00_49_02_856807_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/47/image_04012025_00_47_02_604174_0003.jpg
/home/pi/Desktop/images/04012025/00/48/image_04012025_00_48_02_704345_0000.jpg
/home/pi/Desktop/images/04012025/00/48/image_04012025_00_48_02_704345_0001.jpg
/home/pi/Desktop/images/04012025/00/48/image_04012025_00_48_02_704345_0002.jpg
/home/pi/Desktop/images/04012025/00/48/image_04012025_00_48_02_704345_0003.jpg
/home/pi/Desktop/images/04012025/00/49/image_04012025_00_49_02_856807_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":["1326136837","1326136426","1326136530","1326136670","1326136427","1326136933"],"photo_ids_order":["1326136426","1326136427","1326136530","1326136670","1326136837","1326136933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8213783288ebae395f4eefa17c23e4d1.jpg","text":"TemporaryFile(/tmp/multipartBody3651847360483393802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948237669,"filename":"image_04012025_00_48_02_704345_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/51909fedc4755aae0521797040990aef.jpg","text":"TemporaryFile(/tmp/multipartBody6994211352692523703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948237669,"filename":"image_04012025_00_47_02_604174_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1a53115015ee9af240f75c2aea521437.jpg","text":"TemporaryFile(/tmp/multipartBody6890400897645910452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948237669,"filename":"image_04012025_00_48_02_704345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/de596915c6c24c9563a463c0c712468e.jpg","text":"TemporaryFile(/tmp/multipartBody8322736580327064307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948237669,"filename":"image_04012025_00_48_02_704345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0b8014500e8c8222b43925217a187a52.jpg","text":"TemporaryFile(/tmp/multipartBody4727729527690733468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948237669,"filename":"image_04012025_00_48_02_704345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/806a84ca13b80ab52c6f1d00f27e45fc.jpg","text":"TemporaryFile(/tmp/multipartBody2024292271317511829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948237669,"filename":"image_04012025_00_49_02_856807_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326136530","file1":"1326136427","file0":"1326136426","file4":"1326136837","file5":"1326136933","file3":"1326136670"},"map_files_photo_id_array":[{"photo_id":"1326136933","filename":"file5"},{"photo_id":"1326136530","filename":"file2"},{"photo_id":"1326136837","filename":"file4"},{"photo_id":"1326136427","filename":"file1"},{"photo_id":"1326136426","filename":"file0"},{"photo_id":"1326136670","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326136837":["hashtag1","hashtag2"]},{"1326136426":["hashtag1","hashtag2"]},{"1326136530":["hashtag1","hashtag2"]},{"1326136670":["hashtag1","hashtag2"]},{"1326136427":["hashtag1","hashtag2"]},{"1326136933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326136837, 1326136426, 1326136530, 1326136670, 1326136427, 1326136933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.612667083740234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:50:21.808979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/49/image_04012025_00_49_02_856807_0001.jpg', '/home/pi/Desktop/images/04012025/00/49/image_04012025_00_49_02_856807_0002.jpg', '/home/pi/Desktop/images/04012025/00/49/image_04012025_00_49_02_856807_0003.jpg', '/home/pi/Desktop/images/04012025/00/50/image_04012025_00_50_03_062082_0000.jpg', '/home/pi/Desktop/images/04012025/00/50/image_04012025_00_50_03_062082_0001.jpg', '/home/pi/Desktop/images/04012025/00/50/image_04012025_00_50_03_062082_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/49/image_04012025_00_49_02_856807_0001.jpg
/home/pi/Desktop/images/04012025/00/49/image_04012025_00_49_02_856807_0002.jpg
/home/pi/Desktop/images/04012025/00/49/image_04012025_00_49_02_856807_0003.jpg
/home/pi/Desktop/images/04012025/00/50/image_04012025_00_50_03_062082_0000.jpg
/home/pi/Desktop/images/04012025/00/50/image_04012025_00_50_03_062082_0001.jpg
/home/pi/Desktop/images/04012025/00/50/image_04012025_00_50_03_062082_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326137555","1326137123","1326137659","1326137551","1326137296","1326137506"],"photo_ids_order":["1326137123","1326137296","1326137506","1326137551","1326137555","1326137659"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/504594f1d9f897d7782beb4df143e3cd.jpg","text":"TemporaryFile(/tmp/multipartBody70548828293510602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948297012,"filename":"image_04012025_00_50_03_062082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/12a554b23bc5ba215f2fcf760d4aa4b7.jpg","text":"TemporaryFile(/tmp/multipartBody5148946359848575328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948297012,"filename":"image_04012025_00_49_02_856807_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7a13e6244b04aa8e4e3255a657f17a64.jpg","text":"TemporaryFile(/tmp/multipartBody3390488628825464688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948297012,"filename":"image_04012025_00_50_03_062082_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49b5c4b243d544ebda6ee1da6ae4a2ae.jpg","text":"TemporaryFile(/tmp/multipartBody395648646211767625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948297012,"filename":"image_04012025_00_50_03_062082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/95a6de9ca2dafb3d6c4fb6eb0fc479dc.jpg","text":"TemporaryFile(/tmp/multipartBody587478954124668496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948297012,"filename":"image_04012025_00_49_02_856807_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6640616edbe64618fb2c332e0219c7ae.jpg","text":"TemporaryFile(/tmp/multipartBody1383458159093026562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948297012,"filename":"image_04012025_00_49_02_856807_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326137506","file1":"1326137296","file0":"1326137123","file4":"1326137555","file5":"1326137659","file3":"1326137551"},"map_files_photo_id_array":[{"photo_id":"1326137659","filename":"file5"},{"photo_id":"1326137506","filename":"file2"},{"photo_id":"1326137555","filename":"file4"},{"photo_id":"1326137296","filename":"file1"},{"photo_id":"1326137123","filename":"file0"},{"photo_id":"1326137551","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326137555":["hashtag1","hashtag2"]},{"1326137123":["hashtag1","hashtag2"]},{"1326137659":["hashtag1","hashtag2"]},{"1326137551":["hashtag1","hashtag2"]},{"1326137296":["hashtag1","hashtag2"]},{"1326137506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326137555, 1326137123, 1326137659, 1326137551, 1326137296, 1326137506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.16145634651184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:51:52.079754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:52:02.686283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/50/image_04012025_00_50_03_062082_0003.jpg', '/home/pi/Desktop/images/04012025/00/51/image_04012025_00_51_02_226829_0000.jpg', '/home/pi/Desktop/images/04012025/00/51/image_04012025_00_51_02_226829_0001.jpg', '/home/pi/Desktop/images/04012025/00/51/image_04012025_00_51_02_226829_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/50/image_04012025_00_50_03_062082_0003.jpg
/home/pi/Desktop/images/04012025/00/51/image_04012025_00_51_02_226829_0000.jpg
/home/pi/Desktop/images/04012025/00/51/image_04012025_00_51_02_226829_0001.jpg
/home/pi/Desktop/images/04012025/00/51/image_04012025_00_51_02_226829_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326138350","1326138288","1326138363","1326138366"],"photo_ids_order":["1326138288","1326138350","1326138363","1326138366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/02caec55ef9a072b72fb0f525b1852a5.jpg","text":"TemporaryFile(/tmp/multipartBody6409411428095769805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948392951,"filename":"image_04012025_00_51_02_226829_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c2801784653a85ab203265f0502d2206.jpg","text":"TemporaryFile(/tmp/multipartBody5547855671245995280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948392951,"filename":"image_04012025_00_50_03_062082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c4be6425758901038f9f1c13e536310c.jpg","text":"TemporaryFile(/tmp/multipartBody1077311756017275517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948392951,"filename":"image_04012025_00_51_02_226829_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b033bf25b7c92cc38d1772b9d6e95265.jpg","text":"TemporaryFile(/tmp/multipartBody1947777197838973100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948392951,"filename":"image_04012025_00_51_02_226829_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326138363","file1":"1326138350","file0":"1326138288","file3":"1326138366"},"map_files_photo_id_array":[{"photo_id":"1326138363","filename":"file2"},{"photo_id":"1326138350","filename":"file1"},{"photo_id":"1326138288","filename":"file0"},{"photo_id":"1326138366","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326138350":["hashtag1","hashtag2"]},{"1326138288":["hashtag1","hashtag2"]},{"1326138363":["hashtag1","hashtag2"]},{"1326138366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326138350, 1326138288, 1326138363, 1326138366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.60222673416138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:52:52.251831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:53:03.038293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/51/image_04012025_00_51_02_226829_0003.jpg', '/home/pi/Desktop/images/04012025/00/52/image_04012025_00_52_02_351792_0000.jpg', '/home/pi/Desktop/images/04012025/00/52/image_04012025_00_52_02_351792_0001.jpg', '/home/pi/Desktop/images/04012025/00/52/image_04012025_00_52_02_351792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/51/image_04012025_00_51_02_226829_0003.jpg
/home/pi/Desktop/images/04012025/00/52/image_04012025_00_52_02_351792_0000.jpg
/home/pi/Desktop/images/04012025/00/52/image_04012025_00_52_02_351792_0001.jpg
/home/pi/Desktop/images/04012025/00/52/image_04012025_00_52_02_351792_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.91633677482605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:53:22.431476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/51/image_04012025_00_51_02_226829_0003.jpg', '/home/pi/Desktop/images/04012025/00/52/image_04012025_00_52_02_351792_0000.jpg', '/home/pi/Desktop/images/04012025/00/52/image_04012025_00_52_02_351792_0001.jpg', '/home/pi/Desktop/images/04012025/00/52/image_04012025_00_52_02_351792_0002.jpg', '/home/pi/Desktop/images/04012025/00/52/image_04012025_00_52_02_351792_0003.jpg', '/home/pi/Desktop/images/04012025/00/53/image_04012025_00_53_02_635348_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/51/image_04012025_00_51_02_226829_0003.jpg
/home/pi/Desktop/images/04012025/00/52/image_04012025_00_52_02_351792_0000.jpg
/home/pi/Desktop/images/04012025/00/52/image_04012025_00_52_02_351792_0001.jpg
/home/pi/Desktop/images/04012025/00/52/image_04012025_00_52_02_351792_0002.jpg
/home/pi/Desktop/images/04012025/00/52/image_04012025_00_52_02_351792_0003.jpg
/home/pi/Desktop/images/04012025/00/53/image_04012025_00_53_02_635348_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":["1326139550","1326139367","1326138976","1326139164","1326138975","1326139008"],"photo_ids_order":["1326138975","1326138976","1326139008","1326139164","1326139367","1326139550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b47b5f4a7fd388b36dcb4a63874fd1f4.jpg","text":"TemporaryFile(/tmp/multipartBody2417265559708916734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948477546,"filename":"image_04012025_00_53_02_635348_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8fa5749179d553bc28b4066e6d8f0687.jpg","text":"TemporaryFile(/tmp/multipartBody4089234895497292478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948477546,"filename":"image_04012025_00_52_02_351792_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/079d870de6a188c6f00998975142083c.jpg","text":"TemporaryFile(/tmp/multipartBody2566006939807017816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948477546,"filename":"image_04012025_00_52_02_351792_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b85f24b362868ead5148d3472c353306.jpg","text":"TemporaryFile(/tmp/multipartBody7223553834238477836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948477546,"filename":"image_04012025_00_52_02_351792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2eba723d205996077606a864a37168ce.jpg","text":"TemporaryFile(/tmp/multipartBody660470180906206013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948477546,"filename":"image_04012025_00_51_02_226829_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/42f929f1e944182e3d3ea15338bb5164.jpg","text":"TemporaryFile(/tmp/multipartBody1381911100137280883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948477546,"filename":"image_04012025_00_52_02_351792_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326139008","file1":"1326138976","file0":"1326138975","file4":"1326139367","file5":"1326139550","file3":"1326139164"},"map_files_photo_id_array":[{"photo_id":"1326139550","filename":"file5"},{"photo_id":"1326139008","filename":"file2"},{"photo_id":"1326139367","filename":"file4"},{"photo_id":"1326138976","filename":"file1"},{"photo_id":"1326138975","filename":"file0"},{"photo_id":"1326139164","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326139550":["hashtag1","hashtag2"]},{"1326139367":["hashtag1","hashtag2"]},{"1326138976":["hashtag1","hashtag2"]},{"1326139164":["hashtag1","hashtag2"]},{"1326138975":["hashtag1","hashtag2"]},{"1326139008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326139550, 1326139367, 1326138976, 1326139164, 1326138975, 1326139008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.343315839767456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:54:22.665197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/53/image_04012025_00_53_02_635348_0001.jpg', '/home/pi/Desktop/images/04012025/00/53/image_04012025_00_53_02_635348_0002.jpg', '/home/pi/Desktop/images/04012025/00/53/image_04012025_00_53_02_635348_0003.jpg', '/home/pi/Desktop/images/04012025/00/54/image_04012025_00_54_02_883070_0000.jpg', '/home/pi/Desktop/images/04012025/00/54/image_04012025_00_54_02_883070_0001.jpg', '/home/pi/Desktop/images/04012025/00/54/image_04012025_00_54_02_883070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/53/image_04012025_00_53_02_635348_0001.jpg
/home/pi/Desktop/images/04012025/00/53/image_04012025_00_53_02_635348_0002.jpg
/home/pi/Desktop/images/04012025/00/53/image_04012025_00_53_02_635348_0003.jpg
/home/pi/Desktop/images/04012025/00/54/image_04012025_00_54_02_883070_0000.jpg
/home/pi/Desktop/images/04012025/00/54/image_04012025_00_54_02_883070_0001.jpg
/home/pi/Desktop/images/04012025/00/54/image_04012025_00_54_02_883070_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.524610042572021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:54:52.665930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:55:02.395040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/53/image_04012025_00_53_02_635348_0001.jpg', '/home/pi/Desktop/images/04012025/00/53/image_04012025_00_53_02_635348_0002.jpg', '/home/pi/Desktop/images/04012025/00/53/image_04012025_00_53_02_635348_0003.jpg', '/home/pi/Desktop/images/04012025/00/54/image_04012025_00_54_02_883070_0000.jpg', '/home/pi/Desktop/images/04012025/00/54/image_04012025_00_54_02_883070_0001.jpg', '/home/pi/Desktop/images/04012025/00/54/image_04012025_00_54_02_883070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/53/image_04012025_00_53_02_635348_0001.jpg
/home/pi/Desktop/images/04012025/00/53/image_04012025_00_53_02_635348_0002.jpg
/home/pi/Desktop/images/04012025/00/53/image_04012025_00_53_02_635348_0003.jpg
/home/pi/Desktop/images/04012025/00/54/image_04012025_00_54_02_883070_0000.jpg
/home/pi/Desktop/images/04012025/00/54/image_04012025_00_54_02_883070_0001.jpg
/home/pi/Desktop/images/04012025/00/54/image_04012025_00_54_02_883070_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326141085","1326141088","1326141136","1326141031","1326141168","1326141365"],"photo_ids_order":["1326141031","1326141085","1326141088","1326141136","1326141168","1326141365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f8a066dceebdf5d5b89c25a5a1a2b0f4.jpg","text":"TemporaryFile(/tmp/multipartBody4295376796181443628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948577404,"filename":"image_04012025_00_53_02_635348_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8ee6c2de9b4ce40fb20cf5cbfd175921.jpg","text":"TemporaryFile(/tmp/multipartBody2882045458786416379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948577404,"filename":"image_04012025_00_53_02_635348_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2a6781d4df86ca1ae40f3561bb14335b.jpg","text":"TemporaryFile(/tmp/multipartBody3986644410565677897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948577404,"filename":"image_04012025_00_54_02_883070_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6c9d6ba1227999740f3e7ec1fbc14627.jpg","text":"TemporaryFile(/tmp/multipartBody105101411187992548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948577404,"filename":"image_04012025_00_53_02_635348_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c4d7264afebe07239f15abf1b048c6db.jpg","text":"TemporaryFile(/tmp/multipartBody1208598017734508527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948577404,"filename":"image_04012025_00_54_02_883070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cbe4d79a69ca7d7ef87eb9e79518272e.jpg","text":"TemporaryFile(/tmp/multipartBody2583601551609771852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948577404,"filename":"image_04012025_00_54_02_883070_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326141088","file1":"1326141085","file0":"1326141031","file4":"1326141168","file5":"1326141365","file3":"1326141136"},"map_files_photo_id_array":[{"photo_id":"1326141365","filename":"file5"},{"photo_id":"1326141088","filename":"file2"},{"photo_id":"1326141168","filename":"file4"},{"photo_id":"1326141085","filename":"file1"},{"photo_id":"1326141031","filename":"file0"},{"photo_id":"1326141136","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326141085":["hashtag1","hashtag2"]},{"1326141088":["hashtag1","hashtag2"]},{"1326141136":["hashtag1","hashtag2"]},{"1326141031":["hashtag1","hashtag2"]},{"1326141168":["hashtag1","hashtag2"]},{"1326141365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326141085, 1326141088, 1326141136, 1326141031, 1326141168, 1326141365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.37496209144592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:56:02.424128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/54/image_04012025_00_54_02_883070_0003.jpg', '/home/pi/Desktop/images/04012025/00/55/image_04012025_00_55_03_081493_0000.jpg', '/home/pi/Desktop/images/04012025/00/55/image_04012025_00_55_03_081493_0001.jpg', '/home/pi/Desktop/images/04012025/00/55/image_04012025_00_55_03_081493_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/54/image_04012025_00_54_02_883070_0003.jpg
/home/pi/Desktop/images/04012025/00/55/image_04012025_00_55_03_081493_0000.jpg
/home/pi/Desktop/images/04012025/00/55/image_04012025_00_55_03_081493_0001.jpg
/home/pi/Desktop/images/04012025/00/55/image_04012025_00_55_03_081493_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326141917","1326141979","1326141895","1326141966"],"photo_ids_order":["1326141895","1326141917","1326141966","1326141979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4e5d5c7059a5c81380729ba1a63146f7.jpg","text":"TemporaryFile(/tmp/multipartBody3117932384668482352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948632732,"filename":"image_04012025_00_55_03_081493_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f849d81fe9e17d0955f0f6f890d162ca.jpg","text":"TemporaryFile(/tmp/multipartBody6983043836749080630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948632732,"filename":"image_04012025_00_55_03_081493_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f073e52a976e6a529eefe21e86299d0a.jpg","text":"TemporaryFile(/tmp/multipartBody3064014172589632472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948632732,"filename":"image_04012025_00_54_02_883070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b2f8f8128b8bdf5d7ad7252bf53b9446.jpg","text":"TemporaryFile(/tmp/multipartBody2547376110344684579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948632732,"filename":"image_04012025_00_55_03_081493_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326141966","file1":"1326141917","file0":"1326141895","file3":"1326141979"},"map_files_photo_id_array":[{"photo_id":"1326141966","filename":"file2"},{"photo_id":"1326141917","filename":"file1"},{"photo_id":"1326141895","filename":"file0"},{"photo_id":"1326141979","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326141917":["hashtag1","hashtag2"]},{"1326141979":["hashtag1","hashtag2"]},{"1326141895":["hashtag1","hashtag2"]},{"1326141966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326141917, 1326141979, 1326141895, 1326141966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.126806020736694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:56:52.089864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:57:02.911805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/55/image_04012025_00_55_03_081493_0003.jpg', '/home/pi/Desktop/images/04012025/00/56/image_04012025_00_56_02_243515_0000.jpg', '/home/pi/Desktop/images/04012025/00/56/image_04012025_00_56_02_243515_0001.jpg', '/home/pi/Desktop/images/04012025/00/56/image_04012025_00_56_02_243515_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/55/image_04012025_00_55_03_081493_0003.jpg
/home/pi/Desktop/images/04012025/00/56/image_04012025_00_56_02_243515_0000.jpg
/home/pi/Desktop/images/04012025/00/56/image_04012025_00_56_02_243515_0001.jpg
/home/pi/Desktop/images/04012025/00/56/image_04012025_00_56_02_243515_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326141983","1326141991","1326141985","1326141988"],"photo_ids_order":["1326141983","1326141985","1326141988","1326141991"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/95709ff18cf9901b4bb22c5e00a4b1ee.jpg","text":"TemporaryFile(/tmp/multipartBody6328635295663161241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948693310,"filename":"image_04012025_00_55_03_081493_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4213e0d6dd982af3d8934f83093831d9.jpg","text":"TemporaryFile(/tmp/multipartBody6359291998756431744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948693310,"filename":"image_04012025_00_56_02_243515_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fdc930dd23b73ee4f0e56e2896711a7b.jpg","text":"TemporaryFile(/tmp/multipartBody4667188285150324401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948693310,"filename":"image_04012025_00_56_02_243515_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e8ee177d114ccfd0d77375a82402553e.jpg","text":"TemporaryFile(/tmp/multipartBody7191837616137625772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948693310,"filename":"image_04012025_00_56_02_243515_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326141988","file1":"1326141985","file0":"1326141983","file3":"1326141991"},"map_files_photo_id_array":[{"photo_id":"1326141988","filename":"file2"},{"photo_id":"1326141985","filename":"file1"},{"photo_id":"1326141983","filename":"file0"},{"photo_id":"1326141991","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326141983":["hashtag1","hashtag2"]},{"1326141991":["hashtag1","hashtag2"]},{"1326141985":["hashtag1","hashtag2"]},{"1326141988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326141983, 1326141991, 1326141985, 1326141988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12089252471924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-04 00:57:52.261668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 00:59:03.315268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/56/image_04012025_00_56_02_243515_0003.jpg', '/home/pi/Desktop/images/04012025/00/57/image_04012025_00_57_02_477905_0000.jpg', '/home/pi/Desktop/images/04012025/00/57/image_04012025_00_57_02_477905_0001.jpg', '/home/pi/Desktop/images/04012025/00/57/image_04012025_00_57_02_477905_0002.jpg', '/home/pi/Desktop/images/04012025/00/57/image_04012025_00_57_02_477905_0003.jpg', '/home/pi/Desktop/images/04012025/00/58/image_04012025_00_58_02_629019_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/56/image_04012025_00_56_02_243515_0003.jpg
/home/pi/Desktop/images/04012025/00/57/image_04012025_00_57_02_477905_0000.jpg
/home/pi/Desktop/images/04012025/00/57/image_04012025_00_57_02_477905_0001.jpg
/home/pi/Desktop/images/04012025/00/57/image_04012025_00_57_02_477905_0002.jpg
/home/pi/Desktop/images/04012025/00/57/image_04012025_00_57_02_477905_0003.jpg
/home/pi/Desktop/images/04012025/00/58/image_04012025_00_58_02_629019_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.961209297180176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 00:59:22.608858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/56/image_04012025_00_56_02_243515_0003.jpg', '/home/pi/Desktop/images/04012025/00/57/image_04012025_00_57_02_477905_0000.jpg', '/home/pi/Desktop/images/04012025/00/57/image_04012025_00_57_02_477905_0001.jpg', '/home/pi/Desktop/images/04012025/00/57/image_04012025_00_57_02_477905_0002.jpg', '/home/pi/Desktop/images/04012025/00/57/image_04012025_00_57_02_477905_0003.jpg', '/home/pi/Desktop/images/04012025/00/58/image_04012025_00_58_02_629019_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/56/image_04012025_00_56_02_243515_0003.jpg
/home/pi/Desktop/images/04012025/00/57/image_04012025_00_57_02_477905_0000.jpg
/home/pi/Desktop/images/04012025/00/57/image_04012025_00_57_02_477905_0001.jpg
/home/pi/Desktop/images/04012025/00/57/image_04012025_00_57_02_477905_0002.jpg
/home/pi/Desktop/images/04012025/00/57/image_04012025_00_57_02_477905_0003.jpg
/home/pi/Desktop/images/04012025/00/58/image_04012025_00_58_02_629019_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326143809","1326144024","1326143969","1326143663","1326144020","1326144016"],"photo_ids_order":["1326143663","1326143809","1326143969","1326144016","1326144020","1326144024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/602263cb3ec14ad24ac6f14763cdea6a.jpg","text":"TemporaryFile(/tmp/multipartBody8757233583631856678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948837929,"filename":"image_04012025_00_57_02_477905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/56c671e112f91647e2b2ab8dd444cf50.jpg","text":"TemporaryFile(/tmp/multipartBody7925831449520018670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948837929,"filename":"image_04012025_00_58_02_629019_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ffdf74eb7b4b8248e511b562db535c81.jpg","text":"TemporaryFile(/tmp/multipartBody4014606823557009171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948837929,"filename":"image_04012025_00_57_02_477905_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1df4d2a251693c005e7181d0f85f7953.jpg","text":"TemporaryFile(/tmp/multipartBody8730286814780181888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948837929,"filename":"image_04012025_00_56_02_243515_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e1a90edba40835b996b4d3c7eaf6b008.jpg","text":"TemporaryFile(/tmp/multipartBody3132508258714976247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948837929,"filename":"image_04012025_00_57_02_477905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7279e736ff6cb191abd7009b6b3b4795.jpg","text":"TemporaryFile(/tmp/multipartBody2481337766423391097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948837929,"filename":"image_04012025_00_57_02_477905_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326143969","file1":"1326143809","file0":"1326143663","file4":"1326144020","file5":"1326144024","file3":"1326144016"},"map_files_photo_id_array":[{"photo_id":"1326144024","filename":"file5"},{"photo_id":"1326143969","filename":"file2"},{"photo_id":"1326144020","filename":"file4"},{"photo_id":"1326143809","filename":"file1"},{"photo_id":"1326143663","filename":"file0"},{"photo_id":"1326144016","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326143809":["hashtag1","hashtag2"]},{"1326144024":["hashtag1","hashtag2"]},{"1326143969":["hashtag1","hashtag2"]},{"1326143663":["hashtag1","hashtag2"]},{"1326144020":["hashtag1","hashtag2"]},{"1326144016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326143809, 1326144024, 1326143969, 1326143663, 1326144020, 1326144016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.5421884059906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:00:22.255438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/58/image_04012025_00_58_02_629019_0001.jpg', '/home/pi/Desktop/images/04012025/00/58/image_04012025_00_58_02_629019_0002.jpg', '/home/pi/Desktop/images/04012025/00/58/image_04012025_00_58_02_629019_0003.jpg', '/home/pi/Desktop/images/04012025/00/59/image_04012025_00_59_02_806037_0000.jpg', '/home/pi/Desktop/images/04012025/00/59/image_04012025_00_59_02_806037_0001.jpg', '/home/pi/Desktop/images/04012025/00/59/image_04012025_00_59_02_806037_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/58/image_04012025_00_58_02_629019_0001.jpg
/home/pi/Desktop/images/04012025/00/58/image_04012025_00_58_02_629019_0002.jpg
/home/pi/Desktop/images/04012025/00/58/image_04012025_00_58_02_629019_0003.jpg
/home/pi/Desktop/images/04012025/00/59/image_04012025_00_59_02_806037_0000.jpg
/home/pi/Desktop/images/04012025/00/59/image_04012025_00_59_02_806037_0001.jpg
/home/pi/Desktop/images/04012025/00/59/image_04012025_00_59_02_806037_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326144319","1326144321","1326144323","1326144317","1326144308","1326144325"],"photo_ids_order":["1326144308","1326144317","1326144319","1326144321","1326144323","1326144325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5daf7c3e32e107cb69531206e1c06f7a.jpg","text":"TemporaryFile(/tmp/multipartBody5318261793028489953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948897405,"filename":"image_04012025_00_58_02_629019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4fc0545192082e58990c6f4fa6af62c9.jpg","text":"TemporaryFile(/tmp/multipartBody2817162996875692297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948897405,"filename":"image_04012025_00_59_02_806037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a5561279f3b7398110274886b1e10d37.jpg","text":"TemporaryFile(/tmp/multipartBody737252984144365834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948897405,"filename":"image_04012025_00_59_02_806037_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49da7d1c3365392d5d28f296577ee940.jpg","text":"TemporaryFile(/tmp/multipartBody5712132275700434023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948897405,"filename":"image_04012025_00_58_02_629019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e1c72583529bc7d6f3c8559b235c95dc.jpg","text":"TemporaryFile(/tmp/multipartBody6984024674035872800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948897405,"filename":"image_04012025_00_58_02_629019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/15e57753878759a1980eb3d879ab6075.jpg","text":"TemporaryFile(/tmp/multipartBody7045643102698867576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948897405,"filename":"image_04012025_00_59_02_806037_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326144319","file1":"1326144317","file0":"1326144308","file4":"1326144323","file5":"1326144325","file3":"1326144321"},"map_files_photo_id_array":[{"photo_id":"1326144325","filename":"file5"},{"photo_id":"1326144319","filename":"file2"},{"photo_id":"1326144323","filename":"file4"},{"photo_id":"1326144317","filename":"file1"},{"photo_id":"1326144308","filename":"file0"},{"photo_id":"1326144321","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326144319":["hashtag1","hashtag2"]},{"1326144321":["hashtag1","hashtag2"]},{"1326144323":["hashtag1","hashtag2"]},{"1326144317":["hashtag1","hashtag2"]},{"1326144308":["hashtag1","hashtag2"]},{"1326144325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326144319, 1326144321, 1326144323, 1326144317, 1326144308, 1326144325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.548741579055786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:01:22.678026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/00/59/image_04012025_00_59_02_806037_0003.jpg', '/home/pi/Desktop/images/04012025/01/00/image_04012025_01_00_03_006149_0000.jpg', '/home/pi/Desktop/images/04012025/01/00/image_04012025_01_00_03_006149_0003.jpg', '/home/pi/Desktop/images/04012025/01/01/image_04012025_01_01_02_582964_0000.jpg', '/home/pi/Desktop/images/04012025/01/01/image_04012025_01_01_02_582964_0001.jpg', '/home/pi/Desktop/images/04012025/01/01/image_04012025_01_01_02_582964_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/00/59/image_04012025_00_59_02_806037_0003.jpg
/home/pi/Desktop/images/04012025/01/00/image_04012025_01_00_03_006149_0000.jpg
/home/pi/Desktop/images/04012025/01/00/image_04012025_01_00_03_006149_0003.jpg
/home/pi/Desktop/images/04012025/01/01/image_04012025_01_01_02_582964_0000.jpg
/home/pi/Desktop/images/04012025/01/01/image_04012025_01_01_02_582964_0001.jpg
/home/pi/Desktop/images/04012025/01/01/image_04012025_01_01_02_582964_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326144354","1326144359","1326144335","1326144338","1326144343","1326144367"],"photo_ids_order":["1326144335","1326144338","1326144343","1326144354","1326144359","1326144367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9aa1ed045a60751ee2ed9cc513c9c921.jpg","text":"TemporaryFile(/tmp/multipartBody7055811677304153257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948957712,"filename":"image_04012025_01_01_02_582964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/58a94651448cf780de735308a9c8a896.jpg","text":"TemporaryFile(/tmp/multipartBody8036847708847400129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948957712,"filename":"image_04012025_01_01_02_582964_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/96113dcf3f0166eb88cc7b0c252bde70.jpg","text":"TemporaryFile(/tmp/multipartBody1222827074044957731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948957712,"filename":"image_04012025_00_59_02_806037_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0ccc40241e5a3aab77313a6e4b6f2e7.jpg","text":"TemporaryFile(/tmp/multipartBody8457763768422837472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948957712,"filename":"image_04012025_01_00_03_006149_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0d3d20869308e2561656af6192e9052c.jpg","text":"TemporaryFile(/tmp/multipartBody6249922573312802312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948957712,"filename":"image_04012025_01_00_03_006149_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c20a382b0fc31eb71ce2aaff3897a886.jpg","text":"TemporaryFile(/tmp/multipartBody5332903383122738116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735948957712,"filename":"image_04012025_01_01_02_582964_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326144343","file1":"1326144338","file0":"1326144335","file4":"1326144359","file5":"1326144367","file3":"1326144354"},"map_files_photo_id_array":[{"photo_id":"1326144367","filename":"file5"},{"photo_id":"1326144343","filename":"file2"},{"photo_id":"1326144359","filename":"file4"},{"photo_id":"1326144338","filename":"file1"},{"photo_id":"1326144335","filename":"file0"},{"photo_id":"1326144354","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326144354":["hashtag1","hashtag2"]},{"1326144359":["hashtag1","hashtag2"]},{"1326144335":["hashtag1","hashtag2"]},{"1326144338":["hashtag1","hashtag2"]},{"1326144343":["hashtag1","hashtag2"]},{"1326144367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326144354, 1326144359, 1326144335, 1326144338, 1326144343, 1326144367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.07171034812927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:02:22.215224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/01/image_04012025_01_01_02_582964_0003.jpg', '/home/pi/Desktop/images/04012025/01/02/image_04012025_01_02_03_079061_0000.jpg', '/home/pi/Desktop/images/04012025/01/02/image_04012025_01_02_03_079061_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/01/image_04012025_01_01_02_582964_0003.jpg
/home/pi/Desktop/images/04012025/01/02/image_04012025_01_02_03_079061_0000.jpg
/home/pi/Desktop/images/04012025/01/02/image_04012025_01_02_03_079061_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326144417","1326144411","1326144414"],"photo_ids_order":["1326144411","1326144414","1326144417"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c8bf660a23d9db8dae0203bce8555946.jpg","text":"TemporaryFile(/tmp/multipartBody2323000226436427234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949010075,"filename":"image_04012025_01_02_03_079061_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/335902c8cbdbd9556de05626169cfe49.jpg","text":"TemporaryFile(/tmp/multipartBody2961955208397391845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949010075,"filename":"image_04012025_01_01_02_582964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b7df0bfdb2a108df04bccbef8653a08.jpg","text":"TemporaryFile(/tmp/multipartBody5943149987233477658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949010075,"filename":"image_04012025_01_02_03_079061_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326144417","file1":"1326144414","file0":"1326144411"},"map_files_photo_id_array":[{"photo_id":"1326144417","filename":"file2"},{"photo_id":"1326144414","filename":"file1"},{"photo_id":"1326144411","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326144417":["hashtag1","hashtag2"]},{"1326144411":["hashtag1","hashtag2"]},{"1326144414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326144417, 1326144411, 1326144414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.590368032455444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:03:03.336989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:03:22.664464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/02/image_04012025_01_02_03_079061_0003.jpg', '/home/pi/Desktop/images/04012025/01/03/image_04012025_01_03_02_544128_0000.jpg', '/home/pi/Desktop/images/04012025/01/03/image_04012025_01_03_02_544128_0001.jpg', '/home/pi/Desktop/images/04012025/01/03/image_04012025_01_03_02_544128_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/02/image_04012025_01_02_03_079061_0003.jpg
/home/pi/Desktop/images/04012025/01/03/image_04012025_01_03_02_544128_0000.jpg
/home/pi/Desktop/images/04012025/01/03/image_04012025_01_03_02_544128_0001.jpg
/home/pi/Desktop/images/04012025/01/03/image_04012025_01_03_02_544128_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326144861","1326144800","1326144832","1326144760"],"photo_ids_order":["1326144760","1326144800","1326144832","1326144861"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f0b9136b5025bc618c8f1b6a2d24dd0d.jpg","text":"TemporaryFile(/tmp/multipartBody7877007670827470894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949072904,"filename":"image_04012025_01_03_02_544128_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca393e999629901d7742fa2d58c401de.jpg","text":"TemporaryFile(/tmp/multipartBody6615683353290681504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949072904,"filename":"image_04012025_01_03_02_544128_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/06ecbe01101cc9631a57be118ca5d60b.jpg","text":"TemporaryFile(/tmp/multipartBody8150978872241712302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949072904,"filename":"image_04012025_01_03_02_544128_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/422d148711df73eb227a3a5919d0addf.jpg","text":"TemporaryFile(/tmp/multipartBody8524136327793857927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949072904,"filename":"image_04012025_01_02_03_079061_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326144832","file1":"1326144800","file0":"1326144760","file3":"1326144861"},"map_files_photo_id_array":[{"photo_id":"1326144832","filename":"file2"},{"photo_id":"1326144800","filename":"file1"},{"photo_id":"1326144760","filename":"file0"},{"photo_id":"1326144861","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326144861":["hashtag1","hashtag2"]},{"1326144800":["hashtag1","hashtag2"]},{"1326144832":["hashtag1","hashtag2"]},{"1326144760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326144861, 1326144800, 1326144832, 1326144760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.65981149673462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:04:22.344858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/03/image_04012025_01_03_02_544128_0003.jpg', '/home/pi/Desktop/images/04012025/01/04/image_04012025_01_04_03_074088_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/03/image_04012025_01_03_02_544128_0003.jpg
/home/pi/Desktop/images/04012025/01/04/image_04012025_01_04_03_074088_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326144915","1326144908"],"photo_ids_order":["1326144908","1326144915"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/61f727c4ea164e96d6a2ccf42f3ce09a.jpg","text":"TemporaryFile(/tmp/multipartBody8450031551202907300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949127782,"filename":"image_04012025_01_04_03_074088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ece21bd087d4ce98227773d366f2271.jpg","text":"TemporaryFile(/tmp/multipartBody6111350233354277500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949127782,"filename":"image_04012025_01_03_02_544128_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326144915","file0":"1326144908"},"map_files_photo_id_array":[{"photo_id":"1326144915","filename":"file1"},{"photo_id":"1326144908","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326144915":["hashtag1","hashtag2"]},{"1326144908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326144915, 1326144908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.715264081954956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:05:02.262881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:05:21.787782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/04/image_04012025_01_04_03_074088_0001.jpg', '/home/pi/Desktop/images/04012025/01/05/image_04012025_01_05_02_693957_0000.jpg', '/home/pi/Desktop/images/04012025/01/05/image_04012025_01_05_02_693957_0001.jpg', '/home/pi/Desktop/images/04012025/01/05/image_04012025_01_05_02_693957_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/04/image_04012025_01_04_03_074088_0001.jpg
/home/pi/Desktop/images/04012025/01/05/image_04012025_01_05_02_693957_0000.jpg
/home/pi/Desktop/images/04012025/01/05/image_04012025_01_05_02_693957_0001.jpg
/home/pi/Desktop/images/04012025/01/05/image_04012025_01_05_02_693957_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326144960","1326144956","1326144958","1326144955"],"photo_ids_order":["1326144955","1326144956","1326144958","1326144960"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0b0f5df061078a9f6047090034b2d437.jpg","text":"TemporaryFile(/tmp/multipartBody3645878294248819540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949192062,"filename":"image_04012025_01_05_02_693957_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b70f9ebab2e06c489e56270acb568ae3.jpg","text":"TemporaryFile(/tmp/multipartBody2911577944134877322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949192062,"filename":"image_04012025_01_05_02_693957_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0cbcc0af778304ca468b90a07544db14.jpg","text":"TemporaryFile(/tmp/multipartBody2106173446732587304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949192062,"filename":"image_04012025_01_05_02_693957_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3d6657a96919a8d002f027b1adfa2c52.jpg","text":"TemporaryFile(/tmp/multipartBody6165965458272438348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949192062,"filename":"image_04012025_01_04_03_074088_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326144958","file1":"1326144956","file0":"1326144955","file3":"1326144960"},"map_files_photo_id_array":[{"photo_id":"1326144958","filename":"file2"},{"photo_id":"1326144956","filename":"file1"},{"photo_id":"1326144955","filename":"file0"},{"photo_id":"1326144960","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326144960":["hashtag1","hashtag2"]},{"1326144956":["hashtag1","hashtag2"]},{"1326144958":["hashtag1","hashtag2"]},{"1326144955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326144960, 1326144956, 1326144958, 1326144955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44995737075806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:06:02.836273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:06:22.425256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/05/image_04012025_01_05_02_693957_0003.jpg', '/home/pi/Desktop/images/04012025/01/06/image_04012025_01_06_02_221683_0000.jpg', '/home/pi/Desktop/images/04012025/01/06/image_04012025_01_06_02_221683_0001.jpg', '/home/pi/Desktop/images/04012025/01/06/image_04012025_01_06_02_221683_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/05/image_04012025_01_05_02_693957_0003.jpg
/home/pi/Desktop/images/04012025/01/06/image_04012025_01_06_02_221683_0000.jpg
/home/pi/Desktop/images/04012025/01/06/image_04012025_01_06_02_221683_0001.jpg
/home/pi/Desktop/images/04012025/01/06/image_04012025_01_06_02_221683_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326145894","1326145663","1326145666","1326145761"],"photo_ids_order":["1326145663","1326145666","1326145761","1326145894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/03c099dc03821da14c54c3e4a450c683.jpg","text":"TemporaryFile(/tmp/multipartBody2321576824108687346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949252681,"filename":"image_04012025_01_06_02_221683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b37158c8b928b926e97bb527f2e4f05f.jpg","text":"TemporaryFile(/tmp/multipartBody4938787496437576790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949252681,"filename":"image_04012025_01_05_02_693957_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/386121cca12b76c9c36c1aeab20f4308.jpg","text":"TemporaryFile(/tmp/multipartBody2616885132133921116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949252681,"filename":"image_04012025_01_06_02_221683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0cbffca6ead50a5df087312fb955f5d6.jpg","text":"TemporaryFile(/tmp/multipartBody6610833724454559169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949252681,"filename":"image_04012025_01_06_02_221683_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326145761","file1":"1326145666","file0":"1326145663","file3":"1326145894"},"map_files_photo_id_array":[{"photo_id":"1326145761","filename":"file2"},{"photo_id":"1326145666","filename":"file1"},{"photo_id":"1326145663","filename":"file0"},{"photo_id":"1326145894","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326145894":["hashtag1","hashtag2"]},{"1326145663":["hashtag1","hashtag2"]},{"1326145666":["hashtag1","hashtag2"]},{"1326145761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326145894, 1326145663, 1326145666, 1326145761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.49975252151489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:07:02.511453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:07:21.877246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/06/image_04012025_01_06_02_221683_0003.jpg', '/home/pi/Desktop/images/04012025/01/07/image_04012025_01_07_02_821972_0000.jpg', '/home/pi/Desktop/images/04012025/01/07/image_04012025_01_07_02_821972_0001.jpg', '/home/pi/Desktop/images/04012025/01/07/image_04012025_01_07_02_821972_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/06/image_04012025_01_06_02_221683_0003.jpg
/home/pi/Desktop/images/04012025/01/07/image_04012025_01_07_02_821972_0000.jpg
/home/pi/Desktop/images/04012025/01/07/image_04012025_01_07_02_821972_0001.jpg
/home/pi/Desktop/images/04012025/01/07/image_04012025_01_07_02_821972_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326147536","1326147716","1326147801","1326147794"],"photo_ids_order":["1326147536","1326147716","1326147794","1326147801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/422b7506dca525682b91374e9bd0aea4.jpg","text":"TemporaryFile(/tmp/multipartBody4830939158707239083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949312137,"filename":"image_04012025_01_06_02_221683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/11823d5154e1e3653cf0c9c241adb88e.jpg","text":"TemporaryFile(/tmp/multipartBody489065123399157307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949312137,"filename":"image_04012025_01_07_02_821972_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/594fdaffbb01281ab74edebb66441d2e.jpg","text":"TemporaryFile(/tmp/multipartBody3986171344859004697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949312137,"filename":"image_04012025_01_07_02_821972_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/14bf41f5a9980653fe386bf0e710e788.jpg","text":"TemporaryFile(/tmp/multipartBody4636516467520805029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949312137,"filename":"image_04012025_01_07_02_821972_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326147794","file1":"1326147716","file0":"1326147536","file3":"1326147801"},"map_files_photo_id_array":[{"photo_id":"1326147794","filename":"file2"},{"photo_id":"1326147716","filename":"file1"},{"photo_id":"1326147536","filename":"file0"},{"photo_id":"1326147801","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326147536":["hashtag1","hashtag2"]},{"1326147716":["hashtag1","hashtag2"]},{"1326147801":["hashtag1","hashtag2"]},{"1326147794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326147536, 1326147716, 1326147801, 1326147794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.03860354423523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:08:03.004159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:08:22.529498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/07/image_04012025_01_07_02_821972_0003.jpg', '/home/pi/Desktop/images/04012025/01/08/image_04012025_01_08_02_274245_0000.jpg', '/home/pi/Desktop/images/04012025/01/08/image_04012025_01_08_02_274245_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/07/image_04012025_01_07_02_821972_0003.jpg
/home/pi/Desktop/images/04012025/01/08/image_04012025_01_08_02_274245_0000.jpg
/home/pi/Desktop/images/04012025/01/08/image_04012025_01_08_02_274245_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.439013719558716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:09:02.580183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/07/image_04012025_01_07_02_821972_0003.jpg', '/home/pi/Desktop/images/04012025/01/08/image_04012025_01_08_02_274245_0000.jpg', '/home/pi/Desktop/images/04012025/01/08/image_04012025_01_08_02_274245_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/07/image_04012025_01_07_02_821972_0003.jpg
/home/pi/Desktop/images/04012025/01/08/image_04012025_01_08_02_274245_0000.jpg
/home/pi/Desktop/images/04012025/01/08/image_04012025_01_08_02_274245_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326148993","1326148593","1326148781"],"photo_ids_order":["1326148593","1326148781","1326148993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/83ed95f09b46f7962cdff8030dd6ac81.jpg","text":"TemporaryFile(/tmp/multipartBody5573499463352865731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949410478,"filename":"image_04012025_01_08_02_274245_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8a827b384df9c4c2f3187a572a437612.jpg","text":"TemporaryFile(/tmp/multipartBody8429321600624567955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949410478,"filename":"image_04012025_01_07_02_821972_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fe665301b34be48fcc6b03b1c67091b7.jpg","text":"TemporaryFile(/tmp/multipartBody3441769450900741946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949410478,"filename":"image_04012025_01_08_02_274245_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326148993","file1":"1326148781","file0":"1326148593"},"map_files_photo_id_array":[{"photo_id":"1326148993","filename":"file2"},{"photo_id":"1326148781","filename":"file1"},{"photo_id":"1326148593","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326148993":["hashtag1","hashtag2"]},{"1326148593":["hashtag1","hashtag2"]},{"1326148781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326148993, 1326148593, 1326148781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.151599168777466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:10:03.166182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/08/image_04012025_01_08_02_274245_0003.jpg', '/home/pi/Desktop/images/04012025/01/09/image_04012025_01_09_02_914162_0000.jpg', '/home/pi/Desktop/images/04012025/01/09/image_04012025_01_09_02_914162_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/08/image_04012025_01_08_02_274245_0003.jpg
/home/pi/Desktop/images/04012025/01/09/image_04012025_01_09_02_914162_0000.jpg
/home/pi/Desktop/images/04012025/01/09/image_04012025_01_09_02_914162_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.4459919929504395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:10:22.603321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/08/image_04012025_01_08_02_274245_0003.jpg', '/home/pi/Desktop/images/04012025/01/09/image_04012025_01_09_02_914162_0000.jpg', '/home/pi/Desktop/images/04012025/01/09/image_04012025_01_09_02_914162_0001.jpg', '/home/pi/Desktop/images/04012025/01/09/image_04012025_01_09_02_914162_0003.jpg', '/home/pi/Desktop/images/04012025/01/10/image_04012025_01_10_02_428431_0001.jpg', '/home/pi/Desktop/images/04012025/01/10/image_04012025_01_10_02_428431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/08/image_04012025_01_08_02_274245_0003.jpg
/home/pi/Desktop/images/04012025/01/09/image_04012025_01_09_02_914162_0000.jpg
/home/pi/Desktop/images/04012025/01/09/image_04012025_01_09_02_914162_0001.jpg
/home/pi/Desktop/images/04012025/01/09/image_04012025_01_09_02_914162_0003.jpg
/home/pi/Desktop/images/04012025/01/10/image_04012025_01_10_02_428431_0001.jpg
/home/pi/Desktop/images/04012025/01/10/image_04012025_01_10_02_428431_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326149803","1326149805","1326149756","1326149807","1326149801","1326149794"],"photo_ids_order":["1326149756","1326149794","1326149801","1326149803","1326149805","1326149807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/89464162b318cf456c34fba589eaff19.jpg","text":"TemporaryFile(/tmp/multipartBody207348304243094099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949497624,"filename":"image_04012025_01_09_02_914162_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ea5ce4263a91947a000144a3cc4a5886.jpg","text":"TemporaryFile(/tmp/multipartBody3375477966962261297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949497624,"filename":"image_04012025_01_10_02_428431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d5d467e837fd6576954cb9c1b256ba88.jpg","text":"TemporaryFile(/tmp/multipartBody134961985983325326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949497624,"filename":"image_04012025_01_08_02_274245_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/76db4a613442f9ab8ed836650e567528.jpg","text":"TemporaryFile(/tmp/multipartBody1855215300992052941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949497624,"filename":"image_04012025_01_10_02_428431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/323a288042f07a4f44e4ce813a59c242.jpg","text":"TemporaryFile(/tmp/multipartBody366348534507860796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949497624,"filename":"image_04012025_01_09_02_914162_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aeb12cd01779996a72134653f1632d70.jpg","text":"TemporaryFile(/tmp/multipartBody6691931929165283902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949497624,"filename":"image_04012025_01_09_02_914162_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326149801","file1":"1326149794","file0":"1326149756","file4":"1326149805","file5":"1326149807","file3":"1326149803"},"map_files_photo_id_array":[{"photo_id":"1326149807","filename":"file5"},{"photo_id":"1326149801","filename":"file2"},{"photo_id":"1326149805","filename":"file4"},{"photo_id":"1326149794","filename":"file1"},{"photo_id":"1326149756","filename":"file0"},{"photo_id":"1326149803","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326149803":["hashtag1","hashtag2"]},{"1326149805":["hashtag1","hashtag2"]},{"1326149756":["hashtag1","hashtag2"]},{"1326149807":["hashtag1","hashtag2"]},{"1326149801":["hashtag1","hashtag2"]},{"1326149794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326149803, 1326149805, 1326149756, 1326149807, 1326149801, 1326149794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.21586608886719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:11:22.122238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/10/image_04012025_01_10_02_428431_0003.jpg', '/home/pi/Desktop/images/04012025/01/11/image_04012025_01_11_02_970888_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/10/image_04012025_01_10_02_428431_0003.jpg
/home/pi/Desktop/images/04012025/01/11/image_04012025_01_11_02_970888_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326149955","1326150176"],"photo_ids_order":["1326149955","1326150176"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/78f5f3e570072be3a20e7e94976c94c7.jpg","text":"TemporaryFile(/tmp/multipartBody9215102293853148697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949547565,"filename":"image_04012025_01_10_02_428431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d5c7a3d90a104fc105200b6afaedd33.jpg","text":"TemporaryFile(/tmp/multipartBody6358871466078510116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949547565,"filename":"image_04012025_01_11_02_970888_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326150176","file0":"1326149955"},"map_files_photo_id_array":[{"photo_id":"1326150176","filename":"file1"},{"photo_id":"1326149955","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326149955":["hashtag1","hashtag2"]},{"1326150176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326149955, 1326150176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.402053833007812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:12:03.163988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:12:22.715492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/11/image_04012025_01_11_02_970888_0002.jpg', '/home/pi/Desktop/images/04012025/01/12/image_04012025_01_12_02_552849_0000.jpg', '/home/pi/Desktop/images/04012025/01/12/image_04012025_01_12_02_552849_0001.jpg', '/home/pi/Desktop/images/04012025/01/12/image_04012025_01_12_02_552849_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/11/image_04012025_01_11_02_970888_0002.jpg
/home/pi/Desktop/images/04012025/01/12/image_04012025_01_12_02_552849_0000.jpg
/home/pi/Desktop/images/04012025/01/12/image_04012025_01_12_02_552849_0001.jpg
/home/pi/Desktop/images/04012025/01/12/image_04012025_01_12_02_552849_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326151036","1326150913","1326151428","1326150893"],"photo_ids_order":["1326150893","1326150913","1326151036","1326151428"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/edcfe775a12dfdd77cdc31d570e7dee9.jpg","text":"TemporaryFile(/tmp/multipartBody1564225953881727935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949612953,"filename":"image_04012025_01_12_02_552849_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7418fd5a7833c0714dff4fc98ae392e.jpg","text":"TemporaryFile(/tmp/multipartBody8160773273611792575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949612953,"filename":"image_04012025_01_12_02_552849_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/527e05d56bc74ee39d700b7ae0ab4ebd.jpg","text":"TemporaryFile(/tmp/multipartBody6901798743380971678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949612953,"filename":"image_04012025_01_12_02_552849_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5287dc849583c387bb9cc5032bf98ee8.jpg","text":"TemporaryFile(/tmp/multipartBody6272262669103159759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949612953,"filename":"image_04012025_01_11_02_970888_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326151036","file1":"1326150913","file0":"1326150893","file3":"1326151428"},"map_files_photo_id_array":[{"photo_id":"1326151036","filename":"file2"},{"photo_id":"1326150913","filename":"file1"},{"photo_id":"1326150893","filename":"file0"},{"photo_id":"1326151428","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326151036":["hashtag1","hashtag2"]},{"1326150913":["hashtag1","hashtag2"]},{"1326151428":["hashtag1","hashtag2"]},{"1326150893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326151036, 1326150913, 1326151428, 1326150893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.48971462249756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:13:22.183808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/12/image_04012025_01_12_02_552849_0003.jpg', '/home/pi/Desktop/images/04012025/01/13/image_04012025_01_13_03_049741_0001.jpg', '/home/pi/Desktop/images/04012025/01/13/image_04012025_01_13_03_049741_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/12/image_04012025_01_12_02_552849_0003.jpg
/home/pi/Desktop/images/04012025/01/13/image_04012025_01_13_03_049741_0001.jpg
/home/pi/Desktop/images/04012025/01/13/image_04012025_01_13_03_049741_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326152076","1326151951","1326152025"],"photo_ids_order":["1326151951","1326152025","1326152076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ef606e5aa9f2d852b53eb303525fb19f.jpg","text":"TemporaryFile(/tmp/multipartBody4513110031265106027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949670049,"filename":"image_04012025_01_13_03_049741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/61b8025606fabfbe5b99e497b83ddaf7.jpg","text":"TemporaryFile(/tmp/multipartBody4102519784217809860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949670049,"filename":"image_04012025_01_12_02_552849_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c7fcc91ab6bff0d81db991cffb562ece.jpg","text":"TemporaryFile(/tmp/multipartBody1927267884745667140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949670049,"filename":"image_04012025_01_13_03_049741_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326152076","file1":"1326152025","file0":"1326151951"},"map_files_photo_id_array":[{"photo_id":"1326152076","filename":"file2"},{"photo_id":"1326152025","filename":"file1"},{"photo_id":"1326151951","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326152076":["hashtag1","hashtag2"]},{"1326151951":["hashtag1","hashtag2"]},{"1326152025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326152076, 1326151951, 1326152025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.94950294494629 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:14:03.252966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:14:22.651890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/13/image_04012025_01_13_03_049741_0003.jpg', '/home/pi/Desktop/images/04012025/01/14/image_04012025_01_14_02_586516_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/13/image_04012025_01_13_03_049741_0003.jpg
/home/pi/Desktop/images/04012025/01/14/image_04012025_01_14_02_586516_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326152415","1326152411"],"photo_ids_order":["1326152411","1326152415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fdc6ae925503409ded1667a109a39c8b.jpg","text":"TemporaryFile(/tmp/multipartBody3933174643614352529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949728120,"filename":"image_04012025_01_14_02_586516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a2416020d4bc6015743928ac763ac482.jpg","text":"TemporaryFile(/tmp/multipartBody1435027222273557765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949728120,"filename":"image_04012025_01_13_03_049741_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326152415","file0":"1326152411"},"map_files_photo_id_array":[{"photo_id":"1326152415","filename":"file1"},{"photo_id":"1326152411","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326152415":["hashtag1","hashtag2"]},{"1326152411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326152415, 1326152411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.369715452194214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:15:02.679405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:15:22.152316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/14/image_04012025_01_14_02_586516_0003.jpg', '/home/pi/Desktop/images/04012025/01/15/image_04012025_01_15_03_035531_0000.jpg', '/home/pi/Desktop/images/04012025/01/15/image_04012025_01_15_03_035531_0001.jpg', '/home/pi/Desktop/images/04012025/01/15/image_04012025_01_15_03_035531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/14/image_04012025_01_14_02_586516_0003.jpg
/home/pi/Desktop/images/04012025/01/15/image_04012025_01_15_03_035531_0000.jpg
/home/pi/Desktop/images/04012025/01/15/image_04012025_01_15_03_035531_0001.jpg
/home/pi/Desktop/images/04012025/01/15/image_04012025_01_15_03_035531_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.839723110198975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:16:02.281380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/14/image_04012025_01_14_02_586516_0003.jpg', '/home/pi/Desktop/images/04012025/01/15/image_04012025_01_15_03_035531_0000.jpg', '/home/pi/Desktop/images/04012025/01/15/image_04012025_01_15_03_035531_0001.jpg', '/home/pi/Desktop/images/04012025/01/15/image_04012025_01_15_03_035531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/14/image_04012025_01_14_02_586516_0003.jpg
/home/pi/Desktop/images/04012025/01/15/image_04012025_01_15_03_035531_0000.jpg
/home/pi/Desktop/images/04012025/01/15/image_04012025_01_15_03_035531_0001.jpg
/home/pi/Desktop/images/04012025/01/15/image_04012025_01_15_03_035531_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326153606","1326153308","1326153394","1326153570"],"photo_ids_order":["1326153308","1326153394","1326153570","1326153606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ee965bd8a139ac6d2337fa14345fff47.jpg","text":"TemporaryFile(/tmp/multipartBody8817395481329593301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949832580,"filename":"image_04012025_01_15_03_035531_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/563ab3cf68a38e3291894bca86555203.jpg","text":"TemporaryFile(/tmp/multipartBody4605742899489414487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949832580,"filename":"image_04012025_01_14_02_586516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3bf90f3dd4589fb31bbc7b81de7c2fad.jpg","text":"TemporaryFile(/tmp/multipartBody1085694137683972465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949832580,"filename":"image_04012025_01_15_03_035531_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/66490a73e7687503a4b3ffb51b4fe0a3.jpg","text":"TemporaryFile(/tmp/multipartBody1202976246081724991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949832580,"filename":"image_04012025_01_15_03_035531_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326153570","file1":"1326153394","file0":"1326153308","file3":"1326153606"},"map_files_photo_id_array":[{"photo_id":"1326153570","filename":"file2"},{"photo_id":"1326153394","filename":"file1"},{"photo_id":"1326153308","filename":"file0"},{"photo_id":"1326153606","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326153606":["hashtag1","hashtag2"]},{"1326153308":["hashtag1","hashtag2"]},{"1326153394":["hashtag1","hashtag2"]},{"1326153570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326153606, 1326153308, 1326153394, 1326153570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.41945743560791 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:17:02.979428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/15/image_04012025_01_15_03_035531_0003.jpg', '/home/pi/Desktop/images/04012025/01/16/image_04012025_01_16_02_562343_0001.jpg', '/home/pi/Desktop/images/04012025/01/16/image_04012025_01_16_02_562343_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/15/image_04012025_01_15_03_035531_0003.jpg
/home/pi/Desktop/images/04012025/01/16/image_04012025_01_16_02_562343_0001.jpg
/home/pi/Desktop/images/04012025/01/16/image_04012025_01_16_02_562343_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.507730722427368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:17:22.415143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/15/image_04012025_01_15_03_035531_0003.jpg', '/home/pi/Desktop/images/04012025/01/16/image_04012025_01_16_02_562343_0001.jpg', '/home/pi/Desktop/images/04012025/01/16/image_04012025_01_16_02_562343_0002.jpg', '/home/pi/Desktop/images/04012025/01/16/image_04012025_01_16_02_562343_0003.jpg', '/home/pi/Desktop/images/04012025/01/17/image_04012025_01_17_02_285525_0001.jpg', '/home/pi/Desktop/images/04012025/01/17/image_04012025_01_17_02_285525_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/15/image_04012025_01_15_03_035531_0003.jpg
/home/pi/Desktop/images/04012025/01/16/image_04012025_01_16_02_562343_0001.jpg
/home/pi/Desktop/images/04012025/01/16/image_04012025_01_16_02_562343_0002.jpg
/home/pi/Desktop/images/04012025/01/16/image_04012025_01_16_02_562343_0003.jpg
/home/pi/Desktop/images/04012025/01/17/image_04012025_01_17_02_285525_0001.jpg
/home/pi/Desktop/images/04012025/01/17/image_04012025_01_17_02_285525_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326153761","1326153755","1326153752","1326153763","1326153748","1326153759"],"photo_ids_order":["1326153748","1326153752","1326153755","1326153759","1326153761","1326153763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b7516cd606ae02fa3a887b94184b3bb1.jpg","text":"TemporaryFile(/tmp/multipartBody2922408190621605298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949917434,"filename":"image_04012025_01_17_02_285525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/83ece61c21c00a1cb210eb05523818d2.jpg","text":"TemporaryFile(/tmp/multipartBody2876372571582658498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949917434,"filename":"image_04012025_01_16_02_562343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a4ae23012c8f71628376d9757e500963.jpg","text":"TemporaryFile(/tmp/multipartBody154685212493204519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949917434,"filename":"image_04012025_01_16_02_562343_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/667ca257d56fab08c293279e4ff5e78e.jpg","text":"TemporaryFile(/tmp/multipartBody5038455464793440334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949917434,"filename":"image_04012025_01_17_02_285525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/252a302ddebbfd671dba8d7d33077874.jpg","text":"TemporaryFile(/tmp/multipartBody2461699556523303683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949917434,"filename":"image_04012025_01_15_03_035531_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6959140c7789d878cd531b1c89795da7.jpg","text":"TemporaryFile(/tmp/multipartBody6646752779881622825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949917434,"filename":"image_04012025_01_16_02_562343_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326153755","file1":"1326153752","file0":"1326153748","file4":"1326153761","file5":"1326153763","file3":"1326153759"},"map_files_photo_id_array":[{"photo_id":"1326153763","filename":"file5"},{"photo_id":"1326153755","filename":"file2"},{"photo_id":"1326153761","filename":"file4"},{"photo_id":"1326153752","filename":"file1"},{"photo_id":"1326153748","filename":"file0"},{"photo_id":"1326153759","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326153761":["hashtag1","hashtag2"]},{"1326153755":["hashtag1","hashtag2"]},{"1326153752":["hashtag1","hashtag2"]},{"1326153763":["hashtag1","hashtag2"]},{"1326153748":["hashtag1","hashtag2"]},{"1326153759":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326153761, 1326153755, 1326153752, 1326153763, 1326153748, 1326153759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.22486734390259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:18:22.102134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/17/image_04012025_01_17_02_285525_0003.jpg', '/home/pi/Desktop/images/04012025/01/18/image_04012025_01_18_02_791011_0000.jpg', '/home/pi/Desktop/images/04012025/01/18/image_04012025_01_18_02_791011_0001.jpg', '/home/pi/Desktop/images/04012025/01/18/image_04012025_01_18_02_791011_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/17/image_04012025_01_17_02_285525_0003.jpg
/home/pi/Desktop/images/04012025/01/18/image_04012025_01_18_02_791011_0000.jpg
/home/pi/Desktop/images/04012025/01/18/image_04012025_01_18_02_791011_0001.jpg
/home/pi/Desktop/images/04012025/01/18/image_04012025_01_18_02_791011_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326154460","1326154661","1326154878","1326154781"],"photo_ids_order":["1326154460","1326154661","1326154781","1326154878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/953e07ba3c87f6446c08dc6fcc1c18bb.jpg","text":"TemporaryFile(/tmp/multipartBody4836150810286915500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949972338,"filename":"image_04012025_01_17_02_285525_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a2e0581580a0213bc1aff2a81c1c0d22.jpg","text":"TemporaryFile(/tmp/multipartBody1134572833303266223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949972338,"filename":"image_04012025_01_18_02_791011_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e322f262afa958c98a6835dd1e6fe2e9.jpg","text":"TemporaryFile(/tmp/multipartBody5150541514561251880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949972338,"filename":"image_04012025_01_18_02_791011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9b853b63a644577539347a9dbb09a8df.jpg","text":"TemporaryFile(/tmp/multipartBody7188365202129489474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735949972338,"filename":"image_04012025_01_18_02_791011_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326154781","file1":"1326154661","file0":"1326154460","file3":"1326154878"},"map_files_photo_id_array":[{"photo_id":"1326154781","filename":"file2"},{"photo_id":"1326154661","filename":"file1"},{"photo_id":"1326154460","filename":"file0"},{"photo_id":"1326154878","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326154460":["hashtag1","hashtag2"]},{"1326154661":["hashtag1","hashtag2"]},{"1326154878":["hashtag1","hashtag2"]},{"1326154781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326154460, 1326154661, 1326154878, 1326154781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.22860527038574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:19:03.252269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:19:22.569599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/18/image_04012025_01_18_02_791011_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/18/image_04012025_01_18_02_791011_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326155179"],"photo_id":"1326155179","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85e534da5856dd869684c852e7f94b33.jpg","text":"TemporaryFile(/tmp/multipartBody7664754574852900795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950025609,"filename":"image_04012025_01_18_02_791011_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326155179"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326155179"}],"hashtags":[],"portfolio_id":"19403015","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.233644723892212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:20:02.758231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:20:22.296543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/19/image_04012025_01_19_02_471088_0000.jpg', '/home/pi/Desktop/images/04012025/01/20/image_04012025_01_20_03_045763_0000.jpg', '/home/pi/Desktop/images/04012025/01/20/image_04012025_01_20_03_045763_0001.jpg', '/home/pi/Desktop/images/04012025/01/20/image_04012025_01_20_03_045763_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/19/image_04012025_01_19_02_471088_0000.jpg
/home/pi/Desktop/images/04012025/01/20/image_04012025_01_20_03_045763_0000.jpg
/home/pi/Desktop/images/04012025/01/20/image_04012025_01_20_03_045763_0001.jpg
/home/pi/Desktop/images/04012025/01/20/image_04012025_01_20_03_045763_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326156078","1326155973","1326156179","1326156143"],"photo_ids_order":["1326155973","1326156078","1326156143","1326156179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b4d918cda2788344cdfd99debfffe11c.jpg","text":"TemporaryFile(/tmp/multipartBody2461252429512195153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950092553,"filename":"image_04012025_01_20_03_045763_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/26f2e3a41d193057f435db3c046c52b7.jpg","text":"TemporaryFile(/tmp/multipartBody908506434855210209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950092553,"filename":"image_04012025_01_19_02_471088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/635a8cbc10049e31e0b1457bf387ff1a.jpg","text":"TemporaryFile(/tmp/multipartBody4007236743106709663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950092553,"filename":"image_04012025_01_20_03_045763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/67dcab5dfbe0118a0ef246ed6d205c64.jpg","text":"TemporaryFile(/tmp/multipartBody4337268493776691412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950092553,"filename":"image_04012025_01_20_03_045763_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326156143","file1":"1326156078","file0":"1326155973","file3":"1326156179"},"map_files_photo_id_array":[{"photo_id":"1326156143","filename":"file2"},{"photo_id":"1326156078","filename":"file1"},{"photo_id":"1326155973","filename":"file0"},{"photo_id":"1326156179","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326156078":["hashtag1","hashtag2"]},{"1326155973":["hashtag1","hashtag2"]},{"1326156179":["hashtag1","hashtag2"]},{"1326156143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326156078, 1326155973, 1326156179, 1326156143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02005124092102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:21:21.810168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/20/image_04012025_01_20_03_045763_0003.jpg', '/home/pi/Desktop/images/04012025/01/21/image_04012025_01_21_02_669719_0000.jpg', '/home/pi/Desktop/images/04012025/01/21/image_04012025_01_21_02_669719_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/20/image_04012025_01_20_03_045763_0003.jpg
/home/pi/Desktop/images/04012025/01/21/image_04012025_01_21_02_669719_0000.jpg
/home/pi/Desktop/images/04012025/01/21/image_04012025_01_21_02_669719_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326156319","1326156326","1326156323"],"photo_ids_order":["1326156319","1326156323","1326156326"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db07f0fa671981f6eb388f473f3cf667.jpg","text":"TemporaryFile(/tmp/multipartBody2314420062498492911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950149694,"filename":"image_04012025_01_20_03_045763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f4de0ade83eada445de568ef19fcc06c.jpg","text":"TemporaryFile(/tmp/multipartBody1840211367356521211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950149694,"filename":"image_04012025_01_21_02_669719_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9c18a864bd820774703f70910e1f562b.jpg","text":"TemporaryFile(/tmp/multipartBody575930256697118348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950149694,"filename":"image_04012025_01_21_02_669719_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326156326","file1":"1326156323","file0":"1326156319"},"map_files_photo_id_array":[{"photo_id":"1326156326","filename":"file2"},{"photo_id":"1326156323","filename":"file1"},{"photo_id":"1326156319","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326156319":["hashtag1","hashtag2"]},{"1326156326":["hashtag1","hashtag2"]},{"1326156323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326156319, 1326156326, 1326156323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.171851873397827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:22:02.671562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:22:22.275422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/21/image_04012025_01_21_02_669719_0003.jpg', '/home/pi/Desktop/images/04012025/01/22/image_04012025_01_22_02_147410_0001.jpg', '/home/pi/Desktop/images/04012025/01/22/image_04012025_01_22_02_147410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/21/image_04012025_01_21_02_669719_0003.jpg
/home/pi/Desktop/images/04012025/01/22/image_04012025_01_22_02_147410_0001.jpg
/home/pi/Desktop/images/04012025/01/22/image_04012025_01_22_02_147410_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326156556","1326156579","1326156533"],"photo_ids_order":["1326156533","1326156556","1326156579"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c7ea55026e1c1a87a6459111c66f7a84.jpg","text":"TemporaryFile(/tmp/multipartBody6274543041126819766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950210132,"filename":"image_04012025_01_22_02_147410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d328d13843a6f7e201ba382ba775d8e3.jpg","text":"TemporaryFile(/tmp/multipartBody7961450479341152439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950210132,"filename":"image_04012025_01_22_02_147410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/097e1c3af1acbe6a04182c90cb54fa3d.jpg","text":"TemporaryFile(/tmp/multipartBody1655043003848630509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950210132,"filename":"image_04012025_01_21_02_669719_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326156579","file1":"1326156556","file0":"1326156533"},"map_files_photo_id_array":[{"photo_id":"1326156579","filename":"file2"},{"photo_id":"1326156556","filename":"file1"},{"photo_id":"1326156533","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326156556":["hashtag1","hashtag2"]},{"1326156579":["hashtag1","hashtag2"]},{"1326156533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326156556, 1326156579, 1326156533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.86216163635254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:23:02.511858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:23:21.751599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/22/image_04012025_01_22_02_147410_0003.jpg', '/home/pi/Desktop/images/04012025/01/23/image_04012025_01_23_02_669034_0000.jpg', '/home/pi/Desktop/images/04012025/01/23/image_04012025_01_23_02_669034_0001.jpg', '/home/pi/Desktop/images/04012025/01/23/image_04012025_01_23_02_669034_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/22/image_04012025_01_22_02_147410_0003.jpg
/home/pi/Desktop/images/04012025/01/23/image_04012025_01_23_02_669034_0000.jpg
/home/pi/Desktop/images/04012025/01/23/image_04012025_01_23_02_669034_0001.jpg
/home/pi/Desktop/images/04012025/01/23/image_04012025_01_23_02_669034_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326157243","1326157053","1326157145","1326156941"],"photo_ids_order":["1326156941","1326157053","1326157145","1326157243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30fb4462b7ec111969ea71a929fadaca.jpg","text":"TemporaryFile(/tmp/multipartBody791467958273363354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950272017,"filename":"image_04012025_01_23_02_669034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/38342a32b95180230348492736d24fbc.jpg","text":"TemporaryFile(/tmp/multipartBody698719675069431213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950272017,"filename":"image_04012025_01_23_02_669034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a78fd3cb90342d38b49e9bc5c12b0b6f.jpg","text":"TemporaryFile(/tmp/multipartBody45931151732121528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950272017,"filename":"image_04012025_01_23_02_669034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e419d690a8665dbafd37cffb894d789d.jpg","text":"TemporaryFile(/tmp/multipartBody3436092305438428798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950272017,"filename":"image_04012025_01_22_02_147410_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326157145","file1":"1326157053","file0":"1326156941","file3":"1326157243"},"map_files_photo_id_array":[{"photo_id":"1326157145","filename":"file2"},{"photo_id":"1326157053","filename":"file1"},{"photo_id":"1326156941","filename":"file0"},{"photo_id":"1326157243","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326157243":["hashtag1","hashtag2"]},{"1326157053":["hashtag1","hashtag2"]},{"1326157145":["hashtag1","hashtag2"]},{"1326156941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326157243, 1326157053, 1326157145, 1326156941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57557129859924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:24:02.936567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:24:22.447111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/23/image_04012025_01_23_02_669034_0003.jpg', '/home/pi/Desktop/images/04012025/01/24/image_04012025_01_24_02_258262_0000.jpg', '/home/pi/Desktop/images/04012025/01/24/image_04012025_01_24_02_258262_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/23/image_04012025_01_23_02_669034_0003.jpg
/home/pi/Desktop/images/04012025/01/24/image_04012025_01_24_02_258262_0000.jpg
/home/pi/Desktop/images/04012025/01/24/image_04012025_01_24_02_258262_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.467137813568115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:25:02.379403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/23/image_04012025_01_23_02_669034_0003.jpg', '/home/pi/Desktop/images/04012025/01/24/image_04012025_01_24_02_258262_0000.jpg', '/home/pi/Desktop/images/04012025/01/24/image_04012025_01_24_02_258262_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/23/image_04012025_01_23_02_669034_0003.jpg
/home/pi/Desktop/images/04012025/01/24/image_04012025_01_24_02_258262_0000.jpg
/home/pi/Desktop/images/04012025/01/24/image_04012025_01_24_02_258262_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326158115","1326158021","1326158155"],"photo_ids_order":["1326158021","1326158115","1326158155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0b8b9ecf673db1355a04d219a71aa6e8.jpg","text":"TemporaryFile(/tmp/multipartBody5297788428146885446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950370288,"filename":"image_04012025_01_24_02_258262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3ae3a37331a4fcbcbbb7bad2eec5b758.jpg","text":"TemporaryFile(/tmp/multipartBody9216459902703816622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950370288,"filename":"image_04012025_01_23_02_669034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/02431c21087195e9f04b4582cd073ede.jpg","text":"TemporaryFile(/tmp/multipartBody4008965896564396487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950370288,"filename":"image_04012025_01_24_02_258262_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326158155","file1":"1326158115","file0":"1326158021"},"map_files_photo_id_array":[{"photo_id":"1326158155","filename":"file2"},{"photo_id":"1326158115","filename":"file1"},{"photo_id":"1326158021","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326158115":["hashtag1","hashtag2"]},{"1326158021":["hashtag1","hashtag2"]},{"1326158155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326158115, 1326158021, 1326158155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.757338762283325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:26:02.798044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/24/image_04012025_01_24_02_258262_0003.jpg', '/home/pi/Desktop/images/04012025/01/25/image_04012025_01_25_02_822656_0000.jpg', '/home/pi/Desktop/images/04012025/01/25/image_04012025_01_25_02_822656_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/24/image_04012025_01_24_02_258262_0003.jpg
/home/pi/Desktop/images/04012025/01/25/image_04012025_01_25_02_822656_0000.jpg
/home/pi/Desktop/images/04012025/01/25/image_04012025_01_25_02_822656_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.50534725189209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:26:22.478841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/24/image_04012025_01_24_02_258262_0003.jpg', '/home/pi/Desktop/images/04012025/01/25/image_04012025_01_25_02_822656_0000.jpg', '/home/pi/Desktop/images/04012025/01/25/image_04012025_01_25_02_822656_0001.jpg', '/home/pi/Desktop/images/04012025/01/25/image_04012025_01_25_02_822656_0002.jpg', '/home/pi/Desktop/images/04012025/01/26/image_04012025_01_26_02_338137_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/24/image_04012025_01_24_02_258262_0003.jpg
/home/pi/Desktop/images/04012025/01/25/image_04012025_01_25_02_822656_0000.jpg
/home/pi/Desktop/images/04012025/01/25/image_04012025_01_25_02_822656_0001.jpg
/home/pi/Desktop/images/04012025/01/25/image_04012025_01_25_02_822656_0002.jpg
/home/pi/Desktop/images/04012025/01/26/image_04012025_01_26_02_338137_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326158469","1326158516","1326158461","1326158464","1326158467"],"photo_ids_order":["1326158461","1326158464","1326158467","1326158469","1326158516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d79ca6dab6c088c77b3140c0cf7bb616.jpg","text":"TemporaryFile(/tmp/multipartBody941978163948769849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950455153,"filename":"image_04012025_01_25_02_822656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a11b425a9bc1b1e81d1ef252a17074c3.jpg","text":"TemporaryFile(/tmp/multipartBody4491637162207442107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950455153,"filename":"image_04012025_01_26_02_338137_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8694910619fe6bf9eda72fbbcb19467d.jpg","text":"TemporaryFile(/tmp/multipartBody7995150785849600662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950455153,"filename":"image_04012025_01_24_02_258262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/84d3a1a22c7294fb141ad53f850c14ce.jpg","text":"TemporaryFile(/tmp/multipartBody5538055881266291344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950455153,"filename":"image_04012025_01_25_02_822656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/21e30b75f25961f42cfa610625ca44c7.jpg","text":"TemporaryFile(/tmp/multipartBody8754237401966663796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950455153,"filename":"image_04012025_01_25_02_822656_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326158467","file1":"1326158464","file0":"1326158461","file4":"1326158516","file3":"1326158469"},"map_files_photo_id_array":[{"photo_id":"1326158467","filename":"file2"},{"photo_id":"1326158516","filename":"file4"},{"photo_id":"1326158464","filename":"file1"},{"photo_id":"1326158461","filename":"file0"},{"photo_id":"1326158469","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326158469":["hashtag1","hashtag2"]},{"1326158516":["hashtag1","hashtag2"]},{"1326158461":["hashtag1","hashtag2"]},{"1326158464":["hashtag1","hashtag2"]},{"1326158467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326158469, 1326158516, 1326158461, 1326158464, 1326158467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.57272911071777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:27:21.961210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/26/image_04012025_01_26_02_338137_0001.jpg', '/home/pi/Desktop/images/04012025/01/27/image_04012025_01_27_02_830263_0000.jpg', '/home/pi/Desktop/images/04012025/01/27/image_04012025_01_27_02_830263_0001.jpg', '/home/pi/Desktop/images/04012025/01/27/image_04012025_01_27_02_830263_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/26/image_04012025_01_26_02_338137_0001.jpg
/home/pi/Desktop/images/04012025/01/27/image_04012025_01_27_02_830263_0000.jpg
/home/pi/Desktop/images/04012025/01/27/image_04012025_01_27_02_830263_0001.jpg
/home/pi/Desktop/images/04012025/01/27/image_04012025_01_27_02_830263_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326158975","1326158843","1326158863","1326158857"],"photo_ids_order":["1326158843","1326158857","1326158863","1326158975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b8634e4ed29d16815e996c922c52e472.jpg","text":"TemporaryFile(/tmp/multipartBody5080304775637089591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950512330,"filename":"image_04012025_01_27_02_830263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e521dc70f9df1a2c93716a66f6555d0d.jpg","text":"TemporaryFile(/tmp/multipartBody1412032794492836977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950512330,"filename":"image_04012025_01_26_02_338137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c02ce5191c6210487c59862ea59e95d3.jpg","text":"TemporaryFile(/tmp/multipartBody6513123727654952822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950512330,"filename":"image_04012025_01_27_02_830263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bccf6c46f170a2f07c4c23a47e05474a.jpg","text":"TemporaryFile(/tmp/multipartBody1870907032841213858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950512330,"filename":"image_04012025_01_27_02_830263_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326158863","file1":"1326158857","file0":"1326158843","file3":"1326158975"},"map_files_photo_id_array":[{"photo_id":"1326158863","filename":"file2"},{"photo_id":"1326158857","filename":"file1"},{"photo_id":"1326158843","filename":"file0"},{"photo_id":"1326158975","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326158975":["hashtag1","hashtag2"]},{"1326158843":["hashtag1","hashtag2"]},{"1326158863":["hashtag1","hashtag2"]},{"1326158857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326158975, 1326158843, 1326158863, 1326158857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.52209234237671 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:28:02.877498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:28:22.448213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/27/image_04012025_01_27_02_830263_0003.jpg', '/home/pi/Desktop/images/04012025/01/28/image_04012025_01_28_02_334588_0000.jpg', '/home/pi/Desktop/images/04012025/01/28/image_04012025_01_28_02_334588_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/27/image_04012025_01_27_02_830263_0003.jpg
/home/pi/Desktop/images/04012025/01/28/image_04012025_01_28_02_334588_0000.jpg
/home/pi/Desktop/images/04012025/01/28/image_04012025_01_28_02_334588_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.45190167427063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:29:02.622301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/27/image_04012025_01_27_02_830263_0003.jpg', '/home/pi/Desktop/images/04012025/01/28/image_04012025_01_28_02_334588_0000.jpg', '/home/pi/Desktop/images/04012025/01/28/image_04012025_01_28_02_334588_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/27/image_04012025_01_27_02_830263_0003.jpg
/home/pi/Desktop/images/04012025/01/28/image_04012025_01_28_02_334588_0000.jpg
/home/pi/Desktop/images/04012025/01/28/image_04012025_01_28_02_334588_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326160515","1326160520","1326160441"],"photo_ids_order":["1326160441","1326160515","1326160520"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e2686720a86dfaf22361d7d9dcc03d6a.jpg","text":"TemporaryFile(/tmp/multipartBody105649194184978486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950610522,"filename":"image_04012025_01_28_02_334588_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ccbaa923641cbd944d425cb982b1636.jpg","text":"TemporaryFile(/tmp/multipartBody4300930173140195253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950610522,"filename":"image_04012025_01_28_02_334588_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/917d6765756d291fb851c5b65339c757.jpg","text":"TemporaryFile(/tmp/multipartBody8116460446196020294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950610522,"filename":"image_04012025_01_27_02_830263_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326160520","file1":"1326160515","file0":"1326160441"},"map_files_photo_id_array":[{"photo_id":"1326160520","filename":"file2"},{"photo_id":"1326160515","filename":"file1"},{"photo_id":"1326160441","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326160515":["hashtag1","hashtag2"]},{"1326160520":["hashtag1","hashtag2"]},{"1326160441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326160515, 1326160520, 1326160441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.612889528274536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:30:02.994554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/28/image_04012025_01_28_02_334588_0002.jpg', '/home/pi/Desktop/images/04012025/01/29/image_04012025_01_29_02_862156_0001.jpg', '/home/pi/Desktop/images/04012025/01/29/image_04012025_01_29_02_862156_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/28/image_04012025_01_28_02_334588_0002.jpg
/home/pi/Desktop/images/04012025/01/29/image_04012025_01_29_02_862156_0001.jpg
/home/pi/Desktop/images/04012025/01/29/image_04012025_01_29_02_862156_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326161273","1326161230","1326161274"],"photo_ids_order":["1326161230","1326161273","1326161274"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/922835201d525e58c1895c9148721601.jpg","text":"TemporaryFile(/tmp/multipartBody8075609176826228718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950670502,"filename":"image_04012025_01_29_02_862156_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/122ed83a52219aa97db383951f64cece.jpg","text":"TemporaryFile(/tmp/multipartBody2700077346486709103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950670502,"filename":"image_04012025_01_28_02_334588_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/56e1f2e1e4c52d8d334e7b13d4fddcfa.jpg","text":"TemporaryFile(/tmp/multipartBody1528429777985706893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950670502,"filename":"image_04012025_01_29_02_862156_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326161274","file1":"1326161273","file0":"1326161230"},"map_files_photo_id_array":[{"photo_id":"1326161274","filename":"file2"},{"photo_id":"1326161273","filename":"file1"},{"photo_id":"1326161230","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326161273":["hashtag1","hashtag2"]},{"1326161230":["hashtag1","hashtag2"]},{"1326161274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326161273, 1326161230, 1326161274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.381064414978027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:31:02.714218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/29/image_04012025_01_29_02_862156_0003.jpg', '/home/pi/Desktop/images/04012025/01/30/image_04012025_01_30_02_386466_0000.jpg', '/home/pi/Desktop/images/04012025/01/30/image_04012025_01_30_02_386466_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/29/image_04012025_01_29_02_862156_0003.jpg
/home/pi/Desktop/images/04012025/01/30/image_04012025_01_30_02_386466_0000.jpg
/home/pi/Desktop/images/04012025/01/30/image_04012025_01_30_02_386466_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326161430","1326161429","1326161428"],"photo_ids_order":["1326161428","1326161429","1326161430"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c81a7336419a68441ecff782f41a2e61.jpg","text":"TemporaryFile(/tmp/multipartBody7513058594746505248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950730240,"filename":"image_04012025_01_30_02_386466_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9d6d0c77c6e000f603ec79b613da7d5b.jpg","text":"TemporaryFile(/tmp/multipartBody1609586669373060274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950730240,"filename":"image_04012025_01_30_02_386466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/73c7c1af2a8906bd9743b1377a8fe048.jpg","text":"TemporaryFile(/tmp/multipartBody8417926046698573755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950730240,"filename":"image_04012025_01_29_02_862156_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326161430","file1":"1326161429","file0":"1326161428"},"map_files_photo_id_array":[{"photo_id":"1326161430","filename":"file2"},{"photo_id":"1326161429","filename":"file1"},{"photo_id":"1326161428","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326161430":["hashtag1","hashtag2"]},{"1326161429":["hashtag1","hashtag2"]},{"1326161428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326161430, 1326161429, 1326161428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.028979539871216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:32:03.096450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/30/image_04012025_01_30_02_386466_0003.jpg', '/home/pi/Desktop/images/04012025/01/31/image_04012025_01_31_02_906496_0000.jpg', '/home/pi/Desktop/images/04012025/01/31/image_04012025_01_31_02_906496_0001.jpg', '/home/pi/Desktop/images/04012025/01/31/image_04012025_01_31_02_906496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/30/image_04012025_01_30_02_386466_0003.jpg
/home/pi/Desktop/images/04012025/01/31/image_04012025_01_31_02_906496_0000.jpg
/home/pi/Desktop/images/04012025/01/31/image_04012025_01_31_02_906496_0001.jpg
/home/pi/Desktop/images/04012025/01/31/image_04012025_01_31_02_906496_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326161657","1326161630","1326161443","1326161655"],"photo_ids_order":["1326161443","1326161630","1326161655","1326161657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/53420252430ebdf5fd4d64c9f5e9e6fe.jpg","text":"TemporaryFile(/tmp/multipartBody8151715324054072850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950792909,"filename":"image_04012025_01_31_02_906496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fbc9e5697e6c4adaf99b2439dec83eb2.jpg","text":"TemporaryFile(/tmp/multipartBody2939290339307300024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950792909,"filename":"image_04012025_01_31_02_906496_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e298225610e6cd7ef376cfc892abd815.jpg","text":"TemporaryFile(/tmp/multipartBody3719794999351895594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950792909,"filename":"image_04012025_01_30_02_386466_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/532522cdbe8928a5b79f6e5e60392f5a.jpg","text":"TemporaryFile(/tmp/multipartBody2187143924737582714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950792909,"filename":"image_04012025_01_31_02_906496_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326161655","file1":"1326161630","file0":"1326161443","file3":"1326161657"},"map_files_photo_id_array":[{"photo_id":"1326161655","filename":"file2"},{"photo_id":"1326161630","filename":"file1"},{"photo_id":"1326161443","filename":"file0"},{"photo_id":"1326161657","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326161657":["hashtag1","hashtag2"]},{"1326161630":["hashtag1","hashtag2"]},{"1326161443":["hashtag1","hashtag2"]},{"1326161655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326161657, 1326161630, 1326161443, 1326161655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.49928569793701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:33:02.874053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/31/image_04012025_01_31_02_906496_0003.jpg', '/home/pi/Desktop/images/04012025/01/32/image_04012025_01_32_02_452489_0000.jpg', '/home/pi/Desktop/images/04012025/01/32/image_04012025_01_32_02_452489_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/31/image_04012025_01_31_02_906496_0003.jpg
/home/pi/Desktop/images/04012025/01/32/image_04012025_01_32_02_452489_0000.jpg
/home/pi/Desktop/images/04012025/01/32/image_04012025_01_32_02_452489_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.3019444942474365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:33:22.155849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/31/image_04012025_01_31_02_906496_0003.jpg', '/home/pi/Desktop/images/04012025/01/32/image_04012025_01_32_02_452489_0000.jpg', '/home/pi/Desktop/images/04012025/01/32/image_04012025_01_32_02_452489_0002.jpg', '/home/pi/Desktop/images/04012025/01/32/image_04012025_01_32_02_452489_0003.jpg', '/home/pi/Desktop/images/04012025/01/33/image_04012025_01_33_03_062696_0000.jpg', '/home/pi/Desktop/images/04012025/01/33/image_04012025_01_33_03_062696_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/31/image_04012025_01_31_02_906496_0003.jpg
/home/pi/Desktop/images/04012025/01/32/image_04012025_01_32_02_452489_0000.jpg
/home/pi/Desktop/images/04012025/01/32/image_04012025_01_32_02_452489_0002.jpg
/home/pi/Desktop/images/04012025/01/32/image_04012025_01_32_02_452489_0003.jpg
/home/pi/Desktop/images/04012025/01/33/image_04012025_01_33_03_062696_0000.jpg
/home/pi/Desktop/images/04012025/01/33/image_04012025_01_33_03_062696_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":["1326162821","1326162719","1326162895","1326162478","1326162942","1326162738"],"photo_ids_order":["1326162478","1326162719","1326162738","1326162821","1326162895","1326162942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/233dbe059891c515bb0daf0a4c34f830.jpg","text":"TemporaryFile(/tmp/multipartBody6096129437209340252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950876954,"filename":"image_04012025_01_32_02_452489_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/29d7a4d9add09357f9c7229d1a0b167b.jpg","text":"TemporaryFile(/tmp/multipartBody811302946816923292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950876954,"filename":"image_04012025_01_32_02_452489_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/707ef941359124fab80acd27b3faec1f.jpg","text":"TemporaryFile(/tmp/multipartBody1980987101227043864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950876954,"filename":"image_04012025_01_33_03_062696_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ef86701b81aa6d8e8e9518d04c14f985.jpg","text":"TemporaryFile(/tmp/multipartBody386705716189351835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950876954,"filename":"image_04012025_01_31_02_906496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fb9cb2284bb688392bf7f7d2ee8df8fb.jpg","text":"TemporaryFile(/tmp/multipartBody309194988387294265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950876954,"filename":"image_04012025_01_33_03_062696_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fce1eb9b0029d4661129bdb11e61ed4c.jpg","text":"TemporaryFile(/tmp/multipartBody7047753567819024650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950876954,"filename":"image_04012025_01_32_02_452489_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326162738","file1":"1326162719","file0":"1326162478","file4":"1326162895","file5":"1326162942","file3":"1326162821"},"map_files_photo_id_array":[{"photo_id":"1326162942","filename":"file5"},{"photo_id":"1326162738","filename":"file2"},{"photo_id":"1326162895","filename":"file4"},{"photo_id":"1326162719","filename":"file1"},{"photo_id":"1326162478","filename":"file0"},{"photo_id":"1326162821","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326162821":["hashtag1","hashtag2"]},{"1326162719":["hashtag1","hashtag2"]},{"1326162895":["hashtag1","hashtag2"]},{"1326162478":["hashtag1","hashtag2"]},{"1326162942":["hashtag1","hashtag2"]},{"1326162738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326162821, 1326162719, 1326162895, 1326162478, 1326162942, 1326162738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.68722105026245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:35:02.953722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/33/image_04012025_01_33_03_062696_0002.jpg', '/home/pi/Desktop/images/04012025/01/33/image_04012025_01_33_03_062696_0003.jpg', '/home/pi/Desktop/images/04012025/01/34/image_04012025_01_34_02_557427_0000.jpg', '/home/pi/Desktop/images/04012025/01/34/image_04012025_01_34_02_557427_0001.jpg', '/home/pi/Desktop/images/04012025/01/34/image_04012025_01_34_02_557427_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/33/image_04012025_01_33_03_062696_0002.jpg
/home/pi/Desktop/images/04012025/01/33/image_04012025_01_33_03_062696_0003.jpg
/home/pi/Desktop/images/04012025/01/34/image_04012025_01_34_02_557427_0000.jpg
/home/pi/Desktop/images/04012025/01/34/image_04012025_01_34_02_557427_0001.jpg
/home/pi/Desktop/images/04012025/01/34/image_04012025_01_34_02_557427_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 12.151648759841919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:35:22.293851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/33/image_04012025_01_33_03_062696_0002.jpg', '/home/pi/Desktop/images/04012025/01/33/image_04012025_01_33_03_062696_0003.jpg', '/home/pi/Desktop/images/04012025/01/34/image_04012025_01_34_02_557427_0000.jpg', '/home/pi/Desktop/images/04012025/01/34/image_04012025_01_34_02_557427_0001.jpg', '/home/pi/Desktop/images/04012025/01/34/image_04012025_01_34_02_557427_0002.jpg', '/home/pi/Desktop/images/04012025/01/34/image_04012025_01_34_02_557427_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/33/image_04012025_01_33_03_062696_0002.jpg
/home/pi/Desktop/images/04012025/01/33/image_04012025_01_33_03_062696_0003.jpg
/home/pi/Desktop/images/04012025/01/34/image_04012025_01_34_02_557427_0000.jpg
/home/pi/Desktop/images/04012025/01/34/image_04012025_01_34_02_557427_0001.jpg
/home/pi/Desktop/images/04012025/01/34/image_04012025_01_34_02_557427_0002.jpg
/home/pi/Desktop/images/04012025/01/34/image_04012025_01_34_02_557427_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326163879","1326163972","1326164076","1326163945","1326164117","1326164083"],"photo_ids_order":["1326163879","1326163945","1326163972","1326164076","1326164083","1326164117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6e6e7f7ef992762728f01876b79d01dc.jpg","text":"TemporaryFile(/tmp/multipartBody8460770793527727402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950997296,"filename":"image_04012025_01_33_03_062696_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c3bfc9bc203ba0ea7d09f4fcebb23926.jpg","text":"TemporaryFile(/tmp/multipartBody6059343181165728520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950997296,"filename":"image_04012025_01_34_02_557427_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d21fee5c85aea18039c90a82caf8682.jpg","text":"TemporaryFile(/tmp/multipartBody5171631793422544616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950997296,"filename":"image_04012025_01_34_02_557427_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/290d9a54fc3a6e836ef7fcb037d9d50b.jpg","text":"TemporaryFile(/tmp/multipartBody4550142160748021881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950997296,"filename":"image_04012025_01_33_03_062696_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/69e747f56c7ca747202a4da59e44e094.jpg","text":"TemporaryFile(/tmp/multipartBody2925788076830592018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950997296,"filename":"image_04012025_01_34_02_557427_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f41b5a746d85968c8b846542e92d6739.jpg","text":"TemporaryFile(/tmp/multipartBody5100240599459598508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735950997296,"filename":"image_04012025_01_34_02_557427_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326163972","file1":"1326163945","file0":"1326163879","file4":"1326164083","file5":"1326164117","file3":"1326164076"},"map_files_photo_id_array":[{"photo_id":"1326164117","filename":"file5"},{"photo_id":"1326163972","filename":"file2"},{"photo_id":"1326164083","filename":"file4"},{"photo_id":"1326163945","filename":"file1"},{"photo_id":"1326163879","filename":"file0"},{"photo_id":"1326164076","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326163879":["hashtag1","hashtag2"]},{"1326163972":["hashtag1","hashtag2"]},{"1326164076":["hashtag1","hashtag2"]},{"1326163945":["hashtag1","hashtag2"]},{"1326164117":["hashtag1","hashtag2"]},{"1326164083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326163879, 1326163972, 1326164076, 1326163945, 1326164117, 1326164083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.86411118507385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:36:21.990966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/35/image_04012025_01_35_02_210424_0000.jpg', '/home/pi/Desktop/images/04012025/01/35/image_04012025_01_35_02_210424_0001.jpg', '/home/pi/Desktop/images/04012025/01/35/image_04012025_01_35_02_210424_0002.jpg', '/home/pi/Desktop/images/04012025/01/35/image_04012025_01_35_02_210424_0003.jpg', '/home/pi/Desktop/images/04012025/01/36/image_04012025_01_36_02_726636_0000.jpg', '/home/pi/Desktop/images/04012025/01/36/image_04012025_01_36_02_726636_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/35/image_04012025_01_35_02_210424_0000.jpg
/home/pi/Desktop/images/04012025/01/35/image_04012025_01_35_02_210424_0001.jpg
/home/pi/Desktop/images/04012025/01/35/image_04012025_01_35_02_210424_0002.jpg
/home/pi/Desktop/images/04012025/01/35/image_04012025_01_35_02_210424_0003.jpg
/home/pi/Desktop/images/04012025/01/36/image_04012025_01_36_02_726636_0000.jpg
/home/pi/Desktop/images/04012025/01/36/image_04012025_01_36_02_726636_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326164311","1326164308","1326164305","1326164268","1326164463","1326164319"],"photo_ids_order":["1326164268","1326164305","1326164308","1326164311","1326164319","1326164463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a90238655ce294687980037a22f59f98.jpg","text":"TemporaryFile(/tmp/multipartBody2943662491096207322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951057026,"filename":"image_04012025_01_35_02_210424_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/adf37eb214a6fb2eba84f55faf4122fb.jpg","text":"TemporaryFile(/tmp/multipartBody4074708100772988364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951057026,"filename":"image_04012025_01_35_02_210424_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/76acbebb7977b7b3a61f594e4e56cb83.jpg","text":"TemporaryFile(/tmp/multipartBody8823592967310961140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951057026,"filename":"image_04012025_01_35_02_210424_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b384ff13e96f8ffa41e1e1c0fed3fb0f.jpg","text":"TemporaryFile(/tmp/multipartBody690375622720757749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951057026,"filename":"image_04012025_01_35_02_210424_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c369577d503a9d64c6ae6756a0d48d4a.jpg","text":"TemporaryFile(/tmp/multipartBody1142153087170864853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951057026,"filename":"image_04012025_01_36_02_726636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28bec2ecbcabe94559afe525cbe6ab52.jpg","text":"TemporaryFile(/tmp/multipartBody3969874363658938630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951057026,"filename":"image_04012025_01_36_02_726636_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326164308","file1":"1326164305","file0":"1326164268","file4":"1326164319","file5":"1326164463","file3":"1326164311"},"map_files_photo_id_array":[{"photo_id":"1326164463","filename":"file5"},{"photo_id":"1326164308","filename":"file2"},{"photo_id":"1326164319","filename":"file4"},{"photo_id":"1326164305","filename":"file1"},{"photo_id":"1326164268","filename":"file0"},{"photo_id":"1326164311","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326164311":["hashtag1","hashtag2"]},{"1326164308":["hashtag1","hashtag2"]},{"1326164305":["hashtag1","hashtag2"]},{"1326164268":["hashtag1","hashtag2"]},{"1326164463":["hashtag1","hashtag2"]},{"1326164319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326164311, 1326164308, 1326164305, 1326164268, 1326164463, 1326164319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.14845085144043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:37:22.584734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/36/image_04012025_01_36_02_726636_0002.jpg', '/home/pi/Desktop/images/04012025/01/36/image_04012025_01_36_02_726636_0003.jpg', '/home/pi/Desktop/images/04012025/01/37/image_04012025_01_37_02_407029_0000.jpg', '/home/pi/Desktop/images/04012025/01/37/image_04012025_01_37_02_407029_0001.jpg', '/home/pi/Desktop/images/04012025/01/37/image_04012025_01_37_02_407029_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/36/image_04012025_01_36_02_726636_0002.jpg
/home/pi/Desktop/images/04012025/01/36/image_04012025_01_36_02_726636_0003.jpg
/home/pi/Desktop/images/04012025/01/37/image_04012025_01_37_02_407029_0000.jpg
/home/pi/Desktop/images/04012025/01/37/image_04012025_01_37_02_407029_0001.jpg
/home/pi/Desktop/images/04012025/01/37/image_04012025_01_37_02_407029_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326165063","1326165194","1326165006","1326165055","1326165118"],"photo_ids_order":["1326165006","1326165055","1326165063","1326165118","1326165194"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d3dee715a7dfb4e51d3b5ae4862af3b.jpg","text":"TemporaryFile(/tmp/multipartBody6113075846375913771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951115359,"filename":"image_04012025_01_37_02_407029_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/071507c59e739322d48197195b718ff5.jpg","text":"TemporaryFile(/tmp/multipartBody1144088803674388517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951115359,"filename":"image_04012025_01_37_02_407029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5370961080dd4bc3d02a398f26b8fb26.jpg","text":"TemporaryFile(/tmp/multipartBody1758388513737661697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951115359,"filename":"image_04012025_01_36_02_726636_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2653bc394483f89e54d36fa2345fc2f4.jpg","text":"TemporaryFile(/tmp/multipartBody1208271203158101892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951115359,"filename":"image_04012025_01_36_02_726636_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3ea78e81a6a607d0c659220b9acd6394.jpg","text":"TemporaryFile(/tmp/multipartBody1238147290581151310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951115359,"filename":"image_04012025_01_37_02_407029_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326165063","file1":"1326165055","file0":"1326165006","file4":"1326165194","file3":"1326165118"},"map_files_photo_id_array":[{"photo_id":"1326165063","filename":"file2"},{"photo_id":"1326165194","filename":"file4"},{"photo_id":"1326165055","filename":"file1"},{"photo_id":"1326165006","filename":"file0"},{"photo_id":"1326165118","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326165063":["hashtag1","hashtag2"]},{"1326165194":["hashtag1","hashtag2"]},{"1326165006":["hashtag1","hashtag2"]},{"1326165055":["hashtag1","hashtag2"]},{"1326165118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326165063, 1326165194, 1326165006, 1326165055, 1326165118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.12139940261841 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:38:22.118648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/37/image_04012025_01_37_02_407029_0003.jpg', '/home/pi/Desktop/images/04012025/01/38/image_04012025_01_38_02_976300_0000.jpg', '/home/pi/Desktop/images/04012025/01/38/image_04012025_01_38_02_976300_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/37/image_04012025_01_37_02_407029_0003.jpg
/home/pi/Desktop/images/04012025/01/38/image_04012025_01_38_02_976300_0000.jpg
/home/pi/Desktop/images/04012025/01/38/image_04012025_01_38_02_976300_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326165393","1326165511","1326165509"],"photo_ids_order":["1326165393","1326165509","1326165511"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f2d68e5cd9deae0f51a762ac3e2ccd78.jpg","text":"TemporaryFile(/tmp/multipartBody6398045433358544067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951170127,"filename":"image_04012025_01_37_02_407029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ebe75301b0158d79a70b43a90c6a3df1.jpg","text":"TemporaryFile(/tmp/multipartBody2003410869513576862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951170127,"filename":"image_04012025_01_38_02_976300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4d6f6545df8e431df7fcdabcd7198ab1.jpg","text":"TemporaryFile(/tmp/multipartBody5520523375493443794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951170127,"filename":"image_04012025_01_38_02_976300_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326165511","file1":"1326165509","file0":"1326165393"},"map_files_photo_id_array":[{"photo_id":"1326165511","filename":"file2"},{"photo_id":"1326165509","filename":"file1"},{"photo_id":"1326165393","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326165393":["hashtag1","hashtag2"]},{"1326165511":["hashtag1","hashtag2"]},{"1326165509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326165393, 1326165511, 1326165509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.84357190132141 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:39:03.248559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:39:22.523896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/38/image_04012025_01_38_02_976300_0003.jpg', '/home/pi/Desktop/images/04012025/01/39/image_04012025_01_39_02_448753_0000.jpg', '/home/pi/Desktop/images/04012025/01/39/image_04012025_01_39_02_448753_0001.jpg', '/home/pi/Desktop/images/04012025/01/39/image_04012025_01_39_02_448753_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/38/image_04012025_01_38_02_976300_0003.jpg
/home/pi/Desktop/images/04012025/01/39/image_04012025_01_39_02_448753_0000.jpg
/home/pi/Desktop/images/04012025/01/39/image_04012025_01_39_02_448753_0001.jpg
/home/pi/Desktop/images/04012025/01/39/image_04012025_01_39_02_448753_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326165933","1326165846","1326165906","1326165908"],"photo_ids_order":["1326165846","1326165906","1326165908","1326165933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5eb24adaf3dd828d6247c504b049fa8e.jpg","text":"TemporaryFile(/tmp/multipartBody7231280634454450779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951232840,"filename":"image_04012025_01_39_02_448753_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/313834a6a01f7039b29eb7b0edd4383d.jpg","text":"TemporaryFile(/tmp/multipartBody3800297230754959537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951232840,"filename":"image_04012025_01_38_02_976300_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a4aae61857553535b0167a2ba383bbe0.jpg","text":"TemporaryFile(/tmp/multipartBody3138160620834439870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951232840,"filename":"image_04012025_01_39_02_448753_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4051b69339b0c789526a8e60d9da1d76.jpg","text":"TemporaryFile(/tmp/multipartBody5809910546962000499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951232840,"filename":"image_04012025_01_39_02_448753_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326165908","file1":"1326165906","file0":"1326165846","file3":"1326165933"},"map_files_photo_id_array":[{"photo_id":"1326165908","filename":"file2"},{"photo_id":"1326165906","filename":"file1"},{"photo_id":"1326165846","filename":"file0"},{"photo_id":"1326165933","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326165933":["hashtag1","hashtag2"]},{"1326165846":["hashtag1","hashtag2"]},{"1326165906":["hashtag1","hashtag2"]},{"1326165908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326165933, 1326165846, 1326165906, 1326165908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44887399673462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:40:22.263629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/39/image_04012025_01_39_02_448753_0003.jpg', '/home/pi/Desktop/images/04012025/01/40/image_04012025_01_40_03_031734_0000.jpg', '/home/pi/Desktop/images/04012025/01/40/image_04012025_01_40_03_031734_0001.jpg', '/home/pi/Desktop/images/04012025/01/40/image_04012025_01_40_03_031734_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/39/image_04012025_01_39_02_448753_0003.jpg
/home/pi/Desktop/images/04012025/01/40/image_04012025_01_40_03_031734_0000.jpg
/home/pi/Desktop/images/04012025/01/40/image_04012025_01_40_03_031734_0001.jpg
/home/pi/Desktop/images/04012025/01/40/image_04012025_01_40_03_031734_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326166099","1326166096","1326166102","1326166089"],"photo_ids_order":["1326166089","1326166096","1326166099","1326166102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6fdf075715c73c21f6f31bca16af5451.jpg","text":"TemporaryFile(/tmp/multipartBody650101355742399072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951292679,"filename":"image_04012025_01_40_03_031734_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2755ababa3d0314d21bef182b034e7c5.jpg","text":"TemporaryFile(/tmp/multipartBody1577493221584377820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951292679,"filename":"image_04012025_01_40_03_031734_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c7b89352e5fbb397b0eee24def89e389.jpg","text":"TemporaryFile(/tmp/multipartBody7977654010286689247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951292679,"filename":"image_04012025_01_40_03_031734_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f2d8b8afc6570a0157d0e694cb838afc.jpg","text":"TemporaryFile(/tmp/multipartBody9102705065990938529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951292679,"filename":"image_04012025_01_39_02_448753_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326166099","file1":"1326166096","file0":"1326166089","file3":"1326166102"},"map_files_photo_id_array":[{"photo_id":"1326166099","filename":"file2"},{"photo_id":"1326166096","filename":"file1"},{"photo_id":"1326166089","filename":"file0"},{"photo_id":"1326166102","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326166099":["hashtag1","hashtag2"]},{"1326166096":["hashtag1","hashtag2"]},{"1326166102":["hashtag1","hashtag2"]},{"1326166089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326166099, 1326166096, 1326166102, 1326166089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.441757917404175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:41:02.320388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:41:21.687948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/40/image_04012025_01_40_03_031734_0003.jpg', '/home/pi/Desktop/images/04012025/01/41/image_04012025_01_41_02_661628_0000.jpg', '/home/pi/Desktop/images/04012025/01/41/image_04012025_01_41_02_661628_0001.jpg', '/home/pi/Desktop/images/04012025/01/41/image_04012025_01_41_02_661628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/40/image_04012025_01_40_03_031734_0003.jpg
/home/pi/Desktop/images/04012025/01/41/image_04012025_01_41_02_661628_0000.jpg
/home/pi/Desktop/images/04012025/01/41/image_04012025_01_41_02_661628_0001.jpg
/home/pi/Desktop/images/04012025/01/41/image_04012025_01_41_02_661628_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326166365","1326166370","1326166424","1326166426"],"photo_ids_order":["1326166365","1326166370","1326166424","1326166426"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/079c60fe07dad0c23ad5cd7e37641e70.jpg","text":"TemporaryFile(/tmp/multipartBody7469432902641055009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951352644,"filename":"image_04012025_01_40_03_031734_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e1ad13300055a6c3de5b3360f76178f5.jpg","text":"TemporaryFile(/tmp/multipartBody8832309457929136740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951352644,"filename":"image_04012025_01_41_02_661628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b59ac24c8a536bc3c669283b131c5a49.jpg","text":"TemporaryFile(/tmp/multipartBody7749918235364113430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951352644,"filename":"image_04012025_01_41_02_661628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e6b7d8d9a096a55865462882e4f63961.jpg","text":"TemporaryFile(/tmp/multipartBody8071522625411892608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951352644,"filename":"image_04012025_01_41_02_661628_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326166424","file1":"1326166370","file0":"1326166365","file3":"1326166426"},"map_files_photo_id_array":[{"photo_id":"1326166424","filename":"file2"},{"photo_id":"1326166370","filename":"file1"},{"photo_id":"1326166365","filename":"file0"},{"photo_id":"1326166426","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326166365":["hashtag1","hashtag2"]},{"1326166370":["hashtag1","hashtag2"]},{"1326166424":["hashtag1","hashtag2"]},{"1326166426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326166365, 1326166370, 1326166424, 1326166426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.52235198020935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:42:22.406174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/41/image_04012025_01_41_02_661628_0003.jpg', '/home/pi/Desktop/images/04012025/01/42/image_04012025_01_42_02_091527_0000.jpg', '/home/pi/Desktop/images/04012025/01/42/image_04012025_01_42_02_091527_0001.jpg', '/home/pi/Desktop/images/04012025/01/42/image_04012025_01_42_02_091527_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/41/image_04012025_01_41_02_661628_0003.jpg
/home/pi/Desktop/images/04012025/01/42/image_04012025_01_42_02_091527_0000.jpg
/home/pi/Desktop/images/04012025/01/42/image_04012025_01_42_02_091527_0001.jpg
/home/pi/Desktop/images/04012025/01/42/image_04012025_01_42_02_091527_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.473565340042114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:43:02.614397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/41/image_04012025_01_41_02_661628_0003.jpg', '/home/pi/Desktop/images/04012025/01/42/image_04012025_01_42_02_091527_0000.jpg', '/home/pi/Desktop/images/04012025/01/42/image_04012025_01_42_02_091527_0001.jpg', '/home/pi/Desktop/images/04012025/01/42/image_04012025_01_42_02_091527_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/41/image_04012025_01_41_02_661628_0003.jpg
/home/pi/Desktop/images/04012025/01/42/image_04012025_01_42_02_091527_0000.jpg
/home/pi/Desktop/images/04012025/01/42/image_04012025_01_42_02_091527_0001.jpg
/home/pi/Desktop/images/04012025/01/42/image_04012025_01_42_02_091527_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326167414","1326167341","1326167340","1326167343"],"photo_ids_order":["1326167340","1326167341","1326167343","1326167414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/797eb3b7eb9f61308ec743729d6de3e9.jpg","text":"TemporaryFile(/tmp/multipartBody9150878123232954284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951453493,"filename":"image_04012025_01_42_02_091527_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f4892b9963105f13e749d1e4789e3bb5.jpg","text":"TemporaryFile(/tmp/multipartBody6881833775311213861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951453493,"filename":"image_04012025_01_42_02_091527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5720db0b5ac329c6518fe8c5276bf34a.jpg","text":"TemporaryFile(/tmp/multipartBody472556257770415324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951453493,"filename":"image_04012025_01_41_02_661628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9d007f1e91180dd1999065132c02b4d2.jpg","text":"TemporaryFile(/tmp/multipartBody7862684074002661179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951453493,"filename":"image_04012025_01_42_02_091527_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326167343","file1":"1326167341","file0":"1326167340","file3":"1326167414"},"map_files_photo_id_array":[{"photo_id":"1326167343","filename":"file2"},{"photo_id":"1326167341","filename":"file1"},{"photo_id":"1326167340","filename":"file0"},{"photo_id":"1326167414","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326167414":["hashtag1","hashtag2"]},{"1326167341":["hashtag1","hashtag2"]},{"1326167340":["hashtag1","hashtag2"]},{"1326167343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326167414, 1326167341, 1326167340, 1326167343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.83310008049011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:44:02.891065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/42/image_04012025_01_42_02_091527_0003.jpg', '/home/pi/Desktop/images/04012025/01/43/image_04012025_01_43_02_763230_0000.jpg', '/home/pi/Desktop/images/04012025/01/43/image_04012025_01_43_02_763230_0001.jpg', '/home/pi/Desktop/images/04012025/01/43/image_04012025_01_43_02_763230_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/42/image_04012025_01_42_02_091527_0003.jpg
/home/pi/Desktop/images/04012025/01/43/image_04012025_01_43_02_763230_0000.jpg
/home/pi/Desktop/images/04012025/01/43/image_04012025_01_43_02_763230_0001.jpg
/home/pi/Desktop/images/04012025/01/43/image_04012025_01_43_02_763230_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.503668546676636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:44:22.477741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/42/image_04012025_01_42_02_091527_0003.jpg', '/home/pi/Desktop/images/04012025/01/43/image_04012025_01_43_02_763230_0000.jpg', '/home/pi/Desktop/images/04012025/01/43/image_04012025_01_43_02_763230_0001.jpg', '/home/pi/Desktop/images/04012025/01/43/image_04012025_01_43_02_763230_0002.jpg', '/home/pi/Desktop/images/04012025/01/43/image_04012025_01_43_02_763230_0003.jpg', '/home/pi/Desktop/images/04012025/01/44/image_04012025_01_44_02_286211_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/42/image_04012025_01_42_02_091527_0003.jpg
/home/pi/Desktop/images/04012025/01/43/image_04012025_01_43_02_763230_0000.jpg
/home/pi/Desktop/images/04012025/01/43/image_04012025_01_43_02_763230_0001.jpg
/home/pi/Desktop/images/04012025/01/43/image_04012025_01_43_02_763230_0002.jpg
/home/pi/Desktop/images/04012025/01/43/image_04012025_01_43_02_763230_0003.jpg
/home/pi/Desktop/images/04012025/01/44/image_04012025_01_44_02_286211_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326168455","1326168539","1326168562","1326168457","1326168453","1326168665"],"photo_ids_order":["1326168453","1326168455","1326168457","1326168539","1326168562","1326168665"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/812a99cc5414e513354767b9cca12195.jpg","text":"TemporaryFile(/tmp/multipartBody9189614342600271406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951537097,"filename":"image_04012025_01_43_02_763230_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28b675b16cd1ed7a9be9128b05e44857.jpg","text":"TemporaryFile(/tmp/multipartBody5215436244594810885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951537097,"filename":"image_04012025_01_43_02_763230_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d6e89837b74196b59367371e9dc55024.jpg","text":"TemporaryFile(/tmp/multipartBody3621236990776020792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951537097,"filename":"image_04012025_01_43_02_763230_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/df8c477f5238149df07112f67fe3db06.jpg","text":"TemporaryFile(/tmp/multipartBody1522489442882215044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951537097,"filename":"image_04012025_01_43_02_763230_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ddfe98580a5f77a045371de1d8611f52.jpg","text":"TemporaryFile(/tmp/multipartBody3284777734323687429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951537097,"filename":"image_04012025_01_42_02_091527_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d671449d871afd37934440582ff9683b.jpg","text":"TemporaryFile(/tmp/multipartBody945492811563670961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951537097,"filename":"image_04012025_01_44_02_286211_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326168457","file1":"1326168455","file0":"1326168453","file4":"1326168562","file5":"1326168665","file3":"1326168539"},"map_files_photo_id_array":[{"photo_id":"1326168665","filename":"file5"},{"photo_id":"1326168457","filename":"file2"},{"photo_id":"1326168562","filename":"file4"},{"photo_id":"1326168455","filename":"file1"},{"photo_id":"1326168453","filename":"file0"},{"photo_id":"1326168539","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326168455":["hashtag1","hashtag2"]},{"1326168539":["hashtag1","hashtag2"]},{"1326168562":["hashtag1","hashtag2"]},{"1326168457":["hashtag1","hashtag2"]},{"1326168453":["hashtag1","hashtag2"]},{"1326168665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326168455, 1326168539, 1326168562, 1326168457, 1326168453, 1326168665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.75079560279846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:45:21.913758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/44/image_04012025_01_44_02_286211_0001.jpg', '/home/pi/Desktop/images/04012025/01/44/image_04012025_01_44_02_286211_0002.jpg', '/home/pi/Desktop/images/04012025/01/44/image_04012025_01_44_02_286211_0003.jpg', '/home/pi/Desktop/images/04012025/01/45/image_04012025_01_45_02_823865_0000.jpg', '/home/pi/Desktop/images/04012025/01/45/image_04012025_01_45_02_823865_0001.jpg', '/home/pi/Desktop/images/04012025/01/45/image_04012025_01_45_02_823865_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/44/image_04012025_01_44_02_286211_0001.jpg
/home/pi/Desktop/images/04012025/01/44/image_04012025_01_44_02_286211_0002.jpg
/home/pi/Desktop/images/04012025/01/44/image_04012025_01_44_02_286211_0003.jpg
/home/pi/Desktop/images/04012025/01/45/image_04012025_01_45_02_823865_0000.jpg
/home/pi/Desktop/images/04012025/01/45/image_04012025_01_45_02_823865_0001.jpg
/home/pi/Desktop/images/04012025/01/45/image_04012025_01_45_02_823865_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326168752","1326168784","1326168797","1326168782","1326168776","1326168779"],"photo_ids_order":["1326168752","1326168776","1326168779","1326168782","1326168784","1326168797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c724d7b5e7834f8424b9abe059786b58.jpg","text":"TemporaryFile(/tmp/multipartBody3471443618410691003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951593589,"filename":"image_04012025_01_44_02_286211_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1ea29f0199cd6ae9f4ee6d07ef62fda3.jpg","text":"TemporaryFile(/tmp/multipartBody4526958058560804489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951593589,"filename":"image_04012025_01_45_02_823865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ded8a49284a5dc8a08489cb2a2f147e.jpg","text":"TemporaryFile(/tmp/multipartBody1493878210198633401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951593589,"filename":"image_04012025_01_45_02_823865_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5011361f255309482f53716c9eb89f40.jpg","text":"TemporaryFile(/tmp/multipartBody2512529158856591530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951593589,"filename":"image_04012025_01_45_02_823865_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/73585827e3c9c5a1990254703ba1a40f.jpg","text":"TemporaryFile(/tmp/multipartBody7108945332704302400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951593589,"filename":"image_04012025_01_44_02_286211_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc9349b8fc0c9d0f0ec3c2828ee81319.jpg","text":"TemporaryFile(/tmp/multipartBody7571516286125594018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951593589,"filename":"image_04012025_01_44_02_286211_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326168779","file1":"1326168776","file0":"1326168752","file4":"1326168784","file5":"1326168797","file3":"1326168782"},"map_files_photo_id_array":[{"photo_id":"1326168797","filename":"file5"},{"photo_id":"1326168779","filename":"file2"},{"photo_id":"1326168784","filename":"file4"},{"photo_id":"1326168776","filename":"file1"},{"photo_id":"1326168752","filename":"file0"},{"photo_id":"1326168782","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326168752":["hashtag1","hashtag2"]},{"1326168784":["hashtag1","hashtag2"]},{"1326168797":["hashtag1","hashtag2"]},{"1326168782":["hashtag1","hashtag2"]},{"1326168776":["hashtag1","hashtag2"]},{"1326168779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326168752, 1326168784, 1326168797, 1326168782, 1326168776, 1326168779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.25872731208801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:46:22.428994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/45/image_04012025_01_45_02_823865_0003.jpg', '/home/pi/Desktop/images/04012025/01/46/image_04012025_01_46_02_284413_0000.jpg', '/home/pi/Desktop/images/04012025/01/46/image_04012025_01_46_02_284413_0001.jpg', '/home/pi/Desktop/images/04012025/01/46/image_04012025_01_46_02_284413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/45/image_04012025_01_45_02_823865_0003.jpg
/home/pi/Desktop/images/04012025/01/46/image_04012025_01_46_02_284413_0000.jpg
/home/pi/Desktop/images/04012025/01/46/image_04012025_01_46_02_284413_0001.jpg
/home/pi/Desktop/images/04012025/01/46/image_04012025_01_46_02_284413_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326169072","1326169137","1326169134","1326169070"],"photo_ids_order":["1326169070","1326169072","1326169134","1326169137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/895e3dd6c68dea15b6c82037af893ca4.jpg","text":"TemporaryFile(/tmp/multipartBody1055660423792214138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951650080,"filename":"image_04012025_01_46_02_284413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/990d9e9718ea8197b3b49685228087a2.jpg","text":"TemporaryFile(/tmp/multipartBody596103127327716391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951650080,"filename":"image_04012025_01_46_02_284413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6c7562b63aaf636032edd92660b10ada.jpg","text":"TemporaryFile(/tmp/multipartBody1821272420087017680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951650080,"filename":"image_04012025_01_46_02_284413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8dcf72e180a5cdc69d92d16b281e9aa7.jpg","text":"TemporaryFile(/tmp/multipartBody4198643110026952602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951650080,"filename":"image_04012025_01_45_02_823865_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326169134","file1":"1326169072","file0":"1326169070","file3":"1326169137"},"map_files_photo_id_array":[{"photo_id":"1326169134","filename":"file2"},{"photo_id":"1326169072","filename":"file1"},{"photo_id":"1326169070","filename":"file0"},{"photo_id":"1326169137","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326169072":["hashtag1","hashtag2"]},{"1326169137":["hashtag1","hashtag2"]},{"1326169134":["hashtag1","hashtag2"]},{"1326169070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326169072, 1326169137, 1326169134, 1326169070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 35.4247612953186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:47:02.462980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:47:21.869160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/46/image_04012025_01_46_02_284413_0003.jpg', '/home/pi/Desktop/images/04012025/01/47/image_04012025_01_47_02_749720_0000.jpg', '/home/pi/Desktop/images/04012025/01/47/image_04012025_01_47_02_749720_0001.jpg', '/home/pi/Desktop/images/04012025/01/47/image_04012025_01_47_02_749720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/46/image_04012025_01_46_02_284413_0003.jpg
/home/pi/Desktop/images/04012025/01/47/image_04012025_01_47_02_749720_0000.jpg
/home/pi/Desktop/images/04012025/01/47/image_04012025_01_47_02_749720_0001.jpg
/home/pi/Desktop/images/04012025/01/47/image_04012025_01_47_02_749720_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326169963","1326170028","1326169823","1326169733"],"photo_ids_order":["1326169733","1326169823","1326169963","1326170028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1c4ba86ab80c1b8e1d4dc5105f7eaf76.jpg","text":"TemporaryFile(/tmp/multipartBody7388231441118827020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951709957,"filename":"image_04012025_01_47_02_749720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/54d4b5c5d460a4448d293ba394ff5c9e.jpg","text":"TemporaryFile(/tmp/multipartBody6809825653467855041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951709957,"filename":"image_04012025_01_47_02_749720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/09f525e9876eea08937d846bef5cc06a.jpg","text":"TemporaryFile(/tmp/multipartBody965811173882366966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951709957,"filename":"image_04012025_01_47_02_749720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/51398944c8b3ec1d237dc383d48eaabc.jpg","text":"TemporaryFile(/tmp/multipartBody8621400230847194561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951709957,"filename":"image_04012025_01_46_02_284413_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326169963","file1":"1326169823","file0":"1326169733","file3":"1326170028"},"map_files_photo_id_array":[{"photo_id":"1326169963","filename":"file2"},{"photo_id":"1326169823","filename":"file1"},{"photo_id":"1326169733","filename":"file0"},{"photo_id":"1326170028","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326169963":["hashtag1","hashtag2"]},{"1326170028":["hashtag1","hashtag2"]},{"1326169823":["hashtag1","hashtag2"]},{"1326169733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326169963, 1326170028, 1326169823, 1326169733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.605072259902954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:48:22.567550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/47/image_04012025_01_47_02_749720_0003.jpg', '/home/pi/Desktop/images/04012025/01/48/image_04012025_01_48_02_231376_0000.jpg', '/home/pi/Desktop/images/04012025/01/48/image_04012025_01_48_02_231376_0001.jpg', '/home/pi/Desktop/images/04012025/01/48/image_04012025_01_48_02_231376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/47/image_04012025_01_47_02_749720_0003.jpg
/home/pi/Desktop/images/04012025/01/48/image_04012025_01_48_02_231376_0000.jpg
/home/pi/Desktop/images/04012025/01/48/image_04012025_01_48_02_231376_0001.jpg
/home/pi/Desktop/images/04012025/01/48/image_04012025_01_48_02_231376_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.089956283569336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:49:02.659647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/47/image_04012025_01_47_02_749720_0003.jpg', '/home/pi/Desktop/images/04012025/01/48/image_04012025_01_48_02_231376_0000.jpg', '/home/pi/Desktop/images/04012025/01/48/image_04012025_01_48_02_231376_0001.jpg', '/home/pi/Desktop/images/04012025/01/48/image_04012025_01_48_02_231376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/47/image_04012025_01_47_02_749720_0003.jpg
/home/pi/Desktop/images/04012025/01/48/image_04012025_01_48_02_231376_0000.jpg
/home/pi/Desktop/images/04012025/01/48/image_04012025_01_48_02_231376_0001.jpg
/home/pi/Desktop/images/04012025/01/48/image_04012025_01_48_02_231376_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326171265","1326171346","1326171343","1326171341"],"photo_ids_order":["1326171265","1326171341","1326171343","1326171346"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0baf577a6c3ebd0003009c44401b204d.jpg","text":"TemporaryFile(/tmp/multipartBody6724712072739644082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951811168,"filename":"image_04012025_01_47_02_749720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3f25e90f02338c487f9a45c544092813.jpg","text":"TemporaryFile(/tmp/multipartBody2526635297291095109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951811168,"filename":"image_04012025_01_48_02_231376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d657686fa16c7ff1d4d9526751a2c3e6.jpg","text":"TemporaryFile(/tmp/multipartBody4876635297609992436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951811168,"filename":"image_04012025_01_48_02_231376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/61b6c77b170a29d86cf9f44a65e64b47.jpg","text":"TemporaryFile(/tmp/multipartBody5604831542366526028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951811168,"filename":"image_04012025_01_48_02_231376_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326171343","file1":"1326171341","file0":"1326171265","file3":"1326171346"},"map_files_photo_id_array":[{"photo_id":"1326171343","filename":"file2"},{"photo_id":"1326171341","filename":"file1"},{"photo_id":"1326171265","filename":"file0"},{"photo_id":"1326171346","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326171265":["hashtag1","hashtag2"]},{"1326171346":["hashtag1","hashtag2"]},{"1326171343":["hashtag1","hashtag2"]},{"1326171341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326171265, 1326171346, 1326171343, 1326171341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.852675676345825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:50:03.093858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/48/image_04012025_01_48_02_231376_0003.jpg', '/home/pi/Desktop/images/04012025/01/49/image_04012025_01_49_02_904586_0000.jpg', '/home/pi/Desktop/images/04012025/01/49/image_04012025_01_49_02_904586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/48/image_04012025_01_48_02_231376_0003.jpg
/home/pi/Desktop/images/04012025/01/49/image_04012025_01_49_02_904586_0000.jpg
/home/pi/Desktop/images/04012025/01/49/image_04012025_01_49_02_904586_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 6.197426795959473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:50:22.672820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/48/image_04012025_01_48_02_231376_0003.jpg', '/home/pi/Desktop/images/04012025/01/49/image_04012025_01_49_02_904586_0000.jpg', '/home/pi/Desktop/images/04012025/01/49/image_04012025_01_49_02_904586_0002.jpg', '/home/pi/Desktop/images/04012025/01/49/image_04012025_01_49_02_904586_0003.jpg', '/home/pi/Desktop/images/04012025/01/50/image_04012025_01_50_02_405102_0000.jpg', '/home/pi/Desktop/images/04012025/01/50/image_04012025_01_50_02_405102_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/48/image_04012025_01_48_02_231376_0003.jpg
/home/pi/Desktop/images/04012025/01/49/image_04012025_01_49_02_904586_0000.jpg
/home/pi/Desktop/images/04012025/01/49/image_04012025_01_49_02_904586_0002.jpg
/home/pi/Desktop/images/04012025/01/49/image_04012025_01_49_02_904586_0003.jpg
/home/pi/Desktop/images/04012025/01/50/image_04012025_01_50_02_405102_0000.jpg
/home/pi/Desktop/images/04012025/01/50/image_04012025_01_50_02_405102_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326171985","1326171981","1326171978","1326171901","1326171983","1326171950"],"photo_ids_order":["1326171901","1326171950","1326171978","1326171981","1326171983","1326171985"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/20571aad66bcea96dc1ce7df138d5216.jpg","text":"TemporaryFile(/tmp/multipartBody3896269214792181026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951895267,"filename":"image_04012025_01_50_02_405102_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/231287d2fd6eb4195a54fcc0171e5343.jpg","text":"TemporaryFile(/tmp/multipartBody8487189766655249584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951895267,"filename":"image_04012025_01_49_02_904586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/167befcd6700a5c02d52034690dd0d58.jpg","text":"TemporaryFile(/tmp/multipartBody821220975612423180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951895267,"filename":"image_04012025_01_49_02_904586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c65b9a324e36b8994f801500003b638d.jpg","text":"TemporaryFile(/tmp/multipartBody8803172058326585708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951895267,"filename":"image_04012025_01_48_02_231376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/443f87376e20bd992503d404aff69472.jpg","text":"TemporaryFile(/tmp/multipartBody5481339371306110059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951895267,"filename":"image_04012025_01_50_02_405102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8ced8379cfb9796e4300e417fe190ef2.jpg","text":"TemporaryFile(/tmp/multipartBody7951060509716246342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951895267,"filename":"image_04012025_01_49_02_904586_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326171978","file1":"1326171950","file0":"1326171901","file4":"1326171983","file5":"1326171985","file3":"1326171981"},"map_files_photo_id_array":[{"photo_id":"1326171985","filename":"file5"},{"photo_id":"1326171978","filename":"file2"},{"photo_id":"1326171983","filename":"file4"},{"photo_id":"1326171950","filename":"file1"},{"photo_id":"1326171901","filename":"file0"},{"photo_id":"1326171981","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326171985":["hashtag1","hashtag2"]},{"1326171981":["hashtag1","hashtag2"]},{"1326171978":["hashtag1","hashtag2"]},{"1326171901":["hashtag1","hashtag2"]},{"1326171983":["hashtag1","hashtag2"]},{"1326171950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326171985, 1326171981, 1326171978, 1326171901, 1326171983, 1326171950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.89974403381348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:51:22.187680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/50/image_04012025_01_50_02_405102_0002.jpg', '/home/pi/Desktop/images/04012025/01/50/image_04012025_01_50_02_405102_0003.jpg', '/home/pi/Desktop/images/04012025/01/51/image_04012025_01_51_03_045818_0000.jpg', '/home/pi/Desktop/images/04012025/01/51/image_04012025_01_51_03_045818_0001.jpg', '/home/pi/Desktop/images/04012025/01/51/image_04012025_01_51_03_045818_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/50/image_04012025_01_50_02_405102_0002.jpg
/home/pi/Desktop/images/04012025/01/50/image_04012025_01_50_02_405102_0003.jpg
/home/pi/Desktop/images/04012025/01/51/image_04012025_01_51_03_045818_0000.jpg
/home/pi/Desktop/images/04012025/01/51/image_04012025_01_51_03_045818_0001.jpg
/home/pi/Desktop/images/04012025/01/51/image_04012025_01_51_03_045818_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326171991","1326171994","1326171988","1326171996","1326171998"],"photo_ids_order":["1326171988","1326171991","1326171994","1326171996","1326171998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/998a79d99659ab32dfdaa16d88b82d10.jpg","text":"TemporaryFile(/tmp/multipartBody7846898998234647069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951953250,"filename":"image_04012025_01_50_02_405102_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8081fc2c7f5a7dafb5dd21b147a7ce61.jpg","text":"TemporaryFile(/tmp/multipartBody560399681809435929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951953250,"filename":"image_04012025_01_51_03_045818_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5283bbac2641beb3242d644402b1ef9a.jpg","text":"TemporaryFile(/tmp/multipartBody8386406912177600896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951953250,"filename":"image_04012025_01_50_02_405102_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d5feba8e4624731468d5cedb2959f1b7.jpg","text":"TemporaryFile(/tmp/multipartBody890883501966895444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951953250,"filename":"image_04012025_01_51_03_045818_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/14092d8e9186f7471f876562b205db0a.jpg","text":"TemporaryFile(/tmp/multipartBody9107826289961512932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735951953250,"filename":"image_04012025_01_51_03_045818_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326171994","file1":"1326171991","file0":"1326171988","file4":"1326171998","file3":"1326171996"},"map_files_photo_id_array":[{"photo_id":"1326171994","filename":"file2"},{"photo_id":"1326171998","filename":"file4"},{"photo_id":"1326171991","filename":"file1"},{"photo_id":"1326171988","filename":"file0"},{"photo_id":"1326171996","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326171991":["hashtag1","hashtag2"]},{"1326171994":["hashtag1","hashtag2"]},{"1326171988":["hashtag1","hashtag2"]},{"1326171996":["hashtag1","hashtag2"]},{"1326171998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326171991, 1326171994, 1326171988, 1326171996, 1326171998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.542367935180664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:52:22.658635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/51/image_04012025_01_51_03_045818_0003.jpg', '/home/pi/Desktop/images/04012025/01/52/image_04012025_01_52_02_550302_0000.jpg', '/home/pi/Desktop/images/04012025/01/52/image_04012025_01_52_02_550302_0001.jpg', '/home/pi/Desktop/images/04012025/01/52/image_04012025_01_52_02_550302_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/51/image_04012025_01_51_03_045818_0003.jpg
/home/pi/Desktop/images/04012025/01/52/image_04012025_01_52_02_550302_0000.jpg
/home/pi/Desktop/images/04012025/01/52/image_04012025_01_52_02_550302_0001.jpg
/home/pi/Desktop/images/04012025/01/52/image_04012025_01_52_02_550302_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326172329","1326172037","1326172238","1326172118"],"photo_ids_order":["1326172037","1326172118","1326172238","1326172329"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/94e33d5697b05763ed39ffbc57191a98.jpg","text":"TemporaryFile(/tmp/multipartBody1861444271792600049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952012581,"filename":"image_04012025_01_52_02_550302_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/78c72d8727f8356618ab7494aab999e4.jpg","text":"TemporaryFile(/tmp/multipartBody1178816046395343465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952012581,"filename":"image_04012025_01_51_03_045818_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e506409451b5d695af275a910633d7dc.jpg","text":"TemporaryFile(/tmp/multipartBody3488881740994186928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952012581,"filename":"image_04012025_01_52_02_550302_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b7acffe9781cb12f08f980b10cc4963c.jpg","text":"TemporaryFile(/tmp/multipartBody5256978679013928664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952012581,"filename":"image_04012025_01_52_02_550302_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326172238","file1":"1326172118","file0":"1326172037","file3":"1326172329"},"map_files_photo_id_array":[{"photo_id":"1326172238","filename":"file2"},{"photo_id":"1326172118","filename":"file1"},{"photo_id":"1326172037","filename":"file0"},{"photo_id":"1326172329","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326172329":["hashtag1","hashtag2"]},{"1326172037":["hashtag1","hashtag2"]},{"1326172238":["hashtag1","hashtag2"]},{"1326172118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326172329, 1326172037, 1326172238, 1326172118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.760944843292236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:53:02.886607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:53:22.263344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/52/image_04012025_01_52_02_550302_0003.jpg', '/home/pi/Desktop/images/04012025/01/53/image_04012025_01_53_03_058344_0000.jpg', '/home/pi/Desktop/images/04012025/01/53/image_04012025_01_53_03_058344_0001.jpg', '/home/pi/Desktop/images/04012025/01/53/image_04012025_01_53_03_058344_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/52/image_04012025_01_52_02_550302_0003.jpg
/home/pi/Desktop/images/04012025/01/53/image_04012025_01_53_03_058344_0000.jpg
/home/pi/Desktop/images/04012025/01/53/image_04012025_01_53_03_058344_0001.jpg
/home/pi/Desktop/images/04012025/01/53/image_04012025_01_53_03_058344_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326173061","1326172881","1326173234","1326173185"],"photo_ids_order":["1326172881","1326173061","1326173185","1326173234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e87049b7e2ddfe18fefaf81efd486685.jpg","text":"TemporaryFile(/tmp/multipartBody793955382452469854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952072214,"filename":"image_04012025_01_53_03_058344_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/408b30ea42bc9ee6b6492554440c4c7f.jpg","text":"TemporaryFile(/tmp/multipartBody3752944404630679460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952072214,"filename":"image_04012025_01_52_02_550302_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9aa3d3532c92e356966e3be2543345fd.jpg","text":"TemporaryFile(/tmp/multipartBody3134775938798568742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952072214,"filename":"image_04012025_01_53_03_058344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b4004c0b76f5f502d66dac4b4ee495e4.jpg","text":"TemporaryFile(/tmp/multipartBody3137481022970970554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952072214,"filename":"image_04012025_01_53_03_058344_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326173185","file1":"1326173061","file0":"1326172881","file3":"1326173234"},"map_files_photo_id_array":[{"photo_id":"1326173185","filename":"file2"},{"photo_id":"1326173061","filename":"file1"},{"photo_id":"1326172881","filename":"file0"},{"photo_id":"1326173234","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326173061":["hashtag1","hashtag2"]},{"1326172881":["hashtag1","hashtag2"]},{"1326173234":["hashtag1","hashtag2"]},{"1326173185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326173061, 1326172881, 1326173234, 1326173185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.715540647506714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:54:02.207861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:54:21.836295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/53/image_04012025_01_53_03_058344_0003.jpg', '/home/pi/Desktop/images/04012025/01/54/image_04012025_01_54_02_561117_0000.jpg', '/home/pi/Desktop/images/04012025/01/54/image_04012025_01_54_02_561117_0001.jpg', '/home/pi/Desktop/images/04012025/01/54/image_04012025_01_54_02_561117_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/53/image_04012025_01_53_03_058344_0003.jpg
/home/pi/Desktop/images/04012025/01/54/image_04012025_01_54_02_561117_0000.jpg
/home/pi/Desktop/images/04012025/01/54/image_04012025_01_54_02_561117_0001.jpg
/home/pi/Desktop/images/04012025/01/54/image_04012025_01_54_02_561117_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.023434400558472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:55:02.921372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/53/image_04012025_01_53_03_058344_0003.jpg', '/home/pi/Desktop/images/04012025/01/54/image_04012025_01_54_02_561117_0000.jpg', '/home/pi/Desktop/images/04012025/01/54/image_04012025_01_54_02_561117_0001.jpg', '/home/pi/Desktop/images/04012025/01/54/image_04012025_01_54_02_561117_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/53/image_04012025_01_53_03_058344_0003.jpg
/home/pi/Desktop/images/04012025/01/54/image_04012025_01_54_02_561117_0000.jpg
/home/pi/Desktop/images/04012025/01/54/image_04012025_01_54_02_561117_0001.jpg
/home/pi/Desktop/images/04012025/01/54/image_04012025_01_54_02_561117_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326173897","1326173901","1326173903","1326174052"],"photo_ids_order":["1326173897","1326173901","1326173903","1326174052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f0b4d3402849f028cb1329db1aa7542.jpg","text":"TemporaryFile(/tmp/multipartBody8814132254792847299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952173384,"filename":"image_04012025_01_53_03_058344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/551d3d4826a109657b41229caab94f64.jpg","text":"TemporaryFile(/tmp/multipartBody2876442319591312792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952173384,"filename":"image_04012025_01_54_02_561117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9913c979d73a829355cf4a4d3c4c5334.jpg","text":"TemporaryFile(/tmp/multipartBody3314951277254210160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952173384,"filename":"image_04012025_01_54_02_561117_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/907e21b8bbefa16c6b1b63ce2e12ae44.jpg","text":"TemporaryFile(/tmp/multipartBody1059829358006379482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952173384,"filename":"image_04012025_01_54_02_561117_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326173903","file1":"1326173901","file0":"1326173897","file3":"1326174052"},"map_files_photo_id_array":[{"photo_id":"1326173903","filename":"file2"},{"photo_id":"1326173901","filename":"file1"},{"photo_id":"1326173897","filename":"file0"},{"photo_id":"1326174052","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326173897":["hashtag1","hashtag2"]},{"1326173901":["hashtag1","hashtag2"]},{"1326173903":["hashtag1","hashtag2"]},{"1326174052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326173897, 1326173901, 1326173903, 1326174052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.933382511138916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 01:56:02.125006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/54/image_04012025_01_54_02_561117_0003.jpg', '/home/pi/Desktop/images/04012025/01/55/image_04012025_01_55_02_181306_0000.jpg', '/home/pi/Desktop/images/04012025/01/55/image_04012025_01_55_02_181306_0001.jpg', '/home/pi/Desktop/images/04012025/01/55/image_04012025_01_55_02_181306_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/54/image_04012025_01_54_02_561117_0003.jpg
/home/pi/Desktop/images/04012025/01/55/image_04012025_01_55_02_181306_0000.jpg
/home/pi/Desktop/images/04012025/01/55/image_04012025_01_55_02_181306_0001.jpg
/home/pi/Desktop/images/04012025/01/55/image_04012025_01_55_02_181306_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.99709153175354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:56:21.856294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/54/image_04012025_01_54_02_561117_0003.jpg', '/home/pi/Desktop/images/04012025/01/55/image_04012025_01_55_02_181306_0000.jpg', '/home/pi/Desktop/images/04012025/01/55/image_04012025_01_55_02_181306_0001.jpg', '/home/pi/Desktop/images/04012025/01/55/image_04012025_01_55_02_181306_0002.jpg', '/home/pi/Desktop/images/04012025/01/55/image_04012025_01_55_02_181306_0003.jpg', '/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/54/image_04012025_01_54_02_561117_0003.jpg
/home/pi/Desktop/images/04012025/01/55/image_04012025_01_55_02_181306_0000.jpg
/home/pi/Desktop/images/04012025/01/55/image_04012025_01_55_02_181306_0001.jpg
/home/pi/Desktop/images/04012025/01/55/image_04012025_01_55_02_181306_0002.jpg
/home/pi/Desktop/images/04012025/01/55/image_04012025_01_55_02_181306_0003.jpg
/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326174414","1326174479","1326174493","1326174410","1326174526","1326174412"],"photo_ids_order":["1326174410","1326174412","1326174414","1326174479","1326174493","1326174526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a3ce998ba1546ed45122cfe7d01594e2.jpg","text":"TemporaryFile(/tmp/multipartBody6677109370988772814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952257008,"filename":"image_04012025_01_55_02_181306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4448c108a81c26498657502597ae1b47.jpg","text":"TemporaryFile(/tmp/multipartBody6352665147998994145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952257008,"filename":"image_04012025_01_55_02_181306_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db0b313f0a228aa477c116c9b68781dc.jpg","text":"TemporaryFile(/tmp/multipartBody7145120278177840109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952257008,"filename":"image_04012025_01_55_02_181306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6ae7c072f185f9e50da7955c04407d41.jpg","text":"TemporaryFile(/tmp/multipartBody7400756925227210665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952257008,"filename":"image_04012025_01_54_02_561117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3cacada9ed688aea4e0d705ece483c8c.jpg","text":"TemporaryFile(/tmp/multipartBody6856176663065499979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952257008,"filename":"image_04012025_01_56_02_644939_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6114946a03a156b00ffebd2a6b4057b5.jpg","text":"TemporaryFile(/tmp/multipartBody7714270104560833613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952257008,"filename":"image_04012025_01_55_02_181306_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326174414","file1":"1326174412","file0":"1326174410","file4":"1326174493","file5":"1326174526","file3":"1326174479"},"map_files_photo_id_array":[{"photo_id":"1326174526","filename":"file5"},{"photo_id":"1326174414","filename":"file2"},{"photo_id":"1326174493","filename":"file4"},{"photo_id":"1326174412","filename":"file1"},{"photo_id":"1326174410","filename":"file0"},{"photo_id":"1326174479","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326174414":["hashtag1","hashtag2"]},{"1326174479":["hashtag1","hashtag2"]},{"1326174493":["hashtag1","hashtag2"]},{"1326174410":["hashtag1","hashtag2"]},{"1326174526":["hashtag1","hashtag2"]},{"1326174412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326174414, 1326174479, 1326174493, 1326174410, 1326174526, 1326174412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.535199880599976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:57:22.393844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0001.jpg', '/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0002.jpg', '/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0003.jpg', '/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0000.jpg', '/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0001.jpg', '/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0001.jpg
/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0002.jpg
/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0003.jpg
/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0000.jpg
/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0001.jpg
/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_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-04 01:59:02.714105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0001.jpg', '/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0002.jpg', '/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0003.jpg', '/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0000.jpg', '/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0001.jpg', '/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0001.jpg
/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0002.jpg
/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0003.jpg
/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0000.jpg
/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0001.jpg
/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.66859745979309 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 01:59:22.009843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0001.jpg', '/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0002.jpg', '/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0003.jpg', '/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0000.jpg', '/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0001.jpg', '/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0001.jpg
/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0002.jpg
/home/pi/Desktop/images/04012025/01/56/image_04012025_01_56_02_644939_0003.jpg
/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0000.jpg
/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0001.jpg
/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326177005","1326177001","1326177000","1326176988","1326177003","1326176879"],"photo_ids_order":["1326176879","1326176988","1326177000","1326177001","1326177003","1326177005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0f2960713af9cafba3e0460c4528a764.jpg","text":"TemporaryFile(/tmp/multipartBody5151499855693872400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952437030,"filename":"image_04012025_01_57_02_300841_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e46ce27bae5e7359fc28b3961f31e7f5.jpg","text":"TemporaryFile(/tmp/multipartBody6062505044210301036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952437030,"filename":"image_04012025_01_57_02_300841_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e2b4054869e42fc10cbc3e9224f45e2f.jpg","text":"TemporaryFile(/tmp/multipartBody179478814166632454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952437030,"filename":"image_04012025_01_56_02_644939_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bd03a1fb6e99e90207126fbbfd5aa3e8.jpg","text":"TemporaryFile(/tmp/multipartBody9012059678361789563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952437030,"filename":"image_04012025_01_56_02_644939_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30d7ae4190c4bd122249cc2482f483bc.jpg","text":"TemporaryFile(/tmp/multipartBody1801666902423884483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952437030,"filename":"image_04012025_01_57_02_300841_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0561b577eb5fb956671963bd9f3fd89.jpg","text":"TemporaryFile(/tmp/multipartBody3828763668919977593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952437030,"filename":"image_04012025_01_56_02_644939_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326177000","file1":"1326176988","file0":"1326176879","file4":"1326177003","file5":"1326177005","file3":"1326177001"},"map_files_photo_id_array":[{"photo_id":"1326177005","filename":"file5"},{"photo_id":"1326177000","filename":"file2"},{"photo_id":"1326177003","filename":"file4"},{"photo_id":"1326176988","filename":"file1"},{"photo_id":"1326176879","filename":"file0"},{"photo_id":"1326177001","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326177005":["hashtag1","hashtag2"]},{"1326177001":["hashtag1","hashtag2"]},{"1326177000":["hashtag1","hashtag2"]},{"1326176988":["hashtag1","hashtag2"]},{"1326177003":["hashtag1","hashtag2"]},{"1326176879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326177005, 1326177001, 1326177000, 1326176988, 1326177003, 1326176879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.60933876037598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:00:22.626901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0003.jpg', '/home/pi/Desktop/images/04012025/01/58/image_04012025_01_58_02_808661_0000.jpg', '/home/pi/Desktop/images/04012025/01/58/image_04012025_01_58_02_808661_0001.jpg', '/home/pi/Desktop/images/04012025/01/58/image_04012025_01_58_02_808661_0002.jpg', '/home/pi/Desktop/images/04012025/01/58/image_04012025_01_58_02_808661_0003.jpg', '/home/pi/Desktop/images/04012025/01/59/image_04012025_01_59_02_362167_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/57/image_04012025_01_57_02_300841_0003.jpg
/home/pi/Desktop/images/04012025/01/58/image_04012025_01_58_02_808661_0000.jpg
/home/pi/Desktop/images/04012025/01/58/image_04012025_01_58_02_808661_0001.jpg
/home/pi/Desktop/images/04012025/01/58/image_04012025_01_58_02_808661_0002.jpg
/home/pi/Desktop/images/04012025/01/58/image_04012025_01_58_02_808661_0003.jpg
/home/pi/Desktop/images/04012025/01/59/image_04012025_01_59_02_362167_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326177130","1326177517","1326177393","1326177219","1326177515","1326177128"],"photo_ids_order":["1326177128","1326177130","1326177219","1326177393","1326177515","1326177517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/11ecace27736f6109a75773dd370ccdd.jpg","text":"TemporaryFile(/tmp/multipartBody8895670722237894834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952497732,"filename":"image_04012025_01_58_02_808661_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/003a1eee3dbe5343cef02222ed4f69eb.jpg","text":"TemporaryFile(/tmp/multipartBody6479823290905338239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952497732,"filename":"image_04012025_01_59_02_362167_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/97618a16ce898519b734e44772e00d45.jpg","text":"TemporaryFile(/tmp/multipartBody3578168255271800580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952497732,"filename":"image_04012025_01_58_02_808661_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2fa9f2f374a85a5c0a66c1df92b5a6dc.jpg","text":"TemporaryFile(/tmp/multipartBody530172963094522720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952497732,"filename":"image_04012025_01_58_02_808661_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed4aa7b650bea59d7dbdc7bf92bf1b69.jpg","text":"TemporaryFile(/tmp/multipartBody5573943460426028254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952497732,"filename":"image_04012025_01_58_02_808661_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3ce310957ea30abe944e473539aadca1.jpg","text":"TemporaryFile(/tmp/multipartBody287382742446488132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952497732,"filename":"image_04012025_01_57_02_300841_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326177219","file1":"1326177130","file0":"1326177128","file4":"1326177515","file5":"1326177517","file3":"1326177393"},"map_files_photo_id_array":[{"photo_id":"1326177517","filename":"file5"},{"photo_id":"1326177219","filename":"file2"},{"photo_id":"1326177515","filename":"file4"},{"photo_id":"1326177130","filename":"file1"},{"photo_id":"1326177128","filename":"file0"},{"photo_id":"1326177393","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326177130":["hashtag1","hashtag2"]},{"1326177517":["hashtag1","hashtag2"]},{"1326177393":["hashtag1","hashtag2"]},{"1326177219":["hashtag1","hashtag2"]},{"1326177515":["hashtag1","hashtag2"]},{"1326177128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326177130, 1326177517, 1326177393, 1326177219, 1326177515, 1326177128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.78386044502258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:01:22.137754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/59/image_04012025_01_59_02_362167_0001.jpg', '/home/pi/Desktop/images/04012025/01/59/image_04012025_01_59_02_362167_0002.jpg', '/home/pi/Desktop/images/04012025/01/59/image_04012025_01_59_02_362167_0003.jpg', '/home/pi/Desktop/images/04012025/02/00/image_04012025_02_00_02_487176_0000.jpg', '/home/pi/Desktop/images/04012025/02/00/image_04012025_02_00_02_487176_0001.jpg', '/home/pi/Desktop/images/04012025/02/00/image_04012025_02_00_02_487176_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/59/image_04012025_01_59_02_362167_0001.jpg
/home/pi/Desktop/images/04012025/01/59/image_04012025_01_59_02_362167_0002.jpg
/home/pi/Desktop/images/04012025/01/59/image_04012025_01_59_02_362167_0003.jpg
/home/pi/Desktop/images/04012025/02/00/image_04012025_02_00_02_487176_0000.jpg
/home/pi/Desktop/images/04012025/02/00/image_04012025_02_00_02_487176_0001.jpg
/home/pi/Desktop/images/04012025/02/00/image_04012025_02_00_02_487176_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.875341176986694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:02:03.159603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/01/59/image_04012025_01_59_02_362167_0001.jpg', '/home/pi/Desktop/images/04012025/01/59/image_04012025_01_59_02_362167_0002.jpg', '/home/pi/Desktop/images/04012025/01/59/image_04012025_01_59_02_362167_0003.jpg', '/home/pi/Desktop/images/04012025/02/00/image_04012025_02_00_02_487176_0000.jpg', '/home/pi/Desktop/images/04012025/02/00/image_04012025_02_00_02_487176_0001.jpg', '/home/pi/Desktop/images/04012025/02/00/image_04012025_02_00_02_487176_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/01/59/image_04012025_01_59_02_362167_0001.jpg
/home/pi/Desktop/images/04012025/01/59/image_04012025_01_59_02_362167_0002.jpg
/home/pi/Desktop/images/04012025/01/59/image_04012025_01_59_02_362167_0003.jpg
/home/pi/Desktop/images/04012025/02/00/image_04012025_02_00_02_487176_0000.jpg
/home/pi/Desktop/images/04012025/02/00/image_04012025_02_00_02_487176_0001.jpg
/home/pi/Desktop/images/04012025/02/00/image_04012025_02_00_02_487176_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326177687","1326177822","1326177744","1326177689","1326177824","1326177653"],"photo_ids_order":["1326177653","1326177687","1326177689","1326177744","1326177822","1326177824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ee3a6a3e66b4140b3afad7e8f955b52d.jpg","text":"TemporaryFile(/tmp/multipartBody9206722353226281123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952598440,"filename":"image_04012025_01_59_02_362167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3d8f1aed123ec53e97e8a1d7346edfe2.jpg","text":"TemporaryFile(/tmp/multipartBody4258642780649326177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952598440,"filename":"image_04012025_02_00_02_487176_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2c1fb8867f6fa916722fb122092f2400.jpg","text":"TemporaryFile(/tmp/multipartBody5218405198555665285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952598440,"filename":"image_04012025_02_00_02_487176_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d7ac6edba6045e5106325befe280577.jpg","text":"TemporaryFile(/tmp/multipartBody1416298271914432290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952598440,"filename":"image_04012025_01_59_02_362167_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/05b78e3301ff810df0810afdf86873dc.jpg","text":"TemporaryFile(/tmp/multipartBody2400587312305053748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952598440,"filename":"image_04012025_02_00_02_487176_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6de2cc298e0096c441f8551ad34e7c15.jpg","text":"TemporaryFile(/tmp/multipartBody2077728766715382519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952598440,"filename":"image_04012025_01_59_02_362167_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326177689","file1":"1326177687","file0":"1326177653","file4":"1326177822","file5":"1326177824","file3":"1326177744"},"map_files_photo_id_array":[{"photo_id":"1326177824","filename":"file5"},{"photo_id":"1326177689","filename":"file2"},{"photo_id":"1326177822","filename":"file4"},{"photo_id":"1326177687","filename":"file1"},{"photo_id":"1326177653","filename":"file0"},{"photo_id":"1326177744","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326177687":["hashtag1","hashtag2"]},{"1326177822":["hashtag1","hashtag2"]},{"1326177744":["hashtag1","hashtag2"]},{"1326177689":["hashtag1","hashtag2"]},{"1326177824":["hashtag1","hashtag2"]},{"1326177653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326177687, 1326177822, 1326177744, 1326177689, 1326177824, 1326177653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.64825391769409 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:03:02.932773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/00/image_04012025_02_00_02_487176_0003.jpg', '/home/pi/Desktop/images/04012025/02/01/image_04012025_02_01_03_003268_0000.jpg', '/home/pi/Desktop/images/04012025/02/01/image_04012025_02_01_03_003268_0001.jpg', '/home/pi/Desktop/images/04012025/02/01/image_04012025_02_01_03_003268_0002.jpg', '/home/pi/Desktop/images/04012025/02/01/image_04012025_02_01_03_003268_0003.jpg', '/home/pi/Desktop/images/04012025/02/02/image_04012025_02_02_02_542275_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/00/image_04012025_02_00_02_487176_0003.jpg
/home/pi/Desktop/images/04012025/02/01/image_04012025_02_01_03_003268_0000.jpg
/home/pi/Desktop/images/04012025/02/01/image_04012025_02_01_03_003268_0001.jpg
/home/pi/Desktop/images/04012025/02/01/image_04012025_02_01_03_003268_0002.jpg
/home/pi/Desktop/images/04012025/02/01/image_04012025_02_01_03_003268_0003.jpg
/home/pi/Desktop/images/04012025/02/02/image_04012025_02_02_02_542275_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.90893006324768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:03:22.169031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/00/image_04012025_02_00_02_487176_0003.jpg', '/home/pi/Desktop/images/04012025/02/01/image_04012025_02_01_03_003268_0000.jpg', '/home/pi/Desktop/images/04012025/02/01/image_04012025_02_01_03_003268_0001.jpg', '/home/pi/Desktop/images/04012025/02/01/image_04012025_02_01_03_003268_0002.jpg', '/home/pi/Desktop/images/04012025/02/01/image_04012025_02_01_03_003268_0003.jpg', '/home/pi/Desktop/images/04012025/02/02/image_04012025_02_02_02_542275_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/00/image_04012025_02_00_02_487176_0003.jpg
/home/pi/Desktop/images/04012025/02/01/image_04012025_02_01_03_003268_0000.jpg
/home/pi/Desktop/images/04012025/02/01/image_04012025_02_01_03_003268_0001.jpg
/home/pi/Desktop/images/04012025/02/01/image_04012025_02_01_03_003268_0002.jpg
/home/pi/Desktop/images/04012025/02/01/image_04012025_02_01_03_003268_0003.jpg
/home/pi/Desktop/images/04012025/02/02/image_04012025_02_02_02_542275_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326179049","1326179051","1326178979","1326179092","1326178955","1326178930"],"photo_ids_order":["1326178930","1326178955","1326178979","1326179049","1326179051","1326179092"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8606b34473a60464f54b81985ea1dfc8.jpg","text":"TemporaryFile(/tmp/multipartBody947418252142310710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952677448,"filename":"image_04012025_02_01_03_003268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4c4ce1de49b103b22ff7956e77b89e20.jpg","text":"TemporaryFile(/tmp/multipartBody2930100531324778952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952677448,"filename":"image_04012025_02_01_03_003268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/31d135d325acd886402a4e4c939f8bb5.jpg","text":"TemporaryFile(/tmp/multipartBody228628126157060725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952677448,"filename":"image_04012025_02_01_03_003268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e8a6d3e9598e12619d97c5eb5d02e3a1.jpg","text":"TemporaryFile(/tmp/multipartBody3078229716943283311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952677448,"filename":"image_04012025_02_02_02_542275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0690028e80fe988d92df45165b08816a.jpg","text":"TemporaryFile(/tmp/multipartBody7559040646466071217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952677448,"filename":"image_04012025_02_01_03_003268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ba9ecf2e08fee613ffbd7bdf6093d09.jpg","text":"TemporaryFile(/tmp/multipartBody4750292089687580716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952677448,"filename":"image_04012025_02_00_02_487176_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326178979","file1":"1326178955","file0":"1326178930","file4":"1326179051","file5":"1326179092","file3":"1326179049"},"map_files_photo_id_array":[{"photo_id":"1326179092","filename":"file5"},{"photo_id":"1326178979","filename":"file2"},{"photo_id":"1326179051","filename":"file4"},{"photo_id":"1326178955","filename":"file1"},{"photo_id":"1326178930","filename":"file0"},{"photo_id":"1326179049","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326179049":["hashtag1","hashtag2"]},{"1326179051":["hashtag1","hashtag2"]},{"1326178979":["hashtag1","hashtag2"]},{"1326179092":["hashtag1","hashtag2"]},{"1326178955":["hashtag1","hashtag2"]},{"1326178930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326179049, 1326179051, 1326178979, 1326179092, 1326178955, 1326178930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.36287832260132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:04:21.854655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/02/image_04012025_02_02_02_542275_0001.jpg', '/home/pi/Desktop/images/04012025/02/02/image_04012025_02_02_02_542275_0002.jpg', '/home/pi/Desktop/images/04012025/02/02/image_04012025_02_02_02_542275_0003.jpg', '/home/pi/Desktop/images/04012025/02/03/image_04012025_02_03_03_012208_0000.jpg', '/home/pi/Desktop/images/04012025/02/03/image_04012025_02_03_03_012208_0001.jpg', '/home/pi/Desktop/images/04012025/02/03/image_04012025_02_03_03_012208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/02/image_04012025_02_02_02_542275_0001.jpg
/home/pi/Desktop/images/04012025/02/02/image_04012025_02_02_02_542275_0002.jpg
/home/pi/Desktop/images/04012025/02/02/image_04012025_02_02_02_542275_0003.jpg
/home/pi/Desktop/images/04012025/02/03/image_04012025_02_03_03_012208_0000.jpg
/home/pi/Desktop/images/04012025/02/03/image_04012025_02_03_03_012208_0001.jpg
/home/pi/Desktop/images/04012025/02/03/image_04012025_02_03_03_012208_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326179589","1326179652","1326179526","1326179360","1326179546","1326179513"],"photo_ids_order":["1326179360","1326179513","1326179526","1326179546","1326179589","1326179652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e3217a2bc631b39cca4d1f846453cf28.jpg","text":"TemporaryFile(/tmp/multipartBody7829587780413113822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952737047,"filename":"image_04012025_02_03_03_012208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c5cbee81d1083fff5779051acb55ff6f.jpg","text":"TemporaryFile(/tmp/multipartBody7310399211444073451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952737047,"filename":"image_04012025_02_03_03_012208_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7e0d70df10ce0f726d439ec90d0f8150.jpg","text":"TemporaryFile(/tmp/multipartBody2283287075370499768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952737047,"filename":"image_04012025_02_02_02_542275_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c59363b004d5f648609a86af2a940f7d.jpg","text":"TemporaryFile(/tmp/multipartBody8216352090228943236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952737047,"filename":"image_04012025_02_02_02_542275_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6484632b1591b9acfad47b609429555a.jpg","text":"TemporaryFile(/tmp/multipartBody1570890268615118921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952737047,"filename":"image_04012025_02_03_03_012208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2b8eee5310b1fcb1602780bd1e379c1a.jpg","text":"TemporaryFile(/tmp/multipartBody2420513628864846202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952737047,"filename":"image_04012025_02_02_02_542275_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326179526","file1":"1326179513","file0":"1326179360","file4":"1326179589","file5":"1326179652","file3":"1326179546"},"map_files_photo_id_array":[{"photo_id":"1326179652","filename":"file5"},{"photo_id":"1326179526","filename":"file2"},{"photo_id":"1326179589","filename":"file4"},{"photo_id":"1326179513","filename":"file1"},{"photo_id":"1326179360","filename":"file0"},{"photo_id":"1326179546","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326179589":["hashtag1","hashtag2"]},{"1326179652":["hashtag1","hashtag2"]},{"1326179526":["hashtag1","hashtag2"]},{"1326179360":["hashtag1","hashtag2"]},{"1326179546":["hashtag1","hashtag2"]},{"1326179513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326179589, 1326179652, 1326179526, 1326179360, 1326179546, 1326179513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.596856355667114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:05:22.352106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/03/image_04012025_02_03_03_012208_0003.jpg', '/home/pi/Desktop/images/04012025/02/04/image_04012025_02_04_02_578265_0001.jpg', '/home/pi/Desktop/images/04012025/02/04/image_04012025_02_04_02_578265_0002.jpg', '/home/pi/Desktop/images/04012025/02/04/image_04012025_02_04_02_578265_0003.jpg', '/home/pi/Desktop/images/04012025/02/05/image_04012025_02_05_02_148917_0000.jpg', '/home/pi/Desktop/images/04012025/02/05/image_04012025_02_05_02_148917_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/03/image_04012025_02_03_03_012208_0003.jpg
/home/pi/Desktop/images/04012025/02/04/image_04012025_02_04_02_578265_0001.jpg
/home/pi/Desktop/images/04012025/02/04/image_04012025_02_04_02_578265_0002.jpg
/home/pi/Desktop/images/04012025/02/04/image_04012025_02_04_02_578265_0003.jpg
/home/pi/Desktop/images/04012025/02/05/image_04012025_02_05_02_148917_0000.jpg
/home/pi/Desktop/images/04012025/02/05/image_04012025_02_05_02_148917_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326179803","1326179805","1326179801","1326179791","1326179797","1326179799"],"photo_ids_order":["1326179791","1326179797","1326179799","1326179801","1326179803","1326179805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fa624e5ff3ec8288d970cb45e38f47da.jpg","text":"TemporaryFile(/tmp/multipartBody7201343857186190875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952797540,"filename":"image_04012025_02_05_02_148917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/22f14566bf3497b088ba809c0831c0cf.jpg","text":"TemporaryFile(/tmp/multipartBody7100404066030874864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952797540,"filename":"image_04012025_02_05_02_148917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f18d03b87d18d429ad4038319af02015.jpg","text":"TemporaryFile(/tmp/multipartBody863321538845047700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952797540,"filename":"image_04012025_02_04_02_578265_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e454248b49ad9e3a8ff8544766ed707c.jpg","text":"TemporaryFile(/tmp/multipartBody6856256837566904807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952797540,"filename":"image_04012025_02_03_03_012208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/07136545d7487e511c808128bd04cc5c.jpg","text":"TemporaryFile(/tmp/multipartBody9073186539129583962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952797540,"filename":"image_04012025_02_04_02_578265_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/525ad585f13155fac9fbb7a8bd64d4e6.jpg","text":"TemporaryFile(/tmp/multipartBody4415825485859060391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952797540,"filename":"image_04012025_02_04_02_578265_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326179799","file1":"1326179797","file0":"1326179791","file4":"1326179803","file5":"1326179805","file3":"1326179801"},"map_files_photo_id_array":[{"photo_id":"1326179805","filename":"file5"},{"photo_id":"1326179799","filename":"file2"},{"photo_id":"1326179803","filename":"file4"},{"photo_id":"1326179797","filename":"file1"},{"photo_id":"1326179791","filename":"file0"},{"photo_id":"1326179801","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326179803":["hashtag1","hashtag2"]},{"1326179805":["hashtag1","hashtag2"]},{"1326179801":["hashtag1","hashtag2"]},{"1326179791":["hashtag1","hashtag2"]},{"1326179797":["hashtag1","hashtag2"]},{"1326179799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326179803, 1326179805, 1326179801, 1326179791, 1326179797, 1326179799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.71324038505554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:06:21.850009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/05/image_04012025_02_05_02_148917_0002.jpg', '/home/pi/Desktop/images/04012025/02/05/image_04012025_02_05_02_148917_0003.jpg', '/home/pi/Desktop/images/04012025/02/06/image_04012025_02_06_02_712589_0000.jpg', '/home/pi/Desktop/images/04012025/02/06/image_04012025_02_06_02_712589_0001.jpg', '/home/pi/Desktop/images/04012025/02/06/image_04012025_02_06_02_712589_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/05/image_04012025_02_05_02_148917_0002.jpg
/home/pi/Desktop/images/04012025/02/05/image_04012025_02_05_02_148917_0003.jpg
/home/pi/Desktop/images/04012025/02/06/image_04012025_02_06_02_712589_0000.jpg
/home/pi/Desktop/images/04012025/02/06/image_04012025_02_06_02_712589_0001.jpg
/home/pi/Desktop/images/04012025/02/06/image_04012025_02_06_02_712589_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326180087","1326180089","1326180086","1326180221","1326180091"],"photo_ids_order":["1326180086","1326180087","1326180089","1326180091","1326180221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6449d40e00c855d15d8a2edaa48a4774.jpg","text":"TemporaryFile(/tmp/multipartBody6166161842614309546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952854529,"filename":"image_04012025_02_05_02_148917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0cac231b8a1a7874a829015f029d6b26.jpg","text":"TemporaryFile(/tmp/multipartBody7318940232043929580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952854529,"filename":"image_04012025_02_06_02_712589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a3270cb30e6ee641a64d200cd4086e0c.jpg","text":"TemporaryFile(/tmp/multipartBody824868170863919382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952854529,"filename":"image_04012025_02_05_02_148917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1a1ce7729dc4f5bcb24d84a5e97a4c7b.jpg","text":"TemporaryFile(/tmp/multipartBody8360014353383296910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952854529,"filename":"image_04012025_02_06_02_712589_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/89e9cc3d605d79a1336395a14c881017.jpg","text":"TemporaryFile(/tmp/multipartBody564830910141762224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952854529,"filename":"image_04012025_02_06_02_712589_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326180089","file1":"1326180087","file0":"1326180086","file4":"1326180221","file3":"1326180091"},"map_files_photo_id_array":[{"photo_id":"1326180089","filename":"file2"},{"photo_id":"1326180221","filename":"file4"},{"photo_id":"1326180087","filename":"file1"},{"photo_id":"1326180086","filename":"file0"},{"photo_id":"1326180091","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326180087":["hashtag1","hashtag2"]},{"1326180089":["hashtag1","hashtag2"]},{"1326180086":["hashtag1","hashtag2"]},{"1326180221":["hashtag1","hashtag2"]},{"1326180091":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326180087, 1326180089, 1326180086, 1326180221, 1326180091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.31645846366882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:07:22.354744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/06/image_04012025_02_06_02_712589_0003.jpg', '/home/pi/Desktop/images/04012025/02/07/image_04012025_02_07_02_196418_0000.jpg', '/home/pi/Desktop/images/04012025/02/07/image_04012025_02_07_02_196418_0001.jpg', '/home/pi/Desktop/images/04012025/02/07/image_04012025_02_07_02_196418_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/06/image_04012025_02_06_02_712589_0003.jpg
/home/pi/Desktop/images/04012025/02/07/image_04012025_02_07_02_196418_0000.jpg
/home/pi/Desktop/images/04012025/02/07/image_04012025_02_07_02_196418_0001.jpg
/home/pi/Desktop/images/04012025/02/07/image_04012025_02_07_02_196418_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326181079","1326180899","1326180596","1326180698"],"photo_ids_order":["1326180596","1326180698","1326180899","1326181079"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/93c9819659d48a9fde3cb1effb6f5aa4.jpg","text":"TemporaryFile(/tmp/multipartBody5343296451694779763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952912747,"filename":"image_04012025_02_07_02_196418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9c516976e3e9820f3d907b75d556881e.jpg","text":"TemporaryFile(/tmp/multipartBody6104889813371286519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952912747,"filename":"image_04012025_02_07_02_196418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/15af206cfa709971560b4e3065086a25.jpg","text":"TemporaryFile(/tmp/multipartBody6038225940432172829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952912747,"filename":"image_04012025_02_06_02_712589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/47d036438bc415adc4ba0f569c84d678.jpg","text":"TemporaryFile(/tmp/multipartBody1148213748215767032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952912747,"filename":"image_04012025_02_07_02_196418_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326180899","file1":"1326180698","file0":"1326180596","file3":"1326181079"},"map_files_photo_id_array":[{"photo_id":"1326180899","filename":"file2"},{"photo_id":"1326180698","filename":"file1"},{"photo_id":"1326180596","filename":"file0"},{"photo_id":"1326181079","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326181079":["hashtag1","hashtag2"]},{"1326180899":["hashtag1","hashtag2"]},{"1326180596":["hashtag1","hashtag2"]},{"1326180698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326181079, 1326180899, 1326180596, 1326180698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70057797431946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:08:02.402066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:08:21.903454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/07/image_04012025_02_07_02_196418_0003.jpg', '/home/pi/Desktop/images/04012025/02/08/image_04012025_02_08_02_779872_0000.jpg', '/home/pi/Desktop/images/04012025/02/08/image_04012025_02_08_02_779872_0001.jpg', '/home/pi/Desktop/images/04012025/02/08/image_04012025_02_08_02_779872_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/07/image_04012025_02_07_02_196418_0003.jpg
/home/pi/Desktop/images/04012025/02/08/image_04012025_02_08_02_779872_0000.jpg
/home/pi/Desktop/images/04012025/02/08/image_04012025_02_08_02_779872_0001.jpg
/home/pi/Desktop/images/04012025/02/08/image_04012025_02_08_02_779872_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326181881","1326181884","1326181985","1326181888"],"photo_ids_order":["1326181881","1326181884","1326181888","1326181985"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5af66de604c90fb32b59fd1bd0450305.jpg","text":"TemporaryFile(/tmp/multipartBody8277415636534486739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952972164,"filename":"image_04012025_02_07_02_196418_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/15979f01a876fc5b55bb5b3c1bf99c6d.jpg","text":"TemporaryFile(/tmp/multipartBody6093260677191603262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952972164,"filename":"image_04012025_02_08_02_779872_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/547f7660f081b346b045fc139f0516c9.jpg","text":"TemporaryFile(/tmp/multipartBody4607650615069393921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952972164,"filename":"image_04012025_02_08_02_779872_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6aad0dc0ebbf7a3554f60fb58e06a0b3.jpg","text":"TemporaryFile(/tmp/multipartBody5739136230589319325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735952972164,"filename":"image_04012025_02_08_02_779872_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326181888","file1":"1326181884","file0":"1326181881","file3":"1326181985"},"map_files_photo_id_array":[{"photo_id":"1326181888","filename":"file2"},{"photo_id":"1326181884","filename":"file1"},{"photo_id":"1326181881","filename":"file0"},{"photo_id":"1326181985","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326181881":["hashtag1","hashtag2"]},{"1326181884":["hashtag1","hashtag2"]},{"1326181985":["hashtag1","hashtag2"]},{"1326181888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326181881, 1326181884, 1326181985, 1326181888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.28802466392517 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:09:22.430678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/08/image_04012025_02_08_02_779872_0003.jpg', '/home/pi/Desktop/images/04012025/02/09/image_04012025_02_09_02_283842_0000.jpg', '/home/pi/Desktop/images/04012025/02/09/image_04012025_02_09_02_283842_0001.jpg', '/home/pi/Desktop/images/04012025/02/09/image_04012025_02_09_02_283842_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/08/image_04012025_02_08_02_779872_0003.jpg
/home/pi/Desktop/images/04012025/02/09/image_04012025_02_09_02_283842_0000.jpg
/home/pi/Desktop/images/04012025/02/09/image_04012025_02_09_02_283842_0001.jpg
/home/pi/Desktop/images/04012025/02/09/image_04012025_02_09_02_283842_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326182339","1326182201","1326182365","1326182368"],"photo_ids_order":["1326182201","1326182339","1326182365","1326182368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4328c9ffcdf6ede5d7a2c2427be83d2b.jpg","text":"TemporaryFile(/tmp/multipartBody7276000899438002850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953032806,"filename":"image_04012025_02_09_02_283842_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bbce2347334cf20205c3f7a4800f00c5.jpg","text":"TemporaryFile(/tmp/multipartBody8323518587189412587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953032806,"filename":"image_04012025_02_08_02_779872_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/413406a39fd3adc510b2fc12ec166002.jpg","text":"TemporaryFile(/tmp/multipartBody7094517798217674420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953032806,"filename":"image_04012025_02_09_02_283842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f53769750da183a7adf3c0eefe7890fe.jpg","text":"TemporaryFile(/tmp/multipartBody1696558927380349520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953032806,"filename":"image_04012025_02_09_02_283842_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326182365","file1":"1326182339","file0":"1326182201","file3":"1326182368"},"map_files_photo_id_array":[{"photo_id":"1326182365","filename":"file2"},{"photo_id":"1326182339","filename":"file1"},{"photo_id":"1326182201","filename":"file0"},{"photo_id":"1326182368","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326182339":["hashtag1","hashtag2"]},{"1326182201":["hashtag1","hashtag2"]},{"1326182365":["hashtag1","hashtag2"]},{"1326182368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326182339, 1326182201, 1326182365, 1326182368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.93765950202942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:10:22.010931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/09/image_04012025_02_09_02_283842_0003.jpg', '/home/pi/Desktop/images/04012025/02/10/image_04012025_02_10_02_835432_0000.jpg', '/home/pi/Desktop/images/04012025/02/10/image_04012025_02_10_02_835432_0001.jpg', '/home/pi/Desktop/images/04012025/02/10/image_04012025_02_10_02_835432_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/09/image_04012025_02_09_02_283842_0003.jpg
/home/pi/Desktop/images/04012025/02/10/image_04012025_02_10_02_835432_0000.jpg
/home/pi/Desktop/images/04012025/02/10/image_04012025_02_10_02_835432_0001.jpg
/home/pi/Desktop/images/04012025/02/10/image_04012025_02_10_02_835432_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.85030198097229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:11:02.997499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/09/image_04012025_02_09_02_283842_0003.jpg', '/home/pi/Desktop/images/04012025/02/10/image_04012025_02_10_02_835432_0000.jpg', '/home/pi/Desktop/images/04012025/02/10/image_04012025_02_10_02_835432_0001.jpg', '/home/pi/Desktop/images/04012025/02/10/image_04012025_02_10_02_835432_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/09/image_04012025_02_09_02_283842_0003.jpg
/home/pi/Desktop/images/04012025/02/10/image_04012025_02_10_02_835432_0000.jpg
/home/pi/Desktop/images/04012025/02/10/image_04012025_02_10_02_835432_0001.jpg
/home/pi/Desktop/images/04012025/02/10/image_04012025_02_10_02_835432_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326182745","1326182924","1326182828","1326183130"],"photo_ids_order":["1326182745","1326182828","1326182924","1326183130"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0fa68c548b6ab1d224d8fb6110e0e1c1.jpg","text":"TemporaryFile(/tmp/multipartBody5722824236065510539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953133289,"filename":"image_04012025_02_09_02_283842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9a0b189e8dcb6d25c32b7e8f764e8cc4.jpg","text":"TemporaryFile(/tmp/multipartBody8587613513169897696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953133289,"filename":"image_04012025_02_10_02_835432_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a8c20c23c90cedd769fb2e114841f122.jpg","text":"TemporaryFile(/tmp/multipartBody3077713567743300598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953133289,"filename":"image_04012025_02_10_02_835432_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a255d10b346b751c66d034279e3d58c1.jpg","text":"TemporaryFile(/tmp/multipartBody365501267165174108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953133289,"filename":"image_04012025_02_10_02_835432_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326182924","file1":"1326182828","file0":"1326182745","file3":"1326183130"},"map_files_photo_id_array":[{"photo_id":"1326182924","filename":"file2"},{"photo_id":"1326182828","filename":"file1"},{"photo_id":"1326182745","filename":"file0"},{"photo_id":"1326183130","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326182745":["hashtag1","hashtag2"]},{"1326182924":["hashtag1","hashtag2"]},{"1326182828":["hashtag1","hashtag2"]},{"1326183130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326182745, 1326182924, 1326182828, 1326183130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01101279258728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:12:02.432086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/10/image_04012025_02_10_02_835432_0003.jpg', '/home/pi/Desktop/images/04012025/02/11/image_04012025_02_11_02_330478_0000.jpg', '/home/pi/Desktop/images/04012025/02/11/image_04012025_02_11_02_330478_0001.jpg', '/home/pi/Desktop/images/04012025/02/11/image_04012025_02_11_02_330478_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/10/image_04012025_02_10_02_835432_0003.jpg
/home/pi/Desktop/images/04012025/02/11/image_04012025_02_11_02_330478_0000.jpg
/home/pi/Desktop/images/04012025/02/11/image_04012025_02_11_02_330478_0001.jpg
/home/pi/Desktop/images/04012025/02/11/image_04012025_02_11_02_330478_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.964300632476807 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:12:22.076708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/10/image_04012025_02_10_02_835432_0003.jpg', '/home/pi/Desktop/images/04012025/02/11/image_04012025_02_11_02_330478_0000.jpg', '/home/pi/Desktop/images/04012025/02/11/image_04012025_02_11_02_330478_0001.jpg', '/home/pi/Desktop/images/04012025/02/11/image_04012025_02_11_02_330478_0002.jpg', '/home/pi/Desktop/images/04012025/02/11/image_04012025_02_11_02_330478_0003.jpg', '/home/pi/Desktop/images/04012025/02/12/image_04012025_02_12_02_864002_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/10/image_04012025_02_10_02_835432_0003.jpg
/home/pi/Desktop/images/04012025/02/11/image_04012025_02_11_02_330478_0000.jpg
/home/pi/Desktop/images/04012025/02/11/image_04012025_02_11_02_330478_0001.jpg
/home/pi/Desktop/images/04012025/02/11/image_04012025_02_11_02_330478_0002.jpg
/home/pi/Desktop/images/04012025/02/11/image_04012025_02_11_02_330478_0003.jpg
/home/pi/Desktop/images/04012025/02/12/image_04012025_02_12_02_864002_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326183677","1326183643","1326183550","1326183547","1326183645","1326183552"],"photo_ids_order":["1326183547","1326183550","1326183552","1326183643","1326183645","1326183677"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed9fee36e6d5620967173818bc8cfa07.jpg","text":"TemporaryFile(/tmp/multipartBody8938769401752857580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953217312,"filename":"image_04012025_02_12_02_864002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3cbd53f704916ace22c45751d22a3c20.jpg","text":"TemporaryFile(/tmp/multipartBody2798999331705369268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953217312,"filename":"image_04012025_02_11_02_330478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d2306ea7ad335ae0d8739991a870d9ef.jpg","text":"TemporaryFile(/tmp/multipartBody5204267078587287953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953217312,"filename":"image_04012025_02_11_02_330478_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7cf26b1a1067e35d2f17a257aacb5eb8.jpg","text":"TemporaryFile(/tmp/multipartBody1243659119653115518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953217312,"filename":"image_04012025_02_10_02_835432_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ef0ecaf9afbccf2fb21f29571eee64ec.jpg","text":"TemporaryFile(/tmp/multipartBody7886855141703896426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953217312,"filename":"image_04012025_02_11_02_330478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8986022f3587f08b956e35614aaad633.jpg","text":"TemporaryFile(/tmp/multipartBody738173875626682383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953217312,"filename":"image_04012025_02_11_02_330478_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326183552","file1":"1326183550","file0":"1326183547","file4":"1326183645","file5":"1326183677","file3":"1326183643"},"map_files_photo_id_array":[{"photo_id":"1326183677","filename":"file5"},{"photo_id":"1326183552","filename":"file2"},{"photo_id":"1326183645","filename":"file4"},{"photo_id":"1326183550","filename":"file1"},{"photo_id":"1326183547","filename":"file0"},{"photo_id":"1326183643","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326183677":["hashtag1","hashtag2"]},{"1326183643":["hashtag1","hashtag2"]},{"1326183550":["hashtag1","hashtag2"]},{"1326183547":["hashtag1","hashtag2"]},{"1326183645":["hashtag1","hashtag2"]},{"1326183552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326183677, 1326183643, 1326183550, 1326183547, 1326183645, 1326183552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.125067710876465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:13:22.664594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/12/image_04012025_02_12_02_864002_0001.jpg', '/home/pi/Desktop/images/04012025/02/12/image_04012025_02_12_02_864002_0002.jpg', '/home/pi/Desktop/images/04012025/02/12/image_04012025_02_12_02_864002_0003.jpg', '/home/pi/Desktop/images/04012025/02/13/image_04012025_02_13_02_558796_0000.jpg', '/home/pi/Desktop/images/04012025/02/13/image_04012025_02_13_02_558796_0001.jpg', '/home/pi/Desktop/images/04012025/02/13/image_04012025_02_13_02_558796_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/12/image_04012025_02_12_02_864002_0001.jpg
/home/pi/Desktop/images/04012025/02/12/image_04012025_02_12_02_864002_0002.jpg
/home/pi/Desktop/images/04012025/02/12/image_04012025_02_12_02_864002_0003.jpg
/home/pi/Desktop/images/04012025/02/13/image_04012025_02_13_02_558796_0000.jpg
/home/pi/Desktop/images/04012025/02/13/image_04012025_02_13_02_558796_0001.jpg
/home/pi/Desktop/images/04012025/02/13/image_04012025_02_13_02_558796_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326184235","1326184301","1326184296","1326184015","1326184046","1326184253"],"photo_ids_order":["1326184015","1326184046","1326184235","1326184253","1326184296","1326184301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/32ce5c23ad0443e20b32889a549c2cf6.jpg","text":"TemporaryFile(/tmp/multipartBody3017340654507529859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953278020,"filename":"image_04012025_02_12_02_864002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/096ee3fab80703f4f6acaf3ddfcd1a45.jpg","text":"TemporaryFile(/tmp/multipartBody2689322250767340893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953278020,"filename":"image_04012025_02_13_02_558796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/015f30d2bde1a98a5513d0bec77c7136.jpg","text":"TemporaryFile(/tmp/multipartBody4955548346716219590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953278020,"filename":"image_04012025_02_13_02_558796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b7bebeac34097e32e17482687da7b199.jpg","text":"TemporaryFile(/tmp/multipartBody8415728159511968998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953278020,"filename":"image_04012025_02_12_02_864002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/43821eb14797cf5d6d81a28ab1f989d1.jpg","text":"TemporaryFile(/tmp/multipartBody1170283869280613373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953278020,"filename":"image_04012025_02_12_02_864002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9381087c6000fe0183c82c71338fbce0.jpg","text":"TemporaryFile(/tmp/multipartBody4902152773737634995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953278020,"filename":"image_04012025_02_13_02_558796_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326184235","file1":"1326184046","file0":"1326184015","file4":"1326184296","file5":"1326184301","file3":"1326184253"},"map_files_photo_id_array":[{"photo_id":"1326184301","filename":"file5"},{"photo_id":"1326184235","filename":"file2"},{"photo_id":"1326184296","filename":"file4"},{"photo_id":"1326184046","filename":"file1"},{"photo_id":"1326184015","filename":"file0"},{"photo_id":"1326184253","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326184235":["hashtag1","hashtag2"]},{"1326184301":["hashtag1","hashtag2"]},{"1326184296":["hashtag1","hashtag2"]},{"1326184015":["hashtag1","hashtag2"]},{"1326184046":["hashtag1","hashtag2"]},{"1326184253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326184235, 1326184301, 1326184296, 1326184015, 1326184046, 1326184253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.76551556587219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:14:22.223605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/13/image_04012025_02_13_02_558796_0003.jpg', '/home/pi/Desktop/images/04012025/02/14/image_04012025_02_14_03_107892_0000.jpg', '/home/pi/Desktop/images/04012025/02/14/image_04012025_02_14_03_107892_0001.jpg', '/home/pi/Desktop/images/04012025/02/14/image_04012025_02_14_03_107892_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/13/image_04012025_02_13_02_558796_0003.jpg
/home/pi/Desktop/images/04012025/02/14/image_04012025_02_14_03_107892_0000.jpg
/home/pi/Desktop/images/04012025/02/14/image_04012025_02_14_03_107892_0001.jpg
/home/pi/Desktop/images/04012025/02/14/image_04012025_02_14_03_107892_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326184561","1326184557","1326184554","1326184559"],"photo_ids_order":["1326184554","1326184557","1326184559","1326184561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1efe6c36f3d5c75bc89749f582513e5b.jpg","text":"TemporaryFile(/tmp/multipartBody7804550153523118901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953332561,"filename":"image_04012025_02_14_03_107892_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ec5d41a9653d8cf871b492ddff3c1e0a.jpg","text":"TemporaryFile(/tmp/multipartBody1724833214419365717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953332561,"filename":"image_04012025_02_14_03_107892_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/91358eea2f1b69f93ff7c39fc2ca8d7d.jpg","text":"TemporaryFile(/tmp/multipartBody8917971992625834445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953332561,"filename":"image_04012025_02_13_02_558796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c216990bd96efcd0e49e06a58873c5fd.jpg","text":"TemporaryFile(/tmp/multipartBody4154866066546732262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953332561,"filename":"image_04012025_02_14_03_107892_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326184559","file1":"1326184557","file0":"1326184554","file3":"1326184561"},"map_files_photo_id_array":[{"photo_id":"1326184559","filename":"file2"},{"photo_id":"1326184557","filename":"file1"},{"photo_id":"1326184554","filename":"file0"},{"photo_id":"1326184561","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326184561":["hashtag1","hashtag2"]},{"1326184557":["hashtag1","hashtag2"]},{"1326184554":["hashtag1","hashtag2"]},{"1326184559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326184561, 1326184557, 1326184554, 1326184559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.69402289390564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:15:02.341000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:15:21.726206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/14/image_04012025_02_14_03_107892_0003.jpg', '/home/pi/Desktop/images/04012025/02/15/image_04012025_02_15_02_631865_0000.jpg', '/home/pi/Desktop/images/04012025/02/15/image_04012025_02_15_02_631865_0001.jpg', '/home/pi/Desktop/images/04012025/02/15/image_04012025_02_15_02_631865_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/14/image_04012025_02_14_03_107892_0003.jpg
/home/pi/Desktop/images/04012025/02/15/image_04012025_02_15_02_631865_0000.jpg
/home/pi/Desktop/images/04012025/02/15/image_04012025_02_15_02_631865_0001.jpg
/home/pi/Desktop/images/04012025/02/15/image_04012025_02_15_02_631865_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.968560457229614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:16:02.937788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/14/image_04012025_02_14_03_107892_0003.jpg', '/home/pi/Desktop/images/04012025/02/15/image_04012025_02_15_02_631865_0000.jpg', '/home/pi/Desktop/images/04012025/02/15/image_04012025_02_15_02_631865_0001.jpg', '/home/pi/Desktop/images/04012025/02/15/image_04012025_02_15_02_631865_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/14/image_04012025_02_14_03_107892_0003.jpg
/home/pi/Desktop/images/04012025/02/15/image_04012025_02_15_02_631865_0000.jpg
/home/pi/Desktop/images/04012025/02/15/image_04012025_02_15_02_631865_0001.jpg
/home/pi/Desktop/images/04012025/02/15/image_04012025_02_15_02_631865_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326185362","1326185322","1326185360","1326185290"],"photo_ids_order":["1326185290","1326185322","1326185360","1326185362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/de55cb23edcff31aa83c6ddf51905f35.jpg","text":"TemporaryFile(/tmp/multipartBody6520488668801396927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953433334,"filename":"image_04012025_02_15_02_631865_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/96e08b4815b25c290c897c83ce2b676a.jpg","text":"TemporaryFile(/tmp/multipartBody8806003185649088299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953433334,"filename":"image_04012025_02_15_02_631865_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0db1612a90f48fea942f43ad94aca25.jpg","text":"TemporaryFile(/tmp/multipartBody2043773337356584416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953433334,"filename":"image_04012025_02_15_02_631865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/474814b1f1693788350814fbbb80bf55.jpg","text":"TemporaryFile(/tmp/multipartBody6483459386198671439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953433334,"filename":"image_04012025_02_14_03_107892_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326185360","file1":"1326185322","file0":"1326185290","file3":"1326185362"},"map_files_photo_id_array":[{"photo_id":"1326185360","filename":"file2"},{"photo_id":"1326185322","filename":"file1"},{"photo_id":"1326185290","filename":"file0"},{"photo_id":"1326185362","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326185362":["hashtag1","hashtag2"]},{"1326185322":["hashtag1","hashtag2"]},{"1326185360":["hashtag1","hashtag2"]},{"1326185290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326185362, 1326185322, 1326185360, 1326185290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.19999146461487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:17:02.653472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/15/image_04012025_02_15_02_631865_0003.jpg', '/home/pi/Desktop/images/04012025/02/16/image_04012025_02_16_02_188917_0000.jpg', '/home/pi/Desktop/images/04012025/02/16/image_04012025_02_16_02_188917_0001.jpg', '/home/pi/Desktop/images/04012025/02/16/image_04012025_02_16_02_188917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/15/image_04012025_02_15_02_631865_0003.jpg
/home/pi/Desktop/images/04012025/02/16/image_04012025_02_16_02_188917_0000.jpg
/home/pi/Desktop/images/04012025/02/16/image_04012025_02_16_02_188917_0001.jpg
/home/pi/Desktop/images/04012025/02/16/image_04012025_02_16_02_188917_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.22641134262085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:17:22.066668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/15/image_04012025_02_15_02_631865_0003.jpg', '/home/pi/Desktop/images/04012025/02/16/image_04012025_02_16_02_188917_0000.jpg', '/home/pi/Desktop/images/04012025/02/16/image_04012025_02_16_02_188917_0001.jpg', '/home/pi/Desktop/images/04012025/02/16/image_04012025_02_16_02_188917_0002.jpg', '/home/pi/Desktop/images/04012025/02/16/image_04012025_02_16_02_188917_0003.jpg', '/home/pi/Desktop/images/04012025/02/17/image_04012025_02_17_02_905397_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/15/image_04012025_02_15_02_631865_0003.jpg
/home/pi/Desktop/images/04012025/02/16/image_04012025_02_16_02_188917_0000.jpg
/home/pi/Desktop/images/04012025/02/16/image_04012025_02_16_02_188917_0001.jpg
/home/pi/Desktop/images/04012025/02/16/image_04012025_02_16_02_188917_0002.jpg
/home/pi/Desktop/images/04012025/02/16/image_04012025_02_16_02_188917_0003.jpg
/home/pi/Desktop/images/04012025/02/17/image_04012025_02_17_02_905397_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326186186","1326186489","1326185734","1326186332","1326185687","1326185689"],"photo_ids_order":["1326185687","1326185689","1326185734","1326186186","1326186332","1326186489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5abc15c494e158dd907c9d7d91809b52.jpg","text":"TemporaryFile(/tmp/multipartBody6233313249820372291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953517195,"filename":"image_04012025_02_16_02_188917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1487a87759ced824ea1554e9ef62b09c.jpg","text":"TemporaryFile(/tmp/multipartBody4996262933527207255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953517195,"filename":"image_04012025_02_17_02_905397_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2f87d25158f2ec22af7781d11fe75288.jpg","text":"TemporaryFile(/tmp/multipartBody2917574450615385599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953517195,"filename":"image_04012025_02_16_02_188917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28c7223dab5de841b6566e13505c0231.jpg","text":"TemporaryFile(/tmp/multipartBody5834282537592515769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953517195,"filename":"image_04012025_02_16_02_188917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/04bf24534c2b8c1f542a1a29f6cce8fc.jpg","text":"TemporaryFile(/tmp/multipartBody5443937149063945891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953517195,"filename":"image_04012025_02_15_02_631865_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d95b140c9229f169a4d60d7d0caada21.jpg","text":"TemporaryFile(/tmp/multipartBody9174908625468817345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953517195,"filename":"image_04012025_02_16_02_188917_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326185734","file1":"1326185689","file0":"1326185687","file4":"1326186332","file5":"1326186489","file3":"1326186186"},"map_files_photo_id_array":[{"photo_id":"1326186489","filename":"file5"},{"photo_id":"1326185734","filename":"file2"},{"photo_id":"1326186332","filename":"file4"},{"photo_id":"1326185689","filename":"file1"},{"photo_id":"1326185687","filename":"file0"},{"photo_id":"1326186186","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326186186":["hashtag1","hashtag2"]},{"1326186489":["hashtag1","hashtag2"]},{"1326185734":["hashtag1","hashtag2"]},{"1326186332":["hashtag1","hashtag2"]},{"1326185687":["hashtag1","hashtag2"]},{"1326185689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326186186, 1326186489, 1326185734, 1326186332, 1326185687, 1326185689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.12015986442566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:18:22.538157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/17/image_04012025_02_17_02_905397_0002.jpg', '/home/pi/Desktop/images/04012025/02/17/image_04012025_02_17_02_905397_0003.jpg', '/home/pi/Desktop/images/04012025/02/18/image_04012025_02_18_02_402878_0000.jpg', '/home/pi/Desktop/images/04012025/02/18/image_04012025_02_18_02_402878_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/17/image_04012025_02_17_02_905397_0002.jpg
/home/pi/Desktop/images/04012025/02/17/image_04012025_02_17_02_905397_0003.jpg
/home/pi/Desktop/images/04012025/02/18/image_04012025_02_18_02_402878_0000.jpg
/home/pi/Desktop/images/04012025/02/18/image_04012025_02_18_02_402878_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326186811","1326186984","1326187037","1326187132"],"photo_ids_order":["1326186811","1326186984","1326187037","1326187132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/219c57a8c94b4fe26c4cf02cf9c89c9f.jpg","text":"TemporaryFile(/tmp/multipartBody414142265510488015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953572776,"filename":"image_04012025_02_17_02_905397_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a4b4358dd81fea521644f9d7316f4639.jpg","text":"TemporaryFile(/tmp/multipartBody4712261016007566218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953572776,"filename":"image_04012025_02_17_02_905397_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/95e8cbacb53b0562c2c5627dae0cd488.jpg","text":"TemporaryFile(/tmp/multipartBody833922436104548111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953572776,"filename":"image_04012025_02_18_02_402878_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/608b61483f4eaa9982f5b09c70591b25.jpg","text":"TemporaryFile(/tmp/multipartBody1822582774430667941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953572776,"filename":"image_04012025_02_18_02_402878_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326187037","file1":"1326186984","file0":"1326186811","file3":"1326187132"},"map_files_photo_id_array":[{"photo_id":"1326187037","filename":"file2"},{"photo_id":"1326186984","filename":"file1"},{"photo_id":"1326186811","filename":"file0"},{"photo_id":"1326187132","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326186811":["hashtag1","hashtag2"]},{"1326186984":["hashtag1","hashtag2"]},{"1326187037":["hashtag1","hashtag2"]},{"1326187132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326186811, 1326186984, 1326187037, 1326187132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.09002923965454 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-04 02:19:22.061013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/18/image_04012025_02_18_02_402878_0003.jpg', '/home/pi/Desktop/images/04012025/02/19/image_04012025_02_19_02_939288_0000.jpg', '/home/pi/Desktop/images/04012025/02/19/image_04012025_02_19_02_939288_0001.jpg', '/home/pi/Desktop/images/04012025/02/19/image_04012025_02_19_02_939288_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/18/image_04012025_02_18_02_402878_0003.jpg
/home/pi/Desktop/images/04012025/02/19/image_04012025_02_19_02_939288_0000.jpg
/home/pi/Desktop/images/04012025/02/19/image_04012025_02_19_02_939288_0001.jpg
/home/pi/Desktop/images/04012025/02/19/image_04012025_02_19_02_939288_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326187629","1326187589","1326187565","1326187591"],"photo_ids_order":["1326187565","1326187589","1326187591","1326187629"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7b645cdf6e901d07adc03a87c4e2aeb.jpg","text":"TemporaryFile(/tmp/multipartBody7530593693837543385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953632397,"filename":"image_04012025_02_19_02_939288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/11e4b79fb21b856d75afa918bacc6967.jpg","text":"TemporaryFile(/tmp/multipartBody5766079603486148023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953632397,"filename":"image_04012025_02_19_02_939288_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3de0324b5890d41c023bdfb15c90c0e3.jpg","text":"TemporaryFile(/tmp/multipartBody7493532708883654635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953632397,"filename":"image_04012025_02_18_02_402878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fdbb952b5130d7a37ba03cb6156505db.jpg","text":"TemporaryFile(/tmp/multipartBody4304831229869716697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953632397,"filename":"image_04012025_02_19_02_939288_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326187591","file1":"1326187589","file0":"1326187565","file3":"1326187629"},"map_files_photo_id_array":[{"photo_id":"1326187591","filename":"file2"},{"photo_id":"1326187589","filename":"file1"},{"photo_id":"1326187565","filename":"file0"},{"photo_id":"1326187629","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326187629":["hashtag1","hashtag2"]},{"1326187589":["hashtag1","hashtag2"]},{"1326187565":["hashtag1","hashtag2"]},{"1326187591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326187629, 1326187589, 1326187565, 1326187591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.249451875686646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:20:22.512685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/19/image_04012025_02_19_02_939288_0003.jpg', '/home/pi/Desktop/images/04012025/02/20/image_04012025_02_20_02_421976_0000.jpg', '/home/pi/Desktop/images/04012025/02/20/image_04012025_02_20_02_421976_0001.jpg', '/home/pi/Desktop/images/04012025/02/20/image_04012025_02_20_02_421976_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/19/image_04012025_02_19_02_939288_0003.jpg
/home/pi/Desktop/images/04012025/02/20/image_04012025_02_20_02_421976_0000.jpg
/home/pi/Desktop/images/04012025/02/20/image_04012025_02_20_02_421976_0001.jpg
/home/pi/Desktop/images/04012025/02/20/image_04012025_02_20_02_421976_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326187719","1326187837","1326188107","1326188061"],"photo_ids_order":["1326187719","1326187837","1326188061","1326188107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/542f1a13e8575369a74e6e74ac2c2011.jpg","text":"TemporaryFile(/tmp/multipartBody4113916601351801564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953692829,"filename":"image_04012025_02_19_02_939288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/36508a69f52d1110731984b2ff9a6f0e.jpg","text":"TemporaryFile(/tmp/multipartBody6620575463520284949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953692829,"filename":"image_04012025_02_20_02_421976_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/291b3ed1c48db79de6dc4b684708460e.jpg","text":"TemporaryFile(/tmp/multipartBody6146088302365968633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953692829,"filename":"image_04012025_02_20_02_421976_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8b6e1d5ce217da9de8e1407e26d68b13.jpg","text":"TemporaryFile(/tmp/multipartBody7895346542096884129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953692829,"filename":"image_04012025_02_20_02_421976_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326188061","file1":"1326187837","file0":"1326187719","file3":"1326188107"},"map_files_photo_id_array":[{"photo_id":"1326188061","filename":"file2"},{"photo_id":"1326187837","filename":"file1"},{"photo_id":"1326187719","filename":"file0"},{"photo_id":"1326188107","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326187719":["hashtag1","hashtag2"]},{"1326187837":["hashtag1","hashtag2"]},{"1326188107":["hashtag1","hashtag2"]},{"1326188061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326187719, 1326187837, 1326188107, 1326188061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.99311637878418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:21:22.021519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/20/image_04012025_02_20_02_421976_0003.jpg', '/home/pi/Desktop/images/04012025/02/21/image_04012025_02_21_02_903093_0000.jpg', '/home/pi/Desktop/images/04012025/02/21/image_04012025_02_21_02_903093_0001.jpg', '/home/pi/Desktop/images/04012025/02/21/image_04012025_02_21_02_903093_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/20/image_04012025_02_20_02_421976_0003.jpg
/home/pi/Desktop/images/04012025/02/21/image_04012025_02_21_02_903093_0000.jpg
/home/pi/Desktop/images/04012025/02/21/image_04012025_02_21_02_903093_0001.jpg
/home/pi/Desktop/images/04012025/02/21/image_04012025_02_21_02_903093_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326188617","1326188652","1326188655","1326188562"],"photo_ids_order":["1326188562","1326188617","1326188652","1326188655"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7be4797a13059247b5dac698001f0f92.jpg","text":"TemporaryFile(/tmp/multipartBody3573695627179666037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953752465,"filename":"image_04012025_02_21_02_903093_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/93f088c4956028b2e145b37d558027c3.jpg","text":"TemporaryFile(/tmp/multipartBody1463748123685920696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953752465,"filename":"image_04012025_02_21_02_903093_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3e7dc1ebda9802f8952f4b269e1c1d7c.jpg","text":"TemporaryFile(/tmp/multipartBody4276960948713330784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953752465,"filename":"image_04012025_02_21_02_903093_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aceb457f76c147f52304dc8cf7d24330.jpg","text":"TemporaryFile(/tmp/multipartBody7607095738441447377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953752465,"filename":"image_04012025_02_20_02_421976_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326188652","file1":"1326188617","file0":"1326188562","file3":"1326188655"},"map_files_photo_id_array":[{"photo_id":"1326188652","filename":"file2"},{"photo_id":"1326188617","filename":"file1"},{"photo_id":"1326188562","filename":"file0"},{"photo_id":"1326188655","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326188617":["hashtag1","hashtag2"]},{"1326188652":["hashtag1","hashtag2"]},{"1326188655":["hashtag1","hashtag2"]},{"1326188562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326188617, 1326188652, 1326188655, 1326188562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.707255363464355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:22:22.641681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/21/image_04012025_02_21_02_903093_0003.jpg', '/home/pi/Desktop/images/04012025/02/22/image_04012025_02_22_02_457760_0000.jpg', '/home/pi/Desktop/images/04012025/02/22/image_04012025_02_22_02_457760_0001.jpg', '/home/pi/Desktop/images/04012025/02/22/image_04012025_02_22_02_457760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/21/image_04012025_02_21_02_903093_0003.jpg
/home/pi/Desktop/images/04012025/02/22/image_04012025_02_22_02_457760_0000.jpg
/home/pi/Desktop/images/04012025/02/22/image_04012025_02_22_02_457760_0001.jpg
/home/pi/Desktop/images/04012025/02/22/image_04012025_02_22_02_457760_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.917018175125122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:23:02.803289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/21/image_04012025_02_21_02_903093_0003.jpg', '/home/pi/Desktop/images/04012025/02/22/image_04012025_02_22_02_457760_0000.jpg', '/home/pi/Desktop/images/04012025/02/22/image_04012025_02_22_02_457760_0001.jpg', '/home/pi/Desktop/images/04012025/02/22/image_04012025_02_22_02_457760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/21/image_04012025_02_21_02_903093_0003.jpg
/home/pi/Desktop/images/04012025/02/22/image_04012025_02_22_02_457760_0000.jpg
/home/pi/Desktop/images/04012025/02/22/image_04012025_02_22_02_457760_0001.jpg
/home/pi/Desktop/images/04012025/02/22/image_04012025_02_22_02_457760_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326189512","1326189521","1326189510","1326189312"],"photo_ids_order":["1326189312","1326189510","1326189512","1326189521"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c704757e3a80aca57e425b120b0182b8.jpg","text":"TemporaryFile(/tmp/multipartBody8378600390450660865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953853164,"filename":"image_04012025_02_22_02_457760_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a76daced13f0165ec9567f688aab0acd.jpg","text":"TemporaryFile(/tmp/multipartBody8404993427227456536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953853164,"filename":"image_04012025_02_22_02_457760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ef3838b81ac369adda7dea7fe0bd6838.jpg","text":"TemporaryFile(/tmp/multipartBody2076785704232089950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953853164,"filename":"image_04012025_02_22_02_457760_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/16c56af6aa1b7b8f483b8e84dec25aec.jpg","text":"TemporaryFile(/tmp/multipartBody7301584818449582488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953853164,"filename":"image_04012025_02_21_02_903093_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326189512","file1":"1326189510","file0":"1326189312","file3":"1326189521"},"map_files_photo_id_array":[{"photo_id":"1326189512","filename":"file2"},{"photo_id":"1326189510","filename":"file1"},{"photo_id":"1326189312","filename":"file0"},{"photo_id":"1326189521","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326189512":["hashtag1","hashtag2"]},{"1326189521":["hashtag1","hashtag2"]},{"1326189510":["hashtag1","hashtag2"]},{"1326189312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326189512, 1326189521, 1326189510, 1326189312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.12300491333008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:24:02.309895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/22/image_04012025_02_22_02_457760_0003.jpg', '/home/pi/Desktop/images/04012025/02/23/image_04012025_02_23_03_022720_0000.jpg', '/home/pi/Desktop/images/04012025/02/23/image_04012025_02_23_03_022720_0001.jpg', '/home/pi/Desktop/images/04012025/02/23/image_04012025_02_23_03_022720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/22/image_04012025_02_22_02_457760_0003.jpg
/home/pi/Desktop/images/04012025/02/23/image_04012025_02_23_03_022720_0000.jpg
/home/pi/Desktop/images/04012025/02/23/image_04012025_02_23_03_022720_0001.jpg
/home/pi/Desktop/images/04012025/02/23/image_04012025_02_23_03_022720_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.17128586769104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:24:21.878494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/22/image_04012025_02_22_02_457760_0003.jpg', '/home/pi/Desktop/images/04012025/02/23/image_04012025_02_23_03_022720_0000.jpg', '/home/pi/Desktop/images/04012025/02/23/image_04012025_02_23_03_022720_0001.jpg', '/home/pi/Desktop/images/04012025/02/23/image_04012025_02_23_03_022720_0002.jpg', '/home/pi/Desktop/images/04012025/02/23/image_04012025_02_23_03_022720_0003.jpg', '/home/pi/Desktop/images/04012025/02/24/image_04012025_02_24_02_559624_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/22/image_04012025_02_22_02_457760_0003.jpg
/home/pi/Desktop/images/04012025/02/23/image_04012025_02_23_03_022720_0000.jpg
/home/pi/Desktop/images/04012025/02/23/image_04012025_02_23_03_022720_0001.jpg
/home/pi/Desktop/images/04012025/02/23/image_04012025_02_23_03_022720_0002.jpg
/home/pi/Desktop/images/04012025/02/23/image_04012025_02_23_03_022720_0003.jpg
/home/pi/Desktop/images/04012025/02/24/image_04012025_02_24_02_559624_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326190046","1326190112","1326190048","1326190114","1326190116","1326190065"],"photo_ids_order":["1326190046","1326190048","1326190065","1326190112","1326190114","1326190116"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cbc6611fa11470fadd1693134a329a9d.jpg","text":"TemporaryFile(/tmp/multipartBody8163979662263086284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953937339,"filename":"image_04012025_02_22_02_457760_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/279b0710a66d08f5f798130fc5c51c7a.jpg","text":"TemporaryFile(/tmp/multipartBody1500880633713212334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953937339,"filename":"image_04012025_02_23_03_022720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5fa838a580dea0e3b8e10664e8f75c8d.jpg","text":"TemporaryFile(/tmp/multipartBody6069827457260762524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953937339,"filename":"image_04012025_02_23_03_022720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5f5b810a6c1d0fefdf3294aadab9f68c.jpg","text":"TemporaryFile(/tmp/multipartBody8930848549249250136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953937339,"filename":"image_04012025_02_23_03_022720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f3845a27eeee074f8bc918a0d60cf4ad.jpg","text":"TemporaryFile(/tmp/multipartBody7531196101167425548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953937339,"filename":"image_04012025_02_24_02_559624_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3dfc2a3ef59170b7f2b50dfaaab617dd.jpg","text":"TemporaryFile(/tmp/multipartBody5925655887156310203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953937339,"filename":"image_04012025_02_23_03_022720_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326190065","file1":"1326190048","file0":"1326190046","file4":"1326190114","file5":"1326190116","file3":"1326190112"},"map_files_photo_id_array":[{"photo_id":"1326190116","filename":"file5"},{"photo_id":"1326190065","filename":"file2"},{"photo_id":"1326190114","filename":"file4"},{"photo_id":"1326190048","filename":"file1"},{"photo_id":"1326190046","filename":"file0"},{"photo_id":"1326190112","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326190046":["hashtag1","hashtag2"]},{"1326190112":["hashtag1","hashtag2"]},{"1326190048":["hashtag1","hashtag2"]},{"1326190114":["hashtag1","hashtag2"]},{"1326190116":["hashtag1","hashtag2"]},{"1326190065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326190046, 1326190112, 1326190048, 1326190114, 1326190116, 1326190065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.83150911331177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:25:22.400542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/24/image_04012025_02_24_02_559624_0001.jpg', '/home/pi/Desktop/images/04012025/02/24/image_04012025_02_24_02_559624_0002.jpg', '/home/pi/Desktop/images/04012025/02/24/image_04012025_02_24_02_559624_0003.jpg', '/home/pi/Desktop/images/04012025/02/25/image_04012025_02_25_02_243381_0000.jpg', '/home/pi/Desktop/images/04012025/02/25/image_04012025_02_25_02_243381_0001.jpg', '/home/pi/Desktop/images/04012025/02/25/image_04012025_02_25_02_243381_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/24/image_04012025_02_24_02_559624_0001.jpg
/home/pi/Desktop/images/04012025/02/24/image_04012025_02_24_02_559624_0002.jpg
/home/pi/Desktop/images/04012025/02/24/image_04012025_02_24_02_559624_0003.jpg
/home/pi/Desktop/images/04012025/02/25/image_04012025_02_25_02_243381_0000.jpg
/home/pi/Desktop/images/04012025/02/25/image_04012025_02_25_02_243381_0001.jpg
/home/pi/Desktop/images/04012025/02/25/image_04012025_02_25_02_243381_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326190518","1326190568","1326190247","1326190334","1326190607","1326190516"],"photo_ids_order":["1326190247","1326190334","1326190516","1326190518","1326190568","1326190607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2c12d78cdd6f91aceb3122caf32f13f1.jpg","text":"TemporaryFile(/tmp/multipartBody661489703703593279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953997592,"filename":"image_04012025_02_25_02_243381_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/449f147fb7e9153a1245be39e25169d1.jpg","text":"TemporaryFile(/tmp/multipartBody3317636193639080738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953997592,"filename":"image_04012025_02_25_02_243381_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9ac60863cf01f0b4835432596f2b523a.jpg","text":"TemporaryFile(/tmp/multipartBody1881000924564897496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953997592,"filename":"image_04012025_02_24_02_559624_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bb2c0fafb25c05c60fa046a87d843396.jpg","text":"TemporaryFile(/tmp/multipartBody7279969797921788653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953997592,"filename":"image_04012025_02_24_02_559624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/97177cf4dc9b030dc197169910876366.jpg","text":"TemporaryFile(/tmp/multipartBody631864446402043763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953997592,"filename":"image_04012025_02_25_02_243381_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9f38189feb7f5175095a03fb600faabd.jpg","text":"TemporaryFile(/tmp/multipartBody1114533048198588590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735953997592,"filename":"image_04012025_02_24_02_559624_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326190516","file1":"1326190334","file0":"1326190247","file4":"1326190568","file5":"1326190607","file3":"1326190518"},"map_files_photo_id_array":[{"photo_id":"1326190607","filename":"file5"},{"photo_id":"1326190516","filename":"file2"},{"photo_id":"1326190568","filename":"file4"},{"photo_id":"1326190334","filename":"file1"},{"photo_id":"1326190247","filename":"file0"},{"photo_id":"1326190518","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326190518":["hashtag1","hashtag2"]},{"1326190568":["hashtag1","hashtag2"]},{"1326190247":["hashtag1","hashtag2"]},{"1326190334":["hashtag1","hashtag2"]},{"1326190607":["hashtag1","hashtag2"]},{"1326190516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326190518, 1326190568, 1326190247, 1326190334, 1326190607, 1326190516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.882527112960815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:26:21.927313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/25/image_04012025_02_25_02_243381_0003.jpg', '/home/pi/Desktop/images/04012025/02/26/image_04012025_02_26_02_798767_0000.jpg', '/home/pi/Desktop/images/04012025/02/26/image_04012025_02_26_02_798767_0001.jpg', '/home/pi/Desktop/images/04012025/02/26/image_04012025_02_26_02_798767_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/25/image_04012025_02_25_02_243381_0003.jpg
/home/pi/Desktop/images/04012025/02/26/image_04012025_02_26_02_798767_0000.jpg
/home/pi/Desktop/images/04012025/02/26/image_04012025_02_26_02_798767_0001.jpg
/home/pi/Desktop/images/04012025/02/26/image_04012025_02_26_02_798767_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326190819","1326191016","1326191013","1326190710"],"photo_ids_order":["1326190710","1326190819","1326191013","1326191016"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cdfac72ba7c5cedd109afe4aaab6b344.jpg","text":"TemporaryFile(/tmp/multipartBody6383104917142128330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954052287,"filename":"image_04012025_02_26_02_798767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8668c784dc5cd93bb48c1672ed57cd19.jpg","text":"TemporaryFile(/tmp/multipartBody6591879234429713726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954052287,"filename":"image_04012025_02_26_02_798767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/469426d89e062c6d5a03c9aa31cae153.jpg","text":"TemporaryFile(/tmp/multipartBody6089794898314930388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954052287,"filename":"image_04012025_02_26_02_798767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/72b42e2baebc143efe69dcce40f7358d.jpg","text":"TemporaryFile(/tmp/multipartBody4807526178285848330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954052287,"filename":"image_04012025_02_25_02_243381_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326191013","file1":"1326190819","file0":"1326190710","file3":"1326191016"},"map_files_photo_id_array":[{"photo_id":"1326191013","filename":"file2"},{"photo_id":"1326190819","filename":"file1"},{"photo_id":"1326190710","filename":"file0"},{"photo_id":"1326191016","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326190819":["hashtag1","hashtag2"]},{"1326191016":["hashtag1","hashtag2"]},{"1326191013":["hashtag1","hashtag2"]},{"1326190710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326190819, 1326191016, 1326191013, 1326190710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.55445098876953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:27:22.450697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/26/image_04012025_02_26_02_798767_0003.jpg', '/home/pi/Desktop/images/04012025/02/27/image_04012025_02_27_02_305131_0000.jpg', '/home/pi/Desktop/images/04012025/02/27/image_04012025_02_27_02_305131_0001.jpg', '/home/pi/Desktop/images/04012025/02/27/image_04012025_02_27_02_305131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/26/image_04012025_02_26_02_798767_0003.jpg
/home/pi/Desktop/images/04012025/02/27/image_04012025_02_27_02_305131_0000.jpg
/home/pi/Desktop/images/04012025/02/27/image_04012025_02_27_02_305131_0001.jpg
/home/pi/Desktop/images/04012025/02/27/image_04012025_02_27_02_305131_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326191837","1326191834","1326191961","1326191882"],"photo_ids_order":["1326191834","1326191837","1326191882","1326191961"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/223ca4654aee9bff4983d205a76264e1.jpg","text":"TemporaryFile(/tmp/multipartBody8926692552621221338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954112856,"filename":"image_04012025_02_27_02_305131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6e133242a2dfb6b338029143dca8b6d7.jpg","text":"TemporaryFile(/tmp/multipartBody3684278226392100352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954112856,"filename":"image_04012025_02_26_02_798767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/68e5c2997b71e259091c43e1e6224868.jpg","text":"TemporaryFile(/tmp/multipartBody4659179764044971027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954112856,"filename":"image_04012025_02_27_02_305131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e05d1621f640aaac8f23cb1dbb0f72e1.jpg","text":"TemporaryFile(/tmp/multipartBody7320625795705041814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954112856,"filename":"image_04012025_02_27_02_305131_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326191882","file1":"1326191837","file0":"1326191834","file3":"1326191961"},"map_files_photo_id_array":[{"photo_id":"1326191882","filename":"file2"},{"photo_id":"1326191837","filename":"file1"},{"photo_id":"1326191834","filename":"file0"},{"photo_id":"1326191961","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326191837":["hashtag1","hashtag2"]},{"1326191834":["hashtag1","hashtag2"]},{"1326191961":["hashtag1","hashtag2"]},{"1326191882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326191837, 1326191834, 1326191961, 1326191882)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.01154017448425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:28:21.862191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/27/image_04012025_02_27_02_305131_0003.jpg', '/home/pi/Desktop/images/04012025/02/28/image_04012025_02_28_02_783237_0000.jpg', '/home/pi/Desktop/images/04012025/02/28/image_04012025_02_28_02_783237_0001.jpg', '/home/pi/Desktop/images/04012025/02/28/image_04012025_02_28_02_783237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/27/image_04012025_02_27_02_305131_0003.jpg
/home/pi/Desktop/images/04012025/02/28/image_04012025_02_28_02_783237_0000.jpg
/home/pi/Desktop/images/04012025/02/28/image_04012025_02_28_02_783237_0001.jpg
/home/pi/Desktop/images/04012025/02/28/image_04012025_02_28_02_783237_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.175414085388184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:29:03.198414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/27/image_04012025_02_27_02_305131_0003.jpg', '/home/pi/Desktop/images/04012025/02/28/image_04012025_02_28_02_783237_0000.jpg', '/home/pi/Desktop/images/04012025/02/28/image_04012025_02_28_02_783237_0001.jpg', '/home/pi/Desktop/images/04012025/02/28/image_04012025_02_28_02_783237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/27/image_04012025_02_27_02_305131_0003.jpg
/home/pi/Desktop/images/04012025/02/28/image_04012025_02_28_02_783237_0000.jpg
/home/pi/Desktop/images/04012025/02/28/image_04012025_02_28_02_783237_0001.jpg
/home/pi/Desktop/images/04012025/02/28/image_04012025_02_28_02_783237_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326192628","1326192631","1326192625","1326192695"],"photo_ids_order":["1326192625","1326192628","1326192631","1326192695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1f71c549e9027c10cfb8099c2ab9133a.jpg","text":"TemporaryFile(/tmp/multipartBody1201049050048898378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954213764,"filename":"image_04012025_02_28_02_783237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2b4c5bd97afe3e5126cfd4d955960d2d.jpg","text":"TemporaryFile(/tmp/multipartBody425050629991838733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954213764,"filename":"image_04012025_02_28_02_783237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd13de7ce7d97a320cde1b7c5cf8a090.jpg","text":"TemporaryFile(/tmp/multipartBody6640238340945653919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954213764,"filename":"image_04012025_02_27_02_305131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/523fefd9924668be9f25585cc4156e55.jpg","text":"TemporaryFile(/tmp/multipartBody2347564551545478221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954213764,"filename":"image_04012025_02_28_02_783237_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326192631","file1":"1326192628","file0":"1326192625","file3":"1326192695"},"map_files_photo_id_array":[{"photo_id":"1326192631","filename":"file2"},{"photo_id":"1326192628","filename":"file1"},{"photo_id":"1326192625","filename":"file0"},{"photo_id":"1326192695","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326192628":["hashtag1","hashtag2"]},{"1326192631":["hashtag1","hashtag2"]},{"1326192625":["hashtag1","hashtag2"]},{"1326192695":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326192628, 1326192631, 1326192625, 1326192695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66906762123108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:30:02.654369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/28/image_04012025_02_28_02_783237_0003.jpg', '/home/pi/Desktop/images/04012025/02/29/image_04012025_02_29_02_349980_0000.jpg', '/home/pi/Desktop/images/04012025/02/29/image_04012025_02_29_02_349980_0001.jpg', '/home/pi/Desktop/images/04012025/02/29/image_04012025_02_29_02_349980_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/28/image_04012025_02_28_02_783237_0003.jpg
/home/pi/Desktop/images/04012025/02/29/image_04012025_02_29_02_349980_0000.jpg
/home/pi/Desktop/images/04012025/02/29/image_04012025_02_29_02_349980_0001.jpg
/home/pi/Desktop/images/04012025/02/29/image_04012025_02_29_02_349980_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326193038","1326193085","1326193040","1326193087"],"photo_ids_order":["1326193038","1326193040","1326193085","1326193087"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/98a53abf71a0804f98fd5c9afdd45cfa.jpg","text":"TemporaryFile(/tmp/multipartBody5294432642051466646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954273049,"filename":"image_04012025_02_28_02_783237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/60e5d2a40bb8040e7e9ccb75cbfbf1fe.jpg","text":"TemporaryFile(/tmp/multipartBody6123998722837673005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954273049,"filename":"image_04012025_02_29_02_349980_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/263dda91f74f16a3aed03313b8c19b90.jpg","text":"TemporaryFile(/tmp/multipartBody578063205182868630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954273049,"filename":"image_04012025_02_29_02_349980_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/815a7351d42131558f8e866e6c56e709.jpg","text":"TemporaryFile(/tmp/multipartBody3964615528234834584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954273049,"filename":"image_04012025_02_29_02_349980_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326193085","file1":"1326193040","file0":"1326193038","file3":"1326193087"},"map_files_photo_id_array":[{"photo_id":"1326193085","filename":"file2"},{"photo_id":"1326193040","filename":"file1"},{"photo_id":"1326193038","filename":"file0"},{"photo_id":"1326193087","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326193038":["hashtag1","hashtag2"]},{"1326193085":["hashtag1","hashtag2"]},{"1326193040":["hashtag1","hashtag2"]},{"1326193087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326193038, 1326193085, 1326193040, 1326193087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.995662450790405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:31:03.263640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/29/image_04012025_02_29_02_349980_0003.jpg', '/home/pi/Desktop/images/04012025/02/30/image_04012025_02_30_02_880539_0000.jpg', '/home/pi/Desktop/images/04012025/02/30/image_04012025_02_30_02_880539_0001.jpg', '/home/pi/Desktop/images/04012025/02/30/image_04012025_02_30_02_880539_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/29/image_04012025_02_29_02_349980_0003.jpg
/home/pi/Desktop/images/04012025/02/30/image_04012025_02_30_02_880539_0000.jpg
/home/pi/Desktop/images/04012025/02/30/image_04012025_02_30_02_880539_0001.jpg
/home/pi/Desktop/images/04012025/02/30/image_04012025_02_30_02_880539_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.323622226715088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:31:22.578332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/29/image_04012025_02_29_02_349980_0003.jpg', '/home/pi/Desktop/images/04012025/02/30/image_04012025_02_30_02_880539_0000.jpg', '/home/pi/Desktop/images/04012025/02/30/image_04012025_02_30_02_880539_0001.jpg', '/home/pi/Desktop/images/04012025/02/30/image_04012025_02_30_02_880539_0002.jpg', '/home/pi/Desktop/images/04012025/02/30/image_04012025_02_30_02_880539_0003.jpg', '/home/pi/Desktop/images/04012025/02/31/image_04012025_02_31_02_526206_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/29/image_04012025_02_29_02_349980_0003.jpg
/home/pi/Desktop/images/04012025/02/30/image_04012025_02_30_02_880539_0000.jpg
/home/pi/Desktop/images/04012025/02/30/image_04012025_02_30_02_880539_0001.jpg
/home/pi/Desktop/images/04012025/02/30/image_04012025_02_30_02_880539_0002.jpg
/home/pi/Desktop/images/04012025/02/30/image_04012025_02_30_02_880539_0003.jpg
/home/pi/Desktop/images/04012025/02/31/image_04012025_02_31_02_526206_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326194097","1326193801","1326193965","1326194115","1326193710","1326193780"],"photo_ids_order":["1326193710","1326193780","1326193801","1326193965","1326194097","1326194115"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0076eeaf497e362985dc30e3fdf09a7f.jpg","text":"TemporaryFile(/tmp/multipartBody3618774675731219809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954358087,"filename":"image_04012025_02_30_02_880539_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5f76cc932e5660ee2e5b221ed09f8acc.jpg","text":"TemporaryFile(/tmp/multipartBody3926052725137018856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954358087,"filename":"image_04012025_02_30_02_880539_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6cb0dfe8926ec9a12c6d40ca166b57ac.jpg","text":"TemporaryFile(/tmp/multipartBody1147474299367691650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954358087,"filename":"image_04012025_02_30_02_880539_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/188a931557671a81ad741959636d34f3.jpg","text":"TemporaryFile(/tmp/multipartBody1512348031181474177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954358087,"filename":"image_04012025_02_31_02_526206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/20c0e395ac883b8fc8228cbd0aca4236.jpg","text":"TemporaryFile(/tmp/multipartBody6002828442618104203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954358087,"filename":"image_04012025_02_29_02_349980_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6fed8e81a87be39a23fefeb2f76a6cf5.jpg","text":"TemporaryFile(/tmp/multipartBody8978454890670966216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954358087,"filename":"image_04012025_02_30_02_880539_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326193801","file1":"1326193780","file0":"1326193710","file4":"1326194097","file5":"1326194115","file3":"1326193965"},"map_files_photo_id_array":[{"photo_id":"1326194115","filename":"file5"},{"photo_id":"1326193801","filename":"file2"},{"photo_id":"1326194097","filename":"file4"},{"photo_id":"1326193780","filename":"file1"},{"photo_id":"1326193710","filename":"file0"},{"photo_id":"1326193965","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326194097":["hashtag1","hashtag2"]},{"1326193801":["hashtag1","hashtag2"]},{"1326193965":["hashtag1","hashtag2"]},{"1326194115":["hashtag1","hashtag2"]},{"1326193710":["hashtag1","hashtag2"]},{"1326193780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326194097, 1326193801, 1326193965, 1326194115, 1326193710, 1326193780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.88783860206604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:32:22.297945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/31/image_04012025_02_31_02_526206_0001.jpg', '/home/pi/Desktop/images/04012025/02/31/image_04012025_02_31_02_526206_0002.jpg', '/home/pi/Desktop/images/04012025/02/31/image_04012025_02_31_02_526206_0003.jpg', '/home/pi/Desktop/images/04012025/02/32/image_04012025_02_32_03_141755_0000.jpg', '/home/pi/Desktop/images/04012025/02/32/image_04012025_02_32_03_141755_0001.jpg', '/home/pi/Desktop/images/04012025/02/32/image_04012025_02_32_03_141755_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/31/image_04012025_02_31_02_526206_0001.jpg
/home/pi/Desktop/images/04012025/02/31/image_04012025_02_31_02_526206_0002.jpg
/home/pi/Desktop/images/04012025/02/31/image_04012025_02_31_02_526206_0003.jpg
/home/pi/Desktop/images/04012025/02/32/image_04012025_02_32_03_141755_0000.jpg
/home/pi/Desktop/images/04012025/02/32/image_04012025_02_32_03_141755_0001.jpg
/home/pi/Desktop/images/04012025/02/32/image_04012025_02_32_03_141755_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326194454","1326194217","1326194351","1326194354","1326194345","1326194306"],"photo_ids_order":["1326194217","1326194306","1326194345","1326194351","1326194354","1326194454"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dcfc97408bc710ebf921c37547eb540e.jpg","text":"TemporaryFile(/tmp/multipartBody3189143683616798942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954417433,"filename":"image_04012025_02_32_03_141755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/511b97c309d40dd343b44ec5d0ceb607.jpg","text":"TemporaryFile(/tmp/multipartBody6078377589331782445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954417433,"filename":"image_04012025_02_31_02_526206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f77a06397115fea9e2b062e472c7e174.jpg","text":"TemporaryFile(/tmp/multipartBody2687723668760166586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954417433,"filename":"image_04012025_02_32_03_141755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/82b2af9be3781fce798c6e4dbdbe5ce2.jpg","text":"TemporaryFile(/tmp/multipartBody345380521255819656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954417433,"filename":"image_04012025_02_32_03_141755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f36f49dc3c64e42002130a12503fdf44.jpg","text":"TemporaryFile(/tmp/multipartBody6674266295836390009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954417433,"filename":"image_04012025_02_31_02_526206_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a374df96b1265443d3152d12a25d8e8d.jpg","text":"TemporaryFile(/tmp/multipartBody5773116560674658856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954417433,"filename":"image_04012025_02_31_02_526206_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326194345","file1":"1326194306","file0":"1326194217","file4":"1326194354","file5":"1326194454","file3":"1326194351"},"map_files_photo_id_array":[{"photo_id":"1326194454","filename":"file5"},{"photo_id":"1326194345","filename":"file2"},{"photo_id":"1326194354","filename":"file4"},{"photo_id":"1326194306","filename":"file1"},{"photo_id":"1326194217","filename":"file0"},{"photo_id":"1326194351","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326194454":["hashtag1","hashtag2"]},{"1326194217":["hashtag1","hashtag2"]},{"1326194351":["hashtag1","hashtag2"]},{"1326194354":["hashtag1","hashtag2"]},{"1326194345":["hashtag1","hashtag2"]},{"1326194306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326194454, 1326194217, 1326194351, 1326194354, 1326194345, 1326194306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.19877052307129 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:33:21.758317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/32/image_04012025_02_32_03_141755_0003.jpg', '/home/pi/Desktop/images/04012025/02/33/image_04012025_02_33_02_682441_0000.jpg', '/home/pi/Desktop/images/04012025/02/33/image_04012025_02_33_02_682441_0001.jpg', '/home/pi/Desktop/images/04012025/02/33/image_04012025_02_33_02_682441_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/32/image_04012025_02_32_03_141755_0003.jpg
/home/pi/Desktop/images/04012025/02/33/image_04012025_02_33_02_682441_0000.jpg
/home/pi/Desktop/images/04012025/02/33/image_04012025_02_33_02_682441_0001.jpg
/home/pi/Desktop/images/04012025/02/33/image_04012025_02_33_02_682441_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326194739","1326194959","1326194821","1326194665"],"photo_ids_order":["1326194665","1326194739","1326194821","1326194959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/358468219b513a14a810b919491d97b2.jpg","text":"TemporaryFile(/tmp/multipartBody8699375029723485574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954472186,"filename":"image_04012025_02_33_02_682441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6760a145b60b5c164b4caba7ac2c6a40.jpg","text":"TemporaryFile(/tmp/multipartBody2613582085365160726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954472186,"filename":"image_04012025_02_33_02_682441_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/701ccc4d5d2f0df2c4af6bd7f6934b2a.jpg","text":"TemporaryFile(/tmp/multipartBody8304436224544922403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954472186,"filename":"image_04012025_02_33_02_682441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/13d6fa0d6baf16e54eaaf30269c57eff.jpg","text":"TemporaryFile(/tmp/multipartBody2503420383973392706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954472186,"filename":"image_04012025_02_32_03_141755_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326194821","file1":"1326194739","file0":"1326194665","file3":"1326194959"},"map_files_photo_id_array":[{"photo_id":"1326194821","filename":"file2"},{"photo_id":"1326194739","filename":"file1"},{"photo_id":"1326194665","filename":"file0"},{"photo_id":"1326194959","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326194739":["hashtag1","hashtag2"]},{"1326194959":["hashtag1","hashtag2"]},{"1326194821":["hashtag1","hashtag2"]},{"1326194665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326194739, 1326194959, 1326194821, 1326194665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.75508117675781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:34:22.422559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/33/image_04012025_02_33_02_682441_0003.jpg', '/home/pi/Desktop/images/04012025/02/34/image_04012025_02_34_02_238513_0000.jpg', '/home/pi/Desktop/images/04012025/02/34/image_04012025_02_34_02_238513_0001.jpg', '/home/pi/Desktop/images/04012025/02/34/image_04012025_02_34_02_238513_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/33/image_04012025_02_33_02_682441_0003.jpg
/home/pi/Desktop/images/04012025/02/34/image_04012025_02_34_02_238513_0000.jpg
/home/pi/Desktop/images/04012025/02/34/image_04012025_02_34_02_238513_0001.jpg
/home/pi/Desktop/images/04012025/02/34/image_04012025_02_34_02_238513_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.050337791442871 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:35:02.607198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/33/image_04012025_02_33_02_682441_0003.jpg', '/home/pi/Desktop/images/04012025/02/34/image_04012025_02_34_02_238513_0000.jpg', '/home/pi/Desktop/images/04012025/02/34/image_04012025_02_34_02_238513_0001.jpg', '/home/pi/Desktop/images/04012025/02/34/image_04012025_02_34_02_238513_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/33/image_04012025_02_33_02_682441_0003.jpg
/home/pi/Desktop/images/04012025/02/34/image_04012025_02_34_02_238513_0000.jpg
/home/pi/Desktop/images/04012025/02/34/image_04012025_02_34_02_238513_0001.jpg
/home/pi/Desktop/images/04012025/02/34/image_04012025_02_34_02_238513_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326195750","1326195794","1326195796","1326195751"],"photo_ids_order":["1326195750","1326195751","1326195794","1326195796"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b96c6e12241ad744013ec2fa06eaf7e6.jpg","text":"TemporaryFile(/tmp/multipartBody4572938335899062310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954573099,"filename":"image_04012025_02_33_02_682441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca9c2332ff401ade88ad8fcc6d7f5ea7.jpg","text":"TemporaryFile(/tmp/multipartBody5597635319665790545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954573099,"filename":"image_04012025_02_34_02_238513_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3d0d259776e2a9411cd11cd3713f7348.jpg","text":"TemporaryFile(/tmp/multipartBody7347469556834905599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954573099,"filename":"image_04012025_02_34_02_238513_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/74ecf86ac34cc0e343b6902d93765459.jpg","text":"TemporaryFile(/tmp/multipartBody1931499349801196700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954573099,"filename":"image_04012025_02_34_02_238513_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326195794","file1":"1326195751","file0":"1326195750","file3":"1326195796"},"map_files_photo_id_array":[{"photo_id":"1326195794","filename":"file2"},{"photo_id":"1326195751","filename":"file1"},{"photo_id":"1326195750","filename":"file0"},{"photo_id":"1326195796","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326195750":["hashtag1","hashtag2"]},{"1326195794":["hashtag1","hashtag2"]},{"1326195796":["hashtag1","hashtag2"]},{"1326195751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326195750, 1326195794, 1326195796, 1326195751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60357928276062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:36:03.035189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/34/image_04012025_02_34_02_238513_0003.jpg', '/home/pi/Desktop/images/04012025/02/35/image_04012025_02_35_02_783635_0000.jpg', '/home/pi/Desktop/images/04012025/02/35/image_04012025_02_35_02_783635_0001.jpg', '/home/pi/Desktop/images/04012025/02/35/image_04012025_02_35_02_783635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/34/image_04012025_02_34_02_238513_0003.jpg
/home/pi/Desktop/images/04012025/02/35/image_04012025_02_35_02_783635_0000.jpg
/home/pi/Desktop/images/04012025/02/35/image_04012025_02_35_02_783635_0001.jpg
/home/pi/Desktop/images/04012025/02/35/image_04012025_02_35_02_783635_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.004590511322021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:36:22.516663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/34/image_04012025_02_34_02_238513_0003.jpg', '/home/pi/Desktop/images/04012025/02/35/image_04012025_02_35_02_783635_0000.jpg', '/home/pi/Desktop/images/04012025/02/35/image_04012025_02_35_02_783635_0001.jpg', '/home/pi/Desktop/images/04012025/02/35/image_04012025_02_35_02_783635_0002.jpg', '/home/pi/Desktop/images/04012025/02/35/image_04012025_02_35_02_783635_0003.jpg', '/home/pi/Desktop/images/04012025/02/36/image_04012025_02_36_02_313590_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/34/image_04012025_02_34_02_238513_0003.jpg
/home/pi/Desktop/images/04012025/02/35/image_04012025_02_35_02_783635_0000.jpg
/home/pi/Desktop/images/04012025/02/35/image_04012025_02_35_02_783635_0001.jpg
/home/pi/Desktop/images/04012025/02/35/image_04012025_02_35_02_783635_0002.jpg
/home/pi/Desktop/images/04012025/02/35/image_04012025_02_35_02_783635_0003.jpg
/home/pi/Desktop/images/04012025/02/36/image_04012025_02_36_02_313590_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326196586","1326196636","1326196593","1326196494","1326196290","1326196209"],"photo_ids_order":["1326196209","1326196290","1326196494","1326196586","1326196593","1326196636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0980505746a981523c7a36f27d449f38.jpg","text":"TemporaryFile(/tmp/multipartBody6503042779706256336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954657781,"filename":"image_04012025_02_35_02_783635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d9fe909330b6f8c5b4c3b33f41617e17.jpg","text":"TemporaryFile(/tmp/multipartBody4169055055749637103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954657781,"filename":"image_04012025_02_36_02_313590_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9968f7e601d63c7d656c865eef509c33.jpg","text":"TemporaryFile(/tmp/multipartBody2539566693388118638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954657781,"filename":"image_04012025_02_35_02_783635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/179d76094096a602661e3f659f10530b.jpg","text":"TemporaryFile(/tmp/multipartBody7406502276823059051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954657781,"filename":"image_04012025_02_35_02_783635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fb4ba0644d50f07d841c6bc24e4b7615.jpg","text":"TemporaryFile(/tmp/multipartBody6686098338037011207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954657781,"filename":"image_04012025_02_35_02_783635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5471c558ec6f0ec52c8c7d698e620ceb.jpg","text":"TemporaryFile(/tmp/multipartBody506575530657326962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954657781,"filename":"image_04012025_02_34_02_238513_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326196494","file1":"1326196290","file0":"1326196209","file4":"1326196593","file5":"1326196636","file3":"1326196586"},"map_files_photo_id_array":[{"photo_id":"1326196636","filename":"file5"},{"photo_id":"1326196494","filename":"file2"},{"photo_id":"1326196593","filename":"file4"},{"photo_id":"1326196290","filename":"file1"},{"photo_id":"1326196209","filename":"file0"},{"photo_id":"1326196586","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326196586":["hashtag1","hashtag2"]},{"1326196636":["hashtag1","hashtag2"]},{"1326196593":["hashtag1","hashtag2"]},{"1326196494":["hashtag1","hashtag2"]},{"1326196290":["hashtag1","hashtag2"]},{"1326196209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326196586, 1326196636, 1326196593, 1326196494, 1326196290, 1326196209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.202128171920776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:37:22.071239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/36/image_04012025_02_36_02_313590_0001.jpg', '/home/pi/Desktop/images/04012025/02/36/image_04012025_02_36_02_313590_0002.jpg', '/home/pi/Desktop/images/04012025/02/36/image_04012025_02_36_02_313590_0003.jpg', '/home/pi/Desktop/images/04012025/02/37/image_04012025_02_37_02_875513_0000.jpg', '/home/pi/Desktop/images/04012025/02/37/image_04012025_02_37_02_875513_0001.jpg', '/home/pi/Desktop/images/04012025/02/37/image_04012025_02_37_02_875513_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/36/image_04012025_02_36_02_313590_0001.jpg
/home/pi/Desktop/images/04012025/02/36/image_04012025_02_36_02_313590_0002.jpg
/home/pi/Desktop/images/04012025/02/36/image_04012025_02_36_02_313590_0003.jpg
/home/pi/Desktop/images/04012025/02/37/image_04012025_02_37_02_875513_0000.jpg
/home/pi/Desktop/images/04012025/02/37/image_04012025_02_37_02_875513_0001.jpg
/home/pi/Desktop/images/04012025/02/37/image_04012025_02_37_02_875513_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326197386","1326197173","1326197611","1326196948","1326197685","1326197034"],"photo_ids_order":["1326196948","1326197034","1326197173","1326197386","1326197611","1326197685"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/824bdf8f1237802bab9f80f70a7727fb.jpg","text":"TemporaryFile(/tmp/multipartBody8980459338714133687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954717398,"filename":"image_04012025_02_37_02_875513_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0b359b07bf2a9fe14dc9a2744d2b7cbd.jpg","text":"TemporaryFile(/tmp/multipartBody6209813904403802207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954717398,"filename":"image_04012025_02_36_02_313590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9ea1b1e8be4f2e2c2681825593ae5568.jpg","text":"TemporaryFile(/tmp/multipartBody5897367174786864668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954717398,"filename":"image_04012025_02_37_02_875513_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5841d63196829a18304830195a18905c.jpg","text":"TemporaryFile(/tmp/multipartBody8088369929712091809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954717398,"filename":"image_04012025_02_36_02_313590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dc3000cff7ddc54a9e576b9abb18df4b.jpg","text":"TemporaryFile(/tmp/multipartBody3842365587089889921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954717398,"filename":"image_04012025_02_37_02_875513_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a0dd304e07c17c71298351b4eb501290.jpg","text":"TemporaryFile(/tmp/multipartBody7287150632202461380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954717398,"filename":"image_04012025_02_36_02_313590_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326197173","file1":"1326197034","file0":"1326196948","file4":"1326197611","file5":"1326197685","file3":"1326197386"},"map_files_photo_id_array":[{"photo_id":"1326197685","filename":"file5"},{"photo_id":"1326197173","filename":"file2"},{"photo_id":"1326197611","filename":"file4"},{"photo_id":"1326197034","filename":"file1"},{"photo_id":"1326196948","filename":"file0"},{"photo_id":"1326197386","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326197386":["hashtag1","hashtag2"]},{"1326197173":["hashtag1","hashtag2"]},{"1326197611":["hashtag1","hashtag2"]},{"1326196948":["hashtag1","hashtag2"]},{"1326197685":["hashtag1","hashtag2"]},{"1326197034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326197386, 1326197173, 1326197611, 1326196948, 1326197685, 1326197034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.27855706214905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:38:22.531522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/37/image_04012025_02_37_02_875513_0003.jpg', '/home/pi/Desktop/images/04012025/02/38/image_04012025_02_38_02_381055_0000.jpg', '/home/pi/Desktop/images/04012025/02/38/image_04012025_02_38_02_381055_0001.jpg', '/home/pi/Desktop/images/04012025/02/38/image_04012025_02_38_02_381055_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/37/image_04012025_02_37_02_875513_0003.jpg
/home/pi/Desktop/images/04012025/02/38/image_04012025_02_38_02_381055_0000.jpg
/home/pi/Desktop/images/04012025/02/38/image_04012025_02_38_02_381055_0001.jpg
/home/pi/Desktop/images/04012025/02/38/image_04012025_02_38_02_381055_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326198614","1326198396","1326198207","1326198455"],"photo_ids_order":["1326198207","1326198396","1326198455","1326198614"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4bb3611ac765676aefc990e192cd6122.jpg","text":"TemporaryFile(/tmp/multipartBody4118065645493305700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954772914,"filename":"image_04012025_02_38_02_381055_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/721c4d5c3d21eb9a9ac0028a3baf59c7.jpg","text":"TemporaryFile(/tmp/multipartBody4718880575497530763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954772914,"filename":"image_04012025_02_38_02_381055_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/501b3f54d0962816f04264f9af162c3e.jpg","text":"TemporaryFile(/tmp/multipartBody1625115148828574128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954772914,"filename":"image_04012025_02_37_02_875513_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/448724fde8da5a15f3036b28f39cf89b.jpg","text":"TemporaryFile(/tmp/multipartBody4498341315905554801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954772914,"filename":"image_04012025_02_38_02_381055_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326198455","file1":"1326198396","file0":"1326198207","file3":"1326198614"},"map_files_photo_id_array":[{"photo_id":"1326198455","filename":"file2"},{"photo_id":"1326198396","filename":"file1"},{"photo_id":"1326198207","filename":"file0"},{"photo_id":"1326198614","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326198614":["hashtag1","hashtag2"]},{"1326198396":["hashtag1","hashtag2"]},{"1326198207":["hashtag1","hashtag2"]},{"1326198455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326198614, 1326198396, 1326198207, 1326198455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.775551557540894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:39:21.993893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/38/image_04012025_02_38_02_381055_0003.jpg', '/home/pi/Desktop/images/04012025/02/39/image_04012025_02_39_02_867653_0000.jpg', '/home/pi/Desktop/images/04012025/02/39/image_04012025_02_39_02_867653_0001.jpg', '/home/pi/Desktop/images/04012025/02/39/image_04012025_02_39_02_867653_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/38/image_04012025_02_38_02_381055_0003.jpg
/home/pi/Desktop/images/04012025/02/39/image_04012025_02_39_02_867653_0000.jpg
/home/pi/Desktop/images/04012025/02/39/image_04012025_02_39_02_867653_0001.jpg
/home/pi/Desktop/images/04012025/02/39/image_04012025_02_39_02_867653_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326198973","1326198976","1326198979","1326198981"],"photo_ids_order":["1326198973","1326198976","1326198979","1326198981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f2719deeb0b2a2ea7f568022872d80e6.jpg","text":"TemporaryFile(/tmp/multipartBody8542045898194194727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954832345,"filename":"image_04012025_02_38_02_381055_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/42e8eb104c1ce21ce902ba9c4c003a8c.jpg","text":"TemporaryFile(/tmp/multipartBody3436435415364788093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954832345,"filename":"image_04012025_02_39_02_867653_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/31af72f6524b20d443922db246bd4847.jpg","text":"TemporaryFile(/tmp/multipartBody4872026304284886682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954832345,"filename":"image_04012025_02_39_02_867653_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e9232c0f1264828859e072a59a172be3.jpg","text":"TemporaryFile(/tmp/multipartBody5488632424395801833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954832345,"filename":"image_04012025_02_39_02_867653_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326198979","file1":"1326198976","file0":"1326198973","file3":"1326198981"},"map_files_photo_id_array":[{"photo_id":"1326198979","filename":"file2"},{"photo_id":"1326198976","filename":"file1"},{"photo_id":"1326198973","filename":"file0"},{"photo_id":"1326198981","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326198973":["hashtag1","hashtag2"]},{"1326198976":["hashtag1","hashtag2"]},{"1326198979":["hashtag1","hashtag2"]},{"1326198981":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326198973, 1326198976, 1326198979, 1326198981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.06895995140076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:40:22.566722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/39/image_04012025_02_39_02_867653_0003.jpg', '/home/pi/Desktop/images/04012025/02/40/image_04012025_02_40_02_471430_0000.jpg', '/home/pi/Desktop/images/04012025/02/40/image_04012025_02_40_02_471430_0001.jpg', '/home/pi/Desktop/images/04012025/02/40/image_04012025_02_40_02_471430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/39/image_04012025_02_39_02_867653_0003.jpg
/home/pi/Desktop/images/04012025/02/40/image_04012025_02_40_02_471430_0000.jpg
/home/pi/Desktop/images/04012025/02/40/image_04012025_02_40_02_471430_0001.jpg
/home/pi/Desktop/images/04012025/02/40/image_04012025_02_40_02_471430_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.071295976638794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:41:02.783592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/39/image_04012025_02_39_02_867653_0003.jpg', '/home/pi/Desktop/images/04012025/02/40/image_04012025_02_40_02_471430_0000.jpg', '/home/pi/Desktop/images/04012025/02/40/image_04012025_02_40_02_471430_0001.jpg', '/home/pi/Desktop/images/04012025/02/40/image_04012025_02_40_02_471430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/39/image_04012025_02_39_02_867653_0003.jpg
/home/pi/Desktop/images/04012025/02/40/image_04012025_02_40_02_471430_0000.jpg
/home/pi/Desktop/images/04012025/02/40/image_04012025_02_40_02_471430_0001.jpg
/home/pi/Desktop/images/04012025/02/40/image_04012025_02_40_02_471430_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326199519","1326199426","1326199488","1326199517"],"photo_ids_order":["1326199426","1326199488","1326199517","1326199519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d877fc9a2f0bac97a49c8c8a93800ccd.jpg","text":"TemporaryFile(/tmp/multipartBody8385770189307673436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954933295,"filename":"image_04012025_02_40_02_471430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5d3d7a3dec4ef23bb490057dc1290729.jpg","text":"TemporaryFile(/tmp/multipartBody5037872284060195668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954933295,"filename":"image_04012025_02_39_02_867653_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5215d899f18422d504e1c7111e2a246a.jpg","text":"TemporaryFile(/tmp/multipartBody304939954155757369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954933295,"filename":"image_04012025_02_40_02_471430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/848c9c186bce920c95fd41f14059473b.jpg","text":"TemporaryFile(/tmp/multipartBody1418682923872405695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735954933295,"filename":"image_04012025_02_40_02_471430_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326199517","file1":"1326199488","file0":"1326199426","file3":"1326199519"},"map_files_photo_id_array":[{"photo_id":"1326199517","filename":"file2"},{"photo_id":"1326199488","filename":"file1"},{"photo_id":"1326199426","filename":"file0"},{"photo_id":"1326199519","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326199519":["hashtag1","hashtag2"]},{"1326199426":["hashtag1","hashtag2"]},{"1326199488":["hashtag1","hashtag2"]},{"1326199517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326199519, 1326199426, 1326199488, 1326199517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44606590270996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:42:02.161852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/40/image_04012025_02_40_02_471430_0003.jpg', '/home/pi/Desktop/images/04012025/02/41/image_04012025_02_41_03_006399_0000.jpg', '/home/pi/Desktop/images/04012025/02/41/image_04012025_02_41_03_006399_0001.jpg', '/home/pi/Desktop/images/04012025/02/41/image_04012025_02_41_03_006399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/40/image_04012025_02_40_02_471430_0003.jpg
/home/pi/Desktop/images/04012025/02/41/image_04012025_02_41_03_006399_0000.jpg
/home/pi/Desktop/images/04012025/02/41/image_04012025_02_41_03_006399_0001.jpg
/home/pi/Desktop/images/04012025/02/41/image_04012025_02_41_03_006399_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.081434488296509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:42:21.764544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/40/image_04012025_02_40_02_471430_0003.jpg', '/home/pi/Desktop/images/04012025/02/41/image_04012025_02_41_03_006399_0000.jpg', '/home/pi/Desktop/images/04012025/02/41/image_04012025_02_41_03_006399_0001.jpg', '/home/pi/Desktop/images/04012025/02/41/image_04012025_02_41_03_006399_0002.jpg', '/home/pi/Desktop/images/04012025/02/41/image_04012025_02_41_03_006399_0003.jpg', '/home/pi/Desktop/images/04012025/02/42/image_04012025_02_42_02_533506_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/40/image_04012025_02_40_02_471430_0003.jpg
/home/pi/Desktop/images/04012025/02/41/image_04012025_02_41_03_006399_0000.jpg
/home/pi/Desktop/images/04012025/02/41/image_04012025_02_41_03_006399_0001.jpg
/home/pi/Desktop/images/04012025/02/41/image_04012025_02_41_03_006399_0002.jpg
/home/pi/Desktop/images/04012025/02/41/image_04012025_02_41_03_006399_0003.jpg
/home/pi/Desktop/images/04012025/02/42/image_04012025_02_42_02_533506_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326200844","1326200361","1326200882","1326200585","1326200261","1326200880"],"photo_ids_order":["1326200261","1326200361","1326200585","1326200844","1326200880","1326200882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e513c1437257fa8c5baebf8c107c98a9.jpg","text":"TemporaryFile(/tmp/multipartBody7796509418269537099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955017083,"filename":"image_04012025_02_41_03_006399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b28cffeda7d55c7105d57b1d4d91e6dc.jpg","text":"TemporaryFile(/tmp/multipartBody4850260267456671865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955017083,"filename":"image_04012025_02_41_03_006399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4bac0a3a66a76e848687a322edb78d06.jpg","text":"TemporaryFile(/tmp/multipartBody2785236606229801129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955017083,"filename":"image_04012025_02_42_02_533506_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed57028f14d034e2de2e02eef6284952.jpg","text":"TemporaryFile(/tmp/multipartBody5508913145851135224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955017083,"filename":"image_04012025_02_41_03_006399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bfef18dd2b5ab42661c9abb0ee1eedad.jpg","text":"TemporaryFile(/tmp/multipartBody6252937541415056282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955017083,"filename":"image_04012025_02_40_02_471430_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1e783eaa24ab9c2a11e441451e7ec84f.jpg","text":"TemporaryFile(/tmp/multipartBody6398487799557525700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955017083,"filename":"image_04012025_02_41_03_006399_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326200585","file1":"1326200361","file0":"1326200261","file4":"1326200880","file5":"1326200882","file3":"1326200844"},"map_files_photo_id_array":[{"photo_id":"1326200882","filename":"file5"},{"photo_id":"1326200585","filename":"file2"},{"photo_id":"1326200880","filename":"file4"},{"photo_id":"1326200361","filename":"file1"},{"photo_id":"1326200261","filename":"file0"},{"photo_id":"1326200844","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326200844":["hashtag1","hashtag2"]},{"1326200361":["hashtag1","hashtag2"]},{"1326200882":["hashtag1","hashtag2"]},{"1326200585":["hashtag1","hashtag2"]},{"1326200261":["hashtag1","hashtag2"]},{"1326200880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326200844, 1326200361, 1326200882, 1326200585, 1326200261, 1326200880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.8365683555603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:43:22.330656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/42/image_04012025_02_42_02_533506_0001.jpg', '/home/pi/Desktop/images/04012025/02/42/image_04012025_02_42_02_533506_0002.jpg', '/home/pi/Desktop/images/04012025/02/42/image_04012025_02_42_02_533506_0003.jpg', '/home/pi/Desktop/images/04012025/02/43/image_04012025_02_43_02_185703_0000.jpg', '/home/pi/Desktop/images/04012025/02/43/image_04012025_02_43_02_185703_0001.jpg', '/home/pi/Desktop/images/04012025/02/43/image_04012025_02_43_02_185703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/42/image_04012025_02_42_02_533506_0001.jpg
/home/pi/Desktop/images/04012025/02/42/image_04012025_02_42_02_533506_0002.jpg
/home/pi/Desktop/images/04012025/02/42/image_04012025_02_42_02_533506_0003.jpg
/home/pi/Desktop/images/04012025/02/43/image_04012025_02_43_02_185703_0000.jpg
/home/pi/Desktop/images/04012025/02/43/image_04012025_02_43_02_185703_0001.jpg
/home/pi/Desktop/images/04012025/02/43/image_04012025_02_43_02_185703_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326201599","1326201303","1326201595","1326201214","1326201471","1326201252"],"photo_ids_order":["1326201214","1326201252","1326201303","1326201471","1326201595","1326201599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/05a780cde620c33a5089ed2ba4644aea.jpg","text":"TemporaryFile(/tmp/multipartBody7370840087022180160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955077611,"filename":"image_04012025_02_43_02_185703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9e3c75ce4b1279d6c477745cbc05924b.jpg","text":"TemporaryFile(/tmp/multipartBody5638860759270095413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955077611,"filename":"image_04012025_02_42_02_533506_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cbf21e057e464e9453464d15cdc97963.jpg","text":"TemporaryFile(/tmp/multipartBody7797127255556345473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955077611,"filename":"image_04012025_02_43_02_185703_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1fe81fe69f6aab6d10ae3b8f23e7bf2f.jpg","text":"TemporaryFile(/tmp/multipartBody3390664233579489932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955077611,"filename":"image_04012025_02_42_02_533506_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/79d2e7bc44a6c068af503d3cad118e13.jpg","text":"TemporaryFile(/tmp/multipartBody1586255438026975574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955077611,"filename":"image_04012025_02_43_02_185703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/29f566588db021acebce0946a809a4c7.jpg","text":"TemporaryFile(/tmp/multipartBody9092033837474548739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955077611,"filename":"image_04012025_02_42_02_533506_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326201303","file1":"1326201252","file0":"1326201214","file4":"1326201595","file5":"1326201599","file3":"1326201471"},"map_files_photo_id_array":[{"photo_id":"1326201599","filename":"file5"},{"photo_id":"1326201303","filename":"file2"},{"photo_id":"1326201595","filename":"file4"},{"photo_id":"1326201252","filename":"file1"},{"photo_id":"1326201214","filename":"file0"},{"photo_id":"1326201471","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326201599":["hashtag1","hashtag2"]},{"1326201303":["hashtag1","hashtag2"]},{"1326201595":["hashtag1","hashtag2"]},{"1326201214":["hashtag1","hashtag2"]},{"1326201471":["hashtag1","hashtag2"]},{"1326201252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326201599, 1326201303, 1326201595, 1326201214, 1326201471, 1326201252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.38916993141174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:45:03.028692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/43/image_04012025_02_43_02_185703_0003.jpg', '/home/pi/Desktop/images/04012025/02/44/image_04012025_02_44_02_678984_0000.jpg', '/home/pi/Desktop/images/04012025/02/44/image_04012025_02_44_02_678984_0001.jpg', '/home/pi/Desktop/images/04012025/02/44/image_04012025_02_44_02_678984_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/43/image_04012025_02_43_02_185703_0003.jpg
/home/pi/Desktop/images/04012025/02/44/image_04012025_02_44_02_678984_0000.jpg
/home/pi/Desktop/images/04012025/02/44/image_04012025_02_44_02_678984_0001.jpg
/home/pi/Desktop/images/04012025/02/44/image_04012025_02_44_02_678984_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326202280","1326202253","1326202282","1326202320"],"photo_ids_order":["1326202253","1326202280","1326202282","1326202320"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bd8efb244e6833b8dd8b54ba70449238.jpg","text":"TemporaryFile(/tmp/multipartBody848592881213237000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955173424,"filename":"image_04012025_02_44_02_678984_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a9aa2a092333b66fd718f0f0fef625a1.jpg","text":"TemporaryFile(/tmp/multipartBody6374821269949241355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955173424,"filename":"image_04012025_02_43_02_185703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/11007db05081ef4684bc278674b0557f.jpg","text":"TemporaryFile(/tmp/multipartBody6021252528449030728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955173424,"filename":"image_04012025_02_44_02_678984_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/822957bc62eb20d0c0a5c7120f56c885.jpg","text":"TemporaryFile(/tmp/multipartBody5803797874979949889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955173424,"filename":"image_04012025_02_44_02_678984_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326202282","file1":"1326202280","file0":"1326202253","file3":"1326202320"},"map_files_photo_id_array":[{"photo_id":"1326202282","filename":"file2"},{"photo_id":"1326202280","filename":"file1"},{"photo_id":"1326202253","filename":"file0"},{"photo_id":"1326202320","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326202280":["hashtag1","hashtag2"]},{"1326202253":["hashtag1","hashtag2"]},{"1326202282":["hashtag1","hashtag2"]},{"1326202320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326202280, 1326202253, 1326202282, 1326202320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.62387275695801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:46:02.279533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/44/image_04012025_02_44_02_678984_0003.jpg', '/home/pi/Desktop/images/04012025/02/45/image_04012025_02_45_02_218205_0000.jpg', '/home/pi/Desktop/images/04012025/02/45/image_04012025_02_45_02_218205_0001.jpg', '/home/pi/Desktop/images/04012025/02/45/image_04012025_02_45_02_218205_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/44/image_04012025_02_44_02_678984_0003.jpg
/home/pi/Desktop/images/04012025/02/45/image_04012025_02_45_02_218205_0000.jpg
/home/pi/Desktop/images/04012025/02/45/image_04012025_02_45_02_218205_0001.jpg
/home/pi/Desktop/images/04012025/02/45/image_04012025_02_45_02_218205_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326202763","1326202739","1326202761","1326202698"],"photo_ids_order":["1326202698","1326202739","1326202761","1326202763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fdff3e0039f8938f6b3feae4c74bb076.jpg","text":"TemporaryFile(/tmp/multipartBody2517827071759763509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955232557,"filename":"image_04012025_02_45_02_218205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c03edf4fe08555dfd36cf80e33a70509.jpg","text":"TemporaryFile(/tmp/multipartBody520108641666867259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955232557,"filename":"image_04012025_02_45_02_218205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7a9c2765e38ff217151c7c890e51bb83.jpg","text":"TemporaryFile(/tmp/multipartBody6403398901779106535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955232557,"filename":"image_04012025_02_45_02_218205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/74b10b62673fe5923aa737703294ef63.jpg","text":"TemporaryFile(/tmp/multipartBody3104491102143076390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955232557,"filename":"image_04012025_02_44_02_678984_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326202761","file1":"1326202739","file0":"1326202698","file3":"1326202763"},"map_files_photo_id_array":[{"photo_id":"1326202761","filename":"file2"},{"photo_id":"1326202739","filename":"file1"},{"photo_id":"1326202698","filename":"file0"},{"photo_id":"1326202763","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326202763":["hashtag1","hashtag2"]},{"1326202739":["hashtag1","hashtag2"]},{"1326202761":["hashtag1","hashtag2"]},{"1326202698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326202763, 1326202739, 1326202761, 1326202698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.74052309989929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:47:03.129510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/45/image_04012025_02_45_02_218205_0003.jpg', '/home/pi/Desktop/images/04012025/02/46/image_04012025_02_46_02_703097_0000.jpg', '/home/pi/Desktop/images/04012025/02/46/image_04012025_02_46_02_703097_0001.jpg', '/home/pi/Desktop/images/04012025/02/46/image_04012025_02_46_02_703097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/45/image_04012025_02_45_02_218205_0003.jpg
/home/pi/Desktop/images/04012025/02/46/image_04012025_02_46_02_703097_0000.jpg
/home/pi/Desktop/images/04012025/02/46/image_04012025_02_46_02_703097_0001.jpg
/home/pi/Desktop/images/04012025/02/46/image_04012025_02_46_02_703097_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.014381170272827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:47:22.488560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/45/image_04012025_02_45_02_218205_0003.jpg', '/home/pi/Desktop/images/04012025/02/46/image_04012025_02_46_02_703097_0000.jpg', '/home/pi/Desktop/images/04012025/02/46/image_04012025_02_46_02_703097_0001.jpg', '/home/pi/Desktop/images/04012025/02/46/image_04012025_02_46_02_703097_0002.jpg', '/home/pi/Desktop/images/04012025/02/46/image_04012025_02_46_02_703097_0003.jpg', '/home/pi/Desktop/images/04012025/02/47/image_04012025_02_47_02_343395_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/45/image_04012025_02_45_02_218205_0003.jpg
/home/pi/Desktop/images/04012025/02/46/image_04012025_02_46_02_703097_0000.jpg
/home/pi/Desktop/images/04012025/02/46/image_04012025_02_46_02_703097_0001.jpg
/home/pi/Desktop/images/04012025/02/46/image_04012025_02_46_02_703097_0002.jpg
/home/pi/Desktop/images/04012025/02/46/image_04012025_02_46_02_703097_0003.jpg
/home/pi/Desktop/images/04012025/02/47/image_04012025_02_47_02_343395_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326204225","1326204129","1326204155","1326204014","1326204184","1326204070"],"photo_ids_order":["1326204014","1326204070","1326204129","1326204155","1326204184","1326204225"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/470f8ae299823c06ccdd1b628312328c.jpg","text":"TemporaryFile(/tmp/multipartBody5899002472349474625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955317687,"filename":"image_04012025_02_47_02_343395_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc9552e5ad3446c29d348cc826abffee.jpg","text":"TemporaryFile(/tmp/multipartBody6372528746239007333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955317687,"filename":"image_04012025_02_46_02_703097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8447c524755350222022fa704364ba8d.jpg","text":"TemporaryFile(/tmp/multipartBody4703297953641800263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955317687,"filename":"image_04012025_02_46_02_703097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6f860ad4b42ad0328fcf5c59b2abd93b.jpg","text":"TemporaryFile(/tmp/multipartBody315026218209897382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955317687,"filename":"image_04012025_02_45_02_218205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1bf0d28a0c17d75d154918fa8857cd0a.jpg","text":"TemporaryFile(/tmp/multipartBody2144043433070431028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955317687,"filename":"image_04012025_02_46_02_703097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9ab1eaea223076b57e6eb44c14adf6da.jpg","text":"TemporaryFile(/tmp/multipartBody3605684548817819767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955317687,"filename":"image_04012025_02_46_02_703097_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326204129","file1":"1326204070","file0":"1326204014","file4":"1326204184","file5":"1326204225","file3":"1326204155"},"map_files_photo_id_array":[{"photo_id":"1326204225","filename":"file5"},{"photo_id":"1326204129","filename":"file2"},{"photo_id":"1326204184","filename":"file4"},{"photo_id":"1326204070","filename":"file1"},{"photo_id":"1326204014","filename":"file0"},{"photo_id":"1326204155","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326204225":["hashtag1","hashtag2"]},{"1326204129":["hashtag1","hashtag2"]},{"1326204155":["hashtag1","hashtag2"]},{"1326204014":["hashtag1","hashtag2"]},{"1326204184":["hashtag1","hashtag2"]},{"1326204070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326204225, 1326204129, 1326204155, 1326204014, 1326204184, 1326204070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.0172803401947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:48:22.096091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/47/image_04012025_02_47_02_343395_0001.jpg', '/home/pi/Desktop/images/04012025/02/47/image_04012025_02_47_02_343395_0003.jpg', '/home/pi/Desktop/images/04012025/02/48/image_04012025_02_48_02_839374_0000.jpg', '/home/pi/Desktop/images/04012025/02/48/image_04012025_02_48_02_839374_0001.jpg', '/home/pi/Desktop/images/04012025/02/48/image_04012025_02_48_02_839374_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/47/image_04012025_02_47_02_343395_0001.jpg
/home/pi/Desktop/images/04012025/02/47/image_04012025_02_47_02_343395_0003.jpg
/home/pi/Desktop/images/04012025/02/48/image_04012025_02_48_02_839374_0000.jpg
/home/pi/Desktop/images/04012025/02/48/image_04012025_02_48_02_839374_0001.jpg
/home/pi/Desktop/images/04012025/02/48/image_04012025_02_48_02_839374_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326204268","1326204241","1326204465","1326204587","1326204239"],"photo_ids_order":["1326204239","1326204241","1326204268","1326204465","1326204587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9484fd114fffa53bf45f960bfae4b0ab.jpg","text":"TemporaryFile(/tmp/multipartBody872136742476705159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955374704,"filename":"image_04012025_02_48_02_839374_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6ffb296500db615081a7c652c6eb7a32.jpg","text":"TemporaryFile(/tmp/multipartBody5320263161481672956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955374704,"filename":"image_04012025_02_47_02_343395_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4729993a6cf59bda4843854cd2471baf.jpg","text":"TemporaryFile(/tmp/multipartBody8452113150794914771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955374704,"filename":"image_04012025_02_48_02_839374_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eae6da0747b81ecbeee6f662a89c03e9.jpg","text":"TemporaryFile(/tmp/multipartBody2803871391137291124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955374704,"filename":"image_04012025_02_48_02_839374_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/01472fbc6e12880d2b78749dbea017f6.jpg","text":"TemporaryFile(/tmp/multipartBody2163823819312710780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955374704,"filename":"image_04012025_02_47_02_343395_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326204268","file1":"1326204241","file0":"1326204239","file4":"1326204587","file3":"1326204465"},"map_files_photo_id_array":[{"photo_id":"1326204268","filename":"file2"},{"photo_id":"1326204587","filename":"file4"},{"photo_id":"1326204241","filename":"file1"},{"photo_id":"1326204239","filename":"file0"},{"photo_id":"1326204465","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326204268":["hashtag1","hashtag2"]},{"1326204241":["hashtag1","hashtag2"]},{"1326204465":["hashtag1","hashtag2"]},{"1326204587":["hashtag1","hashtag2"]},{"1326204239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326204268, 1326204241, 1326204465, 1326204587, 1326204239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.2037410736084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:49:22.641329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/48/image_04012025_02_48_02_839374_0003.jpg', '/home/pi/Desktop/images/04012025/02/49/image_04012025_02_49_02_528328_0000.jpg', '/home/pi/Desktop/images/04012025/02/49/image_04012025_02_49_02_528328_0001.jpg', '/home/pi/Desktop/images/04012025/02/49/image_04012025_02_49_02_528328_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/48/image_04012025_02_48_02_839374_0003.jpg
/home/pi/Desktop/images/04012025/02/49/image_04012025_02_49_02_528328_0000.jpg
/home/pi/Desktop/images/04012025/02/49/image_04012025_02_49_02_528328_0001.jpg
/home/pi/Desktop/images/04012025/02/49/image_04012025_02_49_02_528328_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326205284","1326205166","1326205004","1326204929"],"photo_ids_order":["1326204929","1326205004","1326205166","1326205284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f6e18078e22bd9fe897a6773e2c59ef.jpg","text":"TemporaryFile(/tmp/multipartBody3042678607256728349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955433093,"filename":"image_04012025_02_49_02_528328_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f4af7f2e49bde8a72b736108db8d7c9f.jpg","text":"TemporaryFile(/tmp/multipartBody1835708679931144679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955433093,"filename":"image_04012025_02_49_02_528328_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cb3102ac862bffb0177665d0ccfd98e7.jpg","text":"TemporaryFile(/tmp/multipartBody2598703544314349958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955433093,"filename":"image_04012025_02_49_02_528328_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b00bbe779198f910d57f9a9ae9b98772.jpg","text":"TemporaryFile(/tmp/multipartBody7451448011072734721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955433093,"filename":"image_04012025_02_48_02_839374_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326205166","file1":"1326205004","file0":"1326204929","file3":"1326205284"},"map_files_photo_id_array":[{"photo_id":"1326205166","filename":"file2"},{"photo_id":"1326205004","filename":"file1"},{"photo_id":"1326204929","filename":"file0"},{"photo_id":"1326205284","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326205284":["hashtag1","hashtag2"]},{"1326205166":["hashtag1","hashtag2"]},{"1326205004":["hashtag1","hashtag2"]},{"1326204929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326205284, 1326205166, 1326205004, 1326204929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.43787956237793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:50:22.136516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/49/image_04012025_02_49_02_528328_0003.jpg', '/home/pi/Desktop/images/04012025/02/50/image_04012025_02_50_03_017107_0000.jpg', '/home/pi/Desktop/images/04012025/02/50/image_04012025_02_50_03_017107_0001.jpg', '/home/pi/Desktop/images/04012025/02/50/image_04012025_02_50_03_017107_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/49/image_04012025_02_49_02_528328_0003.jpg
/home/pi/Desktop/images/04012025/02/50/image_04012025_02_50_03_017107_0000.jpg
/home/pi/Desktop/images/04012025/02/50/image_04012025_02_50_03_017107_0001.jpg
/home/pi/Desktop/images/04012025/02/50/image_04012025_02_50_03_017107_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326205398","1326205394","1326205400","1326205396"],"photo_ids_order":["1326205394","1326205396","1326205398","1326205400"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/840216bb9c67f526e9f25b35d373da7e.jpg","text":"TemporaryFile(/tmp/multipartBody7201342378660355064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955492702,"filename":"image_04012025_02_50_03_017107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f66224712b61772dd5f661471c6de42e.jpg","text":"TemporaryFile(/tmp/multipartBody5239413580406758570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955492702,"filename":"image_04012025_02_49_02_528328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/463f55a4f9394e5e21c0ecb316deca76.jpg","text":"TemporaryFile(/tmp/multipartBody5545765610598614609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955492702,"filename":"image_04012025_02_50_03_017107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1f229a2793eb1c161d3b9bf58602dcdc.jpg","text":"TemporaryFile(/tmp/multipartBody5813237433232304893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955492702,"filename":"image_04012025_02_50_03_017107_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326205398","file1":"1326205396","file0":"1326205394","file3":"1326205400"},"map_files_photo_id_array":[{"photo_id":"1326205398","filename":"file2"},{"photo_id":"1326205396","filename":"file1"},{"photo_id":"1326205394","filename":"file0"},{"photo_id":"1326205400","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326205398":["hashtag1","hashtag2"]},{"1326205394":["hashtag1","hashtag2"]},{"1326205400":["hashtag1","hashtag2"]},{"1326205396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326205398, 1326205394, 1326205400, 1326205396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.689154386520386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:51:03.221483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:51:22.585063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/50/image_04012025_02_50_03_017107_0003.jpg', '/home/pi/Desktop/images/04012025/02/51/image_04012025_02_51_02_551175_0000.jpg', '/home/pi/Desktop/images/04012025/02/51/image_04012025_02_51_02_551175_0001.jpg', '/home/pi/Desktop/images/04012025/02/51/image_04012025_02_51_02_551175_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/50/image_04012025_02_50_03_017107_0003.jpg
/home/pi/Desktop/images/04012025/02/51/image_04012025_02_51_02_551175_0000.jpg
/home/pi/Desktop/images/04012025/02/51/image_04012025_02_51_02_551175_0001.jpg
/home/pi/Desktop/images/04012025/02/51/image_04012025_02_51_02_551175_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326205704","1326205676","1326205541","1326205678"],"photo_ids_order":["1326205541","1326205676","1326205678","1326205704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6b246dd3b6a929df448bc44a14d45110.jpg","text":"TemporaryFile(/tmp/multipartBody962423097817663658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955553070,"filename":"image_04012025_02_51_02_551175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/21b570744da4df8960c9ef8c20dd63ff.jpg","text":"TemporaryFile(/tmp/multipartBody1362578403225520846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955553070,"filename":"image_04012025_02_51_02_551175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7a3836fd1e70c9d8f0822e91053944a4.jpg","text":"TemporaryFile(/tmp/multipartBody1067049484128088409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955553070,"filename":"image_04012025_02_50_03_017107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6396436d19ee4398b434449c6e3a67f0.jpg","text":"TemporaryFile(/tmp/multipartBody1147616634991495164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955553070,"filename":"image_04012025_02_51_02_551175_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326205678","file1":"1326205676","file0":"1326205541","file3":"1326205704"},"map_files_photo_id_array":[{"photo_id":"1326205678","filename":"file2"},{"photo_id":"1326205676","filename":"file1"},{"photo_id":"1326205541","filename":"file0"},{"photo_id":"1326205704","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326205704":["hashtag1","hashtag2"]},{"1326205676":["hashtag1","hashtag2"]},{"1326205541":["hashtag1","hashtag2"]},{"1326205678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326205704, 1326205676, 1326205541, 1326205678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81002140045166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:52:02.767906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:52:22.295233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/51/image_04012025_02_51_02_551175_0003.jpg', '/home/pi/Desktop/images/04012025/02/52/image_04012025_02_52_02_996302_0000.jpg', '/home/pi/Desktop/images/04012025/02/52/image_04012025_02_52_02_996302_0001.jpg', '/home/pi/Desktop/images/04012025/02/52/image_04012025_02_52_02_996302_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/51/image_04012025_02_51_02_551175_0003.jpg
/home/pi/Desktop/images/04012025/02/52/image_04012025_02_52_02_996302_0000.jpg
/home/pi/Desktop/images/04012025/02/52/image_04012025_02_52_02_996302_0001.jpg
/home/pi/Desktop/images/04012025/02/52/image_04012025_02_52_02_996302_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326206366","1326206261","1326206257","1326206245"],"photo_ids_order":["1326206245","1326206257","1326206261","1326206366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a0705153d8374f50a382791fff23e059.jpg","text":"TemporaryFile(/tmp/multipartBody4682565811183575536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955612702,"filename":"image_04012025_02_52_02_996302_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/13f73a8db4dde1219d8da59dbb0c02d3.jpg","text":"TemporaryFile(/tmp/multipartBody7169362266398004242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955612702,"filename":"image_04012025_02_52_02_996302_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/017374071fb8a7e59a7bf97aba4e7ce3.jpg","text":"TemporaryFile(/tmp/multipartBody1733598399800192474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955612702,"filename":"image_04012025_02_52_02_996302_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2b21a049aadc00e3f2f8eeaa7a502206.jpg","text":"TemporaryFile(/tmp/multipartBody5505316507222224055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955612702,"filename":"image_04012025_02_51_02_551175_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326206261","file1":"1326206257","file0":"1326206245","file3":"1326206366"},"map_files_photo_id_array":[{"photo_id":"1326206261","filename":"file2"},{"photo_id":"1326206257","filename":"file1"},{"photo_id":"1326206245","filename":"file0"},{"photo_id":"1326206366","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326206366":["hashtag1","hashtag2"]},{"1326206261":["hashtag1","hashtag2"]},{"1326206257":["hashtag1","hashtag2"]},{"1326206245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326206366, 1326206261, 1326206257, 1326206245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.752570152282715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:53:21.812470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/52/image_04012025_02_52_02_996302_0003.jpg', '/home/pi/Desktop/images/04012025/02/53/image_04012025_02_53_02_640597_0000.jpg', '/home/pi/Desktop/images/04012025/02/53/image_04012025_02_53_02_640597_0001.jpg', '/home/pi/Desktop/images/04012025/02/53/image_04012025_02_53_02_640597_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/52/image_04012025_02_52_02_996302_0003.jpg
/home/pi/Desktop/images/04012025/02/53/image_04012025_02_53_02_640597_0000.jpg
/home/pi/Desktop/images/04012025/02/53/image_04012025_02_53_02_640597_0001.jpg
/home/pi/Desktop/images/04012025/02/53/image_04012025_02_53_02_640597_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326207018","1326207023","1326206986","1326207021"],"photo_ids_order":["1326206986","1326207018","1326207021","1326207023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/12deb70d1faaba768262ed46393b6f16.jpg","text":"TemporaryFile(/tmp/multipartBody4614244560221193841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955672292,"filename":"image_04012025_02_53_02_640597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0f33d9c25beff781c03637b6bad2e743.jpg","text":"TemporaryFile(/tmp/multipartBody6136820206007697278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955672292,"filename":"image_04012025_02_53_02_640597_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/faf795b79d920f079ab05411a62fa9ba.jpg","text":"TemporaryFile(/tmp/multipartBody1584779699608942503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955672292,"filename":"image_04012025_02_52_02_996302_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cabeeed1da34c16e3c7ea62719e71a71.jpg","text":"TemporaryFile(/tmp/multipartBody2560768364250244745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955672292,"filename":"image_04012025_02_53_02_640597_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326207021","file1":"1326207018","file0":"1326206986","file3":"1326207023"},"map_files_photo_id_array":[{"photo_id":"1326207021","filename":"file2"},{"photo_id":"1326207018","filename":"file1"},{"photo_id":"1326206986","filename":"file0"},{"photo_id":"1326207023","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326207018":["hashtag1","hashtag2"]},{"1326207023":["hashtag1","hashtag2"]},{"1326206986":["hashtag1","hashtag2"]},{"1326207021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326207018, 1326207023, 1326206986, 1326207021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93474221229553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:54:02.879606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:54:22.362173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/53/image_04012025_02_53_02_640597_0003.jpg', '/home/pi/Desktop/images/04012025/02/54/image_04012025_02_54_02_224943_0000.jpg', '/home/pi/Desktop/images/04012025/02/54/image_04012025_02_54_02_224943_0001.jpg', '/home/pi/Desktop/images/04012025/02/54/image_04012025_02_54_02_224943_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/53/image_04012025_02_53_02_640597_0003.jpg
/home/pi/Desktop/images/04012025/02/54/image_04012025_02_54_02_224943_0000.jpg
/home/pi/Desktop/images/04012025/02/54/image_04012025_02_54_02_224943_0001.jpg
/home/pi/Desktop/images/04012025/02/54/image_04012025_02_54_02_224943_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326207550","1326207441","1326207444","1326207531"],"photo_ids_order":["1326207441","1326207444","1326207531","1326207550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/192f65311c320adbeea75ed5c185faa2.jpg","text":"TemporaryFile(/tmp/multipartBody6283591437573341035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955732796,"filename":"image_04012025_02_54_02_224943_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2782cf4cbc90d10fbdaa784bcf9e9b68.jpg","text":"TemporaryFile(/tmp/multipartBody5187215048858417881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955732796,"filename":"image_04012025_02_53_02_640597_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1a665dfabc1caf70ec7b6d622738f01d.jpg","text":"TemporaryFile(/tmp/multipartBody6750828538524516671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955732796,"filename":"image_04012025_02_54_02_224943_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8e465087576af0f74f6d25bddfc4170a.jpg","text":"TemporaryFile(/tmp/multipartBody4395431900420918310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955732796,"filename":"image_04012025_02_54_02_224943_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326207531","file1":"1326207444","file0":"1326207441","file3":"1326207550"},"map_files_photo_id_array":[{"photo_id":"1326207531","filename":"file2"},{"photo_id":"1326207444","filename":"file1"},{"photo_id":"1326207441","filename":"file0"},{"photo_id":"1326207550","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326207550":["hashtag1","hashtag2"]},{"1326207441":["hashtag1","hashtag2"]},{"1326207444":["hashtag1","hashtag2"]},{"1326207531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326207550, 1326207441, 1326207444, 1326207531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.73123049736023 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:55:21.900844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/54/image_04012025_02_54_02_224943_0003.jpg', '/home/pi/Desktop/images/04012025/02/55/image_04012025_02_55_02_777401_0000.jpg', '/home/pi/Desktop/images/04012025/02/55/image_04012025_02_55_02_777401_0001.jpg', '/home/pi/Desktop/images/04012025/02/55/image_04012025_02_55_02_777401_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/54/image_04012025_02_54_02_224943_0003.jpg
/home/pi/Desktop/images/04012025/02/55/image_04012025_02_55_02_777401_0000.jpg
/home/pi/Desktop/images/04012025/02/55/image_04012025_02_55_02_777401_0001.jpg
/home/pi/Desktop/images/04012025/02/55/image_04012025_02_55_02_777401_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326208025","1326207812","1326208062","1326207693"],"photo_ids_order":["1326207693","1326207812","1326208025","1326208062"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/83fe9aa994415cc456b9b98b57bdc638.jpg","text":"TemporaryFile(/tmp/multipartBody230128112779140940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955792254,"filename":"image_04012025_02_55_02_777401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c1d573cbf998997d3820e79901771e85.jpg","text":"TemporaryFile(/tmp/multipartBody2940501610103954318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955792254,"filename":"image_04012025_02_55_02_777401_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7e9a98eb155213825c554ff64c863e5e.jpg","text":"TemporaryFile(/tmp/multipartBody4281348755738492866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955792254,"filename":"image_04012025_02_55_02_777401_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9c78f682ce8b3dc7af50d7cb88fe5c5b.jpg","text":"TemporaryFile(/tmp/multipartBody6952282388800997027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955792254,"filename":"image_04012025_02_54_02_224943_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326208025","file1":"1326207812","file0":"1326207693","file3":"1326208062"},"map_files_photo_id_array":[{"photo_id":"1326208025","filename":"file2"},{"photo_id":"1326207812","filename":"file1"},{"photo_id":"1326207693","filename":"file0"},{"photo_id":"1326208062","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326208025":["hashtag1","hashtag2"]},{"1326207812":["hashtag1","hashtag2"]},{"1326208062":["hashtag1","hashtag2"]},{"1326207693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326208025, 1326207812, 1326208062, 1326207693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.68574047088623 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:56:02.755283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 02:56:22.356104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/55/image_04012025_02_55_02_777401_0003.jpg', '/home/pi/Desktop/images/04012025/02/56/image_04012025_02_56_02_255935_0000.jpg', '/home/pi/Desktop/images/04012025/02/56/image_04012025_02_56_02_255935_0001.jpg', '/home/pi/Desktop/images/04012025/02/56/image_04012025_02_56_02_255935_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/55/image_04012025_02_55_02_777401_0003.jpg
/home/pi/Desktop/images/04012025/02/56/image_04012025_02_56_02_255935_0000.jpg
/home/pi/Desktop/images/04012025/02/56/image_04012025_02_56_02_255935_0001.jpg
/home/pi/Desktop/images/04012025/02/56/image_04012025_02_56_02_255935_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.97339653968811 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:57:02.549826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/55/image_04012025_02_55_02_777401_0003.jpg', '/home/pi/Desktop/images/04012025/02/56/image_04012025_02_56_02_255935_0000.jpg', '/home/pi/Desktop/images/04012025/02/56/image_04012025_02_56_02_255935_0001.jpg', '/home/pi/Desktop/images/04012025/02/56/image_04012025_02_56_02_255935_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/55/image_04012025_02_55_02_777401_0003.jpg
/home/pi/Desktop/images/04012025/02/56/image_04012025_02_56_02_255935_0000.jpg
/home/pi/Desktop/images/04012025/02/56/image_04012025_02_56_02_255935_0001.jpg
/home/pi/Desktop/images/04012025/02/56/image_04012025_02_56_02_255935_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326208981","1326208977","1326208976","1326208979"],"photo_ids_order":["1326208976","1326208977","1326208979","1326208981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/990c9398716841fbc5764bd0bef72540.jpg","text":"TemporaryFile(/tmp/multipartBody2334290516264908662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955892965,"filename":"image_04012025_02_56_02_255935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/902c19edefaac106f8ba99d8bd942389.jpg","text":"TemporaryFile(/tmp/multipartBody756221543948215858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955892965,"filename":"image_04012025_02_56_02_255935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f187745152c16488c20694b8918a1de3.jpg","text":"TemporaryFile(/tmp/multipartBody6799109237907079864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955892965,"filename":"image_04012025_02_55_02_777401_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d1334e52fe55c2d32ec74c649e658faa.jpg","text":"TemporaryFile(/tmp/multipartBody4841892384252204524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735955892965,"filename":"image_04012025_02_56_02_255935_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326208979","file1":"1326208977","file0":"1326208976","file3":"1326208981"},"map_files_photo_id_array":[{"photo_id":"1326208979","filename":"file2"},{"photo_id":"1326208977","filename":"file1"},{"photo_id":"1326208976","filename":"file0"},{"photo_id":"1326208981","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326208981":["hashtag1","hashtag2"]},{"1326208977":["hashtag1","hashtag2"]},{"1326208976":["hashtag1","hashtag2"]},{"1326208979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326208981, 1326208977, 1326208976, 1326208979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7721107006073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 02:59:02.564927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/56/image_04012025_02_56_02_255935_0003.jpg', '/home/pi/Desktop/images/04012025/02/57/image_04012025_02_57_02_746917_0000.jpg', '/home/pi/Desktop/images/04012025/02/57/image_04012025_02_57_02_746917_0001.jpg', '/home/pi/Desktop/images/04012025/02/57/image_04012025_02_57_02_746917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/56/image_04012025_02_56_02_255935_0003.jpg
/home/pi/Desktop/images/04012025/02/57/image_04012025_02_57_02_746917_0000.jpg
/home/pi/Desktop/images/04012025/02/57/image_04012025_02_57_02_746917_0001.jpg
/home/pi/Desktop/images/04012025/02/57/image_04012025_02_57_02_746917_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326210011","1326210079","1326209892","1326210075"],"photo_ids_order":["1326209892","1326210011","1326210075","1326210079"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9382ca8e3ee54f15d135a16a87eb0a57.jpg","text":"TemporaryFile(/tmp/multipartBody6765601960108851278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956012998,"filename":"image_04012025_02_57_02_746917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc008016fa814ac690888d09033c299e.jpg","text":"TemporaryFile(/tmp/multipartBody6457821991109951502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956012998,"filename":"image_04012025_02_57_02_746917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/538655e8b6f8d530660523c1a682aa1d.jpg","text":"TemporaryFile(/tmp/multipartBody8056104795459837277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956012998,"filename":"image_04012025_02_56_02_255935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4c8af6836a1e29de2b376324b939b079.jpg","text":"TemporaryFile(/tmp/multipartBody3680094206567228896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956012998,"filename":"image_04012025_02_57_02_746917_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326210075","file1":"1326210011","file0":"1326209892","file3":"1326210079"},"map_files_photo_id_array":[{"photo_id":"1326210075","filename":"file2"},{"photo_id":"1326210011","filename":"file1"},{"photo_id":"1326209892","filename":"file0"},{"photo_id":"1326210079","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326210011":["hashtag1","hashtag2"]},{"1326210079":["hashtag1","hashtag2"]},{"1326209892":["hashtag1","hashtag2"]},{"1326210075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326210011, 1326210079, 1326209892, 1326210075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.72408628463745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:00:02.919314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/57/image_04012025_02_57_02_746917_0003.jpg', '/home/pi/Desktop/images/04012025/02/58/image_04012025_02_58_02_283675_0000.jpg', '/home/pi/Desktop/images/04012025/02/58/image_04012025_02_58_02_283675_0001.jpg', '/home/pi/Desktop/images/04012025/02/58/image_04012025_02_58_02_283675_0002.jpg', '/home/pi/Desktop/images/04012025/02/58/image_04012025_02_58_02_283675_0003.jpg', '/home/pi/Desktop/images/04012025/02/59/image_04012025_02_59_03_001395_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/57/image_04012025_02_57_02_746917_0003.jpg
/home/pi/Desktop/images/04012025/02/58/image_04012025_02_58_02_283675_0000.jpg
/home/pi/Desktop/images/04012025/02/58/image_04012025_02_58_02_283675_0001.jpg
/home/pi/Desktop/images/04012025/02/58/image_04012025_02_58_02_283675_0002.jpg
/home/pi/Desktop/images/04012025/02/58/image_04012025_02_58_02_283675_0003.jpg
/home/pi/Desktop/images/04012025/02/59/image_04012025_02_59_03_001395_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326210461","1326210592","1326210565","1326210550","1326210465","1326210458"],"photo_ids_order":["1326210458","1326210461","1326210465","1326210550","1326210565","1326210592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6f069c74446ebcaf49a84fd218bf3df9.jpg","text":"TemporaryFile(/tmp/multipartBody3495614957187151125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956078246,"filename":"image_04012025_02_58_02_283675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3fa9cfea61f01cf413fcc49eae588865.jpg","text":"TemporaryFile(/tmp/multipartBody7898166508582281282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956078246,"filename":"image_04012025_02_59_03_001395_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30dc0a2296b34dd364a5a664b76f49c7.jpg","text":"TemporaryFile(/tmp/multipartBody5390784307777006200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956078246,"filename":"image_04012025_02_58_02_283675_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/000e7ecfe7bd95ff5f7ec6effa0b2837.jpg","text":"TemporaryFile(/tmp/multipartBody5130310230991267772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956078246,"filename":"image_04012025_02_58_02_283675_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b60f178967b93182b3ac2b5db5dbe371.jpg","text":"TemporaryFile(/tmp/multipartBody2701481489117892627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956078246,"filename":"image_04012025_02_58_02_283675_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f9222d49001fd361c5c7537a03371411.jpg","text":"TemporaryFile(/tmp/multipartBody3862278585417641696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956078246,"filename":"image_04012025_02_57_02_746917_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326210465","file1":"1326210461","file0":"1326210458","file4":"1326210565","file5":"1326210592","file3":"1326210550"},"map_files_photo_id_array":[{"photo_id":"1326210592","filename":"file5"},{"photo_id":"1326210465","filename":"file2"},{"photo_id":"1326210565","filename":"file4"},{"photo_id":"1326210461","filename":"file1"},{"photo_id":"1326210458","filename":"file0"},{"photo_id":"1326210550","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326210461":["hashtag1","hashtag2"]},{"1326210592":["hashtag1","hashtag2"]},{"1326210565":["hashtag1","hashtag2"]},{"1326210550":["hashtag1","hashtag2"]},{"1326210465":["hashtag1","hashtag2"]},{"1326210458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326210461, 1326210592, 1326210565, 1326210550, 1326210465, 1326210458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.829360485076904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:01:02.398146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/02/59/image_04012025_02_59_03_001395_0001.jpg', '/home/pi/Desktop/images/04012025/02/59/image_04012025_02_59_03_001395_0002.jpg', '/home/pi/Desktop/images/04012025/02/59/image_04012025_02_59_03_001395_0003.jpg', '/home/pi/Desktop/images/04012025/03/00/image_04012025_03_00_02_176588_0000.jpg', '/home/pi/Desktop/images/04012025/03/00/image_04012025_03_00_02_176588_0001.jpg', '/home/pi/Desktop/images/04012025/03/00/image_04012025_03_00_02_176588_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/02/59/image_04012025_02_59_03_001395_0001.jpg
/home/pi/Desktop/images/04012025/02/59/image_04012025_02_59_03_001395_0002.jpg
/home/pi/Desktop/images/04012025/02/59/image_04012025_02_59_03_001395_0003.jpg
/home/pi/Desktop/images/04012025/03/00/image_04012025_03_00_02_176588_0000.jpg
/home/pi/Desktop/images/04012025/03/00/image_04012025_03_00_02_176588_0001.jpg
/home/pi/Desktop/images/04012025/03/00/image_04012025_03_00_02_176588_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326210635","1326210829","1326210718","1326210987","1326210633","1326210638"],"photo_ids_order":["1326210633","1326210635","1326210638","1326210718","1326210829","1326210987"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c61953a5033ad0e69be76e4582392e3a.jpg","text":"TemporaryFile(/tmp/multipartBody2052829258140232667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956137944,"filename":"image_04012025_02_59_03_001395_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/483410787183952f9399c38323dbae5e.jpg","text":"TemporaryFile(/tmp/multipartBody7688473153271215378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956137944,"filename":"image_04012025_03_00_02_176588_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fcdb8712b8474254b21a6854357b728f.jpg","text":"TemporaryFile(/tmp/multipartBody536934371998375960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956137944,"filename":"image_04012025_03_00_02_176588_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e985af1a61ae10ee634866498e889cb3.jpg","text":"TemporaryFile(/tmp/multipartBody1346963790537505758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956137944,"filename":"image_04012025_03_00_02_176588_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0d206fec93282f42761f453fd09f165.jpg","text":"TemporaryFile(/tmp/multipartBody5875695202449903935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956137944,"filename":"image_04012025_02_59_03_001395_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1ea34475ab12b32ee9b236e633b38fc8.jpg","text":"TemporaryFile(/tmp/multipartBody3836040789235073710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956137944,"filename":"image_04012025_02_59_03_001395_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326210638","file1":"1326210635","file0":"1326210633","file4":"1326210829","file5":"1326210987","file3":"1326210718"},"map_files_photo_id_array":[{"photo_id":"1326210987","filename":"file5"},{"photo_id":"1326210638","filename":"file2"},{"photo_id":"1326210829","filename":"file4"},{"photo_id":"1326210635","filename":"file1"},{"photo_id":"1326210633","filename":"file0"},{"photo_id":"1326210718","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326210635":["hashtag1","hashtag2"]},{"1326210829":["hashtag1","hashtag2"]},{"1326210718":["hashtag1","hashtag2"]},{"1326210987":["hashtag1","hashtag2"]},{"1326210633":["hashtag1","hashtag2"]},{"1326210638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326210635, 1326210829, 1326210718, 1326210987, 1326210633, 1326210638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.63914656639099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:02:02.827414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/00/image_04012025_03_00_02_176588_0003.jpg', '/home/pi/Desktop/images/04012025/03/01/image_04012025_03_01_02_741787_0001.jpg', '/home/pi/Desktop/images/04012025/03/01/image_04012025_03_01_02_741787_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/00/image_04012025_03_00_02_176588_0003.jpg
/home/pi/Desktop/images/04012025/03/01/image_04012025_03_01_02_741787_0001.jpg
/home/pi/Desktop/images/04012025/03/01/image_04012025_03_01_02_741787_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326211432","1326211563","1326211434"],"photo_ids_order":["1326211432","1326211434","1326211563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f4cc0e764233b0662a2bfe6bca530568.jpg","text":"TemporaryFile(/tmp/multipartBody741412960622674504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956190911,"filename":"image_04012025_03_00_02_176588_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/596361814cb7247a8b9d39c93861b685.jpg","text":"TemporaryFile(/tmp/multipartBody4491612780328464270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956190911,"filename":"image_04012025_03_01_02_741787_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/56353a89754493120a0817b7cf9c77d0.jpg","text":"TemporaryFile(/tmp/multipartBody3472886974089199292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956190911,"filename":"image_04012025_03_01_02_741787_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326211563","file1":"1326211434","file0":"1326211432"},"map_files_photo_id_array":[{"photo_id":"1326211563","filename":"file2"},{"photo_id":"1326211434","filename":"file1"},{"photo_id":"1326211432","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326211432":["hashtag1","hashtag2"]},{"1326211563":["hashtag1","hashtag2"]},{"1326211434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326211432, 1326211563, 1326211434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.533780574798584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:03:02.717586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/01/image_04012025_03_01_02_741787_0003.jpg', '/home/pi/Desktop/images/04012025/03/02/image_04012025_03_02_02_250309_0000.jpg', '/home/pi/Desktop/images/04012025/03/02/image_04012025_03_02_02_250309_0001.jpg', '/home/pi/Desktop/images/04012025/03/02/image_04012025_03_02_02_250309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/01/image_04012025_03_01_02_741787_0003.jpg
/home/pi/Desktop/images/04012025/03/02/image_04012025_03_02_02_250309_0000.jpg
/home/pi/Desktop/images/04012025/03/02/image_04012025_03_02_02_250309_0001.jpg
/home/pi/Desktop/images/04012025/03/02/image_04012025_03_02_02_250309_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.062541484832764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:03:22.018140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/01/image_04012025_03_01_02_741787_0003.jpg', '/home/pi/Desktop/images/04012025/03/02/image_04012025_03_02_02_250309_0000.jpg', '/home/pi/Desktop/images/04012025/03/02/image_04012025_03_02_02_250309_0001.jpg', '/home/pi/Desktop/images/04012025/03/02/image_04012025_03_02_02_250309_0002.jpg', '/home/pi/Desktop/images/04012025/03/02/image_04012025_03_02_02_250309_0003.jpg', '/home/pi/Desktop/images/04012025/03/03/image_04012025_03_03_02_907122_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/01/image_04012025_03_01_02_741787_0003.jpg
/home/pi/Desktop/images/04012025/03/02/image_04012025_03_02_02_250309_0000.jpg
/home/pi/Desktop/images/04012025/03/02/image_04012025_03_02_02_250309_0001.jpg
/home/pi/Desktop/images/04012025/03/02/image_04012025_03_02_02_250309_0002.jpg
/home/pi/Desktop/images/04012025/03/02/image_04012025_03_02_02_250309_0003.jpg
/home/pi/Desktop/images/04012025/03/03/image_04012025_03_03_02_907122_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326212434","1326212571","1326212445","1326212447","1326212561","1326212405"],"photo_ids_order":["1326212405","1326212434","1326212445","1326212447","1326212561","1326212571"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dbd8986e50f3fa47d0309a6d566be3bc.jpg","text":"TemporaryFile(/tmp/multipartBody5380824118995953724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956277304,"filename":"image_04012025_03_02_02_250309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4a4232ee96d8b8784d50d5c5b0de9881.jpg","text":"TemporaryFile(/tmp/multipartBody3867289777569243762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956277304,"filename":"image_04012025_03_03_02_907122_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2df1d40372074245b2ddd22a72e75d0d.jpg","text":"TemporaryFile(/tmp/multipartBody465484615135622814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956277304,"filename":"image_04012025_03_02_02_250309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/65aabdfe43097d340b2811e11495aa0f.jpg","text":"TemporaryFile(/tmp/multipartBody8721946318073230252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956277304,"filename":"image_04012025_03_02_02_250309_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/101502f0bf023def8a6611ed24af9fc6.jpg","text":"TemporaryFile(/tmp/multipartBody5409420442668655382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956277304,"filename":"image_04012025_03_02_02_250309_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/60ea71ac33fb0b05de74078f8897147c.jpg","text":"TemporaryFile(/tmp/multipartBody8705208903608011572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956277304,"filename":"image_04012025_03_01_02_741787_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326212445","file1":"1326212434","file0":"1326212405","file4":"1326212561","file5":"1326212571","file3":"1326212447"},"map_files_photo_id_array":[{"photo_id":"1326212571","filename":"file5"},{"photo_id":"1326212445","filename":"file2"},{"photo_id":"1326212561","filename":"file4"},{"photo_id":"1326212434","filename":"file1"},{"photo_id":"1326212405","filename":"file0"},{"photo_id":"1326212447","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326212434":["hashtag1","hashtag2"]},{"1326212571":["hashtag1","hashtag2"]},{"1326212445":["hashtag1","hashtag2"]},{"1326212447":["hashtag1","hashtag2"]},{"1326212561":["hashtag1","hashtag2"]},{"1326212405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326212434, 1326212571, 1326212445, 1326212447, 1326212561, 1326212405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.31415414810181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:04:21.860892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/03/image_04012025_03_03_02_907122_0001.jpg', '/home/pi/Desktop/images/04012025/03/03/image_04012025_03_03_02_907122_0002.jpg', '/home/pi/Desktop/images/04012025/03/03/image_04012025_03_03_02_907122_0003.jpg', '/home/pi/Desktop/images/04012025/03/04/image_04012025_03_04_02_506675_0000.jpg', '/home/pi/Desktop/images/04012025/03/04/image_04012025_03_04_02_506675_0001.jpg', '/home/pi/Desktop/images/04012025/03/04/image_04012025_03_04_02_506675_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/03/image_04012025_03_03_02_907122_0001.jpg
/home/pi/Desktop/images/04012025/03/03/image_04012025_03_03_02_907122_0002.jpg
/home/pi/Desktop/images/04012025/03/03/image_04012025_03_03_02_907122_0003.jpg
/home/pi/Desktop/images/04012025/03/04/image_04012025_03_04_02_506675_0000.jpg
/home/pi/Desktop/images/04012025/03/04/image_04012025_03_04_02_506675_0001.jpg
/home/pi/Desktop/images/04012025/03/04/image_04012025_03_04_02_506675_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326212934","1326212928","1326212937","1326213038","1326212930","1326213061"],"photo_ids_order":["1326212928","1326212930","1326212934","1326212937","1326213038","1326213061"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/08902ee4910c31d1a23aefdd45ec9b60.jpg","text":"TemporaryFile(/tmp/multipartBody888846428852697362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956337096,"filename":"image_04012025_03_03_02_907122_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0f7a558ad9c02f346cde3ad7d9a5431a.jpg","text":"TemporaryFile(/tmp/multipartBody8661495010027823141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956337096,"filename":"image_04012025_03_03_02_907122_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3761b76dcbaf9078337f922c3ca77f84.jpg","text":"TemporaryFile(/tmp/multipartBody8326043149305091018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956337096,"filename":"image_04012025_03_04_02_506675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c12c139c23edd5dab8afb49fb034d743.jpg","text":"TemporaryFile(/tmp/multipartBody8897175965113085696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956337096,"filename":"image_04012025_03_04_02_506675_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e67bc57d76971c11bbc59146966dff9e.jpg","text":"TemporaryFile(/tmp/multipartBody8997117042894559038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956337096,"filename":"image_04012025_03_03_02_907122_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b1f1926d322c1fe38ed37015285de86.jpg","text":"TemporaryFile(/tmp/multipartBody8202161113516715726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956337096,"filename":"image_04012025_03_04_02_506675_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326212934","file1":"1326212930","file0":"1326212928","file4":"1326213038","file5":"1326213061","file3":"1326212937"},"map_files_photo_id_array":[{"photo_id":"1326213061","filename":"file5"},{"photo_id":"1326212934","filename":"file2"},{"photo_id":"1326213038","filename":"file4"},{"photo_id":"1326212930","filename":"file1"},{"photo_id":"1326212928","filename":"file0"},{"photo_id":"1326212937","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326212934":["hashtag1","hashtag2"]},{"1326212928":["hashtag1","hashtag2"]},{"1326212937":["hashtag1","hashtag2"]},{"1326213038":["hashtag1","hashtag2"]},{"1326212930":["hashtag1","hashtag2"]},{"1326213061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326212934, 1326212928, 1326212937, 1326213038, 1326212930, 1326213061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.314319133758545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:05:22.262004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/04/image_04012025_03_04_02_506675_0003.jpg', '/home/pi/Desktop/images/04012025/03/05/image_04012025_03_05_02_157691_0000.jpg', '/home/pi/Desktop/images/04012025/03/05/image_04012025_03_05_02_157691_0001.jpg', '/home/pi/Desktop/images/04012025/03/05/image_04012025_03_05_02_157691_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/04/image_04012025_03_04_02_506675_0003.jpg
/home/pi/Desktop/images/04012025/03/05/image_04012025_03_05_02_157691_0000.jpg
/home/pi/Desktop/images/04012025/03/05/image_04012025_03_05_02_157691_0001.jpg
/home/pi/Desktop/images/04012025/03/05/image_04012025_03_05_02_157691_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326213279","1326213287","1326213283","1326213285"],"photo_ids_order":["1326213279","1326213283","1326213285","1326213287"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/70749bc892eebe33ce9186bab32d7c52.jpg","text":"TemporaryFile(/tmp/multipartBody1992409097457108551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956392684,"filename":"image_04012025_03_04_02_506675_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e98fa0219e732d1111744a8f9d9b5980.jpg","text":"TemporaryFile(/tmp/multipartBody5646257197652369971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956392684,"filename":"image_04012025_03_05_02_157691_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8dbceaf17dcb427a5aefa0219fa8b713.jpg","text":"TemporaryFile(/tmp/multipartBody8419218978158834008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956392684,"filename":"image_04012025_03_05_02_157691_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ec20d72eeec28de8663e7a7c17edfa11.jpg","text":"TemporaryFile(/tmp/multipartBody7472056317866986128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956392684,"filename":"image_04012025_03_05_02_157691_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326213285","file1":"1326213283","file0":"1326213279","file3":"1326213287"},"map_files_photo_id_array":[{"photo_id":"1326213285","filename":"file2"},{"photo_id":"1326213283","filename":"file1"},{"photo_id":"1326213279","filename":"file0"},{"photo_id":"1326213287","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326213279":["hashtag1","hashtag2"]},{"1326213287":["hashtag1","hashtag2"]},{"1326213283":["hashtag1","hashtag2"]},{"1326213285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326213279, 1326213287, 1326213283, 1326213285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.471463680267334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:06:21.901254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/05/image_04012025_03_05_02_157691_0003.jpg', '/home/pi/Desktop/images/04012025/03/06/image_04012025_03_06_02_755965_0000.jpg', '/home/pi/Desktop/images/04012025/03/06/image_04012025_03_06_02_755965_0001.jpg', '/home/pi/Desktop/images/04012025/03/06/image_04012025_03_06_02_755965_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/05/image_04012025_03_05_02_157691_0003.jpg
/home/pi/Desktop/images/04012025/03/06/image_04012025_03_06_02_755965_0000.jpg
/home/pi/Desktop/images/04012025/03/06/image_04012025_03_06_02_755965_0001.jpg
/home/pi/Desktop/images/04012025/03/06/image_04012025_03_06_02_755965_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326213474","1326213470","1326213467","1326213472"],"photo_ids_order":["1326213467","1326213470","1326213472","1326213474"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/11d5d0f0bea1efe903980b229cbe472c.jpg","text":"TemporaryFile(/tmp/multipartBody925135343198759268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956452209,"filename":"image_04012025_03_06_02_755965_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/339fabd5962cff6148910d3e9fafb68f.jpg","text":"TemporaryFile(/tmp/multipartBody763230104322697440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956452209,"filename":"image_04012025_03_06_02_755965_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/239cc6a86f4b94760c6eea8f7ff228b1.jpg","text":"TemporaryFile(/tmp/multipartBody2851068125356974019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956452209,"filename":"image_04012025_03_05_02_157691_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/028d46310bfcf9b5c78056098ac5f7f4.jpg","text":"TemporaryFile(/tmp/multipartBody298445069606637094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956452209,"filename":"image_04012025_03_06_02_755965_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326213472","file1":"1326213470","file0":"1326213467","file3":"1326213474"},"map_files_photo_id_array":[{"photo_id":"1326213472","filename":"file2"},{"photo_id":"1326213470","filename":"file1"},{"photo_id":"1326213467","filename":"file0"},{"photo_id":"1326213474","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326213474":["hashtag1","hashtag2"]},{"1326213470":["hashtag1","hashtag2"]},{"1326213467":["hashtag1","hashtag2"]},{"1326213472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326213474, 1326213470, 1326213467, 1326213472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.951751947402954 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-04 03:07:22.406789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/06/image_04012025_03_06_02_755965_0003.jpg', '/home/pi/Desktop/images/04012025/03/07/image_04012025_03_07_02_307298_0000.jpg', '/home/pi/Desktop/images/04012025/03/07/image_04012025_03_07_02_307298_0001.jpg', '/home/pi/Desktop/images/04012025/03/07/image_04012025_03_07_02_307298_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/06/image_04012025_03_06_02_755965_0003.jpg
/home/pi/Desktop/images/04012025/03/07/image_04012025_03_07_02_307298_0000.jpg
/home/pi/Desktop/images/04012025/03/07/image_04012025_03_07_02_307298_0001.jpg
/home/pi/Desktop/images/04012025/03/07/image_04012025_03_07_02_307298_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326214413","1326214410","1326214349","1326214138"],"photo_ids_order":["1326214138","1326214349","1326214410","1326214413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/379915bfacdccf309004ee8c0b91db62.jpg","text":"TemporaryFile(/tmp/multipartBody138753041132720255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956512795,"filename":"image_04012025_03_07_02_307298_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/93cfbf99815b122a4e9d612d0444d630.jpg","text":"TemporaryFile(/tmp/multipartBody7810688932913693233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956512795,"filename":"image_04012025_03_07_02_307298_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bdaf84671371e9cd9c0ade7f467a804e.jpg","text":"TemporaryFile(/tmp/multipartBody8552148335086819306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956512795,"filename":"image_04012025_03_07_02_307298_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e15ff0c778d899e73f8d5694f191a007.jpg","text":"TemporaryFile(/tmp/multipartBody2528857514642106314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956512795,"filename":"image_04012025_03_06_02_755965_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326214410","file1":"1326214349","file0":"1326214138","file3":"1326214413"},"map_files_photo_id_array":[{"photo_id":"1326214410","filename":"file2"},{"photo_id":"1326214349","filename":"file1"},{"photo_id":"1326214138","filename":"file0"},{"photo_id":"1326214413","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326214413":["hashtag1","hashtag2"]},{"1326214410":["hashtag1","hashtag2"]},{"1326214349":["hashtag1","hashtag2"]},{"1326214138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326214413, 1326214410, 1326214349, 1326214138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.283714056015015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:08:22.056035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/07/image_04012025_03_07_02_307298_0003.jpg', '/home/pi/Desktop/images/04012025/03/08/image_04012025_03_08_02_890174_0000.jpg', '/home/pi/Desktop/images/04012025/03/08/image_04012025_03_08_02_890174_0001.jpg', '/home/pi/Desktop/images/04012025/03/08/image_04012025_03_08_02_890174_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/07/image_04012025_03_07_02_307298_0003.jpg
/home/pi/Desktop/images/04012025/03/08/image_04012025_03_08_02_890174_0000.jpg
/home/pi/Desktop/images/04012025/03/08/image_04012025_03_08_02_890174_0001.jpg
/home/pi/Desktop/images/04012025/03/08/image_04012025_03_08_02_890174_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326215030","1326215027","1326215186","1326215103"],"photo_ids_order":["1326215027","1326215030","1326215103","1326215186"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e539867e66ad35d01634d32428ebab8f.jpg","text":"TemporaryFile(/tmp/multipartBody6512035617225038921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956572496,"filename":"image_04012025_03_08_02_890174_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dd5ee38cf837e7abde9f4075a181885f.jpg","text":"TemporaryFile(/tmp/multipartBody4385369585507550453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956572496,"filename":"image_04012025_03_07_02_307298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/54729027a6569be1f4e2e88e0ec5fbbb.jpg","text":"TemporaryFile(/tmp/multipartBody2773674077626470268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956572496,"filename":"image_04012025_03_08_02_890174_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2a45042dc0ded6268d07e4495b287c35.jpg","text":"TemporaryFile(/tmp/multipartBody5775935178097246963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956572496,"filename":"image_04012025_03_08_02_890174_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326215103","file1":"1326215030","file0":"1326215027","file3":"1326215186"},"map_files_photo_id_array":[{"photo_id":"1326215103","filename":"file2"},{"photo_id":"1326215030","filename":"file1"},{"photo_id":"1326215027","filename":"file0"},{"photo_id":"1326215186","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326215030":["hashtag1","hashtag2"]},{"1326215027":["hashtag1","hashtag2"]},{"1326215186":["hashtag1","hashtag2"]},{"1326215103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326215030, 1326215027, 1326215186, 1326215103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1204559803009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:09:03.017124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:09:22.436818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/08/image_04012025_03_08_02_890174_0003.jpg', '/home/pi/Desktop/images/04012025/03/09/image_04012025_03_09_02_394940_0000.jpg', '/home/pi/Desktop/images/04012025/03/09/image_04012025_03_09_02_394940_0001.jpg', '/home/pi/Desktop/images/04012025/03/09/image_04012025_03_09_02_394940_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/08/image_04012025_03_08_02_890174_0003.jpg
/home/pi/Desktop/images/04012025/03/09/image_04012025_03_09_02_394940_0000.jpg
/home/pi/Desktop/images/04012025/03/09/image_04012025_03_09_02_394940_0001.jpg
/home/pi/Desktop/images/04012025/03/09/image_04012025_03_09_02_394940_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326215303","1326215296","1326215299","1326215305"],"photo_ids_order":["1326215296","1326215299","1326215303","1326215305"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f76938e25be4868bbbfd0a696ef4212.jpg","text":"TemporaryFile(/tmp/multipartBody6615160836946826836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956632841,"filename":"image_04012025_03_09_02_394940_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/117181370892acb8edcf7b18047eaaa8.jpg","text":"TemporaryFile(/tmp/multipartBody4899670585300829039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956632841,"filename":"image_04012025_03_08_02_890174_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a13a5588a5b9c4ea36b35f011d4ec590.jpg","text":"TemporaryFile(/tmp/multipartBody8352969370774539909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956632841,"filename":"image_04012025_03_09_02_394940_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cc4f3e5a408ac15ea18e663698eae1a5.jpg","text":"TemporaryFile(/tmp/multipartBody6140983658738969952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956632841,"filename":"image_04012025_03_09_02_394940_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326215303","file1":"1326215299","file0":"1326215296","file3":"1326215305"},"map_files_photo_id_array":[{"photo_id":"1326215303","filename":"file2"},{"photo_id":"1326215299","filename":"file1"},{"photo_id":"1326215296","filename":"file0"},{"photo_id":"1326215305","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326215303":["hashtag1","hashtag2"]},{"1326215296":["hashtag1","hashtag2"]},{"1326215299":["hashtag1","hashtag2"]},{"1326215305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326215303, 1326215296, 1326215299, 1326215305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.57447361946106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:10:22.043151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/09/image_04012025_03_09_02_394940_0003.jpg', '/home/pi/Desktop/images/04012025/03/10/image_04012025_03_10_02_838110_0000.jpg', '/home/pi/Desktop/images/04012025/03/10/image_04012025_03_10_02_838110_0001.jpg', '/home/pi/Desktop/images/04012025/03/10/image_04012025_03_10_02_838110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/09/image_04012025_03_09_02_394940_0003.jpg
/home/pi/Desktop/images/04012025/03/10/image_04012025_03_10_02_838110_0000.jpg
/home/pi/Desktop/images/04012025/03/10/image_04012025_03_10_02_838110_0001.jpg
/home/pi/Desktop/images/04012025/03/10/image_04012025_03_10_02_838110_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.171066761016846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:11:03.130277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/09/image_04012025_03_09_02_394940_0003.jpg', '/home/pi/Desktop/images/04012025/03/10/image_04012025_03_10_02_838110_0000.jpg', '/home/pi/Desktop/images/04012025/03/10/image_04012025_03_10_02_838110_0001.jpg', '/home/pi/Desktop/images/04012025/03/10/image_04012025_03_10_02_838110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/09/image_04012025_03_09_02_394940_0003.jpg
/home/pi/Desktop/images/04012025/03/10/image_04012025_03_10_02_838110_0000.jpg
/home/pi/Desktop/images/04012025/03/10/image_04012025_03_10_02_838110_0001.jpg
/home/pi/Desktop/images/04012025/03/10/image_04012025_03_10_02_838110_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326215807","1326215953","1326215806","1326215805"],"photo_ids_order":["1326215805","1326215806","1326215807","1326215953"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9d42cee88392e6876543f1383261926a.jpg","text":"TemporaryFile(/tmp/multipartBody3891525825148430047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956733766,"filename":"image_04012025_03_10_02_838110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0b8922815cb8d64ae8d10f4f05b06f6.jpg","text":"TemporaryFile(/tmp/multipartBody7353671783642842012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956733766,"filename":"image_04012025_03_10_02_838110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8965e0e98652d22371850b748f622cf7.jpg","text":"TemporaryFile(/tmp/multipartBody5863108874654745223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956733766,"filename":"image_04012025_03_10_02_838110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a4940f787f14542ab76f9cb943c71a9e.jpg","text":"TemporaryFile(/tmp/multipartBody8284878616657871905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956733766,"filename":"image_04012025_03_09_02_394940_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326215807","file1":"1326215806","file0":"1326215805","file3":"1326215953"},"map_files_photo_id_array":[{"photo_id":"1326215807","filename":"file2"},{"photo_id":"1326215806","filename":"file1"},{"photo_id":"1326215805","filename":"file0"},{"photo_id":"1326215953","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326215807":["hashtag1","hashtag2"]},{"1326215953":["hashtag1","hashtag2"]},{"1326215806":["hashtag1","hashtag2"]},{"1326215805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326215807, 1326215953, 1326215806, 1326215805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.007214069366455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:12:02.724106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/10/image_04012025_03_10_02_838110_0003.jpg', '/home/pi/Desktop/images/04012025/03/11/image_04012025_03_11_02_391990_0000.jpg', '/home/pi/Desktop/images/04012025/03/11/image_04012025_03_11_02_391990_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/10/image_04012025_03_10_02_838110_0003.jpg
/home/pi/Desktop/images/04012025/03/11/image_04012025_03_11_02_391990_0000.jpg
/home/pi/Desktop/images/04012025/03/11/image_04012025_03_11_02_391990_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.647692918777466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:12:22.237183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/10/image_04012025_03_10_02_838110_0003.jpg', '/home/pi/Desktop/images/04012025/03/11/image_04012025_03_11_02_391990_0000.jpg', '/home/pi/Desktop/images/04012025/03/11/image_04012025_03_11_02_391990_0001.jpg', '/home/pi/Desktop/images/04012025/03/11/image_04012025_03_11_02_391990_0002.jpg', '/home/pi/Desktop/images/04012025/03/12/image_04012025_03_12_02_969451_0000.jpg', '/home/pi/Desktop/images/04012025/03/12/image_04012025_03_12_02_969451_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/10/image_04012025_03_10_02_838110_0003.jpg
/home/pi/Desktop/images/04012025/03/11/image_04012025_03_11_02_391990_0000.jpg
/home/pi/Desktop/images/04012025/03/11/image_04012025_03_11_02_391990_0001.jpg
/home/pi/Desktop/images/04012025/03/11/image_04012025_03_11_02_391990_0002.jpg
/home/pi/Desktop/images/04012025/03/12/image_04012025_03_12_02_969451_0000.jpg
/home/pi/Desktop/images/04012025/03/12/image_04012025_03_12_02_969451_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326216649","1326216639","1326216624","1326216653","1326216554","1326216641"],"photo_ids_order":["1326216554","1326216624","1326216639","1326216641","1326216649","1326216653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/94f99936c262a8adc9319d0914a070aa.jpg","text":"TemporaryFile(/tmp/multipartBody7071730137763001061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956817481,"filename":"image_04012025_03_12_02_969451_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f83123eaa4d4112ab1b30bf1f882c39e.jpg","text":"TemporaryFile(/tmp/multipartBody977399541531756968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956817481,"filename":"image_04012025_03_11_02_391990_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/22a503bfa9c1dccd4f598aa0593530f0.jpg","text":"TemporaryFile(/tmp/multipartBody728809213974304378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956817481,"filename":"image_04012025_03_11_02_391990_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c94b312ea109c667f956f3afa1ddde8f.jpg","text":"TemporaryFile(/tmp/multipartBody8862508728071821090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956817481,"filename":"image_04012025_03_12_02_969451_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/876617a13844f38acc6b8c5ac8388424.jpg","text":"TemporaryFile(/tmp/multipartBody7784165722276263923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956817481,"filename":"image_04012025_03_10_02_838110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c41593afc6ac8cfd64bad5b6ea351142.jpg","text":"TemporaryFile(/tmp/multipartBody1480067056618516210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956817481,"filename":"image_04012025_03_11_02_391990_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326216639","file1":"1326216624","file0":"1326216554","file4":"1326216649","file5":"1326216653","file3":"1326216641"},"map_files_photo_id_array":[{"photo_id":"1326216653","filename":"file5"},{"photo_id":"1326216639","filename":"file2"},{"photo_id":"1326216649","filename":"file4"},{"photo_id":"1326216624","filename":"file1"},{"photo_id":"1326216554","filename":"file0"},{"photo_id":"1326216641","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326216649":["hashtag1","hashtag2"]},{"1326216639":["hashtag1","hashtag2"]},{"1326216624":["hashtag1","hashtag2"]},{"1326216653":["hashtag1","hashtag2"]},{"1326216554":["hashtag1","hashtag2"]},{"1326216641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326216649, 1326216639, 1326216624, 1326216653, 1326216554, 1326216641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.04111838340759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:13:21.714033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/12/image_04012025_03_12_02_969451_0002.jpg', '/home/pi/Desktop/images/04012025/03/12/image_04012025_03_12_02_969451_0003.jpg', '/home/pi/Desktop/images/04012025/03/13/image_04012025_03_13_02_632110_0000.jpg', '/home/pi/Desktop/images/04012025/03/13/image_04012025_03_13_02_632110_0001.jpg', '/home/pi/Desktop/images/04012025/03/13/image_04012025_03_13_02_632110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/12/image_04012025_03_12_02_969451_0002.jpg
/home/pi/Desktop/images/04012025/03/12/image_04012025_03_12_02_969451_0003.jpg
/home/pi/Desktop/images/04012025/03/13/image_04012025_03_13_02_632110_0000.jpg
/home/pi/Desktop/images/04012025/03/13/image_04012025_03_13_02_632110_0001.jpg
/home/pi/Desktop/images/04012025/03/13/image_04012025_03_13_02_632110_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326217123","1326217126","1326217129","1326217134","1326217131"],"photo_ids_order":["1326217123","1326217126","1326217129","1326217131","1326217134"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9771ce3e1142b13d4dae17d039dc140e.jpg","text":"TemporaryFile(/tmp/multipartBody4084637495517816391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956874729,"filename":"image_04012025_03_12_02_969451_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6d29c2888fd974dfa3a1d62f95706581.jpg","text":"TemporaryFile(/tmp/multipartBody2705792416133178674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956874729,"filename":"image_04012025_03_12_02_969451_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce35051fab8a90c323a8694f420c050c.jpg","text":"TemporaryFile(/tmp/multipartBody7313236619887744181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956874729,"filename":"image_04012025_03_13_02_632110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/857628432c6397b755d983b2a3094d68.jpg","text":"TemporaryFile(/tmp/multipartBody4170351686743947532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956874729,"filename":"image_04012025_03_13_02_632110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5b3e9916216b22db14c3f9052d11fd90.jpg","text":"TemporaryFile(/tmp/multipartBody6084241244969136807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956874729,"filename":"image_04012025_03_13_02_632110_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326217129","file1":"1326217126","file0":"1326217123","file4":"1326217134","file3":"1326217131"},"map_files_photo_id_array":[{"photo_id":"1326217129","filename":"file2"},{"photo_id":"1326217134","filename":"file4"},{"photo_id":"1326217126","filename":"file1"},{"photo_id":"1326217123","filename":"file0"},{"photo_id":"1326217131","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326217123":["hashtag1","hashtag2"]},{"1326217126":["hashtag1","hashtag2"]},{"1326217129":["hashtag1","hashtag2"]},{"1326217134":["hashtag1","hashtag2"]},{"1326217131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326217123, 1326217126, 1326217129, 1326217134, 1326217131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.85430192947388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:14:22.385357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/13/image_04012025_03_13_02_632110_0003.jpg', '/home/pi/Desktop/images/04012025/03/14/image_04012025_03_14_02_201892_0000.jpg', '/home/pi/Desktop/images/04012025/03/14/image_04012025_03_14_02_201892_0001.jpg', '/home/pi/Desktop/images/04012025/03/14/image_04012025_03_14_02_201892_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/13/image_04012025_03_13_02_632110_0003.jpg
/home/pi/Desktop/images/04012025/03/14/image_04012025_03_14_02_201892_0000.jpg
/home/pi/Desktop/images/04012025/03/14/image_04012025_03_14_02_201892_0001.jpg
/home/pi/Desktop/images/04012025/03/14/image_04012025_03_14_02_201892_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326217690","1326217570","1326217606","1326217572"],"photo_ids_order":["1326217570","1326217572","1326217606","1326217690"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c4853de773d2aba6883c24c9c37c005a.jpg","text":"TemporaryFile(/tmp/multipartBody410340028619472132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956932681,"filename":"image_04012025_03_14_02_201892_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49005c67de9bf9804127251b202c21ee.jpg","text":"TemporaryFile(/tmp/multipartBody3224300144098164441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956932681,"filename":"image_04012025_03_13_02_632110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c5c20bdb610bf0e7add0879d367de185.jpg","text":"TemporaryFile(/tmp/multipartBody7876339241062321471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956932681,"filename":"image_04012025_03_14_02_201892_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1862bdbddbd0825899a73b7f9cb04f82.jpg","text":"TemporaryFile(/tmp/multipartBody2169594686604169398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956932681,"filename":"image_04012025_03_14_02_201892_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326217606","file1":"1326217572","file0":"1326217570","file3":"1326217690"},"map_files_photo_id_array":[{"photo_id":"1326217606","filename":"file2"},{"photo_id":"1326217572","filename":"file1"},{"photo_id":"1326217570","filename":"file0"},{"photo_id":"1326217690","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326217690":["hashtag1","hashtag2"]},{"1326217570":["hashtag1","hashtag2"]},{"1326217606":["hashtag1","hashtag2"]},{"1326217572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326217690, 1326217570, 1326217606, 1326217572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14061522483826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:15:21.802659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/14/image_04012025_03_14_02_201892_0003.jpg', '/home/pi/Desktop/images/04012025/03/15/image_04012025_03_15_02_717066_0000.jpg', '/home/pi/Desktop/images/04012025/03/15/image_04012025_03_15_02_717066_0001.jpg', '/home/pi/Desktop/images/04012025/03/15/image_04012025_03_15_02_717066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/14/image_04012025_03_14_02_201892_0003.jpg
/home/pi/Desktop/images/04012025/03/15/image_04012025_03_15_02_717066_0000.jpg
/home/pi/Desktop/images/04012025/03/15/image_04012025_03_15_02_717066_0001.jpg
/home/pi/Desktop/images/04012025/03/15/image_04012025_03_15_02_717066_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326218732","1326218980","1326218845","1326218578"],"photo_ids_order":["1326218578","1326218732","1326218845","1326218980"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8e75c312744ac0916abb454cea49a1b8.jpg","text":"TemporaryFile(/tmp/multipartBody4820768521349859354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956992054,"filename":"image_04012025_03_15_02_717066_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3ac22887795120413d4abcd50d45bc9c.jpg","text":"TemporaryFile(/tmp/multipartBody5488370452140850218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956992054,"filename":"image_04012025_03_15_02_717066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/14f1e175385a60942c866f9ec9d2c180.jpg","text":"TemporaryFile(/tmp/multipartBody1247178854452304166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956992054,"filename":"image_04012025_03_15_02_717066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d161b132d6a11011baaac3c8c38a6c45.jpg","text":"TemporaryFile(/tmp/multipartBody6938835356756670479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735956992054,"filename":"image_04012025_03_14_02_201892_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326218845","file1":"1326218732","file0":"1326218578","file3":"1326218980"},"map_files_photo_id_array":[{"photo_id":"1326218845","filename":"file2"},{"photo_id":"1326218732","filename":"file1"},{"photo_id":"1326218578","filename":"file0"},{"photo_id":"1326218980","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326218732":["hashtag1","hashtag2"]},{"1326218980":["hashtag1","hashtag2"]},{"1326218845":["hashtag1","hashtag2"]},{"1326218578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326218732, 1326218980, 1326218845, 1326218578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.34474205970764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:16:02.869686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:16:22.376550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/15/image_04012025_03_15_02_717066_0003.jpg', '/home/pi/Desktop/images/04012025/03/16/image_04012025_03_16_02_240717_0000.jpg', '/home/pi/Desktop/images/04012025/03/16/image_04012025_03_16_02_240717_0001.jpg', '/home/pi/Desktop/images/04012025/03/16/image_04012025_03_16_02_240717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/15/image_04012025_03_15_02_717066_0003.jpg
/home/pi/Desktop/images/04012025/03/16/image_04012025_03_16_02_240717_0000.jpg
/home/pi/Desktop/images/04012025/03/16/image_04012025_03_16_02_240717_0001.jpg
/home/pi/Desktop/images/04012025/03/16/image_04012025_03_16_02_240717_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326219587","1326219767","1326219571","1326219568"],"photo_ids_order":["1326219568","1326219571","1326219587","1326219767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d6f4a0f573db4505ad82c32d02c68f08.jpg","text":"TemporaryFile(/tmp/multipartBody3580745024853766257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957052875,"filename":"image_04012025_03_16_02_240717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/096ea0a64eb02f15d4bdea6230948a82.jpg","text":"TemporaryFile(/tmp/multipartBody9027607302458772708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957052875,"filename":"image_04012025_03_16_02_240717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c7543b69c0e3996365f637f67dd8358e.jpg","text":"TemporaryFile(/tmp/multipartBody2429623486676035336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957052875,"filename":"image_04012025_03_16_02_240717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/348804fed479ea06d9e904c35f83a4bd.jpg","text":"TemporaryFile(/tmp/multipartBody6203357515103776417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957052875,"filename":"image_04012025_03_15_02_717066_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326219587","file1":"1326219571","file0":"1326219568","file3":"1326219767"},"map_files_photo_id_array":[{"photo_id":"1326219587","filename":"file2"},{"photo_id":"1326219571","filename":"file1"},{"photo_id":"1326219568","filename":"file0"},{"photo_id":"1326219767","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326219587":["hashtag1","hashtag2"]},{"1326219767":["hashtag1","hashtag2"]},{"1326219571":["hashtag1","hashtag2"]},{"1326219568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326219587, 1326219767, 1326219571, 1326219568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.889692306518555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:17:21.891117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/16/image_04012025_03_16_02_240717_0003.jpg', '/home/pi/Desktop/images/04012025/03/17/image_04012025_03_17_02_794763_0000.jpg', '/home/pi/Desktop/images/04012025/03/17/image_04012025_03_17_02_794763_0001.jpg', '/home/pi/Desktop/images/04012025/03/17/image_04012025_03_17_02_794763_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/16/image_04012025_03_16_02_240717_0003.jpg
/home/pi/Desktop/images/04012025/03/17/image_04012025_03_17_02_794763_0000.jpg
/home/pi/Desktop/images/04012025/03/17/image_04012025_03_17_02_794763_0001.jpg
/home/pi/Desktop/images/04012025/03/17/image_04012025_03_17_02_794763_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326220185","1326220187","1326220189","1326220183"],"photo_ids_order":["1326220183","1326220185","1326220187","1326220189"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3e7850b0d56ee637eb952302430a55ae.jpg","text":"TemporaryFile(/tmp/multipartBody4682839720820941776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957112226,"filename":"image_04012025_03_17_02_794763_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/77ce2cfa0c4cb7ea0831e09cafd0d349.jpg","text":"TemporaryFile(/tmp/multipartBody4350454234917566458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957112226,"filename":"image_04012025_03_17_02_794763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/762906a8c1bebdf499706fc2edc098a3.jpg","text":"TemporaryFile(/tmp/multipartBody1560063440433548474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957112226,"filename":"image_04012025_03_17_02_794763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/57f6a7594437e653e371ebbdf016118e.jpg","text":"TemporaryFile(/tmp/multipartBody8241737583727839609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957112226,"filename":"image_04012025_03_16_02_240717_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326220187","file1":"1326220185","file0":"1326220183","file3":"1326220189"},"map_files_photo_id_array":[{"photo_id":"1326220187","filename":"file2"},{"photo_id":"1326220185","filename":"file1"},{"photo_id":"1326220183","filename":"file0"},{"photo_id":"1326220189","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326220185":["hashtag1","hashtag2"]},{"1326220187":["hashtag1","hashtag2"]},{"1326220189":["hashtag1","hashtag2"]},{"1326220183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326220185, 1326220187, 1326220189, 1326220183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.684688568115234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:18:02.885698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:18:22.480209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/17/image_04012025_03_17_02_794763_0003.jpg', '/home/pi/Desktop/images/04012025/03/18/image_04012025_03_18_02_318577_0000.jpg', '/home/pi/Desktop/images/04012025/03/18/image_04012025_03_18_02_318577_0001.jpg', '/home/pi/Desktop/images/04012025/03/18/image_04012025_03_18_02_318577_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/17/image_04012025_03_17_02_794763_0003.jpg
/home/pi/Desktop/images/04012025/03/18/image_04012025_03_18_02_318577_0000.jpg
/home/pi/Desktop/images/04012025/03/18/image_04012025_03_18_02_318577_0001.jpg
/home/pi/Desktop/images/04012025/03/18/image_04012025_03_18_02_318577_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326220615","1326220437","1326220562","1326220594"],"photo_ids_order":["1326220437","1326220562","1326220594","1326220615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eb6e9a9167590068be92235f261b9968.jpg","text":"TemporaryFile(/tmp/multipartBody5013757026603154324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957172880,"filename":"image_04012025_03_18_02_318577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0f54a4e8fb2540b24ae6e9caf0dc124e.jpg","text":"TemporaryFile(/tmp/multipartBody1849754426560214339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957172880,"filename":"image_04012025_03_17_02_794763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c212e683c950ea933395ac5cb1d43f6d.jpg","text":"TemporaryFile(/tmp/multipartBody1260026538641969802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957172880,"filename":"image_04012025_03_18_02_318577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2072f5b7a74079534226afda2cf2cf6f.jpg","text":"TemporaryFile(/tmp/multipartBody3305006819919747893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957172880,"filename":"image_04012025_03_18_02_318577_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326220594","file1":"1326220562","file0":"1326220437","file3":"1326220615"},"map_files_photo_id_array":[{"photo_id":"1326220594","filename":"file2"},{"photo_id":"1326220562","filename":"file1"},{"photo_id":"1326220437","filename":"file0"},{"photo_id":"1326220615","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326220615":["hashtag1","hashtag2"]},{"1326220437":["hashtag1","hashtag2"]},{"1326220562":["hashtag1","hashtag2"]},{"1326220594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326220615, 1326220437, 1326220562, 1326220594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.29575490951538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:19:22.062320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/18/image_04012025_03_18_02_318577_0003.jpg', '/home/pi/Desktop/images/04012025/03/19/image_04012025_03_19_02_901661_0000.jpg', '/home/pi/Desktop/images/04012025/03/19/image_04012025_03_19_02_901661_0001.jpg', '/home/pi/Desktop/images/04012025/03/19/image_04012025_03_19_02_901661_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/18/image_04012025_03_18_02_318577_0003.jpg
/home/pi/Desktop/images/04012025/03/19/image_04012025_03_19_02_901661_0000.jpg
/home/pi/Desktop/images/04012025/03/19/image_04012025_03_19_02_901661_0001.jpg
/home/pi/Desktop/images/04012025/03/19/image_04012025_03_19_02_901661_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326220906","1326220909","1326221051","1326221143"],"photo_ids_order":["1326220906","1326220909","1326221051","1326221143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4e0eb77b295f71862ed11321872bc633.jpg","text":"TemporaryFile(/tmp/multipartBody3041972749572103589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957232401,"filename":"image_04012025_03_18_02_318577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8b1b7dbd02fe7de9a004346ab2ee5ad0.jpg","text":"TemporaryFile(/tmp/multipartBody4606847352675878980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957232401,"filename":"image_04012025_03_19_02_901661_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba713ff8ab914acfc7fd0d22e673e711.jpg","text":"TemporaryFile(/tmp/multipartBody2220438707098824851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957232401,"filename":"image_04012025_03_19_02_901661_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/12bdefe088598e9e2e6ed55d717871ac.jpg","text":"TemporaryFile(/tmp/multipartBody4897667889049511557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957232401,"filename":"image_04012025_03_19_02_901661_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326221051","file1":"1326220909","file0":"1326220906","file3":"1326221143"},"map_files_photo_id_array":[{"photo_id":"1326221051","filename":"file2"},{"photo_id":"1326220909","filename":"file1"},{"photo_id":"1326220906","filename":"file0"},{"photo_id":"1326221143","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326220906":["hashtag1","hashtag2"]},{"1326220909":["hashtag1","hashtag2"]},{"1326221051":["hashtag1","hashtag2"]},{"1326221143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326220906, 1326220909, 1326221051, 1326221143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.678579807281494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:20:02.906020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:20:22.547622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/19/image_04012025_03_19_02_901661_0003.jpg', '/home/pi/Desktop/images/04012025/03/20/image_04012025_03_20_02_389158_0000.jpg', '/home/pi/Desktop/images/04012025/03/20/image_04012025_03_20_02_389158_0001.jpg', '/home/pi/Desktop/images/04012025/03/20/image_04012025_03_20_02_389158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/19/image_04012025_03_19_02_901661_0003.jpg
/home/pi/Desktop/images/04012025/03/20/image_04012025_03_20_02_389158_0000.jpg
/home/pi/Desktop/images/04012025/03/20/image_04012025_03_20_02_389158_0001.jpg
/home/pi/Desktop/images/04012025/03/20/image_04012025_03_20_02_389158_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.985622644424438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:21:02.647497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/19/image_04012025_03_19_02_901661_0003.jpg', '/home/pi/Desktop/images/04012025/03/20/image_04012025_03_20_02_389158_0000.jpg', '/home/pi/Desktop/images/04012025/03/20/image_04012025_03_20_02_389158_0001.jpg', '/home/pi/Desktop/images/04012025/03/20/image_04012025_03_20_02_389158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/19/image_04012025_03_19_02_901661_0003.jpg
/home/pi/Desktop/images/04012025/03/20/image_04012025_03_20_02_389158_0000.jpg
/home/pi/Desktop/images/04012025/03/20/image_04012025_03_20_02_389158_0001.jpg
/home/pi/Desktop/images/04012025/03/20/image_04012025_03_20_02_389158_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326222053","1326222187","1326222073","1326222141"],"photo_ids_order":["1326222053","1326222073","1326222141","1326222187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5796d8e99bf115c118cfd03f63ae298d.jpg","text":"TemporaryFile(/tmp/multipartBody967053513190052196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957333081,"filename":"image_04012025_03_19_02_901661_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/68e649d983435d5d86c7494cfbaa6eff.jpg","text":"TemporaryFile(/tmp/multipartBody9062351901649169934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957333081,"filename":"image_04012025_03_20_02_389158_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b6f82947325fa7937b12327b782efa6a.jpg","text":"TemporaryFile(/tmp/multipartBody9313394548674363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957333081,"filename":"image_04012025_03_20_02_389158_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8f941a012e96d47a7c4d6f03c43715d4.jpg","text":"TemporaryFile(/tmp/multipartBody977722632428359961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957333081,"filename":"image_04012025_03_20_02_389158_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326222141","file1":"1326222073","file0":"1326222053","file3":"1326222187"},"map_files_photo_id_array":[{"photo_id":"1326222141","filename":"file2"},{"photo_id":"1326222073","filename":"file1"},{"photo_id":"1326222053","filename":"file0"},{"photo_id":"1326222187","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326222053":["hashtag1","hashtag2"]},{"1326222187":["hashtag1","hashtag2"]},{"1326222073":["hashtag1","hashtag2"]},{"1326222141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326222053, 1326222187, 1326222073, 1326222141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.553072452545166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:22:03.166883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/20/image_04012025_03_20_02_389158_0003.jpg', '/home/pi/Desktop/images/04012025/03/21/image_04012025_03_21_02_930635_0000.jpg', '/home/pi/Desktop/images/04012025/03/21/image_04012025_03_21_02_930635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/20/image_04012025_03_20_02_389158_0003.jpg
/home/pi/Desktop/images/04012025/03/21/image_04012025_03_21_02_930635_0000.jpg
/home/pi/Desktop/images/04012025/03/21/image_04012025_03_21_02_930635_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.631418704986572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:22:22.693516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/20/image_04012025_03_20_02_389158_0003.jpg', '/home/pi/Desktop/images/04012025/03/21/image_04012025_03_21_02_930635_0000.jpg', '/home/pi/Desktop/images/04012025/03/21/image_04012025_03_21_02_930635_0002.jpg', '/home/pi/Desktop/images/04012025/03/21/image_04012025_03_21_02_930635_0003.jpg', '/home/pi/Desktop/images/04012025/03/22/image_04012025_03_22_02_426887_0000.jpg', '/home/pi/Desktop/images/04012025/03/22/image_04012025_03_22_02_426887_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/20/image_04012025_03_20_02_389158_0003.jpg
/home/pi/Desktop/images/04012025/03/21/image_04012025_03_21_02_930635_0000.jpg
/home/pi/Desktop/images/04012025/03/21/image_04012025_03_21_02_930635_0002.jpg
/home/pi/Desktop/images/04012025/03/21/image_04012025_03_21_02_930635_0003.jpg
/home/pi/Desktop/images/04012025/03/22/image_04012025_03_22_02_426887_0000.jpg
/home/pi/Desktop/images/04012025/03/22/image_04012025_03_22_02_426887_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326223477","1326223369","1326223141","1326223674","1326223272","1326223799"],"photo_ids_order":["1326223141","1326223272","1326223369","1326223477","1326223674","1326223799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3883c44250163a1adaa73907818c8ef2.jpg","text":"TemporaryFile(/tmp/multipartBody1640033440626897067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957417831,"filename":"image_04012025_03_21_02_930635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e26abf2a4e3ec61ad552f04d6e839853.jpg","text":"TemporaryFile(/tmp/multipartBody686314477383009716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957417831,"filename":"image_04012025_03_21_02_930635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed1820cb269a1d7092346295dd1acca8.jpg","text":"TemporaryFile(/tmp/multipartBody2556084202371724742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957417831,"filename":"image_04012025_03_20_02_389158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/830d393bb7022649616adebbde3c5ca7.jpg","text":"TemporaryFile(/tmp/multipartBody2826616752313309635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957417831,"filename":"image_04012025_03_22_02_426887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/79d81196a5a0cea3193be208763e7d61.jpg","text":"TemporaryFile(/tmp/multipartBody5064360445603558831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957417831,"filename":"image_04012025_03_21_02_930635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/88db90b3d1bd0d535493c0613d2e02d5.jpg","text":"TemporaryFile(/tmp/multipartBody1911887313698481428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957417831,"filename":"image_04012025_03_22_02_426887_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326223369","file1":"1326223272","file0":"1326223141","file4":"1326223674","file5":"1326223799","file3":"1326223477"},"map_files_photo_id_array":[{"photo_id":"1326223799","filename":"file5"},{"photo_id":"1326223369","filename":"file2"},{"photo_id":"1326223674","filename":"file4"},{"photo_id":"1326223272","filename":"file1"},{"photo_id":"1326223141","filename":"file0"},{"photo_id":"1326223477","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326223477":["hashtag1","hashtag2"]},{"1326223369":["hashtag1","hashtag2"]},{"1326223141":["hashtag1","hashtag2"]},{"1326223674":["hashtag1","hashtag2"]},{"1326223272":["hashtag1","hashtag2"]},{"1326223799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326223477, 1326223369, 1326223141, 1326223674, 1326223272, 1326223799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.170987367630005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:23:22.238716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/22/image_04012025_03_22_02_426887_0002.jpg', '/home/pi/Desktop/images/04012025/03/22/image_04012025_03_22_02_426887_0003.jpg', '/home/pi/Desktop/images/04012025/03/23/image_04012025_03_23_03_104378_0000.jpg', '/home/pi/Desktop/images/04012025/03/23/image_04012025_03_23_03_104378_0001.jpg', '/home/pi/Desktop/images/04012025/03/23/image_04012025_03_23_03_104378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/22/image_04012025_03_22_02_426887_0002.jpg
/home/pi/Desktop/images/04012025/03/22/image_04012025_03_22_02_426887_0003.jpg
/home/pi/Desktop/images/04012025/03/23/image_04012025_03_23_03_104378_0000.jpg
/home/pi/Desktop/images/04012025/03/23/image_04012025_03_23_03_104378_0001.jpg
/home/pi/Desktop/images/04012025/03/23/image_04012025_03_23_03_104378_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326224311","1326224124","1326224034","1326224042","1326224309"],"photo_ids_order":["1326224034","1326224042","1326224124","1326224309","1326224311"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/20f05083ca18959a1de7ed11f908250b.jpg","text":"TemporaryFile(/tmp/multipartBody8277246125211756916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957475043,"filename":"image_04012025_03_23_03_104378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/891c41ac87e492647f769e31d6f94d35.jpg","text":"TemporaryFile(/tmp/multipartBody3919498776154881544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957475043,"filename":"image_04012025_03_23_03_104378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b9c468a62029a8273d6a85d8828c06c5.jpg","text":"TemporaryFile(/tmp/multipartBody3417524450502119325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957475043,"filename":"image_04012025_03_22_02_426887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f5908bc0f8d5c3fc980799654986b47a.jpg","text":"TemporaryFile(/tmp/multipartBody7570629997322900186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957475043,"filename":"image_04012025_03_22_02_426887_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1a7a2c8d667f67ec6d8a7b8e0934a2b0.jpg","text":"TemporaryFile(/tmp/multipartBody5780050204416218620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957475043,"filename":"image_04012025_03_23_03_104378_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326224124","file1":"1326224042","file0":"1326224034","file4":"1326224311","file3":"1326224309"},"map_files_photo_id_array":[{"photo_id":"1326224124","filename":"file2"},{"photo_id":"1326224311","filename":"file4"},{"photo_id":"1326224042","filename":"file1"},{"photo_id":"1326224034","filename":"file0"},{"photo_id":"1326224309","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326224311":["hashtag1","hashtag2"]},{"1326224124":["hashtag1","hashtag2"]},{"1326224034":["hashtag1","hashtag2"]},{"1326224042":["hashtag1","hashtag2"]},{"1326224309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326224311, 1326224124, 1326224034, 1326224042, 1326224309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.20974946022034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:24:22.744021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/23/image_04012025_03_23_03_104378_0003.jpg', '/home/pi/Desktop/images/04012025/03/24/image_04012025_03_24_02_598363_0000.jpg', '/home/pi/Desktop/images/04012025/03/24/image_04012025_03_24_02_598363_0001.jpg', '/home/pi/Desktop/images/04012025/03/24/image_04012025_03_24_02_598363_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/23/image_04012025_03_23_03_104378_0003.jpg
/home/pi/Desktop/images/04012025/03/24/image_04012025_03_24_02_598363_0000.jpg
/home/pi/Desktop/images/04012025/03/24/image_04012025_03_24_02_598363_0001.jpg
/home/pi/Desktop/images/04012025/03/24/image_04012025_03_24_02_598363_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326224449","1326224440","1326224443","1326224446"],"photo_ids_order":["1326224440","1326224443","1326224446","1326224449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0249cfa6a82716a45272d8199bf099f3.jpg","text":"TemporaryFile(/tmp/multipartBody596758457398820155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957533113,"filename":"image_04012025_03_24_02_598363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/87fe377e45439d9b5d1b3df46643fac9.jpg","text":"TemporaryFile(/tmp/multipartBody511971466228014378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957533113,"filename":"image_04012025_03_23_03_104378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1b360269dfb530b498a01f1db0480ec8.jpg","text":"TemporaryFile(/tmp/multipartBody2108622470573956130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957533113,"filename":"image_04012025_03_24_02_598363_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dc68e1da60e1e63b01d7096e6e9c23a2.jpg","text":"TemporaryFile(/tmp/multipartBody8220952310504891202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957533113,"filename":"image_04012025_03_24_02_598363_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326224446","file1":"1326224443","file0":"1326224440","file3":"1326224449"},"map_files_photo_id_array":[{"photo_id":"1326224446","filename":"file2"},{"photo_id":"1326224443","filename":"file1"},{"photo_id":"1326224440","filename":"file0"},{"photo_id":"1326224449","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326224449":["hashtag1","hashtag2"]},{"1326224440":["hashtag1","hashtag2"]},{"1326224443":["hashtag1","hashtag2"]},{"1326224446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326224449, 1326224440, 1326224443, 1326224446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.929805517196655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:25:22.179483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/24/image_04012025_03_24_02_598363_0003.jpg', '/home/pi/Desktop/images/04012025/03/25/image_04012025_03_25_03_057599_0000.jpg', '/home/pi/Desktop/images/04012025/03/25/image_04012025_03_25_03_057599_0001.jpg', '/home/pi/Desktop/images/04012025/03/25/image_04012025_03_25_03_057599_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/24/image_04012025_03_24_02_598363_0003.jpg
/home/pi/Desktop/images/04012025/03/25/image_04012025_03_25_03_057599_0000.jpg
/home/pi/Desktop/images/04012025/03/25/image_04012025_03_25_03_057599_0001.jpg
/home/pi/Desktop/images/04012025/03/25/image_04012025_03_25_03_057599_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326224787","1326224784","1326224786","1326224780"],"photo_ids_order":["1326224780","1326224784","1326224786","1326224787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b348a235c533120b109c856f606382be.jpg","text":"TemporaryFile(/tmp/multipartBody5649346276159500912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957592678,"filename":"image_04012025_03_25_03_057599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a8a02c4ebb2eaf0ef2784960a8689d6b.jpg","text":"TemporaryFile(/tmp/multipartBody6105794168831065690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957592678,"filename":"image_04012025_03_25_03_057599_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8d9c13760fc5686c5f2fe9f72801945c.jpg","text":"TemporaryFile(/tmp/multipartBody4333059959948580246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957592678,"filename":"image_04012025_03_25_03_057599_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/259ec62c3bef4095238e5e095661f7ff.jpg","text":"TemporaryFile(/tmp/multipartBody1218983612984512554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957592678,"filename":"image_04012025_03_24_02_598363_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326224786","file1":"1326224784","file0":"1326224780","file3":"1326224787"},"map_files_photo_id_array":[{"photo_id":"1326224786","filename":"file2"},{"photo_id":"1326224784","filename":"file1"},{"photo_id":"1326224780","filename":"file0"},{"photo_id":"1326224787","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326224787":["hashtag1","hashtag2"]},{"1326224784":["hashtag1","hashtag2"]},{"1326224786":["hashtag1","hashtag2"]},{"1326224780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326224787, 1326224784, 1326224786, 1326224780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.456753730773926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:26:22.635171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/25/image_04012025_03_25_03_057599_0003.jpg', '/home/pi/Desktop/images/04012025/03/26/image_04012025_03_26_02_543014_0000.jpg', '/home/pi/Desktop/images/04012025/03/26/image_04012025_03_26_02_543014_0001.jpg', '/home/pi/Desktop/images/04012025/03/26/image_04012025_03_26_02_543014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/25/image_04012025_03_25_03_057599_0003.jpg
/home/pi/Desktop/images/04012025/03/26/image_04012025_03_26_02_543014_0000.jpg
/home/pi/Desktop/images/04012025/03/26/image_04012025_03_26_02_543014_0001.jpg
/home/pi/Desktop/images/04012025/03/26/image_04012025_03_26_02_543014_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.969000577926636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:27:02.890674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/25/image_04012025_03_25_03_057599_0003.jpg', '/home/pi/Desktop/images/04012025/03/26/image_04012025_03_26_02_543014_0000.jpg', '/home/pi/Desktop/images/04012025/03/26/image_04012025_03_26_02_543014_0001.jpg', '/home/pi/Desktop/images/04012025/03/26/image_04012025_03_26_02_543014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/25/image_04012025_03_25_03_057599_0003.jpg
/home/pi/Desktop/images/04012025/03/26/image_04012025_03_26_02_543014_0000.jpg
/home/pi/Desktop/images/04012025/03/26/image_04012025_03_26_02_543014_0001.jpg
/home/pi/Desktop/images/04012025/03/26/image_04012025_03_26_02_543014_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326225669","1326225714","1326225708","1326225716"],"photo_ids_order":["1326225669","1326225708","1326225714","1326225716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba7838eb3a6781e40ef35d558f5502e9.jpg","text":"TemporaryFile(/tmp/multipartBody4160351696815872379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957693296,"filename":"image_04012025_03_25_03_057599_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cf21f236425f7d6f32a29c92c94d335d.jpg","text":"TemporaryFile(/tmp/multipartBody4000749964447840407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957693296,"filename":"image_04012025_03_26_02_543014_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/69452f3569a0d4a597eadbf1944d3071.jpg","text":"TemporaryFile(/tmp/multipartBody3675194290198648010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957693296,"filename":"image_04012025_03_26_02_543014_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fe237ee61a0d32561b95f032eeaeb9d5.jpg","text":"TemporaryFile(/tmp/multipartBody1590909625539075331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957693296,"filename":"image_04012025_03_26_02_543014_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326225714","file1":"1326225708","file0":"1326225669","file3":"1326225716"},"map_files_photo_id_array":[{"photo_id":"1326225714","filename":"file2"},{"photo_id":"1326225708","filename":"file1"},{"photo_id":"1326225669","filename":"file0"},{"photo_id":"1326225716","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326225669":["hashtag1","hashtag2"]},{"1326225714":["hashtag1","hashtag2"]},{"1326225708":["hashtag1","hashtag2"]},{"1326225716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326225669, 1326225714, 1326225708, 1326225716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.95392417907715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:28:02.089036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/26/image_04012025_03_26_02_543014_0003.jpg', '/home/pi/Desktop/images/04012025/03/27/image_04012025_03_27_03_042893_0000.jpg', '/home/pi/Desktop/images/04012025/03/27/image_04012025_03_27_03_042893_0001.jpg', '/home/pi/Desktop/images/04012025/03/27/image_04012025_03_27_03_042893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/26/image_04012025_03_26_02_543014_0003.jpg
/home/pi/Desktop/images/04012025/03/27/image_04012025_03_27_03_042893_0000.jpg
/home/pi/Desktop/images/04012025/03/27/image_04012025_03_27_03_042893_0001.jpg
/home/pi/Desktop/images/04012025/03/27/image_04012025_03_27_03_042893_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.121538162231445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:28:21.776040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/26/image_04012025_03_26_02_543014_0003.jpg', '/home/pi/Desktop/images/04012025/03/27/image_04012025_03_27_03_042893_0000.jpg', '/home/pi/Desktop/images/04012025/03/27/image_04012025_03_27_03_042893_0001.jpg', '/home/pi/Desktop/images/04012025/03/27/image_04012025_03_27_03_042893_0002.jpg', '/home/pi/Desktop/images/04012025/03/27/image_04012025_03_27_03_042893_0003.jpg', '/home/pi/Desktop/images/04012025/03/28/image_04012025_03_28_02_543524_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/26/image_04012025_03_26_02_543014_0003.jpg
/home/pi/Desktop/images/04012025/03/27/image_04012025_03_27_03_042893_0000.jpg
/home/pi/Desktop/images/04012025/03/27/image_04012025_03_27_03_042893_0001.jpg
/home/pi/Desktop/images/04012025/03/27/image_04012025_03_27_03_042893_0002.jpg
/home/pi/Desktop/images/04012025/03/27/image_04012025_03_27_03_042893_0003.jpg
/home/pi/Desktop/images/04012025/03/28/image_04012025_03_28_02_543524_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326226878","1326226970","1326227131","1326226594","1326226774","1326226471"],"photo_ids_order":["1326226471","1326226594","1326226774","1326226878","1326226970","1326227131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca4a11f8bd085fb48e8d60df2609c006.jpg","text":"TemporaryFile(/tmp/multipartBody5783130537794060298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957776899,"filename":"image_04012025_03_27_03_042893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/00d6afcd36e44b972b279a6af56d1848.jpg","text":"TemporaryFile(/tmp/multipartBody3258888136042956391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957776899,"filename":"image_04012025_03_27_03_042893_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ae3b58677d3c5da9c0d9baf2da6ea661.jpg","text":"TemporaryFile(/tmp/multipartBody4525660050186939132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957776899,"filename":"image_04012025_03_28_02_543524_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aca2981b9eb3d1f0c7b10cd1fc1ef395.jpg","text":"TemporaryFile(/tmp/multipartBody8542961342774838550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957776899,"filename":"image_04012025_03_27_03_042893_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9b42c9eb4b4088399ccfd2b400348b9d.jpg","text":"TemporaryFile(/tmp/multipartBody3954560924216836815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957776899,"filename":"image_04012025_03_27_03_042893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/08e7a5bb6eda70fc4ff27193a1d8fab5.jpg","text":"TemporaryFile(/tmp/multipartBody6623837505320070727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957776899,"filename":"image_04012025_03_26_02_543014_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326226774","file1":"1326226594","file0":"1326226471","file4":"1326226970","file5":"1326227131","file3":"1326226878"},"map_files_photo_id_array":[{"photo_id":"1326227131","filename":"file5"},{"photo_id":"1326226774","filename":"file2"},{"photo_id":"1326226970","filename":"file4"},{"photo_id":"1326226594","filename":"file1"},{"photo_id":"1326226471","filename":"file0"},{"photo_id":"1326226878","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326226878":["hashtag1","hashtag2"]},{"1326226970":["hashtag1","hashtag2"]},{"1326227131":["hashtag1","hashtag2"]},{"1326226594":["hashtag1","hashtag2"]},{"1326226774":["hashtag1","hashtag2"]},{"1326226471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326226878, 1326226970, 1326227131, 1326226594, 1326226774, 1326226471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.648343086242676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:29:22.249659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/28/image_04012025_03_28_02_543524_0001.jpg', '/home/pi/Desktop/images/04012025/03/28/image_04012025_03_28_02_543524_0002.jpg', '/home/pi/Desktop/images/04012025/03/28/image_04012025_03_28_02_543524_0003.jpg', '/home/pi/Desktop/images/04012025/03/29/image_04012025_03_29_02_156045_0000.jpg', '/home/pi/Desktop/images/04012025/03/29/image_04012025_03_29_02_156045_0001.jpg', '/home/pi/Desktop/images/04012025/03/29/image_04012025_03_29_02_156045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/28/image_04012025_03_28_02_543524_0001.jpg
/home/pi/Desktop/images/04012025/03/28/image_04012025_03_28_02_543524_0002.jpg
/home/pi/Desktop/images/04012025/03/28/image_04012025_03_28_02_543524_0003.jpg
/home/pi/Desktop/images/04012025/03/29/image_04012025_03_29_02_156045_0000.jpg
/home/pi/Desktop/images/04012025/03/29/image_04012025_03_29_02_156045_0001.jpg
/home/pi/Desktop/images/04012025/03/29/image_04012025_03_29_02_156045_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326227502","1326227771","1326227648","1326227617","1326227434","1326227592"],"photo_ids_order":["1326227434","1326227502","1326227592","1326227617","1326227648","1326227771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5df8ec5d386f335d1c67dae5f2cdaa71.jpg","text":"TemporaryFile(/tmp/multipartBody7117834793454877226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957837570,"filename":"image_04012025_03_28_02_543524_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fcfb7f4e70df16137728b78803fea0a6.jpg","text":"TemporaryFile(/tmp/multipartBody678808306297331836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957837570,"filename":"image_04012025_03_29_02_156045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aadba246f00b16b591b7e98e597fc1ea.jpg","text":"TemporaryFile(/tmp/multipartBody2786931855510164335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957837570,"filename":"image_04012025_03_29_02_156045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3c696612225e1ebcd4d235858d6f8114.jpg","text":"TemporaryFile(/tmp/multipartBody5874709215262184180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957837570,"filename":"image_04012025_03_29_02_156045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b834bf3ee52dcb6430d25335580c8b03.jpg","text":"TemporaryFile(/tmp/multipartBody6250466449158957137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957837570,"filename":"image_04012025_03_28_02_543524_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e2606f2bfa313898a92f50d2cbc76c8c.jpg","text":"TemporaryFile(/tmp/multipartBody2873428505715756534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957837570,"filename":"image_04012025_03_28_02_543524_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326227592","file1":"1326227502","file0":"1326227434","file4":"1326227648","file5":"1326227771","file3":"1326227617"},"map_files_photo_id_array":[{"photo_id":"1326227771","filename":"file5"},{"photo_id":"1326227592","filename":"file2"},{"photo_id":"1326227648","filename":"file4"},{"photo_id":"1326227502","filename":"file1"},{"photo_id":"1326227434","filename":"file0"},{"photo_id":"1326227617","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326227502":["hashtag1","hashtag2"]},{"1326227771":["hashtag1","hashtag2"]},{"1326227648":["hashtag1","hashtag2"]},{"1326227617":["hashtag1","hashtag2"]},{"1326227434":["hashtag1","hashtag2"]},{"1326227592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326227502, 1326227771, 1326227648, 1326227617, 1326227434, 1326227592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.423600912094116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:30:21.810107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/29/image_04012025_03_29_02_156045_0003.jpg', '/home/pi/Desktop/images/04012025/03/30/image_04012025_03_30_02_672813_0000.jpg', '/home/pi/Desktop/images/04012025/03/30/image_04012025_03_30_02_672813_0001.jpg', '/home/pi/Desktop/images/04012025/03/30/image_04012025_03_30_02_672813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/29/image_04012025_03_29_02_156045_0003.jpg
/home/pi/Desktop/images/04012025/03/30/image_04012025_03_30_02_672813_0000.jpg
/home/pi/Desktop/images/04012025/03/30/image_04012025_03_30_02_672813_0001.jpg
/home/pi/Desktop/images/04012025/03/30/image_04012025_03_30_02_672813_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326228083","1326227924","1326228052","1326228019"],"photo_ids_order":["1326227924","1326228019","1326228052","1326228083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0cc85204f79d1c1b2011f08916d9a829.jpg","text":"TemporaryFile(/tmp/multipartBody5131174641913456913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957892239,"filename":"image_04012025_03_30_02_672813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b58d3e2b0ec9c90e7312a1cc179c2e5.jpg","text":"TemporaryFile(/tmp/multipartBody2105156342395157887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957892239,"filename":"image_04012025_03_29_02_156045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f8261b0c0686c435320cc329ad50e8b8.jpg","text":"TemporaryFile(/tmp/multipartBody4310745911716688288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957892239,"filename":"image_04012025_03_30_02_672813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d1cd6b71378fc4f40e6f811a28929958.jpg","text":"TemporaryFile(/tmp/multipartBody3609344401119672542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957892239,"filename":"image_04012025_03_30_02_672813_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326228052","file1":"1326228019","file0":"1326227924","file3":"1326228083"},"map_files_photo_id_array":[{"photo_id":"1326228052","filename":"file2"},{"photo_id":"1326228019","filename":"file1"},{"photo_id":"1326227924","filename":"file0"},{"photo_id":"1326228083","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326228083":["hashtag1","hashtag2"]},{"1326227924":["hashtag1","hashtag2"]},{"1326228052":["hashtag1","hashtag2"]},{"1326228019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326228083, 1326227924, 1326228052, 1326228019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.040212869644165 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-04 03:31:22.245163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/30/image_04012025_03_30_02_672813_0003.jpg', '/home/pi/Desktop/images/04012025/03/31/image_04012025_03_31_02_141206_0000.jpg', '/home/pi/Desktop/images/04012025/03/31/image_04012025_03_31_02_141206_0001.jpg', '/home/pi/Desktop/images/04012025/03/31/image_04012025_03_31_02_141206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/30/image_04012025_03_30_02_672813_0003.jpg
/home/pi/Desktop/images/04012025/03/31/image_04012025_03_31_02_141206_0000.jpg
/home/pi/Desktop/images/04012025/03/31/image_04012025_03_31_02_141206_0001.jpg
/home/pi/Desktop/images/04012025/03/31/image_04012025_03_31_02_141206_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326228452","1326228449","1326228454","1326228456"],"photo_ids_order":["1326228449","1326228452","1326228454","1326228456"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d2d1c8dd64bb11c9b408d17808ce6912.jpg","text":"TemporaryFile(/tmp/multipartBody1068614750677766374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957952710,"filename":"image_04012025_03_31_02_141206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4c77faa82fd49f6b22725bf8b89acc3e.jpg","text":"TemporaryFile(/tmp/multipartBody8650593305886201652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957952710,"filename":"image_04012025_03_30_02_672813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c76d81b9973d75cc0bc1db0357839d14.jpg","text":"TemporaryFile(/tmp/multipartBody6918637873213107555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957952710,"filename":"image_04012025_03_31_02_141206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c9f3701dd12793a985426dcc64de10f7.jpg","text":"TemporaryFile(/tmp/multipartBody528110033762116833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735957952710,"filename":"image_04012025_03_31_02_141206_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326228454","file1":"1326228452","file0":"1326228449","file3":"1326228456"},"map_files_photo_id_array":[{"photo_id":"1326228454","filename":"file2"},{"photo_id":"1326228452","filename":"file1"},{"photo_id":"1326228449","filename":"file0"},{"photo_id":"1326228456","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326228452":["hashtag1","hashtag2"]},{"1326228449":["hashtag1","hashtag2"]},{"1326228454":["hashtag1","hashtag2"]},{"1326228456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326228452, 1326228449, 1326228454, 1326228456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.568278312683105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:32:21.809987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/31/image_04012025_03_31_02_141206_0003.jpg', '/home/pi/Desktop/images/04012025/03/32/image_04012025_03_32_02_672575_0000.jpg', '/home/pi/Desktop/images/04012025/03/32/image_04012025_03_32_02_672575_0001.jpg', '/home/pi/Desktop/images/04012025/03/32/image_04012025_03_32_02_672575_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/31/image_04012025_03_31_02_141206_0003.jpg
/home/pi/Desktop/images/04012025/03/32/image_04012025_03_32_02_672575_0000.jpg
/home/pi/Desktop/images/04012025/03/32/image_04012025_03_32_02_672575_0001.jpg
/home/pi/Desktop/images/04012025/03/32/image_04012025_03_32_02_672575_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.926479816436768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:33:02.966670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/31/image_04012025_03_31_02_141206_0003.jpg', '/home/pi/Desktop/images/04012025/03/32/image_04012025_03_32_02_672575_0000.jpg', '/home/pi/Desktop/images/04012025/03/32/image_04012025_03_32_02_672575_0001.jpg', '/home/pi/Desktop/images/04012025/03/32/image_04012025_03_32_02_672575_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/31/image_04012025_03_31_02_141206_0003.jpg
/home/pi/Desktop/images/04012025/03/32/image_04012025_03_32_02_672575_0000.jpg
/home/pi/Desktop/images/04012025/03/32/image_04012025_03_32_02_672575_0001.jpg
/home/pi/Desktop/images/04012025/03/32/image_04012025_03_32_02_672575_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326228608","1326228919","1326228798","1326228888"],"photo_ids_order":["1326228608","1326228798","1326228888","1326228919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ad1151db31af49a5db484a5623b577c7.jpg","text":"TemporaryFile(/tmp/multipartBody3037165847182291280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958053309,"filename":"image_04012025_03_31_02_141206_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/743b2e93e7ecf7ce4b30c5504fccf089.jpg","text":"TemporaryFile(/tmp/multipartBody7380923665522763893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958053309,"filename":"image_04012025_03_32_02_672575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8edaba22e0f1ef1cbe169b88e99370cf.jpg","text":"TemporaryFile(/tmp/multipartBody5280880574089450825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958053309,"filename":"image_04012025_03_32_02_672575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c7b92fc141ae88edf4bd6d7f16bbdaf6.jpg","text":"TemporaryFile(/tmp/multipartBody3383935930921884115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958053309,"filename":"image_04012025_03_32_02_672575_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326228888","file1":"1326228798","file0":"1326228608","file3":"1326228919"},"map_files_photo_id_array":[{"photo_id":"1326228888","filename":"file2"},{"photo_id":"1326228798","filename":"file1"},{"photo_id":"1326228608","filename":"file0"},{"photo_id":"1326228919","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326228608":["hashtag1","hashtag2"]},{"1326228919":["hashtag1","hashtag2"]},{"1326228798":["hashtag1","hashtag2"]},{"1326228888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326228608, 1326228919, 1326228798, 1326228888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.742507219314575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:34:02.499995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/32/image_04012025_03_32_02_672575_0003.jpg', '/home/pi/Desktop/images/04012025/03/33/image_04012025_03_33_02_130792_0000.jpg', '/home/pi/Desktop/images/04012025/03/33/image_04012025_03_33_02_130792_0001.jpg', '/home/pi/Desktop/images/04012025/03/33/image_04012025_03_33_02_130792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/32/image_04012025_03_32_02_672575_0003.jpg
/home/pi/Desktop/images/04012025/03/33/image_04012025_03_33_02_130792_0000.jpg
/home/pi/Desktop/images/04012025/03/33/image_04012025_03_33_02_130792_0001.jpg
/home/pi/Desktop/images/04012025/03/33/image_04012025_03_33_02_130792_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.189388036727905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:34:22.121177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/32/image_04012025_03_32_02_672575_0003.jpg', '/home/pi/Desktop/images/04012025/03/33/image_04012025_03_33_02_130792_0000.jpg', '/home/pi/Desktop/images/04012025/03/33/image_04012025_03_33_02_130792_0001.jpg', '/home/pi/Desktop/images/04012025/03/33/image_04012025_03_33_02_130792_0002.jpg', '/home/pi/Desktop/images/04012025/03/33/image_04012025_03_33_02_130792_0003.jpg', '/home/pi/Desktop/images/04012025/03/34/image_04012025_03_34_02_657108_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/32/image_04012025_03_32_02_672575_0003.jpg
/home/pi/Desktop/images/04012025/03/33/image_04012025_03_33_02_130792_0000.jpg
/home/pi/Desktop/images/04012025/03/33/image_04012025_03_33_02_130792_0001.jpg
/home/pi/Desktop/images/04012025/03/33/image_04012025_03_33_02_130792_0002.jpg
/home/pi/Desktop/images/04012025/03/33/image_04012025_03_33_02_130792_0003.jpg
/home/pi/Desktop/images/04012025/03/34/image_04012025_03_34_02_657108_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326230378","1326230159","1326230345","1326230275","1326230167","1326230157"],"photo_ids_order":["1326230157","1326230159","1326230167","1326230275","1326230345","1326230378"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/97944fb882d4fbbdaf840ba8e44c7eee.jpg","text":"TemporaryFile(/tmp/multipartBody7931166166441273107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958137521,"filename":"image_04012025_03_34_02_657108_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc8ce900a730ce3f2884c07f62d397a4.jpg","text":"TemporaryFile(/tmp/multipartBody8881585268616694942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958137521,"filename":"image_04012025_03_33_02_130792_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3209ca25bb59232d5c7a0aed8edb968e.jpg","text":"TemporaryFile(/tmp/multipartBody2589876218740577990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958137521,"filename":"image_04012025_03_33_02_130792_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cf699a2dd6615e641ef12f0888b13b79.jpg","text":"TemporaryFile(/tmp/multipartBody4886459946434760833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958137521,"filename":"image_04012025_03_33_02_130792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5fbab369cb52a92b4471842b8d4989b1.jpg","text":"TemporaryFile(/tmp/multipartBody4518929588320300184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958137521,"filename":"image_04012025_03_33_02_130792_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9220fe943ebf27ad819935ae003b0221.jpg","text":"TemporaryFile(/tmp/multipartBody2980324406864667300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958137521,"filename":"image_04012025_03_32_02_672575_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326230167","file1":"1326230159","file0":"1326230157","file4":"1326230345","file5":"1326230378","file3":"1326230275"},"map_files_photo_id_array":[{"photo_id":"1326230378","filename":"file5"},{"photo_id":"1326230167","filename":"file2"},{"photo_id":"1326230345","filename":"file4"},{"photo_id":"1326230159","filename":"file1"},{"photo_id":"1326230157","filename":"file0"},{"photo_id":"1326230275","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326230378":["hashtag1","hashtag2"]},{"1326230159":["hashtag1","hashtag2"]},{"1326230345":["hashtag1","hashtag2"]},{"1326230275":["hashtag1","hashtag2"]},{"1326230167":["hashtag1","hashtag2"]},{"1326230157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326230378, 1326230159, 1326230345, 1326230275, 1326230167, 1326230157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.99674367904663 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:35:22.730449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/34/image_04012025_03_34_02_657108_0001.jpg', '/home/pi/Desktop/images/04012025/03/34/image_04012025_03_34_02_657108_0002.jpg', '/home/pi/Desktop/images/04012025/03/34/image_04012025_03_34_02_657108_0003.jpg', '/home/pi/Desktop/images/04012025/03/35/image_04012025_03_35_02_519395_0000.jpg', '/home/pi/Desktop/images/04012025/03/35/image_04012025_03_35_02_519395_0001.jpg', '/home/pi/Desktop/images/04012025/03/35/image_04012025_03_35_02_519395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/34/image_04012025_03_34_02_657108_0001.jpg
/home/pi/Desktop/images/04012025/03/34/image_04012025_03_34_02_657108_0002.jpg
/home/pi/Desktop/images/04012025/03/34/image_04012025_03_34_02_657108_0003.jpg
/home/pi/Desktop/images/04012025/03/35/image_04012025_03_35_02_519395_0000.jpg
/home/pi/Desktop/images/04012025/03/35/image_04012025_03_35_02_519395_0001.jpg
/home/pi/Desktop/images/04012025/03/35/image_04012025_03_35_02_519395_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326230954","1326230948","1326231388","1326230956","1326230988","1326231179"],"photo_ids_order":["1326230948","1326230954","1326230956","1326230988","1326231179","1326231388"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7879fa6cb3b3e420338d5285538fde29.jpg","text":"TemporaryFile(/tmp/multipartBody8027791476439367853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958197981,"filename":"image_04012025_03_34_02_657108_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba63a1d86514527ed217937c35f40b2d.jpg","text":"TemporaryFile(/tmp/multipartBody2445022182022578430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958197981,"filename":"image_04012025_03_34_02_657108_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9fe1aac60d8d7b10d700720e5fb7396f.jpg","text":"TemporaryFile(/tmp/multipartBody8590745602715223778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958197981,"filename":"image_04012025_03_35_02_519395_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ec31f4731a1684db1aff024fe09253f1.jpg","text":"TemporaryFile(/tmp/multipartBody8031851174738802784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958197981,"filename":"image_04012025_03_34_02_657108_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b20026ae565600945a5656936efd792e.jpg","text":"TemporaryFile(/tmp/multipartBody5330224622700136644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958197981,"filename":"image_04012025_03_35_02_519395_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cdd17c36dbe6f111ceb4525c66b9b8b2.jpg","text":"TemporaryFile(/tmp/multipartBody1165123936760843769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958197981,"filename":"image_04012025_03_35_02_519395_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326230956","file1":"1326230954","file0":"1326230948","file4":"1326231179","file5":"1326231388","file3":"1326230988"},"map_files_photo_id_array":[{"photo_id":"1326231388","filename":"file5"},{"photo_id":"1326230956","filename":"file2"},{"photo_id":"1326231179","filename":"file4"},{"photo_id":"1326230954","filename":"file1"},{"photo_id":"1326230948","filename":"file0"},{"photo_id":"1326230988","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326230954":["hashtag1","hashtag2"]},{"1326230948":["hashtag1","hashtag2"]},{"1326231388":["hashtag1","hashtag2"]},{"1326230956":["hashtag1","hashtag2"]},{"1326230988":["hashtag1","hashtag2"]},{"1326231179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326230954, 1326230948, 1326231388, 1326230956, 1326230988, 1326231179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.68188500404358 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:36:22.149580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/35/image_04012025_03_35_02_519395_0003.jpg', '/home/pi/Desktop/images/04012025/03/36/image_04012025_03_36_03_016615_0000.jpg', '/home/pi/Desktop/images/04012025/03/36/image_04012025_03_36_03_016615_0001.jpg', '/home/pi/Desktop/images/04012025/03/36/image_04012025_03_36_03_016615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/35/image_04012025_03_35_02_519395_0003.jpg
/home/pi/Desktop/images/04012025/03/36/image_04012025_03_36_03_016615_0000.jpg
/home/pi/Desktop/images/04012025/03/36/image_04012025_03_36_03_016615_0001.jpg
/home/pi/Desktop/images/04012025/03/36/image_04012025_03_36_03_016615_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326231571","1326231568","1326231549","1326231450"],"photo_ids_order":["1326231450","1326231549","1326231568","1326231571"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8df8c0e896d8786f882a5e811e49e6d0.jpg","text":"TemporaryFile(/tmp/multipartBody5212620156187379182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958252659,"filename":"image_04012025_03_36_03_016615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f3125a4e4a89002a50269fd30327b807.jpg","text":"TemporaryFile(/tmp/multipartBody4164283451670142850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958252659,"filename":"image_04012025_03_36_03_016615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba95fad6ab799a23d1100fc572ee1035.jpg","text":"TemporaryFile(/tmp/multipartBody9076570266365873990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958252659,"filename":"image_04012025_03_36_03_016615_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1fd2e3d909ef2a6bf70f8ff915b8e3b9.jpg","text":"TemporaryFile(/tmp/multipartBody6174139561809466526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958252659,"filename":"image_04012025_03_35_02_519395_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326231568","file1":"1326231549","file0":"1326231450","file3":"1326231571"},"map_files_photo_id_array":[{"photo_id":"1326231568","filename":"file2"},{"photo_id":"1326231549","filename":"file1"},{"photo_id":"1326231450","filename":"file0"},{"photo_id":"1326231571","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326231571":["hashtag1","hashtag2"]},{"1326231568":["hashtag1","hashtag2"]},{"1326231549":["hashtag1","hashtag2"]},{"1326231450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326231571, 1326231568, 1326231549, 1326231450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.95231628417969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:37:03.328706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:37:22.727894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/36/image_04012025_03_36_03_016615_0003.jpg', '/home/pi/Desktop/images/04012025/03/37/image_04012025_03_37_02_600491_0000.jpg', '/home/pi/Desktop/images/04012025/03/37/image_04012025_03_37_02_600491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/36/image_04012025_03_36_03_016615_0003.jpg
/home/pi/Desktop/images/04012025/03/37/image_04012025_03_37_02_600491_0000.jpg
/home/pi/Desktop/images/04012025/03/37/image_04012025_03_37_02_600491_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326231979","1326231981","1326232008"],"photo_ids_order":["1326231979","1326231981","1326232008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/38f89a2db2b78c591bddcfb0f2fdbdc0.jpg","text":"TemporaryFile(/tmp/multipartBody3283594630265278359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958310629,"filename":"image_04012025_03_36_03_016615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/176b91e8e6363080ebdbc073ed716b8a.jpg","text":"TemporaryFile(/tmp/multipartBody1149169584195111494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958310629,"filename":"image_04012025_03_37_02_600491_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4a787c4005564a5a46b8c82e839f1b64.jpg","text":"TemporaryFile(/tmp/multipartBody3379873603257398072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958310629,"filename":"image_04012025_03_37_02_600491_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326232008","file1":"1326231981","file0":"1326231979"},"map_files_photo_id_array":[{"photo_id":"1326232008","filename":"file2"},{"photo_id":"1326231981","filename":"file1"},{"photo_id":"1326231979","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326231979":["hashtag1","hashtag2"]},{"1326231981":["hashtag1","hashtag2"]},{"1326232008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326231979, 1326231981, 1326232008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.273532152175903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:38:02.930389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:38:22.467856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/37/image_04012025_03_37_02_600491_0003.jpg', '/home/pi/Desktop/images/04012025/03/38/image_04012025_03_38_03_213388_0000.jpg', '/home/pi/Desktop/images/04012025/03/38/image_04012025_03_38_03_213388_0001.jpg', '/home/pi/Desktop/images/04012025/03/38/image_04012025_03_38_03_213388_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/37/image_04012025_03_37_02_600491_0003.jpg
/home/pi/Desktop/images/04012025/03/38/image_04012025_03_38_03_213388_0000.jpg
/home/pi/Desktop/images/04012025/03/38/image_04012025_03_38_03_213388_0001.jpg
/home/pi/Desktop/images/04012025/03/38/image_04012025_03_38_03_213388_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326232583","1326232553","1326232591","1326232502"],"photo_ids_order":["1326232502","1326232553","1326232583","1326232591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ceef892af0ba2f00821987258e80e2c.jpg","text":"TemporaryFile(/tmp/multipartBody8182391861351837276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958372707,"filename":"image_04012025_03_38_03_213388_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e15d0a8c2b791d5c4f547bc55602ac57.jpg","text":"TemporaryFile(/tmp/multipartBody5928507901760801285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958372707,"filename":"image_04012025_03_38_03_213388_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed8bf94cc84e2e344ae616e37f7d1ad5.jpg","text":"TemporaryFile(/tmp/multipartBody7083019891766186620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958372707,"filename":"image_04012025_03_38_03_213388_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3686f2cfa36dcac7ff5562f65eb3efcb.jpg","text":"TemporaryFile(/tmp/multipartBody5004603637933387863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958372707,"filename":"image_04012025_03_37_02_600491_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326232583","file1":"1326232553","file0":"1326232502","file3":"1326232591"},"map_files_photo_id_array":[{"photo_id":"1326232583","filename":"file2"},{"photo_id":"1326232553","filename":"file1"},{"photo_id":"1326232502","filename":"file0"},{"photo_id":"1326232591","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326232583":["hashtag1","hashtag2"]},{"1326232553":["hashtag1","hashtag2"]},{"1326232591":["hashtag1","hashtag2"]},{"1326232502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326232583, 1326232553, 1326232591, 1326232502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.00485396385193 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-04 03:39:22.125625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/38/image_04012025_03_38_03_213388_0003.jpg', '/home/pi/Desktop/images/04012025/03/39/image_04012025_03_39_02_948335_0000.jpg', '/home/pi/Desktop/images/04012025/03/39/image_04012025_03_39_02_948335_0001.jpg', '/home/pi/Desktop/images/04012025/03/39/image_04012025_03_39_02_948335_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/38/image_04012025_03_38_03_213388_0003.jpg
/home/pi/Desktop/images/04012025/03/39/image_04012025_03_39_02_948335_0000.jpg
/home/pi/Desktop/images/04012025/03/39/image_04012025_03_39_02_948335_0001.jpg
/home/pi/Desktop/images/04012025/03/39/image_04012025_03_39_02_948335_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326233769","1326233771","1326233777","1326233738"],"photo_ids_order":["1326233738","1326233769","1326233771","1326233777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6b082637041e69ccd8cbd8fd546d21e4.jpg","text":"TemporaryFile(/tmp/multipartBody689193909854835497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958432471,"filename":"image_04012025_03_39_02_948335_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6aea1fd9fde303f5e69c13c1d8e5ad44.jpg","text":"TemporaryFile(/tmp/multipartBody1925247066557803960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958432471,"filename":"image_04012025_03_39_02_948335_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba48623a026a34e8e627801feba8e2f1.jpg","text":"TemporaryFile(/tmp/multipartBody4615171336110530599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958432471,"filename":"image_04012025_03_39_02_948335_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c4398a583c96d24c334ba2e5d7a049f0.jpg","text":"TemporaryFile(/tmp/multipartBody4992664134427182823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958432471,"filename":"image_04012025_03_38_03_213388_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326233771","file1":"1326233769","file0":"1326233738","file3":"1326233777"},"map_files_photo_id_array":[{"photo_id":"1326233771","filename":"file2"},{"photo_id":"1326233769","filename":"file1"},{"photo_id":"1326233738","filename":"file0"},{"photo_id":"1326233777","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326233769":["hashtag1","hashtag2"]},{"1326233771":["hashtag1","hashtag2"]},{"1326233777":["hashtag1","hashtag2"]},{"1326233738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326233769, 1326233771, 1326233777, 1326233738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.967931270599365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:40:03.054399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:40:22.514513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/39/image_04012025_03_39_02_948335_0003.jpg', '/home/pi/Desktop/images/04012025/03/40/image_04012025_03_40_02_427174_0000.jpg', '/home/pi/Desktop/images/04012025/03/40/image_04012025_03_40_02_427174_0001.jpg', '/home/pi/Desktop/images/04012025/03/40/image_04012025_03_40_02_427174_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/39/image_04012025_03_39_02_948335_0003.jpg
/home/pi/Desktop/images/04012025/03/40/image_04012025_03_40_02_427174_0000.jpg
/home/pi/Desktop/images/04012025/03/40/image_04012025_03_40_02_427174_0001.jpg
/home/pi/Desktop/images/04012025/03/40/image_04012025_03_40_02_427174_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326234467","1326234481","1326234397","1326234364"],"photo_ids_order":["1326234364","1326234397","1326234467","1326234481"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8ba62fe7431bd3f8d52042a91cb93346.jpg","text":"TemporaryFile(/tmp/multipartBody4947888874998298088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958492940,"filename":"image_04012025_03_40_02_427174_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/841114595bfb5b6a8edf3e4cece59d95.jpg","text":"TemporaryFile(/tmp/multipartBody8281711775584072598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958492940,"filename":"image_04012025_03_40_02_427174_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1b6760ab4e5db238f035c69be7dac25f.jpg","text":"TemporaryFile(/tmp/multipartBody8148398301241379416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958492940,"filename":"image_04012025_03_40_02_427174_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7793d43cdf00ee413b44cff6aa59547a.jpg","text":"TemporaryFile(/tmp/multipartBody8159769661544302321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958492940,"filename":"image_04012025_03_39_02_948335_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326234467","file1":"1326234397","file0":"1326234364","file3":"1326234481"},"map_files_photo_id_array":[{"photo_id":"1326234467","filename":"file2"},{"photo_id":"1326234397","filename":"file1"},{"photo_id":"1326234364","filename":"file0"},{"photo_id":"1326234481","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326234467":["hashtag1","hashtag2"]},{"1326234481":["hashtag1","hashtag2"]},{"1326234397":["hashtag1","hashtag2"]},{"1326234364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326234467, 1326234481, 1326234397, 1326234364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.53740620613098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:41:22.067379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/40/image_04012025_03_40_02_427174_0003.jpg', '/home/pi/Desktop/images/04012025/03/41/image_04012025_03_41_02_983107_0000.jpg', '/home/pi/Desktop/images/04012025/03/41/image_04012025_03_41_02_983107_0001.jpg', '/home/pi/Desktop/images/04012025/03/41/image_04012025_03_41_02_983107_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/40/image_04012025_03_40_02_427174_0003.jpg
/home/pi/Desktop/images/04012025/03/41/image_04012025_03_41_02_983107_0000.jpg
/home/pi/Desktop/images/04012025/03/41/image_04012025_03_41_02_983107_0001.jpg
/home/pi/Desktop/images/04012025/03/41/image_04012025_03_41_02_983107_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326235008","1326234665","1326234970","1326234841"],"photo_ids_order":["1326234665","1326234841","1326234970","1326235008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1abf4e03e5489a5b82cafdd9de75d2ed.jpg","text":"TemporaryFile(/tmp/multipartBody3224007817519622266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958552330,"filename":"image_04012025_03_41_02_983107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ae69fdb50a4e11ec1ad34775a8f4f3ce.jpg","text":"TemporaryFile(/tmp/multipartBody4942504889732691041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958552330,"filename":"image_04012025_03_40_02_427174_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fdae72b975e8919d4cca380f07364b35.jpg","text":"TemporaryFile(/tmp/multipartBody3458646124076094289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958552330,"filename":"image_04012025_03_41_02_983107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b4973a00548628b77f10d276569ded74.jpg","text":"TemporaryFile(/tmp/multipartBody3752125780673559410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958552330,"filename":"image_04012025_03_41_02_983107_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326234970","file1":"1326234841","file0":"1326234665","file3":"1326235008"},"map_files_photo_id_array":[{"photo_id":"1326234970","filename":"file2"},{"photo_id":"1326234841","filename":"file1"},{"photo_id":"1326234665","filename":"file0"},{"photo_id":"1326235008","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326235008":["hashtag1","hashtag2"]},{"1326234665":["hashtag1","hashtag2"]},{"1326234970":["hashtag1","hashtag2"]},{"1326234841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326235008, 1326234665, 1326234970, 1326234841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.648438453674316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:42:22.599647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/41/image_04012025_03_41_02_983107_0003.jpg', '/home/pi/Desktop/images/04012025/03/42/image_04012025_03_42_02_452570_0000.jpg', '/home/pi/Desktop/images/04012025/03/42/image_04012025_03_42_02_452570_0001.jpg', '/home/pi/Desktop/images/04012025/03/42/image_04012025_03_42_02_452570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/41/image_04012025_03_41_02_983107_0003.jpg
/home/pi/Desktop/images/04012025/03/42/image_04012025_03_42_02_452570_0000.jpg
/home/pi/Desktop/images/04012025/03/42/image_04012025_03_42_02_452570_0001.jpg
/home/pi/Desktop/images/04012025/03/42/image_04012025_03_42_02_452570_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326235152","1326235295","1326235535","1326235383"],"photo_ids_order":["1326235152","1326235295","1326235383","1326235535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2ac67d62c5596a17258c786c6cb585a5.jpg","text":"TemporaryFile(/tmp/multipartBody4608373691238404054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958612853,"filename":"image_04012025_03_41_02_983107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/76087e8428d6f208182ed4141821c4fb.jpg","text":"TemporaryFile(/tmp/multipartBody5807335603523548661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958612853,"filename":"image_04012025_03_42_02_452570_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4af87f5cc12fcb96554b30210d3fd3c1.jpg","text":"TemporaryFile(/tmp/multipartBody7560913112473796950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958612853,"filename":"image_04012025_03_42_02_452570_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dc9add9079a811c57d44101006facf8b.jpg","text":"TemporaryFile(/tmp/multipartBody243265703187021926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958612853,"filename":"image_04012025_03_42_02_452570_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326235383","file1":"1326235295","file0":"1326235152","file3":"1326235535"},"map_files_photo_id_array":[{"photo_id":"1326235383","filename":"file2"},{"photo_id":"1326235295","filename":"file1"},{"photo_id":"1326235152","filename":"file0"},{"photo_id":"1326235535","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326235152":["hashtag1","hashtag2"]},{"1326235295":["hashtag1","hashtag2"]},{"1326235535":["hashtag1","hashtag2"]},{"1326235383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326235152, 1326235295, 1326235535, 1326235383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.46209764480591 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:43:02.725884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:43:22.035931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/42/image_04012025_03_42_02_452570_0003.jpg', '/home/pi/Desktop/images/04012025/03/43/image_04012025_03_43_02_976659_0000.jpg', '/home/pi/Desktop/images/04012025/03/43/image_04012025_03_43_02_976659_0001.jpg', '/home/pi/Desktop/images/04012025/03/43/image_04012025_03_43_02_976659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/42/image_04012025_03_42_02_452570_0003.jpg
/home/pi/Desktop/images/04012025/03/43/image_04012025_03_43_02_976659_0000.jpg
/home/pi/Desktop/images/04012025/03/43/image_04012025_03_43_02_976659_0001.jpg
/home/pi/Desktop/images/04012025/03/43/image_04012025_03_43_02_976659_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326235778","1326236080","1326235899","1326236124"],"photo_ids_order":["1326235778","1326235899","1326236080","1326236124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/575dc379e3cfa479096136d330657f15.jpg","text":"TemporaryFile(/tmp/multipartBody7275898969376361779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958672432,"filename":"image_04012025_03_42_02_452570_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/caef5e3a303dc0c55bf63be146afe751.jpg","text":"TemporaryFile(/tmp/multipartBody6806014980943072962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958672432,"filename":"image_04012025_03_43_02_976659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/064876584f2b7cf4b81bcf24fcf9c4ea.jpg","text":"TemporaryFile(/tmp/multipartBody3866493561905110107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958672432,"filename":"image_04012025_03_43_02_976659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/56e852924fdbb735fd6fc20909b85a52.jpg","text":"TemporaryFile(/tmp/multipartBody5767437234661568579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958672432,"filename":"image_04012025_03_43_02_976659_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326236080","file1":"1326235899","file0":"1326235778","file3":"1326236124"},"map_files_photo_id_array":[{"photo_id":"1326236080","filename":"file2"},{"photo_id":"1326235899","filename":"file1"},{"photo_id":"1326235778","filename":"file0"},{"photo_id":"1326236124","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326235778":["hashtag1","hashtag2"]},{"1326236080":["hashtag1","hashtag2"]},{"1326235899":["hashtag1","hashtag2"]},{"1326236124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326235778, 1326236080, 1326235899, 1326236124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.824605226516724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:44:03.128893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:44:22.668518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/43/image_04012025_03_43_02_976659_0003.jpg', '/home/pi/Desktop/images/04012025/03/44/image_04012025_03_44_02_515593_0000.jpg', '/home/pi/Desktop/images/04012025/03/44/image_04012025_03_44_02_515593_0001.jpg', '/home/pi/Desktop/images/04012025/03/44/image_04012025_03_44_02_515593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/43/image_04012025_03_43_02_976659_0003.jpg
/home/pi/Desktop/images/04012025/03/44/image_04012025_03_44_02_515593_0000.jpg
/home/pi/Desktop/images/04012025/03/44/image_04012025_03_44_02_515593_0001.jpg
/home/pi/Desktop/images/04012025/03/44/image_04012025_03_44_02_515593_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326236549","1326236556","1326236379","1326236274"],"photo_ids_order":["1326236274","1326236379","1326236549","1326236556"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d4f5b933cd9ee89ae867ca9fef164714.jpg","text":"TemporaryFile(/tmp/multipartBody2366777135088846941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958732983,"filename":"image_04012025_03_44_02_515593_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e2b608f4fcd47f411c50a8f83c2ca013.jpg","text":"TemporaryFile(/tmp/multipartBody6519423835046918893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958732983,"filename":"image_04012025_03_44_02_515593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/041f92d5c87b91f1ffef19ea7987116b.jpg","text":"TemporaryFile(/tmp/multipartBody3857597890409748365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958732983,"filename":"image_04012025_03_44_02_515593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cf3184da5467a5903cb0643a662714c7.jpg","text":"TemporaryFile(/tmp/multipartBody2089637317789823678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958732983,"filename":"image_04012025_03_43_02_976659_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326236549","file1":"1326236379","file0":"1326236274","file3":"1326236556"},"map_files_photo_id_array":[{"photo_id":"1326236549","filename":"file2"},{"photo_id":"1326236379","filename":"file1"},{"photo_id":"1326236274","filename":"file0"},{"photo_id":"1326236556","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326236549":["hashtag1","hashtag2"]},{"1326236556":["hashtag1","hashtag2"]},{"1326236379":["hashtag1","hashtag2"]},{"1326236274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326236549, 1326236556, 1326236379, 1326236274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.167283058166504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:45:22.130250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/44/image_04012025_03_44_02_515593_0003.jpg', '/home/pi/Desktop/images/04012025/03/45/image_04012025_03_45_03_012437_0000.jpg', '/home/pi/Desktop/images/04012025/03/45/image_04012025_03_45_03_012437_0001.jpg', '/home/pi/Desktop/images/04012025/03/45/image_04012025_03_45_03_012437_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/44/image_04012025_03_44_02_515593_0003.jpg
/home/pi/Desktop/images/04012025/03/45/image_04012025_03_45_03_012437_0000.jpg
/home/pi/Desktop/images/04012025/03/45/image_04012025_03_45_03_012437_0001.jpg
/home/pi/Desktop/images/04012025/03/45/image_04012025_03_45_03_012437_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326237139","1326237141","1326237135","1326237137"],"photo_ids_order":["1326237135","1326237137","1326237139","1326237141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5e84885c7198c9e5696e8ceb5d45228d.jpg","text":"TemporaryFile(/tmp/multipartBody5225883981495893064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958792354,"filename":"image_04012025_03_45_03_012437_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8e63340d3138938c68cf9e2b98cad4b5.jpg","text":"TemporaryFile(/tmp/multipartBody407530625473009597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958792354,"filename":"image_04012025_03_45_03_012437_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7a72eebd5e51d61542da25d2a8bb8818.jpg","text":"TemporaryFile(/tmp/multipartBody3486174593811688811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958792354,"filename":"image_04012025_03_44_02_515593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2791ba52417761acf59bfeea1d4598c5.jpg","text":"TemporaryFile(/tmp/multipartBody3652624677830305939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958792354,"filename":"image_04012025_03_45_03_012437_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326237139","file1":"1326237137","file0":"1326237135","file3":"1326237141"},"map_files_photo_id_array":[{"photo_id":"1326237139","filename":"file2"},{"photo_id":"1326237137","filename":"file1"},{"photo_id":"1326237135","filename":"file0"},{"photo_id":"1326237141","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326237139":["hashtag1","hashtag2"]},{"1326237141":["hashtag1","hashtag2"]},{"1326237135":["hashtag1","hashtag2"]},{"1326237137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326237139, 1326237141, 1326237135, 1326237137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4507474899292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:46:02.955655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:46:22.600238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/45/image_04012025_03_45_03_012437_0003.jpg', '/home/pi/Desktop/images/04012025/03/46/image_04012025_03_46_02_492406_0000.jpg', '/home/pi/Desktop/images/04012025/03/46/image_04012025_03_46_02_492406_0001.jpg', '/home/pi/Desktop/images/04012025/03/46/image_04012025_03_46_02_492406_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/45/image_04012025_03_45_03_012437_0003.jpg
/home/pi/Desktop/images/04012025/03/46/image_04012025_03_46_02_492406_0000.jpg
/home/pi/Desktop/images/04012025/03/46/image_04012025_03_46_02_492406_0001.jpg
/home/pi/Desktop/images/04012025/03/46/image_04012025_03_46_02_492406_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326237280","1326237687","1326237654","1326237470"],"photo_ids_order":["1326237280","1326237470","1326237654","1326237687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fe61a8a892cecea8ed494a6194b368c6.jpg","text":"TemporaryFile(/tmp/multipartBody4321401284539401150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958852975,"filename":"image_04012025_03_45_03_012437_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b793bb518074847f49eb71bd7d42cde9.jpg","text":"TemporaryFile(/tmp/multipartBody8391294645875530760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958852975,"filename":"image_04012025_03_46_02_492406_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/906c430d4a378ef6539a0b55db0ac745.jpg","text":"TemporaryFile(/tmp/multipartBody3207108632945026490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958852975,"filename":"image_04012025_03_46_02_492406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0d378bd6d5f02e099c3646f38ab8764.jpg","text":"TemporaryFile(/tmp/multipartBody7768470841067334698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958852975,"filename":"image_04012025_03_46_02_492406_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326237654","file1":"1326237470","file0":"1326237280","file3":"1326237687"},"map_files_photo_id_array":[{"photo_id":"1326237654","filename":"file2"},{"photo_id":"1326237470","filename":"file1"},{"photo_id":"1326237280","filename":"file0"},{"photo_id":"1326237687","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326237280":["hashtag1","hashtag2"]},{"1326237687":["hashtag1","hashtag2"]},{"1326237654":["hashtag1","hashtag2"]},{"1326237470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326237280, 1326237687, 1326237654, 1326237470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.851903200149536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:47:22.030964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/46/image_04012025_03_46_02_492406_0003.jpg', '/home/pi/Desktop/images/04012025/03/47/image_04012025_03_47_02_926040_0000.jpg', '/home/pi/Desktop/images/04012025/03/47/image_04012025_03_47_02_926040_0001.jpg', '/home/pi/Desktop/images/04012025/03/47/image_04012025_03_47_02_926040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/46/image_04012025_03_46_02_492406_0003.jpg
/home/pi/Desktop/images/04012025/03/47/image_04012025_03_47_02_926040_0000.jpg
/home/pi/Desktop/images/04012025/03/47/image_04012025_03_47_02_926040_0001.jpg
/home/pi/Desktop/images/04012025/03/47/image_04012025_03_47_02_926040_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326237928","1326238053","1326237836","1326237839"],"photo_ids_order":["1326237836","1326237839","1326237928","1326238053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bf913957b0cf313426dc86e864765519.jpg","text":"TemporaryFile(/tmp/multipartBody1826620410322361483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958912298,"filename":"image_04012025_03_47_02_926040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f2a6cfa68b160c2a6cadb4b18f023c09.jpg","text":"TemporaryFile(/tmp/multipartBody1498881105454636211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958912298,"filename":"image_04012025_03_47_02_926040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/042a67381ec775ea3887db466ea93900.jpg","text":"TemporaryFile(/tmp/multipartBody6095196499147909563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958912298,"filename":"image_04012025_03_46_02_492406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/871c6e44fcfc460ec62daaaad9d47b2f.jpg","text":"TemporaryFile(/tmp/multipartBody1646694295145350025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735958912298,"filename":"image_04012025_03_47_02_926040_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326237928","file1":"1326237839","file0":"1326237836","file3":"1326238053"},"map_files_photo_id_array":[{"photo_id":"1326237928","filename":"file2"},{"photo_id":"1326237839","filename":"file1"},{"photo_id":"1326237836","filename":"file0"},{"photo_id":"1326238053","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326237928":["hashtag1","hashtag2"]},{"1326238053":["hashtag1","hashtag2"]},{"1326237836":["hashtag1","hashtag2"]},{"1326237839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326237928, 1326238053, 1326237836, 1326237839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.380125761032104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:48:22.632792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/47/image_04012025_03_47_02_926040_0003.jpg', '/home/pi/Desktop/images/04012025/03/48/image_04012025_03_48_02_448038_0000.jpg', '/home/pi/Desktop/images/04012025/03/48/image_04012025_03_48_02_448038_0001.jpg', '/home/pi/Desktop/images/04012025/03/48/image_04012025_03_48_02_448038_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/47/image_04012025_03_47_02_926040_0003.jpg
/home/pi/Desktop/images/04012025/03/48/image_04012025_03_48_02_448038_0000.jpg
/home/pi/Desktop/images/04012025/03/48/image_04012025_03_48_02_448038_0001.jpg
/home/pi/Desktop/images/04012025/03/48/image_04012025_03_48_02_448038_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.785310506820679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:49:02.797773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/47/image_04012025_03_47_02_926040_0003.jpg', '/home/pi/Desktop/images/04012025/03/48/image_04012025_03_48_02_448038_0000.jpg', '/home/pi/Desktop/images/04012025/03/48/image_04012025_03_48_02_448038_0001.jpg', '/home/pi/Desktop/images/04012025/03/48/image_04012025_03_48_02_448038_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/47/image_04012025_03_47_02_926040_0003.jpg
/home/pi/Desktop/images/04012025/03/48/image_04012025_03_48_02_448038_0000.jpg
/home/pi/Desktop/images/04012025/03/48/image_04012025_03_48_02_448038_0001.jpg
/home/pi/Desktop/images/04012025/03/48/image_04012025_03_48_02_448038_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326239475","1326239411","1326239473","1326239434"],"photo_ids_order":["1326239411","1326239434","1326239473","1326239475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6a517c6918e41689b14d7324faba789d.jpg","text":"TemporaryFile(/tmp/multipartBody2244021583261529864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959013001,"filename":"image_04012025_03_48_02_448038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e3d1b7ff93149def4d1fb015ee51810d.jpg","text":"TemporaryFile(/tmp/multipartBody942694761968376856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959013001,"filename":"image_04012025_03_47_02_926040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1a0cb35a1f3666e6b81a80eefc00cb8a.jpg","text":"TemporaryFile(/tmp/multipartBody8530118010500173008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959013001,"filename":"image_04012025_03_48_02_448038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e1de83e9a51f8ea22feb58f208b8ac0c.jpg","text":"TemporaryFile(/tmp/multipartBody1531020817166057987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959013001,"filename":"image_04012025_03_48_02_448038_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326239473","file1":"1326239434","file0":"1326239411","file3":"1326239475"},"map_files_photo_id_array":[{"photo_id":"1326239473","filename":"file2"},{"photo_id":"1326239434","filename":"file1"},{"photo_id":"1326239411","filename":"file0"},{"photo_id":"1326239475","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326239475":["hashtag1","hashtag2"]},{"1326239411":["hashtag1","hashtag2"]},{"1326239473":["hashtag1","hashtag2"]},{"1326239434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326239475, 1326239411, 1326239473, 1326239434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.784860372543335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:50:02.104112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/48/image_04012025_03_48_02_448038_0003.jpg', '/home/pi/Desktop/images/04012025/03/49/image_04012025_03_49_02_952127_0000.jpg', '/home/pi/Desktop/images/04012025/03/49/image_04012025_03_49_02_952127_0001.jpg', '/home/pi/Desktop/images/04012025/03/49/image_04012025_03_49_02_952127_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/48/image_04012025_03_48_02_448038_0003.jpg
/home/pi/Desktop/images/04012025/03/49/image_04012025_03_49_02_952127_0000.jpg
/home/pi/Desktop/images/04012025/03/49/image_04012025_03_49_02_952127_0001.jpg
/home/pi/Desktop/images/04012025/03/49/image_04012025_03_49_02_952127_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.779897928237915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:50:21.731955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/48/image_04012025_03_48_02_448038_0003.jpg', '/home/pi/Desktop/images/04012025/03/49/image_04012025_03_49_02_952127_0000.jpg', '/home/pi/Desktop/images/04012025/03/49/image_04012025_03_49_02_952127_0001.jpg', '/home/pi/Desktop/images/04012025/03/49/image_04012025_03_49_02_952127_0002.jpg', '/home/pi/Desktop/images/04012025/03/49/image_04012025_03_49_02_952127_0003.jpg', '/home/pi/Desktop/images/04012025/03/50/image_04012025_03_50_02_477286_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/48/image_04012025_03_48_02_448038_0003.jpg
/home/pi/Desktop/images/04012025/03/49/image_04012025_03_49_02_952127_0000.jpg
/home/pi/Desktop/images/04012025/03/49/image_04012025_03_49_02_952127_0001.jpg
/home/pi/Desktop/images/04012025/03/49/image_04012025_03_49_02_952127_0002.jpg
/home/pi/Desktop/images/04012025/03/49/image_04012025_03_49_02_952127_0003.jpg
/home/pi/Desktop/images/04012025/03/50/image_04012025_03_50_02_477286_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326240415","1326240327","1326240329","1326240617","1326240332","1326240793"],"photo_ids_order":["1326240327","1326240329","1326240332","1326240415","1326240617","1326240793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e51188ffc6848ab2aa542bffdb83c6ce.jpg","text":"TemporaryFile(/tmp/multipartBody3803743312736440393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959096639,"filename":"image_04012025_03_49_02_952127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/31cc8a465ff621dae3fc9526ad47012c.jpg","text":"TemporaryFile(/tmp/multipartBody8527477364444580239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959096639,"filename":"image_04012025_03_48_02_448038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/946c719941a111476cdeff6a37cc1cf7.jpg","text":"TemporaryFile(/tmp/multipartBody6195499967343677464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959096639,"filename":"image_04012025_03_49_02_952127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5117aa849749fcfb0ae441cc2761df89.jpg","text":"TemporaryFile(/tmp/multipartBody3849680748729932158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959096639,"filename":"image_04012025_03_49_02_952127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9fceee4b4a57e8692aa872cc4c1407ef.jpg","text":"TemporaryFile(/tmp/multipartBody6216861904392913705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959096639,"filename":"image_04012025_03_49_02_952127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2fd96d43ebfa3171f2464466c9e7503a.jpg","text":"TemporaryFile(/tmp/multipartBody4803876810671301085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959096639,"filename":"image_04012025_03_50_02_477286_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326240332","file1":"1326240329","file0":"1326240327","file4":"1326240617","file5":"1326240793","file3":"1326240415"},"map_files_photo_id_array":[{"photo_id":"1326240793","filename":"file5"},{"photo_id":"1326240332","filename":"file2"},{"photo_id":"1326240617","filename":"file4"},{"photo_id":"1326240329","filename":"file1"},{"photo_id":"1326240327","filename":"file0"},{"photo_id":"1326240415","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326240415":["hashtag1","hashtag2"]},{"1326240327":["hashtag1","hashtag2"]},{"1326240329":["hashtag1","hashtag2"]},{"1326240617":["hashtag1","hashtag2"]},{"1326240332":["hashtag1","hashtag2"]},{"1326240793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326240415, 1326240327, 1326240329, 1326240617, 1326240332, 1326240793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.510703802108765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:51:22.326508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/50/image_04012025_03_50_02_477286_0001.jpg', '/home/pi/Desktop/images/04012025/03/50/image_04012025_03_50_02_477286_0002.jpg', '/home/pi/Desktop/images/04012025/03/50/image_04012025_03_50_02_477286_0003.jpg', '/home/pi/Desktop/images/04012025/03/51/image_04012025_03_51_02_156706_0000.jpg', '/home/pi/Desktop/images/04012025/03/51/image_04012025_03_51_02_156706_0001.jpg', '/home/pi/Desktop/images/04012025/03/51/image_04012025_03_51_02_156706_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/50/image_04012025_03_50_02_477286_0001.jpg
/home/pi/Desktop/images/04012025/03/50/image_04012025_03_50_02_477286_0002.jpg
/home/pi/Desktop/images/04012025/03/50/image_04012025_03_50_02_477286_0003.jpg
/home/pi/Desktop/images/04012025/03/51/image_04012025_03_51_02_156706_0000.jpg
/home/pi/Desktop/images/04012025/03/51/image_04012025_03_51_02_156706_0001.jpg
/home/pi/Desktop/images/04012025/03/51/image_04012025_03_51_02_156706_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326240952","1326241086","1326241074","1326241044","1326241088","1326240950"],"photo_ids_order":["1326240950","1326240952","1326241044","1326241074","1326241086","1326241088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/71dc5236c162c76c8e42de6697a7cd33.jpg","text":"TemporaryFile(/tmp/multipartBody2683925693731775386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959157401,"filename":"image_04012025_03_50_02_477286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/04d210ac10a1ee1b8798b3e38df84ba3.jpg","text":"TemporaryFile(/tmp/multipartBody4047981454682920567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959157401,"filename":"image_04012025_03_51_02_156706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1b204fd2dacd294677440ec59e94a6ff.jpg","text":"TemporaryFile(/tmp/multipartBody501425599373986962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959157401,"filename":"image_04012025_03_51_02_156706_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c8a145e523d4272b5fb20e7ff2db249f.jpg","text":"TemporaryFile(/tmp/multipartBody4008443936152444286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959157401,"filename":"image_04012025_03_50_02_477286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b92a8fd1bb3857cbb05907859b8c9ccf.jpg","text":"TemporaryFile(/tmp/multipartBody3348981007260454811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959157401,"filename":"image_04012025_03_51_02_156706_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b0e1189bc22ced426fbc6e489bfd5347.jpg","text":"TemporaryFile(/tmp/multipartBody4301710090120072913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959157401,"filename":"image_04012025_03_50_02_477286_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326241044","file1":"1326240952","file0":"1326240950","file4":"1326241086","file5":"1326241088","file3":"1326241074"},"map_files_photo_id_array":[{"photo_id":"1326241088","filename":"file5"},{"photo_id":"1326241044","filename":"file2"},{"photo_id":"1326241086","filename":"file4"},{"photo_id":"1326240952","filename":"file1"},{"photo_id":"1326240950","filename":"file0"},{"photo_id":"1326241074","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326240952":["hashtag1","hashtag2"]},{"1326241086":["hashtag1","hashtag2"]},{"1326241074":["hashtag1","hashtag2"]},{"1326241044":["hashtag1","hashtag2"]},{"1326241088":["hashtag1","hashtag2"]},{"1326240950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326240952, 1326241086, 1326241074, 1326241044, 1326241088, 1326240950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.13947868347168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:52:21.900873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/51/image_04012025_03_51_02_156706_0003.jpg', '/home/pi/Desktop/images/04012025/03/52/image_04012025_03_52_02_728280_0000.jpg', '/home/pi/Desktop/images/04012025/03/52/image_04012025_03_52_02_728280_0001.jpg', '/home/pi/Desktop/images/04012025/03/52/image_04012025_03_52_02_728280_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/51/image_04012025_03_51_02_156706_0003.jpg
/home/pi/Desktop/images/04012025/03/52/image_04012025_03_52_02_728280_0000.jpg
/home/pi/Desktop/images/04012025/03/52/image_04012025_03_52_02_728280_0001.jpg
/home/pi/Desktop/images/04012025/03/52/image_04012025_03_52_02_728280_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326241590","1326241587","1326241540","1326241351"],"photo_ids_order":["1326241351","1326241540","1326241587","1326241590"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0e5c200c7fa2f43f1f85222f9f33e546.jpg","text":"TemporaryFile(/tmp/multipartBody5341544529182637108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959212000,"filename":"image_04012025_03_52_02_728280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/230020f4511787645f0ed4801b6dd7e5.jpg","text":"TemporaryFile(/tmp/multipartBody1768116979946770678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959212000,"filename":"image_04012025_03_52_02_728280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a6507f5c65f452ceb55fd165434d48d8.jpg","text":"TemporaryFile(/tmp/multipartBody5246336225657802205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959212000,"filename":"image_04012025_03_52_02_728280_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b574ce27536433f92a47494cfd7ae348.jpg","text":"TemporaryFile(/tmp/multipartBody8001111986841286736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959212000,"filename":"image_04012025_03_51_02_156706_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326241587","file1":"1326241540","file0":"1326241351","file3":"1326241590"},"map_files_photo_id_array":[{"photo_id":"1326241587","filename":"file2"},{"photo_id":"1326241540","filename":"file1"},{"photo_id":"1326241351","filename":"file0"},{"photo_id":"1326241590","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326241590":["hashtag1","hashtag2"]},{"1326241587":["hashtag1","hashtag2"]},{"1326241540":["hashtag1","hashtag2"]},{"1326241351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326241590, 1326241587, 1326241540, 1326241351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.509254455566406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:53:03.042454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:53:22.309448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/52/image_04012025_03_52_02_728280_0003.jpg', '/home/pi/Desktop/images/04012025/03/53/image_04012025_03_53_02_193088_0000.jpg', '/home/pi/Desktop/images/04012025/03/53/image_04012025_03_53_02_193088_0001.jpg', '/home/pi/Desktop/images/04012025/03/53/image_04012025_03_53_02_193088_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/52/image_04012025_03_52_02_728280_0003.jpg
/home/pi/Desktop/images/04012025/03/53/image_04012025_03_53_02_193088_0000.jpg
/home/pi/Desktop/images/04012025/03/53/image_04012025_03_53_02_193088_0001.jpg
/home/pi/Desktop/images/04012025/03/53/image_04012025_03_53_02_193088_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326242631","1326242558","1326242168","1326242371"],"photo_ids_order":["1326242168","1326242371","1326242558","1326242631"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/45f66142c3f070b9092e0891affa6a91.jpg","text":"TemporaryFile(/tmp/multipartBody5679010080829446577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959272495,"filename":"image_04012025_03_53_02_193088_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ecb66bca94bd210813b6b982d2abdd2b.jpg","text":"TemporaryFile(/tmp/multipartBody6176076763644128237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959272495,"filename":"image_04012025_03_53_02_193088_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/489dda81cf2ff3ca7cf3a98563e2135a.jpg","text":"TemporaryFile(/tmp/multipartBody4745168992109658787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959272495,"filename":"image_04012025_03_52_02_728280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d1219361d1fe1338481c55cca5cd7cd8.jpg","text":"TemporaryFile(/tmp/multipartBody4629221533259710870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959272495,"filename":"image_04012025_03_53_02_193088_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326242558","file1":"1326242371","file0":"1326242168","file3":"1326242631"},"map_files_photo_id_array":[{"photo_id":"1326242558","filename":"file2"},{"photo_id":"1326242371","filename":"file1"},{"photo_id":"1326242168","filename":"file0"},{"photo_id":"1326242631","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326242631":["hashtag1","hashtag2"]},{"1326242558":["hashtag1","hashtag2"]},{"1326242168":["hashtag1","hashtag2"]},{"1326242371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326242631, 1326242558, 1326242168, 1326242371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.72588920593262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:54:21.998370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/53/image_04012025_03_53_02_193088_0003.jpg', '/home/pi/Desktop/images/04012025/03/54/image_04012025_03_54_02_709131_0000.jpg', '/home/pi/Desktop/images/04012025/03/54/image_04012025_03_54_02_709131_0001.jpg', '/home/pi/Desktop/images/04012025/03/54/image_04012025_03_54_02_709131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/53/image_04012025_03_53_02_193088_0003.jpg
/home/pi/Desktop/images/04012025/03/54/image_04012025_03_54_02_709131_0000.jpg
/home/pi/Desktop/images/04012025/03/54/image_04012025_03_54_02_709131_0001.jpg
/home/pi/Desktop/images/04012025/03/54/image_04012025_03_54_02_709131_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.831876039505005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:55:03.253774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/53/image_04012025_03_53_02_193088_0003.jpg', '/home/pi/Desktop/images/04012025/03/54/image_04012025_03_54_02_709131_0000.jpg', '/home/pi/Desktop/images/04012025/03/54/image_04012025_03_54_02_709131_0001.jpg', '/home/pi/Desktop/images/04012025/03/54/image_04012025_03_54_02_709131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/53/image_04012025_03_53_02_193088_0003.jpg
/home/pi/Desktop/images/04012025/03/54/image_04012025_03_54_02_709131_0000.jpg
/home/pi/Desktop/images/04012025/03/54/image_04012025_03_54_02_709131_0001.jpg
/home/pi/Desktop/images/04012025/03/54/image_04012025_03_54_02_709131_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326244346","1326244348","1326244371","1326244332"],"photo_ids_order":["1326244332","1326244346","1326244348","1326244371"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/89f894f17913d7a7efd71007453ff31c.jpg","text":"TemporaryFile(/tmp/multipartBody964359702459175403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959373525,"filename":"image_04012025_03_54_02_709131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/17407fba7c2dc4d19fb062d519b11c3a.jpg","text":"TemporaryFile(/tmp/multipartBody485940467517379419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959373525,"filename":"image_04012025_03_54_02_709131_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3747cca32b62d9ba1a96780896ea97e4.jpg","text":"TemporaryFile(/tmp/multipartBody5827300962331837864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959373525,"filename":"image_04012025_03_54_02_709131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f09258ccc904423ba949839656c9fd2b.jpg","text":"TemporaryFile(/tmp/multipartBody585755827397628916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959373525,"filename":"image_04012025_03_53_02_193088_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326244348","file1":"1326244346","file0":"1326244332","file3":"1326244371"},"map_files_photo_id_array":[{"photo_id":"1326244348","filename":"file2"},{"photo_id":"1326244346","filename":"file1"},{"photo_id":"1326244332","filename":"file0"},{"photo_id":"1326244371","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326244346":["hashtag1","hashtag2"]},{"1326244348":["hashtag1","hashtag2"]},{"1326244371":["hashtag1","hashtag2"]},{"1326244332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326244346, 1326244348, 1326244371, 1326244332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.1766095161438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 03:56:02.624831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/54/image_04012025_03_54_02_709131_0003.jpg', '/home/pi/Desktop/images/04012025/03/55/image_04012025_03_55_02_437828_0000.jpg', '/home/pi/Desktop/images/04012025/03/55/image_04012025_03_55_02_437828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/54/image_04012025_03_54_02_709131_0003.jpg
/home/pi/Desktop/images/04012025/03/55/image_04012025_03_55_02_437828_0000.jpg
/home/pi/Desktop/images/04012025/03/55/image_04012025_03_55_02_437828_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6534810066223145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:56:22.149051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/54/image_04012025_03_54_02_709131_0003.jpg', '/home/pi/Desktop/images/04012025/03/55/image_04012025_03_55_02_437828_0000.jpg', '/home/pi/Desktop/images/04012025/03/55/image_04012025_03_55_02_437828_0002.jpg', '/home/pi/Desktop/images/04012025/03/55/image_04012025_03_55_02_437828_0003.jpg', '/home/pi/Desktop/images/04012025/03/56/image_04012025_03_56_02_991552_0000.jpg', '/home/pi/Desktop/images/04012025/03/56/image_04012025_03_56_02_991552_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/54/image_04012025_03_54_02_709131_0003.jpg
/home/pi/Desktop/images/04012025/03/55/image_04012025_03_55_02_437828_0000.jpg
/home/pi/Desktop/images/04012025/03/55/image_04012025_03_55_02_437828_0002.jpg
/home/pi/Desktop/images/04012025/03/55/image_04012025_03_55_02_437828_0003.jpg
/home/pi/Desktop/images/04012025/03/56/image_04012025_03_56_02_991552_0000.jpg
/home/pi/Desktop/images/04012025/03/56/image_04012025_03_56_02_991552_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326245222","1326245209","1326245184","1326245220","1326245121","1326245112"],"photo_ids_order":["1326245112","1326245121","1326245184","1326245209","1326245220","1326245222"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/82d8d7b8015f7f7d8086306168ad00cb.jpg","text":"TemporaryFile(/tmp/multipartBody6223475969800018545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959457200,"filename":"image_04012025_03_56_02_991552_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ab18e89bb7e974243f9cd104c885d29e.jpg","text":"TemporaryFile(/tmp/multipartBody7104031850707521006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959457200,"filename":"image_04012025_03_55_02_437828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/69619164226100e7969f390185ca3b96.jpg","text":"TemporaryFile(/tmp/multipartBody1101495852284058862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959457200,"filename":"image_04012025_03_55_02_437828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4aef1018b325a790032934e6f8f92139.jpg","text":"TemporaryFile(/tmp/multipartBody5157668398120640323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959457200,"filename":"image_04012025_03_56_02_991552_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c752d12f4037d248df2c8bbff17ea536.jpg","text":"TemporaryFile(/tmp/multipartBody2119720400888885930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959457200,"filename":"image_04012025_03_55_02_437828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e371d74a73faf5a1202d72efed3f0e1a.jpg","text":"TemporaryFile(/tmp/multipartBody2227182234226375433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959457200,"filename":"image_04012025_03_54_02_709131_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326245184","file1":"1326245121","file0":"1326245112","file4":"1326245220","file5":"1326245222","file3":"1326245209"},"map_files_photo_id_array":[{"photo_id":"1326245222","filename":"file5"},{"photo_id":"1326245184","filename":"file2"},{"photo_id":"1326245220","filename":"file4"},{"photo_id":"1326245121","filename":"file1"},{"photo_id":"1326245112","filename":"file0"},{"photo_id":"1326245209","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326245222":["hashtag1","hashtag2"]},{"1326245209":["hashtag1","hashtag2"]},{"1326245184":["hashtag1","hashtag2"]},{"1326245220":["hashtag1","hashtag2"]},{"1326245121":["hashtag1","hashtag2"]},{"1326245112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326245222, 1326245209, 1326245184, 1326245220, 1326245121, 1326245112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.02539777755737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:57:22.704942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/56/image_04012025_03_56_02_991552_0002.jpg', '/home/pi/Desktop/images/04012025/03/56/image_04012025_03_56_02_991552_0003.jpg', '/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0000.jpg', '/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0001.jpg', '/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/56/image_04012025_03_56_02_991552_0002.jpg
/home/pi/Desktop/images/04012025/03/56/image_04012025_03_56_02_991552_0003.jpg
/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0000.jpg
/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0001.jpg
/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_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-04 03:59:03.219853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/56/image_04012025_03_56_02_991552_0002.jpg', '/home/pi/Desktop/images/04012025/03/56/image_04012025_03_56_02_991552_0003.jpg', '/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0000.jpg', '/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0001.jpg', '/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0002.jpg', '/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/56/image_04012025_03_56_02_991552_0002.jpg
/home/pi/Desktop/images/04012025/03/56/image_04012025_03_56_02_991552_0003.jpg
/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0000.jpg
/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0001.jpg
/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0002.jpg
/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.807200193405151 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 03:59:22.479829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/56/image_04012025_03_56_02_991552_0002.jpg', '/home/pi/Desktop/images/04012025/03/56/image_04012025_03_56_02_991552_0003.jpg', '/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0000.jpg', '/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0001.jpg', '/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0002.jpg', '/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/56/image_04012025_03_56_02_991552_0002.jpg
/home/pi/Desktop/images/04012025/03/56/image_04012025_03_56_02_991552_0003.jpg
/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0000.jpg
/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0001.jpg
/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_0002.jpg
/home/pi/Desktop/images/04012025/03/57/image_04012025_03_57_02_611449_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":["1326248444","1326248438","1326248476","1326248365","1326248388","1326248481"],"photo_ids_order":["1326248365","1326248388","1326248438","1326248444","1326248476","1326248481"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4313a06d7c18da126a8e40d5a1055579.jpg","text":"TemporaryFile(/tmp/multipartBody7631086146323274621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959637667,"filename":"image_04012025_03_57_02_611449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c5dc83d742b176cf9745b4a92166e449.jpg","text":"TemporaryFile(/tmp/multipartBody7155710794705920538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959637667,"filename":"image_04012025_03_57_02_611449_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/909678bba5b3dd8053f9a98912798911.jpg","text":"TemporaryFile(/tmp/multipartBody2086283056702948453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959637667,"filename":"image_04012025_03_57_02_611449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ab97c2b12681100c70fe1d90b6fb6b83.jpg","text":"TemporaryFile(/tmp/multipartBody59674447616340535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959637667,"filename":"image_04012025_03_56_02_991552_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1e32d58757dc176c1877931ab5b75ea6.jpg","text":"TemporaryFile(/tmp/multipartBody7739394623044105307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959637667,"filename":"image_04012025_03_56_02_991552_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/979b07a98c603cfd05417717ed78c06d.jpg","text":"TemporaryFile(/tmp/multipartBody8382862985655446206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959637667,"filename":"image_04012025_03_57_02_611449_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326248438","file1":"1326248388","file0":"1326248365","file4":"1326248476","file5":"1326248481","file3":"1326248444"},"map_files_photo_id_array":[{"photo_id":"1326248481","filename":"file5"},{"photo_id":"1326248438","filename":"file2"},{"photo_id":"1326248476","filename":"file4"},{"photo_id":"1326248388","filename":"file1"},{"photo_id":"1326248365","filename":"file0"},{"photo_id":"1326248444","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326248444":["hashtag1","hashtag2"]},{"1326248438":["hashtag1","hashtag2"]},{"1326248476":["hashtag1","hashtag2"]},{"1326248365":["hashtag1","hashtag2"]},{"1326248388":["hashtag1","hashtag2"]},{"1326248481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326248444, 1326248438, 1326248476, 1326248365, 1326248388, 1326248481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.0691659450531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:01:03.129592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/58/image_04012025_03_58_03_183810_0000.jpg', '/home/pi/Desktop/images/04012025/03/58/image_04012025_03_58_03_183810_0001.jpg', '/home/pi/Desktop/images/04012025/03/58/image_04012025_03_58_03_183810_0002.jpg', '/home/pi/Desktop/images/04012025/03/58/image_04012025_03_58_03_183810_0003.jpg', '/home/pi/Desktop/images/04012025/03/59/image_04012025_03_59_02_726431_0000.jpg', '/home/pi/Desktop/images/04012025/03/59/image_04012025_03_59_02_726431_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/58/image_04012025_03_58_03_183810_0000.jpg
/home/pi/Desktop/images/04012025/03/58/image_04012025_03_58_03_183810_0001.jpg
/home/pi/Desktop/images/04012025/03/58/image_04012025_03_58_03_183810_0002.jpg
/home/pi/Desktop/images/04012025/03/58/image_04012025_03_58_03_183810_0003.jpg
/home/pi/Desktop/images/04012025/03/59/image_04012025_03_59_02_726431_0000.jpg
/home/pi/Desktop/images/04012025/03/59/image_04012025_03_59_02_726431_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":["1326248678","1326248501","1326248497","1326248611","1326248499","1326248793"],"photo_ids_order":["1326248497","1326248499","1326248501","1326248611","1326248678","1326248793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0e09bb3bbdcced3c8233c6c7bef999c6.jpg","text":"TemporaryFile(/tmp/multipartBody1033963416662467881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959738334,"filename":"image_04012025_03_59_02_726431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a5208e66b1e9f2006fedd863a246b8b9.jpg","text":"TemporaryFile(/tmp/multipartBody1771169465378584293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959738334,"filename":"image_04012025_03_58_03_183810_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fbc012ce0e151a883992b7cb1b6150e3.jpg","text":"TemporaryFile(/tmp/multipartBody5469259397842754743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959738334,"filename":"image_04012025_03_58_03_183810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8d284578366409df5cad1481c6df3dcb.jpg","text":"TemporaryFile(/tmp/multipartBody984109996973615990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959738334,"filename":"image_04012025_03_58_03_183810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8845569242b09942c811f6359fb3e9c7.jpg","text":"TemporaryFile(/tmp/multipartBody275765480505253700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959738334,"filename":"image_04012025_03_58_03_183810_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/14a78945c8a21cb20d12084efbaf6457.jpg","text":"TemporaryFile(/tmp/multipartBody9062979899475555373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959738334,"filename":"image_04012025_03_59_02_726431_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326248501","file1":"1326248499","file0":"1326248497","file4":"1326248678","file5":"1326248793","file3":"1326248611"},"map_files_photo_id_array":[{"photo_id":"1326248793","filename":"file5"},{"photo_id":"1326248501","filename":"file2"},{"photo_id":"1326248678","filename":"file4"},{"photo_id":"1326248499","filename":"file1"},{"photo_id":"1326248497","filename":"file0"},{"photo_id":"1326248611","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326248678":["hashtag1","hashtag2"]},{"1326248501":["hashtag1","hashtag2"]},{"1326248497":["hashtag1","hashtag2"]},{"1326248611":["hashtag1","hashtag2"]},{"1326248499":["hashtag1","hashtag2"]},{"1326248793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326248678, 1326248501, 1326248497, 1326248611, 1326248499, 1326248793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.03199005126953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:02:22.303776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/03/59/image_04012025_03_59_02_726431_0002.jpg', '/home/pi/Desktop/images/04012025/03/59/image_04012025_03_59_02_726431_0003.jpg', '/home/pi/Desktop/images/04012025/04/00/image_04012025_04_00_02_818611_0000.jpg', '/home/pi/Desktop/images/04012025/04/00/image_04012025_04_00_02_818611_0001.jpg', '/home/pi/Desktop/images/04012025/04/00/image_04012025_04_00_02_818611_0002.jpg', '/home/pi/Desktop/images/04012025/04/00/image_04012025_04_00_02_818611_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/03/59/image_04012025_03_59_02_726431_0002.jpg
/home/pi/Desktop/images/04012025/03/59/image_04012025_03_59_02_726431_0003.jpg
/home/pi/Desktop/images/04012025/04/00/image_04012025_04_00_02_818611_0000.jpg
/home/pi/Desktop/images/04012025/04/00/image_04012025_04_00_02_818611_0001.jpg
/home/pi/Desktop/images/04012025/04/00/image_04012025_04_00_02_818611_0002.jpg
/home/pi/Desktop/images/04012025/04/00/image_04012025_04_00_02_818611_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":["1326249620","1326250274","1326250037","1326249835","1326250126","1326249741"],"photo_ids_order":["1326249620","1326249741","1326249835","1326250037","1326250126","1326250274"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd26775985a36b58bcd0b1ab944e9826.jpg","text":"TemporaryFile(/tmp/multipartBody7862257431644065808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959817757,"filename":"image_04012025_03_59_02_726431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c9c5fb1ccd62b7ff8b549a09314252a0.jpg","text":"TemporaryFile(/tmp/multipartBody5871357200047527946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959817757,"filename":"image_04012025_04_00_02_818611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d4912eeeee09113545b84aa5404dc17c.jpg","text":"TemporaryFile(/tmp/multipartBody658316295011481863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959817757,"filename":"image_04012025_04_00_02_818611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ffe2e2c0cd0098e780d848a5e6fed093.jpg","text":"TemporaryFile(/tmp/multipartBody3661496350528804359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959817757,"filename":"image_04012025_04_00_02_818611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c5d14021389b39798cb07c1149c319b8.jpg","text":"TemporaryFile(/tmp/multipartBody1824430267021835249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959817757,"filename":"image_04012025_04_00_02_818611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/94ee3376ffbae9c2840068f0189cb5e2.jpg","text":"TemporaryFile(/tmp/multipartBody8403585822286439565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959817757,"filename":"image_04012025_03_59_02_726431_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326249835","file1":"1326249741","file0":"1326249620","file4":"1326250126","file5":"1326250274","file3":"1326250037"},"map_files_photo_id_array":[{"photo_id":"1326250274","filename":"file5"},{"photo_id":"1326249835","filename":"file2"},{"photo_id":"1326250126","filename":"file4"},{"photo_id":"1326249741","filename":"file1"},{"photo_id":"1326249620","filename":"file0"},{"photo_id":"1326250037","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326249620":["hashtag1","hashtag2"]},{"1326250274":["hashtag1","hashtag2"]},{"1326250037":["hashtag1","hashtag2"]},{"1326249835":["hashtag1","hashtag2"]},{"1326250126":["hashtag1","hashtag2"]},{"1326249741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326249620, 1326250274, 1326250037, 1326249835, 1326250126, 1326249741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.83080387115479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:04:02.755717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/01/image_04012025_04_01_02_474555_0000.jpg', '/home/pi/Desktop/images/04012025/04/01/image_04012025_04_01_02_474555_0001.jpg', '/home/pi/Desktop/images/04012025/04/01/image_04012025_04_01_02_474555_0002.jpg', '/home/pi/Desktop/images/04012025/04/01/image_04012025_04_01_02_474555_0003.jpg', '/home/pi/Desktop/images/04012025/04/02/image_04012025_04_02_02_994820_0000.jpg', '/home/pi/Desktop/images/04012025/04/02/image_04012025_04_02_02_994820_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/01/image_04012025_04_01_02_474555_0000.jpg
/home/pi/Desktop/images/04012025/04/01/image_04012025_04_01_02_474555_0001.jpg
/home/pi/Desktop/images/04012025/04/01/image_04012025_04_01_02_474555_0002.jpg
/home/pi/Desktop/images/04012025/04/01/image_04012025_04_01_02_474555_0003.jpg
/home/pi/Desktop/images/04012025/04/02/image_04012025_04_02_02_994820_0000.jpg
/home/pi/Desktop/images/04012025/04/02/image_04012025_04_02_02_994820_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":["1326250481","1326250867","1326250717","1326251028","1326250557","1326250479"],"photo_ids_order":["1326250479","1326250481","1326250557","1326250717","1326250867","1326251028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9402046163fba942ce86e63041dd4dd5.jpg","text":"TemporaryFile(/tmp/multipartBody2796653179661120249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959917926,"filename":"image_04012025_04_01_02_474555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fe8945deaf20fc87f0838db30b915e22.jpg","text":"TemporaryFile(/tmp/multipartBody6843900020734053407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959917926,"filename":"image_04012025_04_02_02_994820_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/810f3cb113b5a1069bdc11eeca604471.jpg","text":"TemporaryFile(/tmp/multipartBody1766411189546745530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959917926,"filename":"image_04012025_04_01_02_474555_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4afdcf5685657782a850d04e2acb6974.jpg","text":"TemporaryFile(/tmp/multipartBody6194913311973662900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959917926,"filename":"image_04012025_04_02_02_994820_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/962861e509573e12840c125ae0444802.jpg","text":"TemporaryFile(/tmp/multipartBody5138141002309034248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959917926,"filename":"image_04012025_04_01_02_474555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9ec0ee9015abe7a8e413f9bc47bb9066.jpg","text":"TemporaryFile(/tmp/multipartBody4390087484579548301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959917926,"filename":"image_04012025_04_01_02_474555_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326250557","file1":"1326250481","file0":"1326250479","file4":"1326250867","file5":"1326251028","file3":"1326250717"},"map_files_photo_id_array":[{"photo_id":"1326251028","filename":"file5"},{"photo_id":"1326250557","filename":"file2"},{"photo_id":"1326250867","filename":"file4"},{"photo_id":"1326250481","filename":"file1"},{"photo_id":"1326250479","filename":"file0"},{"photo_id":"1326250717","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326250481":["hashtag1","hashtag2"]},{"1326250867":["hashtag1","hashtag2"]},{"1326250717":["hashtag1","hashtag2"]},{"1326251028":["hashtag1","hashtag2"]},{"1326250557":["hashtag1","hashtag2"]},{"1326250479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326250481, 1326250867, 1326250717, 1326251028, 1326250557, 1326250479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.068655014038086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:05:21.922749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/02/image_04012025_04_02_02_994820_0002.jpg', '/home/pi/Desktop/images/04012025/04/02/image_04012025_04_02_02_994820_0003.jpg', '/home/pi/Desktop/images/04012025/04/03/image_04012025_04_03_02_683815_0000.jpg', '/home/pi/Desktop/images/04012025/04/03/image_04012025_04_03_02_683815_0001.jpg', '/home/pi/Desktop/images/04012025/04/03/image_04012025_04_03_02_683815_0002.jpg', '/home/pi/Desktop/images/04012025/04/03/image_04012025_04_03_02_683815_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/02/image_04012025_04_02_02_994820_0002.jpg
/home/pi/Desktop/images/04012025/04/02/image_04012025_04_02_02_994820_0003.jpg
/home/pi/Desktop/images/04012025/04/03/image_04012025_04_03_02_683815_0000.jpg
/home/pi/Desktop/images/04012025/04/03/image_04012025_04_03_02_683815_0001.jpg
/home/pi/Desktop/images/04012025/04/03/image_04012025_04_03_02_683815_0002.jpg
/home/pi/Desktop/images/04012025/04/03/image_04012025_04_03_02_683815_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326252257","1326252190","1326252192","1326251976","1326252003","1326252074"],"photo_ids_order":["1326251976","1326252003","1326252074","1326252190","1326252192","1326252257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0521812256caad69f68f533f37678976.jpg","text":"TemporaryFile(/tmp/multipartBody2003880135259474408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959997079,"filename":"image_04012025_04_03_02_683815_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/820907004293c764e9a2e24f69730fae.jpg","text":"TemporaryFile(/tmp/multipartBody3036963165965051693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959997079,"filename":"image_04012025_04_03_02_683815_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7fe6ecf10d2410f46e60df4ea52cd1f0.jpg","text":"TemporaryFile(/tmp/multipartBody576148049438508379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959997079,"filename":"image_04012025_04_03_02_683815_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/455c0656f8448cb3c98ddbb3fb783210.jpg","text":"TemporaryFile(/tmp/multipartBody1507091857332035525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959997079,"filename":"image_04012025_04_02_02_994820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b41758a987f3fd7c8db83ecc1f76ddbf.jpg","text":"TemporaryFile(/tmp/multipartBody8482139492228509432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959997079,"filename":"image_04012025_04_02_02_994820_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f2b31fa01b10339ef3135385e9c7cd4d.jpg","text":"TemporaryFile(/tmp/multipartBody1864480287622056931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735959997079,"filename":"image_04012025_04_03_02_683815_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326252074","file1":"1326252003","file0":"1326251976","file4":"1326252192","file5":"1326252257","file3":"1326252190"},"map_files_photo_id_array":[{"photo_id":"1326252257","filename":"file5"},{"photo_id":"1326252074","filename":"file2"},{"photo_id":"1326252192","filename":"file4"},{"photo_id":"1326252003","filename":"file1"},{"photo_id":"1326251976","filename":"file0"},{"photo_id":"1326252190","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326252257":["hashtag1","hashtag2"]},{"1326252190":["hashtag1","hashtag2"]},{"1326252192":["hashtag1","hashtag2"]},{"1326251976":["hashtag1","hashtag2"]},{"1326252003":["hashtag1","hashtag2"]},{"1326252074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326252257, 1326252190, 1326252192, 1326251976, 1326252003, 1326252074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.50552225112915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:06:22.391046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/04/image_04012025_04_04_02_259426_0000.jpg', '/home/pi/Desktop/images/04012025/04/04/image_04012025_04_04_02_259426_0001.jpg', '/home/pi/Desktop/images/04012025/04/04/image_04012025_04_04_02_259426_0002.jpg', '/home/pi/Desktop/images/04012025/04/04/image_04012025_04_04_02_259426_0003.jpg', '/home/pi/Desktop/images/04012025/04/05/image_04012025_04_05_02_778702_0000.jpg', '/home/pi/Desktop/images/04012025/04/05/image_04012025_04_05_02_778702_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/04/image_04012025_04_04_02_259426_0000.jpg
/home/pi/Desktop/images/04012025/04/04/image_04012025_04_04_02_259426_0001.jpg
/home/pi/Desktop/images/04012025/04/04/image_04012025_04_04_02_259426_0002.jpg
/home/pi/Desktop/images/04012025/04/04/image_04012025_04_04_02_259426_0003.jpg
/home/pi/Desktop/images/04012025/04/05/image_04012025_04_05_02_778702_0000.jpg
/home/pi/Desktop/images/04012025/04/05/image_04012025_04_05_02_778702_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326253657","1326253150","1326253083","1326253356","1326253652","1326253553"],"photo_ids_order":["1326253083","1326253150","1326253356","1326253553","1326253652","1326253657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2c6015c48e890cca7774c2836fdb6a56.jpg","text":"TemporaryFile(/tmp/multipartBody2381352522484239366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960057696,"filename":"image_04012025_04_05_02_778702_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d62d1d6eac4e21ca431e8f44fe8c14e1.jpg","text":"TemporaryFile(/tmp/multipartBody3409228438030445831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960057696,"filename":"image_04012025_04_04_02_259426_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1f11c897c5b318f227c4b771f3249385.jpg","text":"TemporaryFile(/tmp/multipartBody5107247876711607085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960057696,"filename":"image_04012025_04_04_02_259426_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/838c816374300db81adb461ffe331be3.jpg","text":"TemporaryFile(/tmp/multipartBody3365383101329867333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960057696,"filename":"image_04012025_04_04_02_259426_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3fb8d6b78ce49ecece9e789ba2616360.jpg","text":"TemporaryFile(/tmp/multipartBody7644693310221770291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960057696,"filename":"image_04012025_04_05_02_778702_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f660b32b59359221ef8ca4c1f260dbf2.jpg","text":"TemporaryFile(/tmp/multipartBody1985784899139350670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960057696,"filename":"image_04012025_04_04_02_259426_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326253356","file1":"1326253150","file0":"1326253083","file4":"1326253652","file5":"1326253657","file3":"1326253553"},"map_files_photo_id_array":[{"photo_id":"1326253657","filename":"file5"},{"photo_id":"1326253356","filename":"file2"},{"photo_id":"1326253652","filename":"file4"},{"photo_id":"1326253150","filename":"file1"},{"photo_id":"1326253083","filename":"file0"},{"photo_id":"1326253553","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326253657":["hashtag1","hashtag2"]},{"1326253150":["hashtag1","hashtag2"]},{"1326253083":["hashtag1","hashtag2"]},{"1326253356":["hashtag1","hashtag2"]},{"1326253652":["hashtag1","hashtag2"]},{"1326253553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326253657, 1326253150, 1326253083, 1326253356, 1326253652, 1326253553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.35313415527344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:07:22.054438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/05/image_04012025_04_05_02_778702_0002.jpg', '/home/pi/Desktop/images/04012025/04/05/image_04012025_04_05_02_778702_0003.jpg', '/home/pi/Desktop/images/04012025/04/06/image_04012025_04_06_02_245370_0000.jpg', '/home/pi/Desktop/images/04012025/04/06/image_04012025_04_06_02_245370_0001.jpg', '/home/pi/Desktop/images/04012025/04/06/image_04012025_04_06_02_245370_0002.jpg', '/home/pi/Desktop/images/04012025/04/06/image_04012025_04_06_02_245370_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/05/image_04012025_04_05_02_778702_0002.jpg
/home/pi/Desktop/images/04012025/04/05/image_04012025_04_05_02_778702_0003.jpg
/home/pi/Desktop/images/04012025/04/06/image_04012025_04_06_02_245370_0000.jpg
/home/pi/Desktop/images/04012025/04/06/image_04012025_04_06_02_245370_0001.jpg
/home/pi/Desktop/images/04012025/04/06/image_04012025_04_06_02_245370_0002.jpg
/home/pi/Desktop/images/04012025/04/06/image_04012025_04_06_02_245370_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326254190","1326254163","1326254052","1326254055","1326254202","1326254185"],"photo_ids_order":["1326254052","1326254055","1326254163","1326254185","1326254190","1326254202"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3d5d4b065eec1ee657d653d953c2e368.jpg","text":"TemporaryFile(/tmp/multipartBody7474495808367847499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960117194,"filename":"image_04012025_04_06_02_245370_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0d87ed87b431eaff0d6fd5e4cb90a160.jpg","text":"TemporaryFile(/tmp/multipartBody3343475831966420101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960117194,"filename":"image_04012025_04_06_02_245370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/24cd30e473101cdd27715453766ac483.jpg","text":"TemporaryFile(/tmp/multipartBody7905102410158553055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960117194,"filename":"image_04012025_04_05_02_778702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bfe8db47f1f9c3b8e28b81f4b473fb5d.jpg","text":"TemporaryFile(/tmp/multipartBody696004520574042070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960117194,"filename":"image_04012025_04_05_02_778702_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5d6c9c2eeae40e03581974f5593edba7.jpg","text":"TemporaryFile(/tmp/multipartBody4268674075502563455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960117194,"filename":"image_04012025_04_06_02_245370_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cd460d9342ecbf35f7bb361b55f58d10.jpg","text":"TemporaryFile(/tmp/multipartBody4416311740776217543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960117194,"filename":"image_04012025_04_06_02_245370_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326254163","file1":"1326254055","file0":"1326254052","file4":"1326254190","file5":"1326254202","file3":"1326254185"},"map_files_photo_id_array":[{"photo_id":"1326254202","filename":"file5"},{"photo_id":"1326254163","filename":"file2"},{"photo_id":"1326254190","filename":"file4"},{"photo_id":"1326254055","filename":"file1"},{"photo_id":"1326254052","filename":"file0"},{"photo_id":"1326254185","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326254190":["hashtag1","hashtag2"]},{"1326254163":["hashtag1","hashtag2"]},{"1326254052":["hashtag1","hashtag2"]},{"1326254055":["hashtag1","hashtag2"]},{"1326254202":["hashtag1","hashtag2"]},{"1326254185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326254190, 1326254163, 1326254052, 1326254055, 1326254202, 1326254185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.66759443283081 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:08:22.479184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/07/image_04012025_04_07_02_852527_0000.jpg', '/home/pi/Desktop/images/04012025/04/07/image_04012025_04_07_02_852527_0001.jpg', '/home/pi/Desktop/images/04012025/04/07/image_04012025_04_07_02_852527_0002.jpg', '/home/pi/Desktop/images/04012025/04/07/image_04012025_04_07_02_852527_0003.jpg', '/home/pi/Desktop/images/04012025/04/08/image_04012025_04_08_02_399302_0000.jpg', '/home/pi/Desktop/images/04012025/04/08/image_04012025_04_08_02_399302_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/07/image_04012025_04_07_02_852527_0000.jpg
/home/pi/Desktop/images/04012025/04/07/image_04012025_04_07_02_852527_0001.jpg
/home/pi/Desktop/images/04012025/04/07/image_04012025_04_07_02_852527_0002.jpg
/home/pi/Desktop/images/04012025/04/07/image_04012025_04_07_02_852527_0003.jpg
/home/pi/Desktop/images/04012025/04/08/image_04012025_04_08_02_399302_0000.jpg
/home/pi/Desktop/images/04012025/04/08/image_04012025_04_08_02_399302_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.9212007522583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:09:02.562377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/07/image_04012025_04_07_02_852527_0000.jpg', '/home/pi/Desktop/images/04012025/04/07/image_04012025_04_07_02_852527_0001.jpg', '/home/pi/Desktop/images/04012025/04/07/image_04012025_04_07_02_852527_0002.jpg', '/home/pi/Desktop/images/04012025/04/07/image_04012025_04_07_02_852527_0003.jpg', '/home/pi/Desktop/images/04012025/04/08/image_04012025_04_08_02_399302_0000.jpg', '/home/pi/Desktop/images/04012025/04/08/image_04012025_04_08_02_399302_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/07/image_04012025_04_07_02_852527_0000.jpg
/home/pi/Desktop/images/04012025/04/07/image_04012025_04_07_02_852527_0001.jpg
/home/pi/Desktop/images/04012025/04/07/image_04012025_04_07_02_852527_0002.jpg
/home/pi/Desktop/images/04012025/04/07/image_04012025_04_07_02_852527_0003.jpg
/home/pi/Desktop/images/04012025/04/08/image_04012025_04_08_02_399302_0000.jpg
/home/pi/Desktop/images/04012025/04/08/image_04012025_04_08_02_399302_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326254874","1326254823","1326254870","1326254933","1326254912","1326254807"],"photo_ids_order":["1326254807","1326254823","1326254870","1326254874","1326254912","1326254933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/02ab5f2597510d18a545b563265c8366.jpg","text":"TemporaryFile(/tmp/multipartBody1400905018935461165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960217941,"filename":"image_04012025_04_07_02_852527_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c55edd2861b159aad8457a6d6464b126.jpg","text":"TemporaryFile(/tmp/multipartBody7214242159775378563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960217941,"filename":"image_04012025_04_07_02_852527_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ccaefc56ce34edb9be2ca5e1b52fe4fe.jpg","text":"TemporaryFile(/tmp/multipartBody2639526771270904654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960217941,"filename":"image_04012025_04_07_02_852527_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7dda1a99aef0953f718d71e89d5e0fb9.jpg","text":"TemporaryFile(/tmp/multipartBody1885588793749142166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960217941,"filename":"image_04012025_04_08_02_399302_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8b4435c3c4d9ce335d0a3ab4161f1db6.jpg","text":"TemporaryFile(/tmp/multipartBody8475010458963008832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960217941,"filename":"image_04012025_04_08_02_399302_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8b213d7f0b3621b80f3b7bb453754c73.jpg","text":"TemporaryFile(/tmp/multipartBody3053976481775392945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960217941,"filename":"image_04012025_04_07_02_852527_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326254870","file1":"1326254823","file0":"1326254807","file4":"1326254912","file5":"1326254933","file3":"1326254874"},"map_files_photo_id_array":[{"photo_id":"1326254933","filename":"file5"},{"photo_id":"1326254870","filename":"file2"},{"photo_id":"1326254912","filename":"file4"},{"photo_id":"1326254823","filename":"file1"},{"photo_id":"1326254807","filename":"file0"},{"photo_id":"1326254874","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326254874":["hashtag1","hashtag2"]},{"1326254823":["hashtag1","hashtag2"]},{"1326254870":["hashtag1","hashtag2"]},{"1326254933":["hashtag1","hashtag2"]},{"1326254912":["hashtag1","hashtag2"]},{"1326254807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326254874, 1326254823, 1326254870, 1326254933, 1326254912, 1326254807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.04258060455322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:10:03.093124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/08/image_04012025_04_08_02_399302_0002.jpg', '/home/pi/Desktop/images/04012025/04/08/image_04012025_04_08_02_399302_0003.jpg', '/home/pi/Desktop/images/04012025/04/09/image_04012025_04_09_02_909767_0000.jpg', '/home/pi/Desktop/images/04012025/04/09/image_04012025_04_09_02_909767_0001.jpg', '/home/pi/Desktop/images/04012025/04/09/image_04012025_04_09_02_909767_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/08/image_04012025_04_08_02_399302_0002.jpg
/home/pi/Desktop/images/04012025/04/08/image_04012025_04_08_02_399302_0003.jpg
/home/pi/Desktop/images/04012025/04/09/image_04012025_04_09_02_909767_0000.jpg
/home/pi/Desktop/images/04012025/04/09/image_04012025_04_09_02_909767_0001.jpg
/home/pi/Desktop/images/04012025/04/09/image_04012025_04_09_02_909767_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 12.370131015777588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:10:22.730666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/08/image_04012025_04_08_02_399302_0002.jpg', '/home/pi/Desktop/images/04012025/04/08/image_04012025_04_08_02_399302_0003.jpg', '/home/pi/Desktop/images/04012025/04/09/image_04012025_04_09_02_909767_0000.jpg', '/home/pi/Desktop/images/04012025/04/09/image_04012025_04_09_02_909767_0001.jpg', '/home/pi/Desktop/images/04012025/04/09/image_04012025_04_09_02_909767_0002.jpg', '/home/pi/Desktop/images/04012025/04/09/image_04012025_04_09_02_909767_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/08/image_04012025_04_08_02_399302_0002.jpg
/home/pi/Desktop/images/04012025/04/08/image_04012025_04_08_02_399302_0003.jpg
/home/pi/Desktop/images/04012025/04/09/image_04012025_04_09_02_909767_0000.jpg
/home/pi/Desktop/images/04012025/04/09/image_04012025_04_09_02_909767_0001.jpg
/home/pi/Desktop/images/04012025/04/09/image_04012025_04_09_02_909767_0002.jpg
/home/pi/Desktop/images/04012025/04/09/image_04012025_04_09_02_909767_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326255474","1326255360","1326255365","1326255394","1326255370","1326255495"],"photo_ids_order":["1326255360","1326255365","1326255370","1326255394","1326255474","1326255495"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/182c0fd96f644e9b69230e0cc2853458.jpg","text":"TemporaryFile(/tmp/multipartBody8174848884310863170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960297870,"filename":"image_04012025_04_09_02_909767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49b494003ec5765fbe4bdb3f9b1ccde8.jpg","text":"TemporaryFile(/tmp/multipartBody5467598620062204338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960297870,"filename":"image_04012025_04_08_02_399302_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/038fae70546bd8de102a00da2355eb67.jpg","text":"TemporaryFile(/tmp/multipartBody3694263842822448680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960297870,"filename":"image_04012025_04_08_02_399302_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c9b88b8bea030761a39071805beaefdd.jpg","text":"TemporaryFile(/tmp/multipartBody6371241159335455766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960297870,"filename":"image_04012025_04_09_02_909767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d5716c7dc6d66eb0644d651cd94e272a.jpg","text":"TemporaryFile(/tmp/multipartBody8222764856663889686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960297870,"filename":"image_04012025_04_09_02_909767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8d56e12755a942b244a6757dec29115c.jpg","text":"TemporaryFile(/tmp/multipartBody8933562967469725855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960297870,"filename":"image_04012025_04_09_02_909767_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326255370","file1":"1326255365","file0":"1326255360","file4":"1326255474","file5":"1326255495","file3":"1326255394"},"map_files_photo_id_array":[{"photo_id":"1326255495","filename":"file5"},{"photo_id":"1326255370","filename":"file2"},{"photo_id":"1326255474","filename":"file4"},{"photo_id":"1326255365","filename":"file1"},{"photo_id":"1326255360","filename":"file0"},{"photo_id":"1326255394","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326255474":["hashtag1","hashtag2"]},{"1326255360":["hashtag1","hashtag2"]},{"1326255365":["hashtag1","hashtag2"]},{"1326255394":["hashtag1","hashtag2"]},{"1326255370":["hashtag1","hashtag2"]},{"1326255495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326255474, 1326255360, 1326255365, 1326255394, 1326255370, 1326255495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.80263900756836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:11:22.352538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/10/image_04012025_04_10_02_464109_0000.jpg', '/home/pi/Desktop/images/04012025/04/10/image_04012025_04_10_02_464109_0001.jpg', '/home/pi/Desktop/images/04012025/04/10/image_04012025_04_10_02_464109_0002.jpg', '/home/pi/Desktop/images/04012025/04/10/image_04012025_04_10_02_464109_0003.jpg', '/home/pi/Desktop/images/04012025/04/11/image_04012025_04_11_03_154697_0000.jpg', '/home/pi/Desktop/images/04012025/04/11/image_04012025_04_11_03_154697_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/10/image_04012025_04_10_02_464109_0000.jpg
/home/pi/Desktop/images/04012025/04/10/image_04012025_04_10_02_464109_0001.jpg
/home/pi/Desktop/images/04012025/04/10/image_04012025_04_10_02_464109_0002.jpg
/home/pi/Desktop/images/04012025/04/10/image_04012025_04_10_02_464109_0003.jpg
/home/pi/Desktop/images/04012025/04/11/image_04012025_04_11_03_154697_0000.jpg
/home/pi/Desktop/images/04012025/04/11/image_04012025_04_11_03_154697_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":["1326255861","1326255740","1326255863","1326255856","1326255859","1326255853"],"photo_ids_order":["1326255740","1326255853","1326255856","1326255859","1326255861","1326255863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6e41641424f4410881a3a10e65898786.jpg","text":"TemporaryFile(/tmp/multipartBody8505949667458042471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960357726,"filename":"image_04012025_04_11_03_154697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f00ae6e0821c18c0faf67a76dfc4c63e.jpg","text":"TemporaryFile(/tmp/multipartBody2313581456698629417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960357726,"filename":"image_04012025_04_10_02_464109_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f444fa90e7f0830e645310befb0e666a.jpg","text":"TemporaryFile(/tmp/multipartBody313925307251132777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960357726,"filename":"image_04012025_04_11_03_154697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/386f97bd28a7d6857916dca1d679729a.jpg","text":"TemporaryFile(/tmp/multipartBody6206016210014793558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960357726,"filename":"image_04012025_04_10_02_464109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d867f569edcf854d80b5a3049c4ddc97.jpg","text":"TemporaryFile(/tmp/multipartBody1434009737012526718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960357726,"filename":"image_04012025_04_10_02_464109_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/68293717abf2eb1a4f11c6425fe12109.jpg","text":"TemporaryFile(/tmp/multipartBody7405651452843344010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960357726,"filename":"image_04012025_04_10_02_464109_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326255856","file1":"1326255853","file0":"1326255740","file4":"1326255861","file5":"1326255863","file3":"1326255859"},"map_files_photo_id_array":[{"photo_id":"1326255863","filename":"file5"},{"photo_id":"1326255856","filename":"file2"},{"photo_id":"1326255861","filename":"file4"},{"photo_id":"1326255853","filename":"file1"},{"photo_id":"1326255740","filename":"file0"},{"photo_id":"1326255859","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326255861":["hashtag1","hashtag2"]},{"1326255740":["hashtag1","hashtag2"]},{"1326255863":["hashtag1","hashtag2"]},{"1326255856":["hashtag1","hashtag2"]},{"1326255859":["hashtag1","hashtag2"]},{"1326255853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326255861, 1326255740, 1326255863, 1326255856, 1326255859, 1326255853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.115129709243774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:13:03.081254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/11/image_04012025_04_11_03_154697_0002.jpg', '/home/pi/Desktop/images/04012025/04/11/image_04012025_04_11_03_154697_0003.jpg', '/home/pi/Desktop/images/04012025/04/12/image_04012025_04_12_02_696292_0000.jpg', '/home/pi/Desktop/images/04012025/04/12/image_04012025_04_12_02_696292_0001.jpg', '/home/pi/Desktop/images/04012025/04/12/image_04012025_04_12_02_696292_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/11/image_04012025_04_11_03_154697_0002.jpg
/home/pi/Desktop/images/04012025/04/11/image_04012025_04_11_03_154697_0003.jpg
/home/pi/Desktop/images/04012025/04/12/image_04012025_04_12_02_696292_0000.jpg
/home/pi/Desktop/images/04012025/04/12/image_04012025_04_12_02_696292_0001.jpg
/home/pi/Desktop/images/04012025/04/12/image_04012025_04_12_02_696292_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 12.613094806671143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:13:22.346646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/11/image_04012025_04_11_03_154697_0002.jpg', '/home/pi/Desktop/images/04012025/04/11/image_04012025_04_11_03_154697_0003.jpg', '/home/pi/Desktop/images/04012025/04/12/image_04012025_04_12_02_696292_0000.jpg', '/home/pi/Desktop/images/04012025/04/12/image_04012025_04_12_02_696292_0001.jpg', '/home/pi/Desktop/images/04012025/04/12/image_04012025_04_12_02_696292_0002.jpg', '/home/pi/Desktop/images/04012025/04/12/image_04012025_04_12_02_696292_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/11/image_04012025_04_11_03_154697_0002.jpg
/home/pi/Desktop/images/04012025/04/11/image_04012025_04_11_03_154697_0003.jpg
/home/pi/Desktop/images/04012025/04/12/image_04012025_04_12_02_696292_0000.jpg
/home/pi/Desktop/images/04012025/04/12/image_04012025_04_12_02_696292_0001.jpg
/home/pi/Desktop/images/04012025/04/12/image_04012025_04_12_02_696292_0002.jpg
/home/pi/Desktop/images/04012025/04/12/image_04012025_04_12_02_696292_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326257390","1326257705","1326257702","1326257635","1326257566","1326257626"],"photo_ids_order":["1326257390","1326257566","1326257626","1326257635","1326257702","1326257705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/26e5c422180f0e8791c764f35e965170.jpg","text":"TemporaryFile(/tmp/multipartBody6461282294489897780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960477777,"filename":"image_04012025_04_11_03_154697_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a2e0f4391d4110c5a91b97f9a08d9a7c.jpg","text":"TemporaryFile(/tmp/multipartBody4602783532619352344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960477777,"filename":"image_04012025_04_12_02_696292_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ee324038902a9fff93b48148bd3baa6c.jpg","text":"TemporaryFile(/tmp/multipartBody8541856413407234316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960477777,"filename":"image_04012025_04_12_02_696292_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3387637d9f68b4acf5f3480f4832b6ce.jpg","text":"TemporaryFile(/tmp/multipartBody3575934354517633575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960477777,"filename":"image_04012025_04_12_02_696292_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c8eb89f881a565c3d12311b703baef19.jpg","text":"TemporaryFile(/tmp/multipartBody8204137636848011744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960477777,"filename":"image_04012025_04_11_03_154697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7065402ea82b1951642cf53aee549dca.jpg","text":"TemporaryFile(/tmp/multipartBody378760235771911680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960477777,"filename":"image_04012025_04_12_02_696292_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326257626","file1":"1326257566","file0":"1326257390","file4":"1326257702","file5":"1326257705","file3":"1326257635"},"map_files_photo_id_array":[{"photo_id":"1326257705","filename":"file5"},{"photo_id":"1326257626","filename":"file2"},{"photo_id":"1326257702","filename":"file4"},{"photo_id":"1326257566","filename":"file1"},{"photo_id":"1326257390","filename":"file0"},{"photo_id":"1326257635","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326257390":["hashtag1","hashtag2"]},{"1326257705":["hashtag1","hashtag2"]},{"1326257702":["hashtag1","hashtag2"]},{"1326257635":["hashtag1","hashtag2"]},{"1326257566":["hashtag1","hashtag2"]},{"1326257626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326257390, 1326257705, 1326257702, 1326257635, 1326257566, 1326257626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.992321252822876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:14:22.008882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/13/image_04012025_04_13_02_221279_0000.jpg', '/home/pi/Desktop/images/04012025/04/13/image_04012025_04_13_02_221279_0001.jpg', '/home/pi/Desktop/images/04012025/04/13/image_04012025_04_13_02_221279_0002.jpg', '/home/pi/Desktop/images/04012025/04/13/image_04012025_04_13_02_221279_0003.jpg', '/home/pi/Desktop/images/04012025/04/14/image_04012025_04_14_02_781840_0000.jpg', '/home/pi/Desktop/images/04012025/04/14/image_04012025_04_14_02_781840_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/13/image_04012025_04_13_02_221279_0000.jpg
/home/pi/Desktop/images/04012025/04/13/image_04012025_04_13_02_221279_0001.jpg
/home/pi/Desktop/images/04012025/04/13/image_04012025_04_13_02_221279_0002.jpg
/home/pi/Desktop/images/04012025/04/13/image_04012025_04_13_02_221279_0003.jpg
/home/pi/Desktop/images/04012025/04/14/image_04012025_04_14_02_781840_0000.jpg
/home/pi/Desktop/images/04012025/04/14/image_04012025_04_14_02_781840_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326258323","1326257980","1326257944","1326258198","1326257947","1326258096"],"photo_ids_order":["1326257944","1326257947","1326257980","1326258096","1326258198","1326258323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/316e76de15fbd845eb6ee79954da2ff0.jpg","text":"TemporaryFile(/tmp/multipartBody5840772208076417633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960537251,"filename":"image_04012025_04_14_02_781840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b732e22b43b0f6c12adcf183809c9727.jpg","text":"TemporaryFile(/tmp/multipartBody8426758090578826074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960537251,"filename":"image_04012025_04_13_02_221279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ea89d2be7e431b750fa8269a6af6af93.jpg","text":"TemporaryFile(/tmp/multipartBody9104690274767602909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960537251,"filename":"image_04012025_04_13_02_221279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49cb7770184efc00c9a2f73fa6eeaa11.jpg","text":"TemporaryFile(/tmp/multipartBody7329323875615314355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960537251,"filename":"image_04012025_04_14_02_781840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3c9bce9be278d5651539609f295a628c.jpg","text":"TemporaryFile(/tmp/multipartBody4648973292487616675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960537251,"filename":"image_04012025_04_13_02_221279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8a3cab22bd416a94a074511a5072040a.jpg","text":"TemporaryFile(/tmp/multipartBody7029468540813148530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960537251,"filename":"image_04012025_04_13_02_221279_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326257980","file1":"1326257947","file0":"1326257944","file4":"1326258198","file5":"1326258323","file3":"1326258096"},"map_files_photo_id_array":[{"photo_id":"1326258323","filename":"file5"},{"photo_id":"1326257980","filename":"file2"},{"photo_id":"1326258198","filename":"file4"},{"photo_id":"1326257947","filename":"file1"},{"photo_id":"1326257944","filename":"file0"},{"photo_id":"1326258096","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326258323":["hashtag1","hashtag2"]},{"1326257980":["hashtag1","hashtag2"]},{"1326257944":["hashtag1","hashtag2"]},{"1326258198":["hashtag1","hashtag2"]},{"1326257947":["hashtag1","hashtag2"]},{"1326258096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326258323, 1326257980, 1326257944, 1326258198, 1326257947, 1326258096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.9207980632782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:15:22.546339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/14/image_04012025_04_14_02_781840_0002.jpg', '/home/pi/Desktop/images/04012025/04/14/image_04012025_04_14_02_781840_0003.jpg', '/home/pi/Desktop/images/04012025/04/15/image_04012025_04_15_02_394310_0000.jpg', '/home/pi/Desktop/images/04012025/04/15/image_04012025_04_15_02_394310_0001.jpg', '/home/pi/Desktop/images/04012025/04/15/image_04012025_04_15_02_394310_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/14/image_04012025_04_14_02_781840_0002.jpg
/home/pi/Desktop/images/04012025/04/14/image_04012025_04_14_02_781840_0003.jpg
/home/pi/Desktop/images/04012025/04/15/image_04012025_04_15_02_394310_0000.jpg
/home/pi/Desktop/images/04012025/04/15/image_04012025_04_15_02_394310_0001.jpg
/home/pi/Desktop/images/04012025/04/15/image_04012025_04_15_02_394310_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326258793","1326258490","1326258493","1326259015","1326258548"],"photo_ids_order":["1326258490","1326258493","1326258548","1326258793","1326259015"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ede8a60189a387e5e6f1e09f0ddc7206.jpg","text":"TemporaryFile(/tmp/multipartBody4250820675344083940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960595399,"filename":"image_04012025_04_15_02_394310_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3396cd37300da7c3ecb46c743a42aa1e.jpg","text":"TemporaryFile(/tmp/multipartBody335258167589727443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960595399,"filename":"image_04012025_04_14_02_781840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1ea5a2b3c3a7cb79f2f35b47a890140a.jpg","text":"TemporaryFile(/tmp/multipartBody7639280799901347699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960595399,"filename":"image_04012025_04_14_02_781840_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cd2a2bfc87b2194b7d5d09126c6c4b08.jpg","text":"TemporaryFile(/tmp/multipartBody6464225367807520544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960595399,"filename":"image_04012025_04_15_02_394310_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bcd441262e28568539f39de9ab36b3b2.jpg","text":"TemporaryFile(/tmp/multipartBody5975949552828218770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960595399,"filename":"image_04012025_04_15_02_394310_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326258548","file1":"1326258493","file0":"1326258490","file4":"1326259015","file3":"1326258793"},"map_files_photo_id_array":[{"photo_id":"1326258548","filename":"file2"},{"photo_id":"1326259015","filename":"file4"},{"photo_id":"1326258493","filename":"file1"},{"photo_id":"1326258490","filename":"file0"},{"photo_id":"1326258793","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326258793":["hashtag1","hashtag2"]},{"1326258490":["hashtag1","hashtag2"]},{"1326258493":["hashtag1","hashtag2"]},{"1326259015":["hashtag1","hashtag2"]},{"1326258548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326258793, 1326258490, 1326258493, 1326259015, 1326258548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.49751114845276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:16:22.058864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/15/image_04012025_04_15_02_394310_0003.jpg', '/home/pi/Desktop/images/04012025/04/16/image_04012025_04_16_02_945600_0000.jpg', '/home/pi/Desktop/images/04012025/04/16/image_04012025_04_16_02_945600_0001.jpg', '/home/pi/Desktop/images/04012025/04/16/image_04012025_04_16_02_945600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/15/image_04012025_04_15_02_394310_0003.jpg
/home/pi/Desktop/images/04012025/04/16/image_04012025_04_16_02_945600_0000.jpg
/home/pi/Desktop/images/04012025/04/16/image_04012025_04_16_02_945600_0001.jpg
/home/pi/Desktop/images/04012025/04/16/image_04012025_04_16_02_945600_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326259741","1326259986","1326259997","1326259817"],"photo_ids_order":["1326259741","1326259817","1326259986","1326259997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/69f3ede8cd4ecc7a6470f19c929e04d9.jpg","text":"TemporaryFile(/tmp/multipartBody5292738001908134101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960652419,"filename":"image_04012025_04_15_02_394310_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/66f1a65922b993d1163d524ebbac5bf1.jpg","text":"TemporaryFile(/tmp/multipartBody7213511370430639615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960652419,"filename":"image_04012025_04_16_02_945600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/04f9456b0e4e1d819b6be0c4cafbea69.jpg","text":"TemporaryFile(/tmp/multipartBody1611239401159198711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960652419,"filename":"image_04012025_04_16_02_945600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1354f2bced2a10dac7c10ce358c496cb.jpg","text":"TemporaryFile(/tmp/multipartBody6005484217953479673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960652419,"filename":"image_04012025_04_16_02_945600_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326259986","file1":"1326259817","file0":"1326259741","file3":"1326259997"},"map_files_photo_id_array":[{"photo_id":"1326259986","filename":"file2"},{"photo_id":"1326259817","filename":"file1"},{"photo_id":"1326259741","filename":"file0"},{"photo_id":"1326259997","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326259741":["hashtag1","hashtag2"]},{"1326259986":["hashtag1","hashtag2"]},{"1326259997":["hashtag1","hashtag2"]},{"1326259817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326259741, 1326259986, 1326259997, 1326259817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.8122661113739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:17:22.568567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/16/image_04012025_04_16_02_945600_0003.jpg', '/home/pi/Desktop/images/04012025/04/17/image_04012025_04_17_02_447730_0000.jpg', '/home/pi/Desktop/images/04012025/04/17/image_04012025_04_17_02_447730_0001.jpg', '/home/pi/Desktop/images/04012025/04/17/image_04012025_04_17_02_447730_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/16/image_04012025_04_16_02_945600_0003.jpg
/home/pi/Desktop/images/04012025/04/17/image_04012025_04_17_02_447730_0000.jpg
/home/pi/Desktop/images/04012025/04/17/image_04012025_04_17_02_447730_0001.jpg
/home/pi/Desktop/images/04012025/04/17/image_04012025_04_17_02_447730_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326260695","1326260935","1326261159","1326260447"],"photo_ids_order":["1326260447","1326260695","1326260935","1326261159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d75de6e6c3b3f9a90fa338b6a31e1727.jpg","text":"TemporaryFile(/tmp/multipartBody939917186163499812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960713028,"filename":"image_04012025_04_17_02_447730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/036d28c2dec7d79f2c6f171f24342621.jpg","text":"TemporaryFile(/tmp/multipartBody7665881357214280467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960713028,"filename":"image_04012025_04_17_02_447730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8fc977db3874cf610da603ae76d88c69.jpg","text":"TemporaryFile(/tmp/multipartBody4612775613948327383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960713028,"filename":"image_04012025_04_17_02_447730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2ce90b9ae5948b5c5ebb9468fa85d93c.jpg","text":"TemporaryFile(/tmp/multipartBody6016029250425292510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960713028,"filename":"image_04012025_04_16_02_945600_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326260935","file1":"1326260695","file0":"1326260447","file3":"1326261159"},"map_files_photo_id_array":[{"photo_id":"1326260935","filename":"file2"},{"photo_id":"1326260695","filename":"file1"},{"photo_id":"1326260447","filename":"file0"},{"photo_id":"1326261159","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326260695":["hashtag1","hashtag2"]},{"1326260935":["hashtag1","hashtag2"]},{"1326261159":["hashtag1","hashtag2"]},{"1326260447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326260695, 1326260935, 1326261159, 1326260447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.62009406089783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:18:22.108940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/17/image_04012025_04_17_02_447730_0003.jpg', '/home/pi/Desktop/images/04012025/04/18/image_04012025_04_18_03_002785_0000.jpg', '/home/pi/Desktop/images/04012025/04/18/image_04012025_04_18_03_002785_0001.jpg', '/home/pi/Desktop/images/04012025/04/18/image_04012025_04_18_03_002785_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/17/image_04012025_04_17_02_447730_0003.jpg
/home/pi/Desktop/images/04012025/04/18/image_04012025_04_18_03_002785_0000.jpg
/home/pi/Desktop/images/04012025/04/18/image_04012025_04_18_03_002785_0001.jpg
/home/pi/Desktop/images/04012025/04/18/image_04012025_04_18_03_002785_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326262209","1326262388","1326262019","1326262645"],"photo_ids_order":["1326262019","1326262209","1326262388","1326262645"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2ff43d2c8a3032fcbc7bb6392319c703.jpg","text":"TemporaryFile(/tmp/multipartBody5841509942492790820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960772426,"filename":"image_04012025_04_18_03_002785_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ef92177ef84497ef5617ddc056f32ed5.jpg","text":"TemporaryFile(/tmp/multipartBody4969221229187197863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960772426,"filename":"image_04012025_04_18_03_002785_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a54447242456af473e292c1c64904277.jpg","text":"TemporaryFile(/tmp/multipartBody5089888237834967525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960772426,"filename":"image_04012025_04_17_02_447730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9b952d734cd2486341568b2d5a6c9b7f.jpg","text":"TemporaryFile(/tmp/multipartBody3191591462507054780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960772426,"filename":"image_04012025_04_18_03_002785_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326262388","file1":"1326262209","file0":"1326262019","file3":"1326262645"},"map_files_photo_id_array":[{"photo_id":"1326262388","filename":"file2"},{"photo_id":"1326262209","filename":"file1"},{"photo_id":"1326262019","filename":"file0"},{"photo_id":"1326262645","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326262209":["hashtag1","hashtag2"]},{"1326262388":["hashtag1","hashtag2"]},{"1326262019":["hashtag1","hashtag2"]},{"1326262645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326262209, 1326262388, 1326262019, 1326262645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.45276713371277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:19:22.599216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/18/image_04012025_04_18_03_002785_0003.jpg', '/home/pi/Desktop/images/04012025/04/19/image_04012025_04_19_02_485183_0000.jpg', '/home/pi/Desktop/images/04012025/04/19/image_04012025_04_19_02_485183_0001.jpg', '/home/pi/Desktop/images/04012025/04/19/image_04012025_04_19_02_485183_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/18/image_04012025_04_18_03_002785_0003.jpg
/home/pi/Desktop/images/04012025/04/19/image_04012025_04_19_02_485183_0000.jpg
/home/pi/Desktop/images/04012025/04/19/image_04012025_04_19_02_485183_0001.jpg
/home/pi/Desktop/images/04012025/04/19/image_04012025_04_19_02_485183_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326263148","1326263243","1326263095","1326263251"],"photo_ids_order":["1326263095","1326263148","1326263243","1326263251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1f595e3ae1e240c34847511d7f6f231e.jpg","text":"TemporaryFile(/tmp/multipartBody5762360801711129061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960832951,"filename":"image_04012025_04_19_02_485183_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8262982474dbca1a8196404c95072f37.jpg","text":"TemporaryFile(/tmp/multipartBody3186117074640923679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960832951,"filename":"image_04012025_04_19_02_485183_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30f7e58a6060e40fd9be052a1c696b88.jpg","text":"TemporaryFile(/tmp/multipartBody6988334026619776558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960832951,"filename":"image_04012025_04_18_03_002785_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d017b6dfa8a974d20b255d010a3ce8d0.jpg","text":"TemporaryFile(/tmp/multipartBody4090918203555334101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960832951,"filename":"image_04012025_04_19_02_485183_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326263243","file1":"1326263148","file0":"1326263095","file3":"1326263251"},"map_files_photo_id_array":[{"photo_id":"1326263243","filename":"file2"},{"photo_id":"1326263148","filename":"file1"},{"photo_id":"1326263095","filename":"file0"},{"photo_id":"1326263251","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326263148":["hashtag1","hashtag2"]},{"1326263243":["hashtag1","hashtag2"]},{"1326263095":["hashtag1","hashtag2"]},{"1326263251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326263148, 1326263243, 1326263095, 1326263251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.38461136817932 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:20:22.114550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/19/image_04012025_04_19_02_485183_0003.jpg', '/home/pi/Desktop/images/04012025/04/20/image_04012025_04_20_03_019608_0000.jpg', '/home/pi/Desktop/images/04012025/04/20/image_04012025_04_20_03_019608_0001.jpg', '/home/pi/Desktop/images/04012025/04/20/image_04012025_04_20_03_019608_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/19/image_04012025_04_19_02_485183_0003.jpg
/home/pi/Desktop/images/04012025/04/20/image_04012025_04_20_03_019608_0000.jpg
/home/pi/Desktop/images/04012025/04/20/image_04012025_04_20_03_019608_0001.jpg
/home/pi/Desktop/images/04012025/04/20/image_04012025_04_20_03_019608_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0148446559906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:21:03.322433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/19/image_04012025_04_19_02_485183_0003.jpg', '/home/pi/Desktop/images/04012025/04/20/image_04012025_04_20_03_019608_0000.jpg', '/home/pi/Desktop/images/04012025/04/20/image_04012025_04_20_03_019608_0001.jpg', '/home/pi/Desktop/images/04012025/04/20/image_04012025_04_20_03_019608_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/19/image_04012025_04_19_02_485183_0003.jpg
/home/pi/Desktop/images/04012025/04/20/image_04012025_04_20_03_019608_0000.jpg
/home/pi/Desktop/images/04012025/04/20/image_04012025_04_20_03_019608_0001.jpg
/home/pi/Desktop/images/04012025/04/20/image_04012025_04_20_03_019608_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326263691","1326263692","1326263776","1326263892"],"photo_ids_order":["1326263691","1326263692","1326263776","1326263892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4ae13523dedafeee7151c9a63cc40f36.jpg","text":"TemporaryFile(/tmp/multipartBody4733720253975407992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960933790,"filename":"image_04012025_04_19_02_485183_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d7faae3dd5ecff90647d2c32c17ffe38.jpg","text":"TemporaryFile(/tmp/multipartBody6559330140667530221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960933790,"filename":"image_04012025_04_20_03_019608_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ad46b200d8728e220c343242185abbff.jpg","text":"TemporaryFile(/tmp/multipartBody7827910900921425767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960933790,"filename":"image_04012025_04_20_03_019608_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8aef493ee37c23fc01e329032843edaf.jpg","text":"TemporaryFile(/tmp/multipartBody2032132701011590031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960933790,"filename":"image_04012025_04_20_03_019608_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326263776","file1":"1326263692","file0":"1326263691","file3":"1326263892"},"map_files_photo_id_array":[{"photo_id":"1326263776","filename":"file2"},{"photo_id":"1326263692","filename":"file1"},{"photo_id":"1326263691","filename":"file0"},{"photo_id":"1326263892","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326263691":["hashtag1","hashtag2"]},{"1326263692":["hashtag1","hashtag2"]},{"1326263776":["hashtag1","hashtag2"]},{"1326263892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326263691, 1326263692, 1326263776, 1326263892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.29470753669739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:22:02.676038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/20/image_04012025_04_20_03_019608_0003.jpg', '/home/pi/Desktop/images/04012025/04/21/image_04012025_04_21_02_586672_0000.jpg', '/home/pi/Desktop/images/04012025/04/21/image_04012025_04_21_02_586672_0001.jpg', '/home/pi/Desktop/images/04012025/04/21/image_04012025_04_21_02_586672_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/20/image_04012025_04_20_03_019608_0003.jpg
/home/pi/Desktop/images/04012025/04/21/image_04012025_04_21_02_586672_0000.jpg
/home/pi/Desktop/images/04012025/04/21/image_04012025_04_21_02_586672_0001.jpg
/home/pi/Desktop/images/04012025/04/21/image_04012025_04_21_02_586672_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326264149","1326264151","1326264148","1326264156"],"photo_ids_order":["1326264148","1326264149","1326264151","1326264156"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eaa3cdb0f24fc168551f0fd660a44027.jpg","text":"TemporaryFile(/tmp/multipartBody5640622073879546608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960992953,"filename":"image_04012025_04_21_02_586672_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/17ac1ead4a39d38342cc5d6f0a49ab1f.jpg","text":"TemporaryFile(/tmp/multipartBody4550977505504130768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960992953,"filename":"image_04012025_04_21_02_586672_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5fc51e0266fb78e64da1ec213ed00639.jpg","text":"TemporaryFile(/tmp/multipartBody3179874473285613544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960992953,"filename":"image_04012025_04_20_03_019608_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5dc186e892614cb5b11feda6e4668a07.jpg","text":"TemporaryFile(/tmp/multipartBody2167704265043438575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735960992953,"filename":"image_04012025_04_21_02_586672_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326264151","file1":"1326264149","file0":"1326264148","file3":"1326264156"},"map_files_photo_id_array":[{"photo_id":"1326264151","filename":"file2"},{"photo_id":"1326264149","filename":"file1"},{"photo_id":"1326264148","filename":"file0"},{"photo_id":"1326264156","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326264149":["hashtag1","hashtag2"]},{"1326264151":["hashtag1","hashtag2"]},{"1326264148":["hashtag1","hashtag2"]},{"1326264156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326264149, 1326264151, 1326264148, 1326264156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61157274246216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:23:02.583188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/21/image_04012025_04_21_02_586672_0003.jpg', '/home/pi/Desktop/images/04012025/04/22/image_04012025_04_22_03_048683_0000.jpg', '/home/pi/Desktop/images/04012025/04/22/image_04012025_04_22_03_048683_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/21/image_04012025_04_21_02_586672_0003.jpg
/home/pi/Desktop/images/04012025/04/22/image_04012025_04_22_03_048683_0000.jpg
/home/pi/Desktop/images/04012025/04/22/image_04012025_04_22_03_048683_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326265008","1326265081","1326264996"],"photo_ids_order":["1326264996","1326265008","1326265081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/924a69a67c33d6d7b729cd5066156b28.jpg","text":"TemporaryFile(/tmp/multipartBody7257674532544428693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961050504,"filename":"image_04012025_04_22_03_048683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ef64686a2c3a01de3a80122fd1aedd1b.jpg","text":"TemporaryFile(/tmp/multipartBody6481824435872561618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961050504,"filename":"image_04012025_04_22_03_048683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5db8f1ba93795a215fe35ffc549ce487.jpg","text":"TemporaryFile(/tmp/multipartBody7826806831335774464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961050504,"filename":"image_04012025_04_21_02_586672_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326265081","file1":"1326265008","file0":"1326264996"},"map_files_photo_id_array":[{"photo_id":"1326265081","filename":"file2"},{"photo_id":"1326265008","filename":"file1"},{"photo_id":"1326264996","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326265008":["hashtag1","hashtag2"]},{"1326265081":["hashtag1","hashtag2"]},{"1326264996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326265008, 1326265081, 1326264996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.50591230392456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:24:02.867105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/22/image_04012025_04_22_03_048683_0002.jpg', '/home/pi/Desktop/images/04012025/04/23/image_04012025_04_23_02_708259_0000.jpg', '/home/pi/Desktop/images/04012025/04/23/image_04012025_04_23_02_708259_0001.jpg', '/home/pi/Desktop/images/04012025/04/23/image_04012025_04_23_02_708259_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/22/image_04012025_04_22_03_048683_0002.jpg
/home/pi/Desktop/images/04012025/04/23/image_04012025_04_23_02_708259_0000.jpg
/home/pi/Desktop/images/04012025/04/23/image_04012025_04_23_02_708259_0001.jpg
/home/pi/Desktop/images/04012025/04/23/image_04012025_04_23_02_708259_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326265718","1326265765","1326265627","1326265716"],"photo_ids_order":["1326265627","1326265716","1326265718","1326265765"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/64b18732ff77f10f35c98d816295cf5d.jpg","text":"TemporaryFile(/tmp/multipartBody4653395287205427579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961113076,"filename":"image_04012025_04_23_02_708259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49333a674886656a365212292a304291.jpg","text":"TemporaryFile(/tmp/multipartBody6290413685554228126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961113076,"filename":"image_04012025_04_23_02_708259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e66e08c461d30ba3f75e097d85e5f1f8.jpg","text":"TemporaryFile(/tmp/multipartBody2546616227046546246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961113076,"filename":"image_04012025_04_22_03_048683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/acee5c22cddf9ffd2a9b0e1da78a0915.jpg","text":"TemporaryFile(/tmp/multipartBody4590628153596144572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961113076,"filename":"image_04012025_04_23_02_708259_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326265718","file1":"1326265716","file0":"1326265627","file3":"1326265765"},"map_files_photo_id_array":[{"photo_id":"1326265718","filename":"file2"},{"photo_id":"1326265716","filename":"file1"},{"photo_id":"1326265627","filename":"file0"},{"photo_id":"1326265765","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326265718":["hashtag1","hashtag2"]},{"1326265765":["hashtag1","hashtag2"]},{"1326265627":["hashtag1","hashtag2"]},{"1326265716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326265718, 1326265765, 1326265627, 1326265716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.02231693267822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:25:02.490429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/23/image_04012025_04_23_02_708259_0003.jpg', '/home/pi/Desktop/images/04012025/04/24/image_04012025_04_24_02_228567_0000.jpg', '/home/pi/Desktop/images/04012025/04/24/image_04012025_04_24_02_228567_0001.jpg', '/home/pi/Desktop/images/04012025/04/24/image_04012025_04_24_02_228567_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/23/image_04012025_04_23_02_708259_0003.jpg
/home/pi/Desktop/images/04012025/04/24/image_04012025_04_24_02_228567_0000.jpg
/home/pi/Desktop/images/04012025/04/24/image_04012025_04_24_02_228567_0001.jpg
/home/pi/Desktop/images/04012025/04/24/image_04012025_04_24_02_228567_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326266323","1326266335","1326266277","1326266325"],"photo_ids_order":["1326266277","1326266323","1326266325","1326266335"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2db3b5ae07fccc8a72f707be20924374.jpg","text":"TemporaryFile(/tmp/multipartBody1533720880643380902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961172902,"filename":"image_04012025_04_24_02_228567_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/31ce97797e30d303517f6f4481d681c0.jpg","text":"TemporaryFile(/tmp/multipartBody2912855634894180373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961172902,"filename":"image_04012025_04_24_02_228567_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ee2b110907aad906e85090e1ed63a75e.jpg","text":"TemporaryFile(/tmp/multipartBody7399909891355639239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961172902,"filename":"image_04012025_04_23_02_708259_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2bcd2384e9df3340e0a9446d276d15f0.jpg","text":"TemporaryFile(/tmp/multipartBody6398000643985745690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961172902,"filename":"image_04012025_04_24_02_228567_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326266325","file1":"1326266323","file0":"1326266277","file3":"1326266335"},"map_files_photo_id_array":[{"photo_id":"1326266325","filename":"file2"},{"photo_id":"1326266323","filename":"file1"},{"photo_id":"1326266277","filename":"file0"},{"photo_id":"1326266335","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326266323":["hashtag1","hashtag2"]},{"1326266335":["hashtag1","hashtag2"]},{"1326266277":["hashtag1","hashtag2"]},{"1326266325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326266323, 1326266335, 1326266277, 1326266325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.31272578239441 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:26:03.191732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/24/image_04012025_04_24_02_228567_0003.jpg', '/home/pi/Desktop/images/04012025/04/25/image_04012025_04_25_02_813709_0000.jpg', '/home/pi/Desktop/images/04012025/04/25/image_04012025_04_25_02_813709_0001.jpg', '/home/pi/Desktop/images/04012025/04/25/image_04012025_04_25_02_813709_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/24/image_04012025_04_24_02_228567_0003.jpg
/home/pi/Desktop/images/04012025/04/25/image_04012025_04_25_02_813709_0000.jpg
/home/pi/Desktop/images/04012025/04/25/image_04012025_04_25_02_813709_0001.jpg
/home/pi/Desktop/images/04012025/04/25/image_04012025_04_25_02_813709_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326266686","1326266950","1326267001","1326266931"],"photo_ids_order":["1326266686","1326266931","1326266950","1326267001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dc978a1e90a5ed222c25379b69b82f4c.jpg","text":"TemporaryFile(/tmp/multipartBody8557721555133470399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961233416,"filename":"image_04012025_04_24_02_228567_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8dd8b5fa714eafcf58302a76a63e838e.jpg","text":"TemporaryFile(/tmp/multipartBody8451879706495086175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961233416,"filename":"image_04012025_04_25_02_813709_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e02c02b3a231b8b70d1216f839b9ec67.jpg","text":"TemporaryFile(/tmp/multipartBody4940906496173530994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961233416,"filename":"image_04012025_04_25_02_813709_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6757919ebb561f76cbfded2d18b717e4.jpg","text":"TemporaryFile(/tmp/multipartBody9088929375710839232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961233416,"filename":"image_04012025_04_25_02_813709_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326266950","file1":"1326266931","file0":"1326266686","file3":"1326267001"},"map_files_photo_id_array":[{"photo_id":"1326266950","filename":"file2"},{"photo_id":"1326266931","filename":"file1"},{"photo_id":"1326266686","filename":"file0"},{"photo_id":"1326267001","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326266686":["hashtag1","hashtag2"]},{"1326266950":["hashtag1","hashtag2"]},{"1326267001":["hashtag1","hashtag2"]},{"1326266931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326266686, 1326266950, 1326267001, 1326266931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.08789682388306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:27:02.767176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/25/image_04012025_04_25_02_813709_0003.jpg', '/home/pi/Desktop/images/04012025/04/26/image_04012025_04_26_02_307240_0001.jpg', '/home/pi/Desktop/images/04012025/04/26/image_04012025_04_26_02_307240_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/25/image_04012025_04_25_02_813709_0003.jpg
/home/pi/Desktop/images/04012025/04/26/image_04012025_04_26_02_307240_0001.jpg
/home/pi/Desktop/images/04012025/04/26/image_04012025_04_26_02_307240_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326267757","1326267262","1326267528"],"photo_ids_order":["1326267262","1326267528","1326267757"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4e830a578a361e676f107fbb2336b62d.jpg","text":"TemporaryFile(/tmp/multipartBody8892028061012749675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961290656,"filename":"image_04012025_04_26_02_307240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/769e48e5cebe17e5614f423b14a10db6.jpg","text":"TemporaryFile(/tmp/multipartBody8232573100398580383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961290656,"filename":"image_04012025_04_25_02_813709_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2fd542f3d93b7b557d3cc7723a44c568.jpg","text":"TemporaryFile(/tmp/multipartBody4535032560236642879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961290656,"filename":"image_04012025_04_26_02_307240_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326267757","file1":"1326267528","file0":"1326267262"},"map_files_photo_id_array":[{"photo_id":"1326267757","filename":"file2"},{"photo_id":"1326267528","filename":"file1"},{"photo_id":"1326267262","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326267757":["hashtag1","hashtag2"]},{"1326267262":["hashtag1","hashtag2"]},{"1326267528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326267757, 1326267262, 1326267528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.33602452278137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:28:03.147895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/26/image_04012025_04_26_02_307240_0003.jpg', '/home/pi/Desktop/images/04012025/04/27/image_04012025_04_27_03_021437_0000.jpg', '/home/pi/Desktop/images/04012025/04/27/image_04012025_04_27_03_021437_0001.jpg', '/home/pi/Desktop/images/04012025/04/27/image_04012025_04_27_03_021437_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/26/image_04012025_04_26_02_307240_0003.jpg
/home/pi/Desktop/images/04012025/04/27/image_04012025_04_27_03_021437_0000.jpg
/home/pi/Desktop/images/04012025/04/27/image_04012025_04_27_03_021437_0001.jpg
/home/pi/Desktop/images/04012025/04/27/image_04012025_04_27_03_021437_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.7694091796875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:28:22.821990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/26/image_04012025_04_26_02_307240_0003.jpg', '/home/pi/Desktop/images/04012025/04/27/image_04012025_04_27_03_021437_0000.jpg', '/home/pi/Desktop/images/04012025/04/27/image_04012025_04_27_03_021437_0001.jpg', '/home/pi/Desktop/images/04012025/04/27/image_04012025_04_27_03_021437_0002.jpg', '/home/pi/Desktop/images/04012025/04/27/image_04012025_04_27_03_021437_0003.jpg', '/home/pi/Desktop/images/04012025/04/28/image_04012025_04_28_02_542182_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/26/image_04012025_04_26_02_307240_0003.jpg
/home/pi/Desktop/images/04012025/04/27/image_04012025_04_27_03_021437_0000.jpg
/home/pi/Desktop/images/04012025/04/27/image_04012025_04_27_03_021437_0001.jpg
/home/pi/Desktop/images/04012025/04/27/image_04012025_04_27_03_021437_0002.jpg
/home/pi/Desktop/images/04012025/04/27/image_04012025_04_27_03_021437_0003.jpg
/home/pi/Desktop/images/04012025/04/28/image_04012025_04_28_02_542182_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":["1326269169","1326269226","1326269171","1326268766","1326268984","1326269221"],"photo_ids_order":["1326268766","1326268984","1326269169","1326269171","1326269221","1326269226"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/66313079aefe7692394b1cb55f7c6c9a.jpg","text":"TemporaryFile(/tmp/multipartBody6366843399198639774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961377637,"filename":"image_04012025_04_27_03_021437_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d148150a048c02d41850e9592b19fb7.jpg","text":"TemporaryFile(/tmp/multipartBody3653739471961903795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961377637,"filename":"image_04012025_04_28_02_542182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a973171fe73a6e2a51c09945038c658e.jpg","text":"TemporaryFile(/tmp/multipartBody3165580005802070608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961377637,"filename":"image_04012025_04_27_03_021437_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2cebe208f421c58336dba1fdf17486d9.jpg","text":"TemporaryFile(/tmp/multipartBody6006025757738674294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961377637,"filename":"image_04012025_04_26_02_307240_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f393fb0f8c26865263c1a3fc01b0875.jpg","text":"TemporaryFile(/tmp/multipartBody8394054382556132878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961377637,"filename":"image_04012025_04_27_03_021437_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6667e5aa1c1b82bb80d78e05b5d84c9a.jpg","text":"TemporaryFile(/tmp/multipartBody3272386409510492881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961377637,"filename":"image_04012025_04_27_03_021437_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326269169","file1":"1326268984","file0":"1326268766","file4":"1326269221","file5":"1326269226","file3":"1326269171"},"map_files_photo_id_array":[{"photo_id":"1326269226","filename":"file5"},{"photo_id":"1326269169","filename":"file2"},{"photo_id":"1326269221","filename":"file4"},{"photo_id":"1326268984","filename":"file1"},{"photo_id":"1326268766","filename":"file0"},{"photo_id":"1326269171","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326269169":["hashtag1","hashtag2"]},{"1326269226":["hashtag1","hashtag2"]},{"1326269171":["hashtag1","hashtag2"]},{"1326268766":["hashtag1","hashtag2"]},{"1326268984":["hashtag1","hashtag2"]},{"1326269221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326269169, 1326269226, 1326269171, 1326268766, 1326268984, 1326269221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.41220164299011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:30:02.234535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/28/image_04012025_04_28_02_542182_0003.jpg', '/home/pi/Desktop/images/04012025/04/29/image_04012025_04_29_03_184586_0000.jpg', '/home/pi/Desktop/images/04012025/04/29/image_04012025_04_29_03_184586_0001.jpg', '/home/pi/Desktop/images/04012025/04/29/image_04012025_04_29_03_184586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/28/image_04012025_04_28_02_542182_0003.jpg
/home/pi/Desktop/images/04012025/04/29/image_04012025_04_29_03_184586_0000.jpg
/home/pi/Desktop/images/04012025/04/29/image_04012025_04_29_03_184586_0001.jpg
/home/pi/Desktop/images/04012025/04/29/image_04012025_04_29_03_184586_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326269340","1326269465","1326269353","1326269341"],"photo_ids_order":["1326269340","1326269341","1326269353","1326269465"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5089effb7b23c1156bf14fd9d5eba073.jpg","text":"TemporaryFile(/tmp/multipartBody5698641823028084033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961472130,"filename":"image_04012025_04_28_02_542182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c25bed9e551b1ccc0e241a42d5612520.jpg","text":"TemporaryFile(/tmp/multipartBody1779461446543552757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961472130,"filename":"image_04012025_04_29_03_184586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8e460b771f41b04e49042e7b74747d08.jpg","text":"TemporaryFile(/tmp/multipartBody5485402655660207259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961472130,"filename":"image_04012025_04_29_03_184586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/278702f058b0ff4fb1271311c39b32a2.jpg","text":"TemporaryFile(/tmp/multipartBody8706839698846324489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961472130,"filename":"image_04012025_04_29_03_184586_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326269353","file1":"1326269341","file0":"1326269340","file3":"1326269465"},"map_files_photo_id_array":[{"photo_id":"1326269353","filename":"file2"},{"photo_id":"1326269341","filename":"file1"},{"photo_id":"1326269340","filename":"file0"},{"photo_id":"1326269465","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326269340":["hashtag1","hashtag2"]},{"1326269465":["hashtag1","hashtag2"]},{"1326269353":["hashtag1","hashtag2"]},{"1326269341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326269340, 1326269465, 1326269353, 1326269341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.305060148239136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:31:03.041880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/29/image_04012025_04_29_03_184586_0003.jpg', '/home/pi/Desktop/images/04012025/04/30/image_04012025_04_30_02_680651_0000.jpg', '/home/pi/Desktop/images/04012025/04/30/image_04012025_04_30_02_680651_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/29/image_04012025_04_29_03_184586_0003.jpg
/home/pi/Desktop/images/04012025/04/30/image_04012025_04_30_02_680651_0000.jpg
/home/pi/Desktop/images/04012025/04/30/image_04012025_04_30_02_680651_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.459965705871582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:31:22.420428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/29/image_04012025_04_29_03_184586_0003.jpg', '/home/pi/Desktop/images/04012025/04/30/image_04012025_04_30_02_680651_0000.jpg', '/home/pi/Desktop/images/04012025/04/30/image_04012025_04_30_02_680651_0002.jpg', '/home/pi/Desktop/images/04012025/04/30/image_04012025_04_30_02_680651_0003.jpg', '/home/pi/Desktop/images/04012025/04/31/image_04012025_04_31_02_252425_0000.jpg', '/home/pi/Desktop/images/04012025/04/31/image_04012025_04_31_02_252425_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/29/image_04012025_04_29_03_184586_0003.jpg
/home/pi/Desktop/images/04012025/04/30/image_04012025_04_30_02_680651_0000.jpg
/home/pi/Desktop/images/04012025/04/30/image_04012025_04_30_02_680651_0002.jpg
/home/pi/Desktop/images/04012025/04/30/image_04012025_04_30_02_680651_0003.jpg
/home/pi/Desktop/images/04012025/04/31/image_04012025_04_31_02_252425_0000.jpg
/home/pi/Desktop/images/04012025/04/31/image_04012025_04_31_02_252425_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":["1326270798","1326270753","1326270663","1326270689","1326270755","1326270800"],"photo_ids_order":["1326270663","1326270689","1326270753","1326270755","1326270798","1326270800"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/08e613fa4c9577b6c1f4601c52c8eefa.jpg","text":"TemporaryFile(/tmp/multipartBody2524514239328104799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961557201,"filename":"image_04012025_04_31_02_252425_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a873b78525f274b8f824621cf719a986.jpg","text":"TemporaryFile(/tmp/multipartBody2457300055247695172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961557201,"filename":"image_04012025_04_30_02_680651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b8712cb76ca6e6e09aa6fe1ed8992e27.jpg","text":"TemporaryFile(/tmp/multipartBody7028730350032543192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961557201,"filename":"image_04012025_04_29_03_184586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9090df2e098fd8af16a05a2d84c193b3.jpg","text":"TemporaryFile(/tmp/multipartBody1531950152897430045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961557201,"filename":"image_04012025_04_30_02_680651_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d829ae394ce6d8a6eb801d504f4ab637.jpg","text":"TemporaryFile(/tmp/multipartBody2468125179888817114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961557201,"filename":"image_04012025_04_30_02_680651_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/080b3463453c18a950ed5eb91a799de5.jpg","text":"TemporaryFile(/tmp/multipartBody1549161612851932367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961557201,"filename":"image_04012025_04_31_02_252425_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326270753","file1":"1326270689","file0":"1326270663","file4":"1326270798","file5":"1326270800","file3":"1326270755"},"map_files_photo_id_array":[{"photo_id":"1326270800","filename":"file5"},{"photo_id":"1326270753","filename":"file2"},{"photo_id":"1326270798","filename":"file4"},{"photo_id":"1326270689","filename":"file1"},{"photo_id":"1326270663","filename":"file0"},{"photo_id":"1326270755","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326270798":["hashtag1","hashtag2"]},{"1326270753":["hashtag1","hashtag2"]},{"1326270663":["hashtag1","hashtag2"]},{"1326270689":["hashtag1","hashtag2"]},{"1326270755":["hashtag1","hashtag2"]},{"1326270800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326270798, 1326270753, 1326270663, 1326270689, 1326270755, 1326270800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.16131782531738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:33:03.259800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/31/image_04012025_04_31_02_252425_0003.jpg', '/home/pi/Desktop/images/04012025/04/32/image_04012025_04_32_02_792714_0001.jpg', '/home/pi/Desktop/images/04012025/04/32/image_04012025_04_32_02_792714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/31/image_04012025_04_31_02_252425_0003.jpg
/home/pi/Desktop/images/04012025/04/32/image_04012025_04_32_02_792714_0001.jpg
/home/pi/Desktop/images/04012025/04/32/image_04012025_04_32_02_792714_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.240478515625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:33:22.697061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/31/image_04012025_04_31_02_252425_0003.jpg', '/home/pi/Desktop/images/04012025/04/32/image_04012025_04_32_02_792714_0001.jpg', '/home/pi/Desktop/images/04012025/04/32/image_04012025_04_32_02_792714_0002.jpg', '/home/pi/Desktop/images/04012025/04/32/image_04012025_04_32_02_792714_0003.jpg', '/home/pi/Desktop/images/04012025/04/33/image_04012025_04_33_02_452729_0000.jpg', '/home/pi/Desktop/images/04012025/04/33/image_04012025_04_33_02_452729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/31/image_04012025_04_31_02_252425_0003.jpg
/home/pi/Desktop/images/04012025/04/32/image_04012025_04_32_02_792714_0001.jpg
/home/pi/Desktop/images/04012025/04/32/image_04012025_04_32_02_792714_0002.jpg
/home/pi/Desktop/images/04012025/04/32/image_04012025_04_32_02_792714_0003.jpg
/home/pi/Desktop/images/04012025/04/33/image_04012025_04_33_02_452729_0000.jpg
/home/pi/Desktop/images/04012025/04/33/image_04012025_04_33_02_452729_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326271895","1326272012","1326272086","1326272223","1326272010","1326271998"],"photo_ids_order":["1326271895","1326271998","1326272010","1326272012","1326272086","1326272223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4cd47de5fa6195c8fffe31ac0e795775.jpg","text":"TemporaryFile(/tmp/multipartBody330258241028861588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961677272,"filename":"image_04012025_04_31_02_252425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4aadb574706e7da1de8ad360d149f09c.jpg","text":"TemporaryFile(/tmp/multipartBody848511564461218706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961677272,"filename":"image_04012025_04_32_02_792714_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b51e41f292d139c317e2702e32004f6a.jpg","text":"TemporaryFile(/tmp/multipartBody6414428654047249100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961677272,"filename":"image_04012025_04_33_02_452729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/87d789ef97b4b615c8119f3e330f3994.jpg","text":"TemporaryFile(/tmp/multipartBody2191273835308359618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961677272,"filename":"image_04012025_04_33_02_452729_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/43ea933efa3ae4bc0da82cafd1c08fbf.jpg","text":"TemporaryFile(/tmp/multipartBody6794645241667514772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961677272,"filename":"image_04012025_04_32_02_792714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed2e8253fbd84cc3b5d04a121075ae84.jpg","text":"TemporaryFile(/tmp/multipartBody2221967145234583895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961677272,"filename":"image_04012025_04_32_02_792714_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326272010","file1":"1326271998","file0":"1326271895","file4":"1326272086","file5":"1326272223","file3":"1326272012"},"map_files_photo_id_array":[{"photo_id":"1326272223","filename":"file5"},{"photo_id":"1326272010","filename":"file2"},{"photo_id":"1326272086","filename":"file4"},{"photo_id":"1326271998","filename":"file1"},{"photo_id":"1326271895","filename":"file0"},{"photo_id":"1326272012","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326271895":["hashtag1","hashtag2"]},{"1326272012":["hashtag1","hashtag2"]},{"1326272086":["hashtag1","hashtag2"]},{"1326272223":["hashtag1","hashtag2"]},{"1326272010":["hashtag1","hashtag2"]},{"1326271998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326271895, 1326272012, 1326272086, 1326272223, 1326272010, 1326271998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.001047134399414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:34:22.266880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/33/image_04012025_04_33_02_452729_0003.jpg', '/home/pi/Desktop/images/04012025/04/34/image_04012025_04_34_02_985251_0000.jpg', '/home/pi/Desktop/images/04012025/04/34/image_04012025_04_34_02_985251_0001.jpg', '/home/pi/Desktop/images/04012025/04/34/image_04012025_04_34_02_985251_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/33/image_04012025_04_33_02_452729_0003.jpg
/home/pi/Desktop/images/04012025/04/34/image_04012025_04_34_02_985251_0000.jpg
/home/pi/Desktop/images/04012025/04/34/image_04012025_04_34_02_985251_0001.jpg
/home/pi/Desktop/images/04012025/04/34/image_04012025_04_34_02_985251_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326272807","1326272719","1326272745","1326272811"],"photo_ids_order":["1326272719","1326272745","1326272807","1326272811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/64e312451058a639f5e28bafb5518688.jpg","text":"TemporaryFile(/tmp/multipartBody5414013366511763846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961732110,"filename":"image_04012025_04_34_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/4/4b91e091f706e8a9c0f015966ea57203.jpg","text":"TemporaryFile(/tmp/multipartBody6553475052104486006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961732110,"filename":"image_04012025_04_33_02_452729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2395d0e7f47a5fc9652afbb0ae86182d.jpg","text":"TemporaryFile(/tmp/multipartBody7768529573584436718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961732110,"filename":"image_04012025_04_34_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/4/3906525b0280820dd083df4beba7cd1a.jpg","text":"TemporaryFile(/tmp/multipartBody5573873394844589636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961732110,"filename":"image_04012025_04_34_02_985251_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326272807","file1":"1326272745","file0":"1326272719","file3":"1326272811"},"map_files_photo_id_array":[{"photo_id":"1326272807","filename":"file2"},{"photo_id":"1326272745","filename":"file1"},{"photo_id":"1326272719","filename":"file0"},{"photo_id":"1326272811","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326272807":["hashtag1","hashtag2"]},{"1326272719":["hashtag1","hashtag2"]},{"1326272745":["hashtag1","hashtag2"]},{"1326272811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326272807, 1326272719, 1326272745, 1326272811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.55222010612488 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:35:02.263021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:35:21.682121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/34/image_04012025_04_34_02_985251_0003.jpg', '/home/pi/Desktop/images/04012025/04/35/image_04012025_04_35_02_653387_0000.jpg', '/home/pi/Desktop/images/04012025/04/35/image_04012025_04_35_02_653387_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/34/image_04012025_04_34_02_985251_0003.jpg
/home/pi/Desktop/images/04012025/04/35/image_04012025_04_35_02_653387_0000.jpg
/home/pi/Desktop/images/04012025/04/35/image_04012025_04_35_02_653387_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326273498","1326273399","1326273398"],"photo_ids_order":["1326273398","1326273399","1326273498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/692ec9bcc92a8caa8c62ff726d3ce334.jpg","text":"TemporaryFile(/tmp/multipartBody7657428429765505345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961789176,"filename":"image_04012025_04_35_02_653387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a83036fd76a43ae29402bf9cfa159f76.jpg","text":"TemporaryFile(/tmp/multipartBody3669716477552132435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961789176,"filename":"image_04012025_04_35_02_653387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/95a8d968d009ccd07cdafee353e8f492.jpg","text":"TemporaryFile(/tmp/multipartBody522701202642839659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961789176,"filename":"image_04012025_04_34_02_985251_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326273498","file1":"1326273399","file0":"1326273398"},"map_files_photo_id_array":[{"photo_id":"1326273498","filename":"file2"},{"photo_id":"1326273399","filename":"file1"},{"photo_id":"1326273398","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326273498":["hashtag1","hashtag2"]},{"1326273399":["hashtag1","hashtag2"]},{"1326273398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326273498, 1326273399, 1326273398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.30515217781067 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:36:02.769421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:36:22.352437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/35/image_04012025_04_35_02_653387_0003.jpg', '/home/pi/Desktop/images/04012025/04/36/image_04012025_04_36_02_161860_0000.jpg', '/home/pi/Desktop/images/04012025/04/36/image_04012025_04_36_02_161860_0001.jpg', '/home/pi/Desktop/images/04012025/04/36/image_04012025_04_36_02_161860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/35/image_04012025_04_35_02_653387_0003.jpg
/home/pi/Desktop/images/04012025/04/36/image_04012025_04_36_02_161860_0000.jpg
/home/pi/Desktop/images/04012025/04/36/image_04012025_04_36_02_161860_0001.jpg
/home/pi/Desktop/images/04012025/04/36/image_04012025_04_36_02_161860_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.461081981658936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:37:02.606530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/35/image_04012025_04_35_02_653387_0003.jpg', '/home/pi/Desktop/images/04012025/04/36/image_04012025_04_36_02_161860_0000.jpg', '/home/pi/Desktop/images/04012025/04/36/image_04012025_04_36_02_161860_0001.jpg', '/home/pi/Desktop/images/04012025/04/36/image_04012025_04_36_02_161860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/35/image_04012025_04_35_02_653387_0003.jpg
/home/pi/Desktop/images/04012025/04/36/image_04012025_04_36_02_161860_0000.jpg
/home/pi/Desktop/images/04012025/04/36/image_04012025_04_36_02_161860_0001.jpg
/home/pi/Desktop/images/04012025/04/36/image_04012025_04_36_02_161860_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326274913","1326274792","1326275029","1326275072"],"photo_ids_order":["1326274792","1326274913","1326275029","1326275072"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8534b4b0fb6e3f7e7468d230a3f0a8f9.jpg","text":"TemporaryFile(/tmp/multipartBody6118648324094430172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961892512,"filename":"image_04012025_04_36_02_161860_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f13cb73518cd1994fd217a8ab23784e.jpg","text":"TemporaryFile(/tmp/multipartBody7947890486795818263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961892512,"filename":"image_04012025_04_35_02_653387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0c833c60c2cf7694f67396242d2f775a.jpg","text":"TemporaryFile(/tmp/multipartBody7574294535247059082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961892512,"filename":"image_04012025_04_36_02_161860_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/24ed2b231b59fcff59e6002d8c76d01c.jpg","text":"TemporaryFile(/tmp/multipartBody4924665769336376934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961892512,"filename":"image_04012025_04_36_02_161860_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326275029","file1":"1326274913","file0":"1326274792","file3":"1326275072"},"map_files_photo_id_array":[{"photo_id":"1326275029","filename":"file2"},{"photo_id":"1326274913","filename":"file1"},{"photo_id":"1326274792","filename":"file0"},{"photo_id":"1326275072","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326274913":["hashtag1","hashtag2"]},{"1326274792":["hashtag1","hashtag2"]},{"1326275029":["hashtag1","hashtag2"]},{"1326275072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326274913, 1326274792, 1326275029, 1326275072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.52523398399353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:38:02.977310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/36/image_04012025_04_36_02_161860_0003.jpg', '/home/pi/Desktop/images/04012025/04/37/image_04012025_04_37_02_812786_0000.jpg', '/home/pi/Desktop/images/04012025/04/37/image_04012025_04_37_02_812786_0001.jpg', '/home/pi/Desktop/images/04012025/04/37/image_04012025_04_37_02_812786_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/36/image_04012025_04_36_02_161860_0003.jpg
/home/pi/Desktop/images/04012025/04/37/image_04012025_04_37_02_812786_0000.jpg
/home/pi/Desktop/images/04012025/04/37/image_04012025_04_37_02_812786_0001.jpg
/home/pi/Desktop/images/04012025/04/37/image_04012025_04_37_02_812786_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.384263038635254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:38:22.469304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/36/image_04012025_04_36_02_161860_0003.jpg', '/home/pi/Desktop/images/04012025/04/37/image_04012025_04_37_02_812786_0000.jpg', '/home/pi/Desktop/images/04012025/04/37/image_04012025_04_37_02_812786_0001.jpg', '/home/pi/Desktop/images/04012025/04/37/image_04012025_04_37_02_812786_0002.jpg', '/home/pi/Desktop/images/04012025/04/37/image_04012025_04_37_02_812786_0003.jpg', '/home/pi/Desktop/images/04012025/04/38/image_04012025_04_38_02_348278_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/36/image_04012025_04_36_02_161860_0003.jpg
/home/pi/Desktop/images/04012025/04/37/image_04012025_04_37_02_812786_0000.jpg
/home/pi/Desktop/images/04012025/04/37/image_04012025_04_37_02_812786_0001.jpg
/home/pi/Desktop/images/04012025/04/37/image_04012025_04_37_02_812786_0002.jpg
/home/pi/Desktop/images/04012025/04/37/image_04012025_04_37_02_812786_0003.jpg
/home/pi/Desktop/images/04012025/04/38/image_04012025_04_38_02_348278_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326276114","1326275781","1326276305","1326275942","1326276388","1326276337"],"photo_ids_order":["1326275781","1326275942","1326276114","1326276305","1326276337","1326276388"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d1f2c3c7e9789a694e711a52c1f69ee6.jpg","text":"TemporaryFile(/tmp/multipartBody2329282578934224494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961976785,"filename":"image_04012025_04_37_02_812786_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a11a90c484bfd521b9885b3d1da9104f.jpg","text":"TemporaryFile(/tmp/multipartBody6644579721974946477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961976785,"filename":"image_04012025_04_36_02_161860_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c885f50c3b91c71f960b9e157ede61a1.jpg","text":"TemporaryFile(/tmp/multipartBody1924389793983450540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961976785,"filename":"image_04012025_04_37_02_812786_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0b152cbf4a7a31a0f5c6aacae58dcfeb.jpg","text":"TemporaryFile(/tmp/multipartBody8400837405044850712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961976785,"filename":"image_04012025_04_37_02_812786_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ac698dc6243724f1bfe24dd8037a1a0c.jpg","text":"TemporaryFile(/tmp/multipartBody2180067316938899868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961976785,"filename":"image_04012025_04_38_02_348278_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/71af607d5e7751b007970aa700d665e9.jpg","text":"TemporaryFile(/tmp/multipartBody52687205058675022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735961976785,"filename":"image_04012025_04_37_02_812786_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326276114","file1":"1326275942","file0":"1326275781","file4":"1326276337","file5":"1326276388","file3":"1326276305"},"map_files_photo_id_array":[{"photo_id":"1326276388","filename":"file5"},{"photo_id":"1326276114","filename":"file2"},{"photo_id":"1326276337","filename":"file4"},{"photo_id":"1326275942","filename":"file1"},{"photo_id":"1326275781","filename":"file0"},{"photo_id":"1326276305","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326276114":["hashtag1","hashtag2"]},{"1326275781":["hashtag1","hashtag2"]},{"1326276305":["hashtag1","hashtag2"]},{"1326275942":["hashtag1","hashtag2"]},{"1326276388":["hashtag1","hashtag2"]},{"1326276337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326276114, 1326275781, 1326276305, 1326275942, 1326276388, 1326276337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.95196557044983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:39:21.994169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/38/image_04012025_04_38_02_348278_0001.jpg', '/home/pi/Desktop/images/04012025/04/38/image_04012025_04_38_02_348278_0003.jpg', '/home/pi/Desktop/images/04012025/04/39/image_04012025_04_39_02_887478_0000.jpg', '/home/pi/Desktop/images/04012025/04/39/image_04012025_04_39_02_887478_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/38/image_04012025_04_38_02_348278_0001.jpg
/home/pi/Desktop/images/04012025/04/38/image_04012025_04_38_02_348278_0003.jpg
/home/pi/Desktop/images/04012025/04/39/image_04012025_04_39_02_887478_0000.jpg
/home/pi/Desktop/images/04012025/04/39/image_04012025_04_39_02_887478_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326276695","1326276485","1326276488","1326276478"],"photo_ids_order":["1326276478","1326276485","1326276488","1326276695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fe38b2ee7c7ff1e12200333146096530.jpg","text":"TemporaryFile(/tmp/multipartBody8036553717035804927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962031764,"filename":"image_04012025_04_39_02_887478_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/90cb64c401963d6682a1744ba6d791ba.jpg","text":"TemporaryFile(/tmp/multipartBody813087958052953346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962031764,"filename":"image_04012025_04_38_02_348278_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/90f2bc9dcd9cfefabb0de25db696198d.jpg","text":"TemporaryFile(/tmp/multipartBody3956554827131941210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962031764,"filename":"image_04012025_04_39_02_887478_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca4e0f5fab92e9a4f8f312ba55a9bf40.jpg","text":"TemporaryFile(/tmp/multipartBody1883759617348881118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962031764,"filename":"image_04012025_04_38_02_348278_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326276488","file1":"1326276485","file0":"1326276478","file3":"1326276695"},"map_files_photo_id_array":[{"photo_id":"1326276488","filename":"file2"},{"photo_id":"1326276485","filename":"file1"},{"photo_id":"1326276478","filename":"file0"},{"photo_id":"1326276695","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326276695":["hashtag1","hashtag2"]},{"1326276485":["hashtag1","hashtag2"]},{"1326276488":["hashtag1","hashtag2"]},{"1326276478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326276695, 1326276485, 1326276488, 1326276478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.88551068305969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:40:03.112624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:40:22.548524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/39/image_04012025_04_39_02_887478_0002.jpg', '/home/pi/Desktop/images/04012025/04/40/image_04012025_04_40_02_412376_0000.jpg', '/home/pi/Desktop/images/04012025/04/40/image_04012025_04_40_02_412376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/39/image_04012025_04_39_02_887478_0002.jpg
/home/pi/Desktop/images/04012025/04/40/image_04012025_04_40_02_412376_0000.jpg
/home/pi/Desktop/images/04012025/04/40/image_04012025_04_40_02_412376_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326277511","1326277495","1326277593"],"photo_ids_order":["1326277495","1326277511","1326277593"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/16eced24f782ff2e940ccc84d7fe2d2b.jpg","text":"TemporaryFile(/tmp/multipartBody1230110131933448232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962090024,"filename":"image_04012025_04_40_02_412376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aec85cd4db8a83108cf8009151659591.jpg","text":"TemporaryFile(/tmp/multipartBody378360404681605959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962090024,"filename":"image_04012025_04_39_02_887478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/74040e7a56e6c1f8a6b392a541172dcb.jpg","text":"TemporaryFile(/tmp/multipartBody1097786550467933052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962090024,"filename":"image_04012025_04_40_02_412376_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326277593","file1":"1326277511","file0":"1326277495"},"map_files_photo_id_array":[{"photo_id":"1326277593","filename":"file2"},{"photo_id":"1326277511","filename":"file1"},{"photo_id":"1326277495","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326277511":["hashtag1","hashtag2"]},{"1326277495":["hashtag1","hashtag2"]},{"1326277593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326277511, 1326277495, 1326277593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.91556739807129 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:41:02.536897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:41:21.987890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/40/image_04012025_04_40_02_412376_0003.jpg', '/home/pi/Desktop/images/04012025/04/41/image_04012025_04_41_02_925276_0000.jpg', '/home/pi/Desktop/images/04012025/04/41/image_04012025_04_41_02_925276_0001.jpg', '/home/pi/Desktop/images/04012025/04/41/image_04012025_04_41_02_925276_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/40/image_04012025_04_40_02_412376_0003.jpg
/home/pi/Desktop/images/04012025/04/41/image_04012025_04_41_02_925276_0000.jpg
/home/pi/Desktop/images/04012025/04/41/image_04012025_04_41_02_925276_0001.jpg
/home/pi/Desktop/images/04012025/04/41/image_04012025_04_41_02_925276_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326278092","1326278095","1326278098","1326278088"],"photo_ids_order":["1326278088","1326278092","1326278095","1326278098"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fb7ab6ddf978df44763ba2459bc45821.jpg","text":"TemporaryFile(/tmp/multipartBody1467469556512028769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962151746,"filename":"image_04012025_04_41_02_925276_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fb5b6569df0d4912b2201c21d673835b.jpg","text":"TemporaryFile(/tmp/multipartBody5448798738238645232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962151746,"filename":"image_04012025_04_41_02_925276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3d1c847689b032dd3f302abf2aa4ee29.jpg","text":"TemporaryFile(/tmp/multipartBody1097106672506159601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962151746,"filename":"image_04012025_04_41_02_925276_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3542ce89d34426fcb77d062528e62136.jpg","text":"TemporaryFile(/tmp/multipartBody9112947401630252718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962151746,"filename":"image_04012025_04_40_02_412376_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326278095","file1":"1326278092","file0":"1326278088","file3":"1326278098"},"map_files_photo_id_array":[{"photo_id":"1326278095","filename":"file2"},{"photo_id":"1326278092","filename":"file1"},{"photo_id":"1326278088","filename":"file0"},{"photo_id":"1326278098","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326278092":["hashtag1","hashtag2"]},{"1326278095":["hashtag1","hashtag2"]},{"1326278098":["hashtag1","hashtag2"]},{"1326278088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326278092, 1326278095, 1326278098, 1326278088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.04494905471802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:42:21.812323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/41/image_04012025_04_41_02_925276_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/41/image_04012025_04_41_02_925276_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326278107"],"photo_id":"1326278107","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af615adaf639e3419b50b528d1a8b7f2.jpg","text":"TemporaryFile(/tmp/multipartBody1515524873192723056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962204750,"filename":"image_04012025_04_41_02_925276_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326278107"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326278107"}],"hashtags":[],"portfolio_id":"19403015","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.683332920074463 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:43:03.004517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:43:22.334565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/42/image_04012025_04_42_02_435982_0000.jpg', '/home/pi/Desktop/images/04012025/04/43/image_04012025_04_43_02_155191_0000.jpg', '/home/pi/Desktop/images/04012025/04/43/image_04012025_04_43_02_155191_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/42/image_04012025_04_42_02_435982_0000.jpg
/home/pi/Desktop/images/04012025/04/43/image_04012025_04_43_02_155191_0000.jpg
/home/pi/Desktop/images/04012025/04/43/image_04012025_04_43_02_155191_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326279468","1326279252","1326279639"],"photo_ids_order":["1326279252","1326279468","1326279639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fbb5ef1c05e98c5adf4d968580f9c598.jpg","text":"TemporaryFile(/tmp/multipartBody6975113667256731334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962269841,"filename":"image_04012025_04_43_02_155191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/87eee123a857c0c79bd18a775e9734c8.jpg","text":"TemporaryFile(/tmp/multipartBody4683922707796682267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962269841,"filename":"image_04012025_04_42_02_435982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/67aa09f29fcb6f1b78363b2f0f3b29a8.jpg","text":"TemporaryFile(/tmp/multipartBody1832970377609896431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962269841,"filename":"image_04012025_04_43_02_155191_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326279639","file1":"1326279468","file0":"1326279252"},"map_files_photo_id_array":[{"photo_id":"1326279639","filename":"file2"},{"photo_id":"1326279468","filename":"file1"},{"photo_id":"1326279252","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326279468":["hashtag1","hashtag2"]},{"1326279252":["hashtag1","hashtag2"]},{"1326279639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326279468, 1326279252, 1326279639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.24783682823181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:44:02.327745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:44:21.887830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/43/image_04012025_04_43_02_155191_0002.jpg', '/home/pi/Desktop/images/04012025/04/44/image_04012025_04_44_02_704004_0000.jpg', '/home/pi/Desktop/images/04012025/04/44/image_04012025_04_44_02_704004_0001.jpg', '/home/pi/Desktop/images/04012025/04/44/image_04012025_04_44_02_704004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/43/image_04012025_04_43_02_155191_0002.jpg
/home/pi/Desktop/images/04012025/04/44/image_04012025_04_44_02_704004_0000.jpg
/home/pi/Desktop/images/04012025/04/44/image_04012025_04_44_02_704004_0001.jpg
/home/pi/Desktop/images/04012025/04/44/image_04012025_04_44_02_704004_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326280604","1326280599","1326280527","1326280602"],"photo_ids_order":["1326280527","1326280599","1326280602","1326280604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cd302c5e372e8da58ab56b5b050f6c94.jpg","text":"TemporaryFile(/tmp/multipartBody2265581324423654271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962331644,"filename":"image_04012025_04_44_02_704004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba93d61b10c596c7579669bb8ce953bd.jpg","text":"TemporaryFile(/tmp/multipartBody1485611391738189190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962331644,"filename":"image_04012025_04_44_02_704004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/713e6799c0dd034f4251a5802ec57d36.jpg","text":"TemporaryFile(/tmp/multipartBody8229612064246861818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962331644,"filename":"image_04012025_04_43_02_155191_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/64cc075c65701bbd8eaf3aa4e82b5b51.jpg","text":"TemporaryFile(/tmp/multipartBody2660683075356524573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962331644,"filename":"image_04012025_04_44_02_704004_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326280602","file1":"1326280599","file0":"1326280527","file3":"1326280604"},"map_files_photo_id_array":[{"photo_id":"1326280602","filename":"file2"},{"photo_id":"1326280599","filename":"file1"},{"photo_id":"1326280527","filename":"file0"},{"photo_id":"1326280604","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326280604":["hashtag1","hashtag2"]},{"1326280599":["hashtag1","hashtag2"]},{"1326280527":["hashtag1","hashtag2"]},{"1326280602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326280604, 1326280599, 1326280527, 1326280602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.38650393486023 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:45:22.465401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/44/image_04012025_04_44_02_704004_0003.jpg', '/home/pi/Desktop/images/04012025/04/45/image_04012025_04_45_02_296515_0000.jpg', '/home/pi/Desktop/images/04012025/04/45/image_04012025_04_45_02_296515_0001.jpg', '/home/pi/Desktop/images/04012025/04/45/image_04012025_04_45_02_296515_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/44/image_04012025_04_44_02_704004_0003.jpg
/home/pi/Desktop/images/04012025/04/45/image_04012025_04_45_02_296515_0000.jpg
/home/pi/Desktop/images/04012025/04/45/image_04012025_04_45_02_296515_0001.jpg
/home/pi/Desktop/images/04012025/04/45/image_04012025_04_45_02_296515_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326280875","1326280737","1326280911","1326280914"],"photo_ids_order":["1326280737","1326280875","1326280911","1326280914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6536ad501f50dff4045a9b51fb0bce77.jpg","text":"TemporaryFile(/tmp/multipartBody6276022979458275543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962392279,"filename":"image_04012025_04_45_02_296515_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9e68cbc3d77ae4b7a35901170e20b052.jpg","text":"TemporaryFile(/tmp/multipartBody8419751442468534765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962392279,"filename":"image_04012025_04_44_02_704004_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/121d64575edb3ef9aedda87364a27aa6.jpg","text":"TemporaryFile(/tmp/multipartBody3189823323960346642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962392279,"filename":"image_04012025_04_45_02_296515_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6cbd89bbec0dc00400b4664691719aa2.jpg","text":"TemporaryFile(/tmp/multipartBody9132647804725837147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962392279,"filename":"image_04012025_04_45_02_296515_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326280911","file1":"1326280875","file0":"1326280737","file3":"1326280914"},"map_files_photo_id_array":[{"photo_id":"1326280911","filename":"file2"},{"photo_id":"1326280875","filename":"file1"},{"photo_id":"1326280737","filename":"file0"},{"photo_id":"1326280914","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326280875":["hashtag1","hashtag2"]},{"1326280737":["hashtag1","hashtag2"]},{"1326280911":["hashtag1","hashtag2"]},{"1326280914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326280875, 1326280737, 1326280911, 1326280914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.26973342895508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:46:22.022602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/45/image_04012025_04_45_02_296515_0003.jpg', '/home/pi/Desktop/images/04012025/04/46/image_04012025_04_46_02_898176_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/45/image_04012025_04_45_02_296515_0003.jpg
/home/pi/Desktop/images/04012025/04/46/image_04012025_04_46_02_898176_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326281032","1326281029"],"photo_ids_order":["1326281029","1326281032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4b23dffa97c8cd7b4e03799796d6b5f4.jpg","text":"TemporaryFile(/tmp/multipartBody4349988615530703312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962447258,"filename":"image_04012025_04_46_02_898176_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a98071b469d88280727b40b0f0e3b3c6.jpg","text":"TemporaryFile(/tmp/multipartBody391413417013205660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962447258,"filename":"image_04012025_04_45_02_296515_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326281032","file0":"1326281029"},"map_files_photo_id_array":[{"photo_id":"1326281032","filename":"file1"},{"photo_id":"1326281029","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326281032":["hashtag1","hashtag2"]},{"1326281029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326281032, 1326281029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.755489587783813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:47:03.047667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:47:22.448564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/46/image_04012025_04_46_02_898176_0002.jpg', '/home/pi/Desktop/images/04012025/04/47/image_04012025_04_47_02_398635_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/46/image_04012025_04_46_02_898176_0002.jpg
/home/pi/Desktop/images/04012025/04/47/image_04012025_04_47_02_398635_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326282021","1326281961"],"photo_ids_order":["1326281961","1326282021"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/858d44cd85d39c189acde7a61f5613c4.jpg","text":"TemporaryFile(/tmp/multipartBody143900833041232219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962507632,"filename":"image_04012025_04_47_02_398635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/600af7652d7e85cdaee525dac6e3e0e3.jpg","text":"TemporaryFile(/tmp/multipartBody298918888829250076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962507632,"filename":"image_04012025_04_46_02_898176_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326282021","file0":"1326281961"},"map_files_photo_id_array":[{"photo_id":"1326282021","filename":"file1"},{"photo_id":"1326281961","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326282021":["hashtag1","hashtag2"]},{"1326281961":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326282021, 1326281961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.757261276245117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:48:02.513346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:48:22.123651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/47/image_04012025_04_47_02_398635_0003.jpg', '/home/pi/Desktop/images/04012025/04/48/image_04012025_04_48_02_887297_0000.jpg', '/home/pi/Desktop/images/04012025/04/48/image_04012025_04_48_02_887297_0001.jpg', '/home/pi/Desktop/images/04012025/04/48/image_04012025_04_48_02_887297_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/47/image_04012025_04_47_02_398635_0003.jpg
/home/pi/Desktop/images/04012025/04/48/image_04012025_04_48_02_887297_0000.jpg
/home/pi/Desktop/images/04012025/04/48/image_04012025_04_48_02_887297_0001.jpg
/home/pi/Desktop/images/04012025/04/48/image_04012025_04_48_02_887297_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.373324871063232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:49:03.099183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/47/image_04012025_04_47_02_398635_0003.jpg', '/home/pi/Desktop/images/04012025/04/48/image_04012025_04_48_02_887297_0000.jpg', '/home/pi/Desktop/images/04012025/04/48/image_04012025_04_48_02_887297_0001.jpg', '/home/pi/Desktop/images/04012025/04/48/image_04012025_04_48_02_887297_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/47/image_04012025_04_47_02_398635_0003.jpg
/home/pi/Desktop/images/04012025/04/48/image_04012025_04_48_02_887297_0000.jpg
/home/pi/Desktop/images/04012025/04/48/image_04012025_04_48_02_887297_0001.jpg
/home/pi/Desktop/images/04012025/04/48/image_04012025_04_48_02_887297_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326282837","1326283037","1326282731","1326282997"],"photo_ids_order":["1326282731","1326282837","1326282997","1326283037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7c6601433cdd111380425dded6f8fbf6.jpg","text":"TemporaryFile(/tmp/multipartBody1355884393571585561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962612936,"filename":"image_04012025_04_48_02_887297_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f5c4a005d281589e8b7772706ff00e80.jpg","text":"TemporaryFile(/tmp/multipartBody6976764985890804855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962612936,"filename":"image_04012025_04_48_02_887297_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/984fc9fdc1195011012e3c390a0c518e.jpg","text":"TemporaryFile(/tmp/multipartBody3643223758965891287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962612936,"filename":"image_04012025_04_47_02_398635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9e39daefe325e8dd227349d1d5f667ea.jpg","text":"TemporaryFile(/tmp/multipartBody166044094855361081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962612936,"filename":"image_04012025_04_48_02_887297_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326282997","file1":"1326282837","file0":"1326282731","file3":"1326283037"},"map_files_photo_id_array":[{"photo_id":"1326282997","filename":"file2"},{"photo_id":"1326282837","filename":"file1"},{"photo_id":"1326282731","filename":"file0"},{"photo_id":"1326283037","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326282837":["hashtag1","hashtag2"]},{"1326283037":["hashtag1","hashtag2"]},{"1326282731":["hashtag1","hashtag2"]},{"1326282997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326282837, 1326283037, 1326282731, 1326282997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.08134722709656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:50:02.579573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/48/image_04012025_04_48_02_887297_0003.jpg', '/home/pi/Desktop/images/04012025/04/49/image_04012025_04_49_02_487031_0000.jpg', '/home/pi/Desktop/images/04012025/04/49/image_04012025_04_49_02_487031_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/48/image_04012025_04_48_02_887297_0003.jpg
/home/pi/Desktop/images/04012025/04/49/image_04012025_04_49_02_487031_0000.jpg
/home/pi/Desktop/images/04012025/04/49/image_04012025_04_49_02_487031_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.102956533432007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:50:22.227724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/48/image_04012025_04_48_02_887297_0003.jpg', '/home/pi/Desktop/images/04012025/04/49/image_04012025_04_49_02_487031_0000.jpg', '/home/pi/Desktop/images/04012025/04/49/image_04012025_04_49_02_487031_0002.jpg', '/home/pi/Desktop/images/04012025/04/49/image_04012025_04_49_02_487031_0003.jpg', '/home/pi/Desktop/images/04012025/04/50/image_04012025_04_50_03_008289_0000.jpg', '/home/pi/Desktop/images/04012025/04/50/image_04012025_04_50_03_008289_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/48/image_04012025_04_48_02_887297_0003.jpg
/home/pi/Desktop/images/04012025/04/49/image_04012025_04_49_02_487031_0000.jpg
/home/pi/Desktop/images/04012025/04/49/image_04012025_04_49_02_487031_0002.jpg
/home/pi/Desktop/images/04012025/04/49/image_04012025_04_49_02_487031_0003.jpg
/home/pi/Desktop/images/04012025/04/50/image_04012025_04_50_03_008289_0000.jpg
/home/pi/Desktop/images/04012025/04/50/image_04012025_04_50_03_008289_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326283140","1326283143","1326283410","1326283227","1326283145","1326283136"],"photo_ids_order":["1326283136","1326283140","1326283143","1326283145","1326283227","1326283410"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b8866fb21c294afec9b5624b1532fce1.jpg","text":"TemporaryFile(/tmp/multipartBody6265750497149458528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962696534,"filename":"image_04012025_04_49_02_487031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db44c1559f935985f8c52cc255d4be8a.jpg","text":"TemporaryFile(/tmp/multipartBody1935003202540564493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962696534,"filename":"image_04012025_04_49_02_487031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/379cedca0a8c227f2d5d402750d7f1f3.jpg","text":"TemporaryFile(/tmp/multipartBody3647995321418723192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962696534,"filename":"image_04012025_04_50_03_008289_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3475b8934a36260aaec61e2056b01e15.jpg","text":"TemporaryFile(/tmp/multipartBody5187154218531209260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962696534,"filename":"image_04012025_04_50_03_008289_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f813a57f6de4d984aca43e4055443ab.jpg","text":"TemporaryFile(/tmp/multipartBody8001759605625080494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962696534,"filename":"image_04012025_04_49_02_487031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d6983df7e3003602ef1f74a36b63a107.jpg","text":"TemporaryFile(/tmp/multipartBody3899977080746071766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962696534,"filename":"image_04012025_04_48_02_887297_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326283143","file1":"1326283140","file0":"1326283136","file4":"1326283227","file5":"1326283410","file3":"1326283145"},"map_files_photo_id_array":[{"photo_id":"1326283410","filename":"file5"},{"photo_id":"1326283143","filename":"file2"},{"photo_id":"1326283227","filename":"file4"},{"photo_id":"1326283140","filename":"file1"},{"photo_id":"1326283136","filename":"file0"},{"photo_id":"1326283145","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326283140":["hashtag1","hashtag2"]},{"1326283143":["hashtag1","hashtag2"]},{"1326283410":["hashtag1","hashtag2"]},{"1326283227":["hashtag1","hashtag2"]},{"1326283145":["hashtag1","hashtag2"]},{"1326283136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326283140, 1326283143, 1326283410, 1326283227, 1326283145, 1326283136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.37147760391235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:51:22.727032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/50/image_04012025_04_50_03_008289_0002.jpg', '/home/pi/Desktop/images/04012025/04/50/image_04012025_04_50_03_008289_0003.jpg', '/home/pi/Desktop/images/04012025/04/51/image_04012025_04_51_02_587900_0000.jpg', '/home/pi/Desktop/images/04012025/04/51/image_04012025_04_51_02_587900_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/50/image_04012025_04_50_03_008289_0002.jpg
/home/pi/Desktop/images/04012025/04/50/image_04012025_04_50_03_008289_0003.jpg
/home/pi/Desktop/images/04012025/04/51/image_04012025_04_51_02_587900_0000.jpg
/home/pi/Desktop/images/04012025/04/51/image_04012025_04_51_02_587900_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326283872","1326283715","1326283805","1326283597"],"photo_ids_order":["1326283597","1326283715","1326283805","1326283872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/90635ff6a8e09f3f05389ad288ba1757.jpg","text":"TemporaryFile(/tmp/multipartBody3803715028891111079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962752501,"filename":"image_04012025_04_51_02_587900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e74f65cb098a566f9c1e14eea6a7514a.jpg","text":"TemporaryFile(/tmp/multipartBody4089668495021722054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962752501,"filename":"image_04012025_04_50_03_008289_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cdc2e4837184f947010d3be4cd13809b.jpg","text":"TemporaryFile(/tmp/multipartBody145757591576551674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962752501,"filename":"image_04012025_04_51_02_587900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bfce6bb740df0f2a4e558b889feccd24.jpg","text":"TemporaryFile(/tmp/multipartBody7401827390994051312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962752501,"filename":"image_04012025_04_50_03_008289_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326283805","file1":"1326283715","file0":"1326283597","file3":"1326283872"},"map_files_photo_id_array":[{"photo_id":"1326283805","filename":"file2"},{"photo_id":"1326283715","filename":"file1"},{"photo_id":"1326283597","filename":"file0"},{"photo_id":"1326283872","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326283872":["hashtag1","hashtag2"]},{"1326283715":["hashtag1","hashtag2"]},{"1326283805":["hashtag1","hashtag2"]},{"1326283597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326283872, 1326283715, 1326283805, 1326283597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.369263648986816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:52:22.249527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/51/image_04012025_04_51_02_587900_0003.jpg', '/home/pi/Desktop/images/04012025/04/52/image_04012025_04_52_03_114906_0000.jpg', '/home/pi/Desktop/images/04012025/04/52/image_04012025_04_52_03_114906_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/51/image_04012025_04_51_02_587900_0003.jpg
/home/pi/Desktop/images/04012025/04/52/image_04012025_04_52_03_114906_0000.jpg
/home/pi/Desktop/images/04012025/04/52/image_04012025_04_52_03_114906_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326284519","1326284566","1326284518"],"photo_ids_order":["1326284518","1326284519","1326284566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cdd3f85db51f28b7e9fb57843163493c.jpg","text":"TemporaryFile(/tmp/multipartBody774472136169250608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962809736,"filename":"image_04012025_04_52_03_114906_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2aecac9340bc1e186de79101e26d470e.jpg","text":"TemporaryFile(/tmp/multipartBody2608789184768559852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962809736,"filename":"image_04012025_04_52_03_114906_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7913296d5b018b64dfa09b9d9eb0aa07.jpg","text":"TemporaryFile(/tmp/multipartBody7256428165926212486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962809736,"filename":"image_04012025_04_51_02_587900_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326284566","file1":"1326284519","file0":"1326284518"},"map_files_photo_id_array":[{"photo_id":"1326284566","filename":"file2"},{"photo_id":"1326284519","filename":"file1"},{"photo_id":"1326284518","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326284519":["hashtag1","hashtag2"]},{"1326284566":["hashtag1","hashtag2"]},{"1326284518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326284519, 1326284566, 1326284518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.741233587265015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:53:02.442250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:53:21.769426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/52/image_04012025_04_52_03_114906_0003.jpg', '/home/pi/Desktop/images/04012025/04/53/image_04012025_04_53_02_684284_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/52/image_04012025_04_52_03_114906_0003.jpg
/home/pi/Desktop/images/04012025/04/53/image_04012025_04_53_02_684284_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326284963","1326284959"],"photo_ids_order":["1326284959","1326284963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e529564cc2a8d1cc1043da4ae139baf9.jpg","text":"TemporaryFile(/tmp/multipartBody1527777703121139080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962867009,"filename":"image_04012025_04_53_02_684284_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ebfddf6cff8555bfe77068fa62e0a2c8.jpg","text":"TemporaryFile(/tmp/multipartBody8146307160425981372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962867009,"filename":"image_04012025_04_52_03_114906_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326284963","file0":"1326284959"},"map_files_photo_id_array":[{"photo_id":"1326284963","filename":"file1"},{"photo_id":"1326284959","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326284963":["hashtag1","hashtag2"]},{"1326284959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326284963, 1326284959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.795639514923096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:54:02.759794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:54:22.386419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/53/image_04012025_04_53_02_684284_0003.jpg', '/home/pi/Desktop/images/04012025/04/54/image_04012025_04_54_02_202906_0000.jpg', '/home/pi/Desktop/images/04012025/04/54/image_04012025_04_54_02_202906_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/53/image_04012025_04_53_02_684284_0003.jpg
/home/pi/Desktop/images/04012025/04/54/image_04012025_04_54_02_202906_0000.jpg
/home/pi/Desktop/images/04012025/04/54/image_04012025_04_54_02_202906_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.16954231262207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:55:02.417202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/53/image_04012025_04_53_02_684284_0003.jpg', '/home/pi/Desktop/images/04012025/04/54/image_04012025_04_54_02_202906_0000.jpg', '/home/pi/Desktop/images/04012025/04/54/image_04012025_04_54_02_202906_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/53/image_04012025_04_53_02_684284_0003.jpg
/home/pi/Desktop/images/04012025/04/54/image_04012025_04_54_02_202906_0000.jpg
/home/pi/Desktop/images/04012025/04/54/image_04012025_04_54_02_202906_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326285535","1326285523","1326285564"],"photo_ids_order":["1326285523","1326285535","1326285564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/61a533861719e87a5f06c47e5960cde9.jpg","text":"TemporaryFile(/tmp/multipartBody595328595341170511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962969952,"filename":"image_04012025_04_54_02_202906_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fcb73e86e7082f8e1f70edbd48059dc6.jpg","text":"TemporaryFile(/tmp/multipartBody8403479903084028613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962969952,"filename":"image_04012025_04_53_02_684284_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/11934f026b4ebf774e82afb8bfd5c7bc.jpg","text":"TemporaryFile(/tmp/multipartBody3292687101565627021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735962969952,"filename":"image_04012025_04_54_02_202906_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326285564","file1":"1326285535","file0":"1326285523"},"map_files_photo_id_array":[{"photo_id":"1326285564","filename":"file2"},{"photo_id":"1326285535","filename":"file1"},{"photo_id":"1326285523","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326285535":["hashtag1","hashtag2"]},{"1326285523":["hashtag1","hashtag2"]},{"1326285564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326285535, 1326285523, 1326285564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 38.60562777519226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:56:03.116202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/54/image_04012025_04_54_02_202906_0002.jpg', '/home/pi/Desktop/images/04012025/04/55/image_04012025_04_55_02_736469_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/54/image_04012025_04_54_02_202906_0002.jpg
/home/pi/Desktop/images/04012025/04/55/image_04012025_04_55_02_736469_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.817583799362183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:56:22.625332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/54/image_04012025_04_54_02_202906_0002.jpg', '/home/pi/Desktop/images/04012025/04/55/image_04012025_04_55_02_736469_0001.jpg', '/home/pi/Desktop/images/04012025/04/55/image_04012025_04_55_02_736469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/54/image_04012025_04_54_02_202906_0002.jpg
/home/pi/Desktop/images/04012025/04/55/image_04012025_04_55_02_736469_0001.jpg
/home/pi/Desktop/images/04012025/04/55/image_04012025_04_55_02_736469_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326285909","1326285895","1326285954"],"photo_ids_order":["1326285895","1326285909","1326285954"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0da71b4cb05b90d0fc5133809644b870.jpg","text":"TemporaryFile(/tmp/multipartBody18508597820197080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963050104,"filename":"image_04012025_04_55_02_736469_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8d05628d315477650b7b5ba89e8ad630.jpg","text":"TemporaryFile(/tmp/multipartBody4940062427873395732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963050104,"filename":"image_04012025_04_54_02_202906_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e5a16104c6e09f00019fa702e22ae84d.jpg","text":"TemporaryFile(/tmp/multipartBody2665922766914615574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963050104,"filename":"image_04012025_04_55_02_736469_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326285954","file1":"1326285909","file0":"1326285895"},"map_files_photo_id_array":[{"photo_id":"1326285954","filename":"file2"},{"photo_id":"1326285909","filename":"file1"},{"photo_id":"1326285895","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326285909":["hashtag1","hashtag2"]},{"1326285895":["hashtag1","hashtag2"]},{"1326285954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326285909, 1326285895, 1326285954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.111567974090576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:57:02.731936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:57:22.105874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/56/image_04012025_04_56_02_336169_0002.jpg', '/home/pi/Desktop/images/04012025/04/57/image_04012025_04_57_03_002814_0000.jpg', '/home/pi/Desktop/images/04012025/04/57/image_04012025_04_57_03_002814_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/56/image_04012025_04_56_02_336169_0002.jpg
/home/pi/Desktop/images/04012025/04/57/image_04012025_04_57_03_002814_0000.jpg
/home/pi/Desktop/images/04012025/04/57/image_04012025_04_57_03_002814_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326287086","1326287004","1326286883"],"photo_ids_order":["1326286883","1326287004","1326287086"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a8b935a4d8c716dd45741d1cc715553f.jpg","text":"TemporaryFile(/tmp/multipartBody3826692315573116450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963109602,"filename":"image_04012025_04_57_03_002814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/75d3f25e7e23bdb75ffa80048805c59f.jpg","text":"TemporaryFile(/tmp/multipartBody8892070715621981301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963109602,"filename":"image_04012025_04_57_03_002814_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/faacce92fe7427cda7b4fa5825caf6e3.jpg","text":"TemporaryFile(/tmp/multipartBody3136007377216851624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963109602,"filename":"image_04012025_04_56_02_336169_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326287086","file1":"1326287004","file0":"1326286883"},"map_files_photo_id_array":[{"photo_id":"1326287086","filename":"file2"},{"photo_id":"1326287004","filename":"file1"},{"photo_id":"1326286883","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326287086":["hashtag1","hashtag2"]},{"1326287004":["hashtag1","hashtag2"]},{"1326286883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326287086, 1326287004, 1326286883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 38.711636543273926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 04:59:02.394083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 04:59:21.826446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/57/image_04012025_04_57_03_002814_0002.jpg', '/home/pi/Desktop/images/04012025/04/58/image_04012025_04_58_02_508300_0000.jpg', '/home/pi/Desktop/images/04012025/04/58/image_04012025_04_58_02_508300_0002.jpg', '/home/pi/Desktop/images/04012025/04/58/image_04012025_04_58_02_508300_0003.jpg', '/home/pi/Desktop/images/04012025/04/59/image_04012025_04_59_02_094851_0000.jpg', '/home/pi/Desktop/images/04012025/04/59/image_04012025_04_59_02_094851_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/57/image_04012025_04_57_03_002814_0002.jpg
/home/pi/Desktop/images/04012025/04/58/image_04012025_04_58_02_508300_0000.jpg
/home/pi/Desktop/images/04012025/04/58/image_04012025_04_58_02_508300_0002.jpg
/home/pi/Desktop/images/04012025/04/58/image_04012025_04_58_02_508300_0003.jpg
/home/pi/Desktop/images/04012025/04/59/image_04012025_04_59_02_094851_0000.jpg
/home/pi/Desktop/images/04012025/04/59/image_04012025_04_59_02_094851_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326288271","1326288393","1326288491","1326288269","1326288598","1326288602"],"photo_ids_order":["1326288269","1326288271","1326288393","1326288491","1326288598","1326288602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1af7ad829f726dd5904e4030e3f0f209.jpg","text":"TemporaryFile(/tmp/multipartBody4047452024844202188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963236129,"filename":"image_04012025_04_58_02_508300_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b7aba35ec0c23c4021d71473c31fc574.jpg","text":"TemporaryFile(/tmp/multipartBody7095526152768373112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963236129,"filename":"image_04012025_04_58_02_508300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f809b1d5803d8152c0e59a4f16e343bf.jpg","text":"TemporaryFile(/tmp/multipartBody3882728270646665082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963236129,"filename":"image_04012025_04_58_02_508300_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fcc4b5537972e9dc50a8e7a94596687a.jpg","text":"TemporaryFile(/tmp/multipartBody5349447765581477562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963236129,"filename":"image_04012025_04_57_03_002814_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f85c5307f04bfcdf8b9174468d547eb1.jpg","text":"TemporaryFile(/tmp/multipartBody7329604123413380628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963236129,"filename":"image_04012025_04_59_02_094851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c31415226a2b1b83ef150834fe093f6d.jpg","text":"TemporaryFile(/tmp/multipartBody4687108954870596374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963236129,"filename":"image_04012025_04_59_02_094851_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326288393","file1":"1326288271","file0":"1326288269","file4":"1326288598","file5":"1326288602","file3":"1326288491"},"map_files_photo_id_array":[{"photo_id":"1326288602","filename":"file5"},{"photo_id":"1326288393","filename":"file2"},{"photo_id":"1326288598","filename":"file4"},{"photo_id":"1326288271","filename":"file1"},{"photo_id":"1326288269","filename":"file0"},{"photo_id":"1326288491","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326288271":["hashtag1","hashtag2"]},{"1326288393":["hashtag1","hashtag2"]},{"1326288491":["hashtag1","hashtag2"]},{"1326288269":["hashtag1","hashtag2"]},{"1326288598":["hashtag1","hashtag2"]},{"1326288602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326288271, 1326288393, 1326288491, 1326288269, 1326288598, 1326288602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.41782093048096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:00:22.499808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/04/59/image_04012025_04_59_02_094851_0002.jpg', '/home/pi/Desktop/images/04012025/05/00/image_04012025_05_00_02_227971_0001.jpg', '/home/pi/Desktop/images/04012025/05/00/image_04012025_05_00_02_227971_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/04/59/image_04012025_04_59_02_094851_0002.jpg
/home/pi/Desktop/images/04012025/05/00/image_04012025_05_00_02_227971_0001.jpg
/home/pi/Desktop/images/04012025/05/00/image_04012025_05_00_02_227971_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326288766","1326288762","1326288680"],"photo_ids_order":["1326288680","1326288762","1326288766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/925240dd1ad0803e3da34bf8c5f5d57d.jpg","text":"TemporaryFile(/tmp/multipartBody5595189425963280387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963289989,"filename":"image_04012025_05_00_02_227971_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d7eca4c908b25d266be66030c2322926.jpg","text":"TemporaryFile(/tmp/multipartBody2640279813672031058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963289989,"filename":"image_04012025_05_00_02_227971_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/944b27338e148011429b27268277bbff.jpg","text":"TemporaryFile(/tmp/multipartBody1785146875810321104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963289989,"filename":"image_04012025_04_59_02_094851_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326288766","file1":"1326288762","file0":"1326288680"},"map_files_photo_id_array":[{"photo_id":"1326288766","filename":"file2"},{"photo_id":"1326288762","filename":"file1"},{"photo_id":"1326288680","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326288766":["hashtag1","hashtag2"]},{"1326288762":["hashtag1","hashtag2"]},{"1326288680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326288766, 1326288762, 1326288680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.282066583633423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:01:02.653567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:01:22.061820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/00/image_04012025_05_00_02_227971_0003.jpg', '/home/pi/Desktop/images/04012025/05/01/image_04012025_05_01_02_945194_0001.jpg', '/home/pi/Desktop/images/04012025/05/01/image_04012025_05_01_02_945194_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/00/image_04012025_05_00_02_227971_0003.jpg
/home/pi/Desktop/images/04012025/05/01/image_04012025_05_01_02_945194_0001.jpg
/home/pi/Desktop/images/04012025/05/01/image_04012025_05_01_02_945194_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326289822","1326289623","1326289460"],"photo_ids_order":["1326289460","1326289623","1326289822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1eb52a31ce3fd4c1a8ec4e3c64b0590c.jpg","text":"TemporaryFile(/tmp/multipartBody1895826991867982816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963349703,"filename":"image_04012025_05_01_02_945194_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2e9f116ec46cefbb0231d4fada01648b.jpg","text":"TemporaryFile(/tmp/multipartBody6647817777331566882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963349703,"filename":"image_04012025_05_01_02_945194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1c110b65ef477dbac325dff75e451e97.jpg","text":"TemporaryFile(/tmp/multipartBody2763954375129263176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963349703,"filename":"image_04012025_05_00_02_227971_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326289822","file1":"1326289623","file0":"1326289460"},"map_files_photo_id_array":[{"photo_id":"1326289822","filename":"file2"},{"photo_id":"1326289623","filename":"file1"},{"photo_id":"1326289460","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326289822":["hashtag1","hashtag2"]},{"1326289623":["hashtag1","hashtag2"]},{"1326289460":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326289822, 1326289623, 1326289460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.81194281578064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:02:03.012386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:02:22.653040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/01/image_04012025_05_01_02_945194_0003.jpg', '/home/pi/Desktop/images/04012025/05/02/image_04012025_05_02_02_411717_0000.jpg', '/home/pi/Desktop/images/04012025/05/02/image_04012025_05_02_02_411717_0001.jpg', '/home/pi/Desktop/images/04012025/05/02/image_04012025_05_02_02_411717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/01/image_04012025_05_01_02_945194_0003.jpg
/home/pi/Desktop/images/04012025/05/02/image_04012025_05_02_02_411717_0000.jpg
/home/pi/Desktop/images/04012025/05/02/image_04012025_05_02_02_411717_0001.jpg
/home/pi/Desktop/images/04012025/05/02/image_04012025_05_02_02_411717_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326290335","1326290500","1326290451","1326290288"],"photo_ids_order":["1326290288","1326290335","1326290451","1326290500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bc92f15493a02b4a19d4c29eb9a7e912.jpg","text":"TemporaryFile(/tmp/multipartBody6946131145124938843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963412574,"filename":"image_04012025_05_02_02_411717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/86ba33e25492a6e5fae6eab0c145eb76.jpg","text":"TemporaryFile(/tmp/multipartBody4844360526298916268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963412574,"filename":"image_04012025_05_02_02_411717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/35d2070daa0ce51f499007b206056414.jpg","text":"TemporaryFile(/tmp/multipartBody4875692918465133396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963412574,"filename":"image_04012025_05_02_02_411717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/030d6b2a6e914e334f1869d097f0ca98.jpg","text":"TemporaryFile(/tmp/multipartBody7460879293433418561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963412574,"filename":"image_04012025_05_01_02_945194_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326290451","file1":"1326290335","file0":"1326290288","file3":"1326290500"},"map_files_photo_id_array":[{"photo_id":"1326290451","filename":"file2"},{"photo_id":"1326290335","filename":"file1"},{"photo_id":"1326290288","filename":"file0"},{"photo_id":"1326290500","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326290335":["hashtag1","hashtag2"]},{"1326290500":["hashtag1","hashtag2"]},{"1326290451":["hashtag1","hashtag2"]},{"1326290288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326290335, 1326290500, 1326290451, 1326290288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.768526554107666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:03:02.740769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:03:22.220203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/02/image_04012025_05_02_02_411717_0003.jpg', '/home/pi/Desktop/images/04012025/05/03/image_04012025_05_03_03_057688_0000.jpg', '/home/pi/Desktop/images/04012025/05/03/image_04012025_05_03_03_057688_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/02/image_04012025_05_02_02_411717_0003.jpg
/home/pi/Desktop/images/04012025/05/03/image_04012025_05_03_03_057688_0000.jpg
/home/pi/Desktop/images/04012025/05/03/image_04012025_05_03_03_057688_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326290833","1326290672","1326290549"],"photo_ids_order":["1326290549","1326290672","1326290833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b7c78fbaef89a39917bd6b0bd0d3aaeb.jpg","text":"TemporaryFile(/tmp/multipartBody7496112073314156407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963469927,"filename":"image_04012025_05_03_03_057688_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/66d7f627ba699b29084c97fe85073a8b.jpg","text":"TemporaryFile(/tmp/multipartBody2115957335927934388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963469927,"filename":"image_04012025_05_03_03_057688_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fcd8eb705c455b3ae9cedbfdf15f0c9d.jpg","text":"TemporaryFile(/tmp/multipartBody9119368788270213229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963469927,"filename":"image_04012025_05_02_02_411717_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326290833","file1":"1326290672","file0":"1326290549"},"map_files_photo_id_array":[{"photo_id":"1326290833","filename":"file2"},{"photo_id":"1326290672","filename":"file1"},{"photo_id":"1326290549","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326290833":["hashtag1","hashtag2"]},{"1326290672":["hashtag1","hashtag2"]},{"1326290549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326290833, 1326290672, 1326290549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.018704414367676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:04:02.434037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:04:21.965102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/03/image_04012025_05_03_03_057688_0003.jpg', '/home/pi/Desktop/images/04012025/05/04/image_04012025_05_04_02_595885_0000.jpg', '/home/pi/Desktop/images/04012025/05/04/image_04012025_05_04_02_595885_0001.jpg', '/home/pi/Desktop/images/04012025/05/04/image_04012025_05_04_02_595885_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/03/image_04012025_05_03_03_057688_0003.jpg
/home/pi/Desktop/images/04012025/05/04/image_04012025_05_04_02_595885_0000.jpg
/home/pi/Desktop/images/04012025/05/04/image_04012025_05_04_02_595885_0001.jpg
/home/pi/Desktop/images/04012025/05/04/image_04012025_05_04_02_595885_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326291810","1326291813","1326291720","1326291816"],"photo_ids_order":["1326291720","1326291810","1326291813","1326291816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e8c44879f8ae08d08eecdf58c4cd6486.jpg","text":"TemporaryFile(/tmp/multipartBody4701429770727012031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963531909,"filename":"image_04012025_05_04_02_595885_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9d104f768f0736a7e98d7146b2dff973.jpg","text":"TemporaryFile(/tmp/multipartBody816070181743325594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963531909,"filename":"image_04012025_05_04_02_595885_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b2d5fa8aa03ba696ac459aa1ebfc1537.jpg","text":"TemporaryFile(/tmp/multipartBody6455711185109651179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963531909,"filename":"image_04012025_05_03_03_057688_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/64766188dac1d1f37d62b2d4286080b9.jpg","text":"TemporaryFile(/tmp/multipartBody6235069512698094601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963531909,"filename":"image_04012025_05_04_02_595885_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326291813","file1":"1326291810","file0":"1326291720","file3":"1326291816"},"map_files_photo_id_array":[{"photo_id":"1326291813","filename":"file2"},{"photo_id":"1326291810","filename":"file1"},{"photo_id":"1326291720","filename":"file0"},{"photo_id":"1326291816","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326291810":["hashtag1","hashtag2"]},{"1326291813":["hashtag1","hashtag2"]},{"1326291720":["hashtag1","hashtag2"]},{"1326291816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326291810, 1326291813, 1326291720, 1326291816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.633262634277344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:05:22.403442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/04/image_04012025_05_04_02_595885_0003.jpg', '/home/pi/Desktop/images/04012025/05/05/image_04012025_05_05_02_319547_0000.jpg', '/home/pi/Desktop/images/04012025/05/05/image_04012025_05_05_02_319547_0001.jpg', '/home/pi/Desktop/images/04012025/05/05/image_04012025_05_05_02_319547_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/04/image_04012025_05_04_02_595885_0003.jpg
/home/pi/Desktop/images/04012025/05/05/image_04012025_05_05_02_319547_0000.jpg
/home/pi/Desktop/images/04012025/05/05/image_04012025_05_05_02_319547_0001.jpg
/home/pi/Desktop/images/04012025/05/05/image_04012025_05_05_02_319547_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326292880","1326292883","1326292489","1326292702"],"photo_ids_order":["1326292489","1326292702","1326292880","1326292883"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d8d31c0554cb674d1dd88c86388c07ab.jpg","text":"TemporaryFile(/tmp/multipartBody4062967823475053091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963592378,"filename":"image_04012025_05_05_02_319547_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/df4f3fb801ad6d520f4c6949dea6a799.jpg","text":"TemporaryFile(/tmp/multipartBody3474256458139887573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963592378,"filename":"image_04012025_05_05_02_319547_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d3b92450a8728a86777754026172b419.jpg","text":"TemporaryFile(/tmp/multipartBody1690507186779681236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963592378,"filename":"image_04012025_05_04_02_595885_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6940fea482052983456b30fa7af23b18.jpg","text":"TemporaryFile(/tmp/multipartBody7150025229895931878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963592378,"filename":"image_04012025_05_05_02_319547_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326292880","file1":"1326292702","file0":"1326292489","file3":"1326292883"},"map_files_photo_id_array":[{"photo_id":"1326292880","filename":"file2"},{"photo_id":"1326292702","filename":"file1"},{"photo_id":"1326292489","filename":"file0"},{"photo_id":"1326292883","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326292880":["hashtag1","hashtag2"]},{"1326292883":["hashtag1","hashtag2"]},{"1326292489":["hashtag1","hashtag2"]},{"1326292702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326292880, 1326292883, 1326292489, 1326292702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.05731129646301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:06:02.388936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:06:21.982694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/05/image_04012025_05_05_02_319547_0003.jpg', '/home/pi/Desktop/images/04012025/05/06/image_04012025_05_06_02_852217_0000.jpg', '/home/pi/Desktop/images/04012025/05/06/image_04012025_05_06_02_852217_0001.jpg', '/home/pi/Desktop/images/04012025/05/06/image_04012025_05_06_02_852217_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/05/image_04012025_05_05_02_319547_0003.jpg
/home/pi/Desktop/images/04012025/05/06/image_04012025_05_06_02_852217_0000.jpg
/home/pi/Desktop/images/04012025/05/06/image_04012025_05_06_02_852217_0001.jpg
/home/pi/Desktop/images/04012025/05/06/image_04012025_05_06_02_852217_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.540959596633911 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:07:03.290094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/05/image_04012025_05_05_02_319547_0003.jpg', '/home/pi/Desktop/images/04012025/05/06/image_04012025_05_06_02_852217_0000.jpg', '/home/pi/Desktop/images/04012025/05/06/image_04012025_05_06_02_852217_0001.jpg', '/home/pi/Desktop/images/04012025/05/06/image_04012025_05_06_02_852217_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/05/image_04012025_05_05_02_319547_0003.jpg
/home/pi/Desktop/images/04012025/05/06/image_04012025_05_06_02_852217_0000.jpg
/home/pi/Desktop/images/04012025/05/06/image_04012025_05_06_02_852217_0001.jpg
/home/pi/Desktop/images/04012025/05/06/image_04012025_05_06_02_852217_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326293631","1326293894","1326293969","1326293864"],"photo_ids_order":["1326293631","1326293864","1326293894","1326293969"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fe0c8de74608fa1f613eaa139081ca17.jpg","text":"TemporaryFile(/tmp/multipartBody222883005393480652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963693262,"filename":"image_04012025_05_05_02_319547_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9b9e0c2b704317d4aa305ef7f55d97b4.jpg","text":"TemporaryFile(/tmp/multipartBody1068107024845732173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963693262,"filename":"image_04012025_05_06_02_852217_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/52968161c43580a454a8f1a4f5e4749f.jpg","text":"TemporaryFile(/tmp/multipartBody3806853952924739408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963693262,"filename":"image_04012025_05_06_02_852217_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3e0d4d1455c779a7661f263aa1bdd1f8.jpg","text":"TemporaryFile(/tmp/multipartBody1980139394213945981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963693262,"filename":"image_04012025_05_06_02_852217_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326293894","file1":"1326293864","file0":"1326293631","file3":"1326293969"},"map_files_photo_id_array":[{"photo_id":"1326293894","filename":"file2"},{"photo_id":"1326293864","filename":"file1"},{"photo_id":"1326293631","filename":"file0"},{"photo_id":"1326293969","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326293631":["hashtag1","hashtag2"]},{"1326293894":["hashtag1","hashtag2"]},{"1326293969":["hashtag1","hashtag2"]},{"1326293864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326293631, 1326293894, 1326293969, 1326293864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.57603931427002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:08:02.716174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/06/image_04012025_05_06_02_852217_0003.jpg', '/home/pi/Desktop/images/04012025/05/07/image_04012025_05_07_02_476175_0000.jpg', '/home/pi/Desktop/images/04012025/05/07/image_04012025_05_07_02_476175_0001.jpg', '/home/pi/Desktop/images/04012025/05/07/image_04012025_05_07_02_476175_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/06/image_04012025_05_06_02_852217_0003.jpg
/home/pi/Desktop/images/04012025/05/07/image_04012025_05_07_02_476175_0000.jpg
/home/pi/Desktop/images/04012025/05/07/image_04012025_05_07_02_476175_0001.jpg
/home/pi/Desktop/images/04012025/05/07/image_04012025_05_07_02_476175_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.54080057144165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:08:22.253635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/06/image_04012025_05_06_02_852217_0003.jpg', '/home/pi/Desktop/images/04012025/05/07/image_04012025_05_07_02_476175_0000.jpg', '/home/pi/Desktop/images/04012025/05/07/image_04012025_05_07_02_476175_0001.jpg', '/home/pi/Desktop/images/04012025/05/07/image_04012025_05_07_02_476175_0002.jpg', '/home/pi/Desktop/images/04012025/05/07/image_04012025_05_07_02_476175_0003.jpg', '/home/pi/Desktop/images/04012025/05/08/image_04012025_05_08_03_010418_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/06/image_04012025_05_06_02_852217_0003.jpg
/home/pi/Desktop/images/04012025/05/07/image_04012025_05_07_02_476175_0000.jpg
/home/pi/Desktop/images/04012025/05/07/image_04012025_05_07_02_476175_0001.jpg
/home/pi/Desktop/images/04012025/05/07/image_04012025_05_07_02_476175_0002.jpg
/home/pi/Desktop/images/04012025/05/07/image_04012025_05_07_02_476175_0003.jpg
/home/pi/Desktop/images/04012025/05/08/image_04012025_05_08_03_010418_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":["1326294221","1326294203","1326294295","1326294382","1326294379","1326294447"],"photo_ids_order":["1326294203","1326294221","1326294295","1326294379","1326294382","1326294447"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cecfb87cecacf11521398383a263370e.jpg","text":"TemporaryFile(/tmp/multipartBody6947636296627071029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963776832,"filename":"image_04012025_05_07_02_476175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/37290bac696d9422334416fa8fc4e1fb.jpg","text":"TemporaryFile(/tmp/multipartBody2644452176954337878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963776832,"filename":"image_04012025_05_06_02_852217_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/edd92eeca0cee59e5c03db2955628a28.jpg","text":"TemporaryFile(/tmp/multipartBody9054461733633998714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963776832,"filename":"image_04012025_05_07_02_476175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d80ed08667ec6269ba981ebf4856dba1.jpg","text":"TemporaryFile(/tmp/multipartBody3952078480971691426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963776832,"filename":"image_04012025_05_07_02_476175_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/60f6bb9b5d9f9bd654a3d9ccdb4bd1d2.jpg","text":"TemporaryFile(/tmp/multipartBody3664884078814362402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963776832,"filename":"image_04012025_05_07_02_476175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7097788aa723d99d6289f4c88d0bb63d.jpg","text":"TemporaryFile(/tmp/multipartBody8935355413933056528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963776832,"filename":"image_04012025_05_08_03_010418_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326294295","file1":"1326294221","file0":"1326294203","file4":"1326294382","file5":"1326294447","file3":"1326294379"},"map_files_photo_id_array":[{"photo_id":"1326294447","filename":"file5"},{"photo_id":"1326294295","filename":"file2"},{"photo_id":"1326294382","filename":"file4"},{"photo_id":"1326294221","filename":"file1"},{"photo_id":"1326294203","filename":"file0"},{"photo_id":"1326294379","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326294221":["hashtag1","hashtag2"]},{"1326294203":["hashtag1","hashtag2"]},{"1326294295":["hashtag1","hashtag2"]},{"1326294382":["hashtag1","hashtag2"]},{"1326294379":["hashtag1","hashtag2"]},{"1326294447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326294221, 1326294203, 1326294295, 1326294382, 1326294379, 1326294447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.01730275154114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:10:02.683621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/08/image_04012025_05_08_03_010418_0001.jpg', '/home/pi/Desktop/images/04012025/05/08/image_04012025_05_08_03_010418_0002.jpg', '/home/pi/Desktop/images/04012025/05/08/image_04012025_05_08_03_010418_0003.jpg', '/home/pi/Desktop/images/04012025/05/09/image_04012025_05_09_02_678193_0000.jpg', '/home/pi/Desktop/images/04012025/05/09/image_04012025_05_09_02_678193_0001.jpg', '/home/pi/Desktop/images/04012025/05/09/image_04012025_05_09_02_678193_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/08/image_04012025_05_08_03_010418_0001.jpg
/home/pi/Desktop/images/04012025/05/08/image_04012025_05_08_03_010418_0002.jpg
/home/pi/Desktop/images/04012025/05/08/image_04012025_05_08_03_010418_0003.jpg
/home/pi/Desktop/images/04012025/05/09/image_04012025_05_09_02_678193_0000.jpg
/home/pi/Desktop/images/04012025/05/09/image_04012025_05_09_02_678193_0001.jpg
/home/pi/Desktop/images/04012025/05/09/image_04012025_05_09_02_678193_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326294731","1326294725","1326294739","1326294727","1326294735","1326294729"],"photo_ids_order":["1326294725","1326294727","1326294729","1326294731","1326294735","1326294739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/29553f9d02eaa96ce5e8f88e00a77d29.jpg","text":"TemporaryFile(/tmp/multipartBody8368391225548445275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963877829,"filename":"image_04012025_05_09_02_678193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6998319fd3d91e83401a8a7ebd9adbf0.jpg","text":"TemporaryFile(/tmp/multipartBody4449874363363393666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963877829,"filename":"image_04012025_05_08_03_010418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a47919d8df51dda6b71e5ac125fe04cd.jpg","text":"TemporaryFile(/tmp/multipartBody1617106195836063745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963877829,"filename":"image_04012025_05_09_02_678193_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b69f76af93574b7b2ada8a0e9b7e1e1d.jpg","text":"TemporaryFile(/tmp/multipartBody3197083870404180331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963877829,"filename":"image_04012025_05_08_03_010418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5f713fb220b1b6717e0e62bdab5d60d9.jpg","text":"TemporaryFile(/tmp/multipartBody3778239429841800422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963877829,"filename":"image_04012025_05_09_02_678193_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a870bb77f900a4f014bd825fa366a30e.jpg","text":"TemporaryFile(/tmp/multipartBody4747755465519110060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963877829,"filename":"image_04012025_05_08_03_010418_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326294729","file1":"1326294727","file0":"1326294725","file4":"1326294735","file5":"1326294739","file3":"1326294731"},"map_files_photo_id_array":[{"photo_id":"1326294739","filename":"file5"},{"photo_id":"1326294729","filename":"file2"},{"photo_id":"1326294735","filename":"file4"},{"photo_id":"1326294727","filename":"file1"},{"photo_id":"1326294725","filename":"file0"},{"photo_id":"1326294731","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326294731":["hashtag1","hashtag2"]},{"1326294725":["hashtag1","hashtag2"]},{"1326294739":["hashtag1","hashtag2"]},{"1326294727":["hashtag1","hashtag2"]},{"1326294735":["hashtag1","hashtag2"]},{"1326294729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326294731, 1326294725, 1326294739, 1326294727, 1326294735, 1326294729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.74166536331177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:11:21.739114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/09/image_04012025_05_09_02_678193_0003.jpg', '/home/pi/Desktop/images/04012025/05/10/image_04012025_05_10_02_176431_0000.jpg', '/home/pi/Desktop/images/04012025/05/10/image_04012025_05_10_02_176431_0001.jpg', '/home/pi/Desktop/images/04012025/05/10/image_04012025_05_10_02_176431_0002.jpg', '/home/pi/Desktop/images/04012025/05/10/image_04012025_05_10_02_176431_0003.jpg', '/home/pi/Desktop/images/04012025/05/11/image_04012025_05_11_02_632944_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/09/image_04012025_05_09_02_678193_0003.jpg
/home/pi/Desktop/images/04012025/05/10/image_04012025_05_10_02_176431_0000.jpg
/home/pi/Desktop/images/04012025/05/10/image_04012025_05_10_02_176431_0001.jpg
/home/pi/Desktop/images/04012025/05/10/image_04012025_05_10_02_176431_0002.jpg
/home/pi/Desktop/images/04012025/05/10/image_04012025_05_10_02_176431_0003.jpg
/home/pi/Desktop/images/04012025/05/11/image_04012025_05_11_02_632944_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326295348","1326295572","1326295248","1326295574","1326295568","1326295727"],"photo_ids_order":["1326295248","1326295348","1326295568","1326295572","1326295574","1326295727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/77f961e445c5fcd0620330cb5f4a1d0c.jpg","text":"TemporaryFile(/tmp/multipartBody1731648926882917646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963956577,"filename":"image_04012025_05_10_02_176431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fcfbad7f272bcfeb651969dcc8a403c1.jpg","text":"TemporaryFile(/tmp/multipartBody242699364935538982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963956577,"filename":"image_04012025_05_10_02_176431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7c9eb2c3c38924d3b43dae6114832691.jpg","text":"TemporaryFile(/tmp/multipartBody3012872117558061608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963956577,"filename":"image_04012025_05_09_02_678193_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f4cd8cdc40e98725b260bb724d67a268.jpg","text":"TemporaryFile(/tmp/multipartBody4323702151514106582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963956577,"filename":"image_04012025_05_10_02_176431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dd110115056d42de5f0c2bdb63057c9f.jpg","text":"TemporaryFile(/tmp/multipartBody4174900059907142730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963956577,"filename":"image_04012025_05_10_02_176431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2661d31db76504bf753e281702f70520.jpg","text":"TemporaryFile(/tmp/multipartBody9042174991163372904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735963956577,"filename":"image_04012025_05_11_02_632944_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326295568","file1":"1326295348","file0":"1326295248","file4":"1326295574","file5":"1326295727","file3":"1326295572"},"map_files_photo_id_array":[{"photo_id":"1326295727","filename":"file5"},{"photo_id":"1326295568","filename":"file2"},{"photo_id":"1326295574","filename":"file4"},{"photo_id":"1326295348","filename":"file1"},{"photo_id":"1326295248","filename":"file0"},{"photo_id":"1326295572","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326295348":["hashtag1","hashtag2"]},{"1326295572":["hashtag1","hashtag2"]},{"1326295248":["hashtag1","hashtag2"]},{"1326295574":["hashtag1","hashtag2"]},{"1326295568":["hashtag1","hashtag2"]},{"1326295727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326295348, 1326295572, 1326295248, 1326295574, 1326295568, 1326295727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.817843437194824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:12:22.286006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/11/image_04012025_05_11_02_632944_0001.jpg', '/home/pi/Desktop/images/04012025/05/11/image_04012025_05_11_02_632944_0002.jpg', '/home/pi/Desktop/images/04012025/05/11/image_04012025_05_11_02_632944_0003.jpg', '/home/pi/Desktop/images/04012025/05/12/image_04012025_05_12_02_159484_0000.jpg', '/home/pi/Desktop/images/04012025/05/12/image_04012025_05_12_02_159484_0001.jpg', '/home/pi/Desktop/images/04012025/05/12/image_04012025_05_12_02_159484_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/11/image_04012025_05_11_02_632944_0001.jpg
/home/pi/Desktop/images/04012025/05/11/image_04012025_05_11_02_632944_0002.jpg
/home/pi/Desktop/images/04012025/05/11/image_04012025_05_11_02_632944_0003.jpg
/home/pi/Desktop/images/04012025/05/12/image_04012025_05_12_02_159484_0000.jpg
/home/pi/Desktop/images/04012025/05/12/image_04012025_05_12_02_159484_0001.jpg
/home/pi/Desktop/images/04012025/05/12/image_04012025_05_12_02_159484_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326296167","1326296221","1326296082","1326296073","1326296010","1326296170"],"photo_ids_order":["1326296010","1326296073","1326296082","1326296167","1326296170","1326296221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/89f8176c0098ce87938ee8cd3679a050.jpg","text":"TemporaryFile(/tmp/multipartBody8661530724984229401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964017411,"filename":"image_04012025_05_12_02_159484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d510ba500514a19fd46a679f8a78110a.jpg","text":"TemporaryFile(/tmp/multipartBody1358839854573853240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964017411,"filename":"image_04012025_05_12_02_159484_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9a73342ae85997cbc7bb591913b52603.jpg","text":"TemporaryFile(/tmp/multipartBody1624774413896654514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964017411,"filename":"image_04012025_05_11_02_632944_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d8c1cf3b8f0a1b606b445b087e0fdaba.jpg","text":"TemporaryFile(/tmp/multipartBody4743230109564554383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964017411,"filename":"image_04012025_05_11_02_632944_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8cfd2600c70cd1309f8ae15ec3c93561.jpg","text":"TemporaryFile(/tmp/multipartBody7208939694481450426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964017411,"filename":"image_04012025_05_11_02_632944_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc85ac4939afba1b798157228490864e.jpg","text":"TemporaryFile(/tmp/multipartBody203524585154572598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964017411,"filename":"image_04012025_05_12_02_159484_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326296082","file1":"1326296073","file0":"1326296010","file4":"1326296170","file5":"1326296221","file3":"1326296167"},"map_files_photo_id_array":[{"photo_id":"1326296221","filename":"file5"},{"photo_id":"1326296082","filename":"file2"},{"photo_id":"1326296170","filename":"file4"},{"photo_id":"1326296073","filename":"file1"},{"photo_id":"1326296010","filename":"file0"},{"photo_id":"1326296167","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326296167":["hashtag1","hashtag2"]},{"1326296221":["hashtag1","hashtag2"]},{"1326296082":["hashtag1","hashtag2"]},{"1326296073":["hashtag1","hashtag2"]},{"1326296010":["hashtag1","hashtag2"]},{"1326296170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326296167, 1326296221, 1326296082, 1326296073, 1326296010, 1326296170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.02614998817444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:14:02.743470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/12/image_04012025_05_12_02_159484_0003.jpg', '/home/pi/Desktop/images/04012025/05/13/image_04012025_05_13_02_658593_0000.jpg', '/home/pi/Desktop/images/04012025/05/13/image_04012025_05_13_02_658593_0001.jpg', '/home/pi/Desktop/images/04012025/05/13/image_04012025_05_13_02_658593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/12/image_04012025_05_12_02_159484_0003.jpg
/home/pi/Desktop/images/04012025/05/13/image_04012025_05_13_02_658593_0000.jpg
/home/pi/Desktop/images/04012025/05/13/image_04012025_05_13_02_658593_0001.jpg
/home/pi/Desktop/images/04012025/05/13/image_04012025_05_13_02_658593_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326296265","1326296259","1326296267","1326296261"],"photo_ids_order":["1326296259","1326296261","1326296265","1326296267"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a46d1dae1fc2c4ecbb0dbd65272251dc.jpg","text":"TemporaryFile(/tmp/multipartBody2614290850637452067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964113059,"filename":"image_04012025_05_13_02_658593_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0d98c116de3a81917f5a02b578d1b7f.jpg","text":"TemporaryFile(/tmp/multipartBody626008651311906453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964113059,"filename":"image_04012025_05_12_02_159484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/93b8bb01b7ec50cb601ca0f033ac0f4e.jpg","text":"TemporaryFile(/tmp/multipartBody6084706432345765037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964113059,"filename":"image_04012025_05_13_02_658593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5e7aecf4cfff8fbf2896e1fa60eb6ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2564188257891212262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964113059,"filename":"image_04012025_05_13_02_658593_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326296265","file1":"1326296261","file0":"1326296259","file3":"1326296267"},"map_files_photo_id_array":[{"photo_id":"1326296265","filename":"file2"},{"photo_id":"1326296261","filename":"file1"},{"photo_id":"1326296259","filename":"file0"},{"photo_id":"1326296267","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326296265":["hashtag1","hashtag2"]},{"1326296259":["hashtag1","hashtag2"]},{"1326296267":["hashtag1","hashtag2"]},{"1326296261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326296265, 1326296259, 1326296267, 1326296261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.40642762184143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:15:02.552258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/13/image_04012025_05_13_02_658593_0003.jpg', '/home/pi/Desktop/images/04012025/05/14/image_04012025_05_14_02_254598_0000.jpg', '/home/pi/Desktop/images/04012025/05/14/image_04012025_05_14_02_254598_0001.jpg', '/home/pi/Desktop/images/04012025/05/14/image_04012025_05_14_02_254598_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/13/image_04012025_05_13_02_658593_0003.jpg
/home/pi/Desktop/images/04012025/05/14/image_04012025_05_14_02_254598_0000.jpg
/home/pi/Desktop/images/04012025/05/14/image_04012025_05_14_02_254598_0001.jpg
/home/pi/Desktop/images/04012025/05/14/image_04012025_05_14_02_254598_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326296694","1326296697","1326296690","1326296686"],"photo_ids_order":["1326296686","1326296690","1326296694","1326296697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/78728d687f41b3301fa375a6cfb1c924.jpg","text":"TemporaryFile(/tmp/multipartBody3575987947920208042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964172747,"filename":"image_04012025_05_14_02_254598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/62e8fe85bd3d6ada91d0cf9c5255bcfe.jpg","text":"TemporaryFile(/tmp/multipartBody825311965438171979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964172747,"filename":"image_04012025_05_14_02_254598_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a134883f0acdce09b5802ecfc6da9c6a.jpg","text":"TemporaryFile(/tmp/multipartBody9064786329144029090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964172747,"filename":"image_04012025_05_14_02_254598_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a9c2f7f762639adb7aafacfc1206cb3d.jpg","text":"TemporaryFile(/tmp/multipartBody1923472824021538258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964172747,"filename":"image_04012025_05_13_02_658593_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326296694","file1":"1326296690","file0":"1326296686","file3":"1326296697"},"map_files_photo_id_array":[{"photo_id":"1326296694","filename":"file2"},{"photo_id":"1326296690","filename":"file1"},{"photo_id":"1326296686","filename":"file0"},{"photo_id":"1326296697","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326296694":["hashtag1","hashtag2"]},{"1326296697":["hashtag1","hashtag2"]},{"1326296690":["hashtag1","hashtag2"]},{"1326296686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326296694, 1326296697, 1326296690, 1326296686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66398286819458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:16:03.029738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/14/image_04012025_05_14_02_254598_0003.jpg', '/home/pi/Desktop/images/04012025/05/15/image_04012025_05_15_02_783700_0000.jpg', '/home/pi/Desktop/images/04012025/05/15/image_04012025_05_15_02_783700_0001.jpg', '/home/pi/Desktop/images/04012025/05/15/image_04012025_05_15_02_783700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/14/image_04012025_05_14_02_254598_0003.jpg
/home/pi/Desktop/images/04012025/05/15/image_04012025_05_15_02_783700_0000.jpg
/home/pi/Desktop/images/04012025/05/15/image_04012025_05_15_02_783700_0001.jpg
/home/pi/Desktop/images/04012025/05/15/image_04012025_05_15_02_783700_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326297619","1326297401","1326297475","1326297364"],"photo_ids_order":["1326297364","1326297401","1326297475","1326297619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9db0c9094c3034a37d8917c4df9262be.jpg","text":"TemporaryFile(/tmp/multipartBody2753128755571930349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964233288,"filename":"image_04012025_05_15_02_783700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0662652763c8d45b3a5f0d2b7285867a.jpg","text":"TemporaryFile(/tmp/multipartBody4849335286288117571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964233288,"filename":"image_04012025_05_15_02_783700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28522ba926efca9fe31855b33a96a1ef.jpg","text":"TemporaryFile(/tmp/multipartBody2825980012685693857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964233288,"filename":"image_04012025_05_15_02_783700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4637d9f436e800ca7fb3fe6935275423.jpg","text":"TemporaryFile(/tmp/multipartBody2049764787491361948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964233288,"filename":"image_04012025_05_14_02_254598_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326297475","file1":"1326297401","file0":"1326297364","file3":"1326297619"},"map_files_photo_id_array":[{"photo_id":"1326297475","filename":"file2"},{"photo_id":"1326297401","filename":"file1"},{"photo_id":"1326297364","filename":"file0"},{"photo_id":"1326297619","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326297619":["hashtag1","hashtag2"]},{"1326297401":["hashtag1","hashtag2"]},{"1326297475":["hashtag1","hashtag2"]},{"1326297364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326297619, 1326297401, 1326297475, 1326297364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.50100326538086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:17:02.801847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/15/image_04012025_05_15_02_783700_0003.jpg', '/home/pi/Desktop/images/04012025/05/16/image_04012025_05_16_02_297523_0000.jpg', '/home/pi/Desktop/images/04012025/05/16/image_04012025_05_16_02_297523_0001.jpg', '/home/pi/Desktop/images/04012025/05/16/image_04012025_05_16_02_297523_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/15/image_04012025_05_15_02_783700_0003.jpg
/home/pi/Desktop/images/04012025/05/16/image_04012025_05_16_02_297523_0000.jpg
/home/pi/Desktop/images/04012025/05/16/image_04012025_05_16_02_297523_0001.jpg
/home/pi/Desktop/images/04012025/05/16/image_04012025_05_16_02_297523_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.865092992782593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:17:22.089964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/15/image_04012025_05_15_02_783700_0003.jpg', '/home/pi/Desktop/images/04012025/05/16/image_04012025_05_16_02_297523_0000.jpg', '/home/pi/Desktop/images/04012025/05/16/image_04012025_05_16_02_297523_0001.jpg', '/home/pi/Desktop/images/04012025/05/16/image_04012025_05_16_02_297523_0002.jpg', '/home/pi/Desktop/images/04012025/05/16/image_04012025_05_16_02_297523_0003.jpg', '/home/pi/Desktop/images/04012025/05/17/image_04012025_05_17_02_979028_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/15/image_04012025_05_15_02_783700_0003.jpg
/home/pi/Desktop/images/04012025/05/16/image_04012025_05_16_02_297523_0000.jpg
/home/pi/Desktop/images/04012025/05/16/image_04012025_05_16_02_297523_0001.jpg
/home/pi/Desktop/images/04012025/05/16/image_04012025_05_16_02_297523_0002.jpg
/home/pi/Desktop/images/04012025/05/16/image_04012025_05_16_02_297523_0003.jpg
/home/pi/Desktop/images/04012025/05/17/image_04012025_05_17_02_979028_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326298592","1326298730","1326298465","1326298468","1326298599","1326298461"],"photo_ids_order":["1326298461","1326298465","1326298468","1326298592","1326298599","1326298730"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/afc7cdc235eb1f4d552950732bb612ba.jpg","text":"TemporaryFile(/tmp/multipartBody5249104840232520438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964317060,"filename":"image_04012025_05_16_02_297523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9430d034f01b3758e677acb04e789c34.jpg","text":"TemporaryFile(/tmp/multipartBody1524625274207308893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964317060,"filename":"image_04012025_05_17_02_979028_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/567dee40d130391ec9084532ad626bac.jpg","text":"TemporaryFile(/tmp/multipartBody2353284106469978064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964317060,"filename":"image_04012025_05_16_02_297523_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1736f0b433d98cbf3b40f22f7751a281.jpg","text":"TemporaryFile(/tmp/multipartBody8449806207056700670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964317060,"filename":"image_04012025_05_16_02_297523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ed02e1fe1474ddbe93e1e32b2ecdb07.jpg","text":"TemporaryFile(/tmp/multipartBody6443664924535346088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964317060,"filename":"image_04012025_05_16_02_297523_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/81639dc38cc71c57900da0662933a57e.jpg","text":"TemporaryFile(/tmp/multipartBody5452822867478153690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964317060,"filename":"image_04012025_05_15_02_783700_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326298468","file1":"1326298465","file0":"1326298461","file4":"1326298599","file5":"1326298730","file3":"1326298592"},"map_files_photo_id_array":[{"photo_id":"1326298730","filename":"file5"},{"photo_id":"1326298468","filename":"file2"},{"photo_id":"1326298599","filename":"file4"},{"photo_id":"1326298465","filename":"file1"},{"photo_id":"1326298461","filename":"file0"},{"photo_id":"1326298592","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326298592":["hashtag1","hashtag2"]},{"1326298730":["hashtag1","hashtag2"]},{"1326298465":["hashtag1","hashtag2"]},{"1326298468":["hashtag1","hashtag2"]},{"1326298599":["hashtag1","hashtag2"]},{"1326298461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326298592, 1326298730, 1326298465, 1326298468, 1326298599, 1326298461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.912498235702515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:18:21.788451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/17/image_04012025_05_17_02_979028_0001.jpg', '/home/pi/Desktop/images/04012025/05/17/image_04012025_05_17_02_979028_0002.jpg', '/home/pi/Desktop/images/04012025/05/17/image_04012025_05_17_02_979028_0003.jpg', '/home/pi/Desktop/images/04012025/05/18/image_04012025_05_18_02_560592_0000.jpg', '/home/pi/Desktop/images/04012025/05/18/image_04012025_05_18_02_560592_0001.jpg', '/home/pi/Desktop/images/04012025/05/18/image_04012025_05_18_02_560592_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/17/image_04012025_05_17_02_979028_0001.jpg
/home/pi/Desktop/images/04012025/05/17/image_04012025_05_17_02_979028_0002.jpg
/home/pi/Desktop/images/04012025/05/17/image_04012025_05_17_02_979028_0003.jpg
/home/pi/Desktop/images/04012025/05/18/image_04012025_05_18_02_560592_0000.jpg
/home/pi/Desktop/images/04012025/05/18/image_04012025_05_18_02_560592_0001.jpg
/home/pi/Desktop/images/04012025/05/18/image_04012025_05_18_02_560592_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326299288","1326299249","1326299293","1326299374","1326299278","1326299283"],"photo_ids_order":["1326299249","1326299278","1326299283","1326299288","1326299293","1326299374"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b4ab8ee1b85c0d9f6baed23c556c765e.jpg","text":"TemporaryFile(/tmp/multipartBody3823075918268416408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964376922,"filename":"image_04012025_05_18_02_560592_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/99763e5b5a45c6232f9c0943cbf01523.jpg","text":"TemporaryFile(/tmp/multipartBody3369072911366700457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964376922,"filename":"image_04012025_05_17_02_979028_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/96419089d0369553aec7647cc5ba0ce4.jpg","text":"TemporaryFile(/tmp/multipartBody8867811321729785721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964376922,"filename":"image_04012025_05_18_02_560592_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/77d30e46d8f75c90ee953487c573339e.jpg","text":"TemporaryFile(/tmp/multipartBody3721518128135191185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964376922,"filename":"image_04012025_05_18_02_560592_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/705df411417e0d2e9313ce0ca73c28f7.jpg","text":"TemporaryFile(/tmp/multipartBody8959102364144427874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964376922,"filename":"image_04012025_05_17_02_979028_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7d6d90ece2275adcd1ea786cb589a563.jpg","text":"TemporaryFile(/tmp/multipartBody6340065020785877100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964376922,"filename":"image_04012025_05_17_02_979028_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326299283","file1":"1326299278","file0":"1326299249","file4":"1326299293","file5":"1326299374","file3":"1326299288"},"map_files_photo_id_array":[{"photo_id":"1326299374","filename":"file5"},{"photo_id":"1326299283","filename":"file2"},{"photo_id":"1326299293","filename":"file4"},{"photo_id":"1326299278","filename":"file1"},{"photo_id":"1326299249","filename":"file0"},{"photo_id":"1326299288","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326299288":["hashtag1","hashtag2"]},{"1326299249":["hashtag1","hashtag2"]},{"1326299293":["hashtag1","hashtag2"]},{"1326299374":["hashtag1","hashtag2"]},{"1326299278":["hashtag1","hashtag2"]},{"1326299283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326299288, 1326299249, 1326299293, 1326299374, 1326299278, 1326299283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.60119390487671 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:19:22.291995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/18/image_04012025_05_18_02_560592_0003.jpg', '/home/pi/Desktop/images/04012025/05/19/image_04012025_05_19_02_147887_0000.jpg', '/home/pi/Desktop/images/04012025/05/19/image_04012025_05_19_02_147887_0001.jpg', '/home/pi/Desktop/images/04012025/05/19/image_04012025_05_19_02_147887_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/18/image_04012025_05_18_02_560592_0003.jpg
/home/pi/Desktop/images/04012025/05/19/image_04012025_05_19_02_147887_0000.jpg
/home/pi/Desktop/images/04012025/05/19/image_04012025_05_19_02_147887_0001.jpg
/home/pi/Desktop/images/04012025/05/19/image_04012025_05_19_02_147887_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326299687","1326299933","1326299917","1326299931"],"photo_ids_order":["1326299687","1326299917","1326299931","1326299933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/21c99712bf622235c64f908b8df46ccb.jpg","text":"TemporaryFile(/tmp/multipartBody4600232296095832323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964432527,"filename":"image_04012025_05_18_02_560592_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f3834f9e8756cd1d147103fccaa7bea4.jpg","text":"TemporaryFile(/tmp/multipartBody7675731150277370180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964432527,"filename":"image_04012025_05_19_02_147887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/945bb42331112e4cee138ab89bd9aca4.jpg","text":"TemporaryFile(/tmp/multipartBody9210357821171429794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964432527,"filename":"image_04012025_05_19_02_147887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/42ec4058d91cb276791a7f3c08a281e9.jpg","text":"TemporaryFile(/tmp/multipartBody1109968104943124025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964432527,"filename":"image_04012025_05_19_02_147887_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326299931","file1":"1326299917","file0":"1326299687","file3":"1326299933"},"map_files_photo_id_array":[{"photo_id":"1326299931","filename":"file2"},{"photo_id":"1326299917","filename":"file1"},{"photo_id":"1326299687","filename":"file0"},{"photo_id":"1326299933","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326299687":["hashtag1","hashtag2"]},{"1326299933":["hashtag1","hashtag2"]},{"1326299917":["hashtag1","hashtag2"]},{"1326299931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326299687, 1326299933, 1326299917, 1326299931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.06371545791626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:20:21.838550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/19/image_04012025_05_19_02_147887_0003.jpg', '/home/pi/Desktop/images/04012025/05/20/image_04012025_05_20_02_709231_0000.jpg', '/home/pi/Desktop/images/04012025/05/20/image_04012025_05_20_02_709231_0001.jpg', '/home/pi/Desktop/images/04012025/05/20/image_04012025_05_20_02_709231_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/19/image_04012025_05_19_02_147887_0003.jpg
/home/pi/Desktop/images/04012025/05/20/image_04012025_05_20_02_709231_0000.jpg
/home/pi/Desktop/images/04012025/05/20/image_04012025_05_20_02_709231_0001.jpg
/home/pi/Desktop/images/04012025/05/20/image_04012025_05_20_02_709231_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.071619510650635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:21:03.043694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/19/image_04012025_05_19_02_147887_0003.jpg', '/home/pi/Desktop/images/04012025/05/20/image_04012025_05_20_02_709231_0000.jpg', '/home/pi/Desktop/images/04012025/05/20/image_04012025_05_20_02_709231_0001.jpg', '/home/pi/Desktop/images/04012025/05/20/image_04012025_05_20_02_709231_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/19/image_04012025_05_19_02_147887_0003.jpg
/home/pi/Desktop/images/04012025/05/20/image_04012025_05_20_02_709231_0000.jpg
/home/pi/Desktop/images/04012025/05/20/image_04012025_05_20_02_709231_0001.jpg
/home/pi/Desktop/images/04012025/05/20/image_04012025_05_20_02_709231_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326300997","1326300748","1326300843","1326300767"],"photo_ids_order":["1326300748","1326300767","1326300843","1326300997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f259a236b64ef9389bda6b3010d5cdf2.jpg","text":"TemporaryFile(/tmp/multipartBody7674669139942366210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964533547,"filename":"image_04012025_05_20_02_709231_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/89b09ebd3796dab8ff76158b7adcbf4a.jpg","text":"TemporaryFile(/tmp/multipartBody8947942857349766167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964533547,"filename":"image_04012025_05_19_02_147887_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c5849669bb9d5d9ffbf14d8c42bab6d5.jpg","text":"TemporaryFile(/tmp/multipartBody2574125263328068933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964533547,"filename":"image_04012025_05_20_02_709231_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ac787ae095bf08b4573e3368f24e527d.jpg","text":"TemporaryFile(/tmp/multipartBody5048646167858497346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964533547,"filename":"image_04012025_05_20_02_709231_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326300843","file1":"1326300767","file0":"1326300748","file3":"1326300997"},"map_files_photo_id_array":[{"photo_id":"1326300843","filename":"file2"},{"photo_id":"1326300767","filename":"file1"},{"photo_id":"1326300748","filename":"file0"},{"photo_id":"1326300997","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326300997":["hashtag1","hashtag2"]},{"1326300748":["hashtag1","hashtag2"]},{"1326300843":["hashtag1","hashtag2"]},{"1326300767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326300997, 1326300748, 1326300843, 1326300767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.546579122543335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:22:02.272285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/20/image_04012025_05_20_02_709231_0003.jpg', '/home/pi/Desktop/images/04012025/05/21/image_04012025_05_21_02_256259_0000.jpg', '/home/pi/Desktop/images/04012025/05/21/image_04012025_05_21_02_256259_0001.jpg', '/home/pi/Desktop/images/04012025/05/21/image_04012025_05_21_02_256259_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/20/image_04012025_05_20_02_709231_0003.jpg
/home/pi/Desktop/images/04012025/05/21/image_04012025_05_21_02_256259_0000.jpg
/home/pi/Desktop/images/04012025/05/21/image_04012025_05_21_02_256259_0001.jpg
/home/pi/Desktop/images/04012025/05/21/image_04012025_05_21_02_256259_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.80921721458435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:22:21.896498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/20/image_04012025_05_20_02_709231_0003.jpg', '/home/pi/Desktop/images/04012025/05/21/image_04012025_05_21_02_256259_0000.jpg', '/home/pi/Desktop/images/04012025/05/21/image_04012025_05_21_02_256259_0001.jpg', '/home/pi/Desktop/images/04012025/05/21/image_04012025_05_21_02_256259_0002.jpg', '/home/pi/Desktop/images/04012025/05/21/image_04012025_05_21_02_256259_0003.jpg', '/home/pi/Desktop/images/04012025/05/22/image_04012025_05_22_02_713269_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/20/image_04012025_05_20_02_709231_0003.jpg
/home/pi/Desktop/images/04012025/05/21/image_04012025_05_21_02_256259_0000.jpg
/home/pi/Desktop/images/04012025/05/21/image_04012025_05_21_02_256259_0001.jpg
/home/pi/Desktop/images/04012025/05/21/image_04012025_05_21_02_256259_0002.jpg
/home/pi/Desktop/images/04012025/05/21/image_04012025_05_21_02_256259_0003.jpg
/home/pi/Desktop/images/04012025/05/22/image_04012025_05_22_02_713269_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326302592","1326302233","1326301965","1326302594","1326302423","1326302053"],"photo_ids_order":["1326301965","1326302053","1326302233","1326302423","1326302592","1326302594"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a32b71a2ef3a8ef81662a3b55ccdbe3c.jpg","text":"TemporaryFile(/tmp/multipartBody7070191863336026708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964616834,"filename":"image_04012025_05_21_02_256259_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/158953b0e1185a6f0d0d359f86a7c992.jpg","text":"TemporaryFile(/tmp/multipartBody17809397692472453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964616834,"filename":"image_04012025_05_21_02_256259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4dec87d7528a495cbf3656cd8cf618a0.jpg","text":"TemporaryFile(/tmp/multipartBody9097043971939547565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964616834,"filename":"image_04012025_05_20_02_709231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cee23ec8bdae08c19b8ab9041a946972.jpg","text":"TemporaryFile(/tmp/multipartBody3694276642264517870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964616834,"filename":"image_04012025_05_22_02_713269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e6875e4df8a22ca3fe06005ae572fca8.jpg","text":"TemporaryFile(/tmp/multipartBody156326054394981207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964616834,"filename":"image_04012025_05_21_02_256259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4b4efec4febfa11489c0d5041fdd1ae0.jpg","text":"TemporaryFile(/tmp/multipartBody5485755442240137723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964616834,"filename":"image_04012025_05_21_02_256259_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326302233","file1":"1326302053","file0":"1326301965","file4":"1326302592","file5":"1326302594","file3":"1326302423"},"map_files_photo_id_array":[{"photo_id":"1326302594","filename":"file5"},{"photo_id":"1326302233","filename":"file2"},{"photo_id":"1326302592","filename":"file4"},{"photo_id":"1326302053","filename":"file1"},{"photo_id":"1326301965","filename":"file0"},{"photo_id":"1326302423","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326302592":["hashtag1","hashtag2"]},{"1326302233":["hashtag1","hashtag2"]},{"1326301965":["hashtag1","hashtag2"]},{"1326302594":["hashtag1","hashtag2"]},{"1326302423":["hashtag1","hashtag2"]},{"1326302053":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326302592, 1326302233, 1326301965, 1326302594, 1326302423, 1326302053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.93783688545227 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:23:22.294645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/22/image_04012025_05_22_02_713269_0001.jpg', '/home/pi/Desktop/images/04012025/05/22/image_04012025_05_22_02_713269_0002.jpg', '/home/pi/Desktop/images/04012025/05/22/image_04012025_05_22_02_713269_0003.jpg', '/home/pi/Desktop/images/04012025/05/23/image_04012025_05_23_02_219560_0000.jpg', '/home/pi/Desktop/images/04012025/05/23/image_04012025_05_23_02_219560_0001.jpg', '/home/pi/Desktop/images/04012025/05/23/image_04012025_05_23_02_219560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/22/image_04012025_05_22_02_713269_0001.jpg
/home/pi/Desktop/images/04012025/05/22/image_04012025_05_22_02_713269_0002.jpg
/home/pi/Desktop/images/04012025/05/22/image_04012025_05_22_02_713269_0003.jpg
/home/pi/Desktop/images/04012025/05/23/image_04012025_05_23_02_219560_0000.jpg
/home/pi/Desktop/images/04012025/05/23/image_04012025_05_23_02_219560_0001.jpg
/home/pi/Desktop/images/04012025/05/23/image_04012025_05_23_02_219560_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326303264","1326303300","1326303302","1326302753","1326303193","1326302980"],"photo_ids_order":["1326302753","1326302980","1326303193","1326303264","1326303300","1326303302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6abe663d6da0fad2b34da7151337814f.jpg","text":"TemporaryFile(/tmp/multipartBody4984271728397964704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964677058,"filename":"image_04012025_05_23_02_219560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/33925e299bae3e85a0dede8e21c38d32.jpg","text":"TemporaryFile(/tmp/multipartBody1223020022286470456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964677058,"filename":"image_04012025_05_23_02_219560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/81c08f5b55b426797d1b89e2d5222baa.jpg","text":"TemporaryFile(/tmp/multipartBody3521845924464928595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964677058,"filename":"image_04012025_05_23_02_219560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85eb4f8fb126bae2cb72b1274951ee63.jpg","text":"TemporaryFile(/tmp/multipartBody5205778628166449338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964677058,"filename":"image_04012025_05_22_02_713269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/22cc0eb64b2093c512a0944b7eca732f.jpg","text":"TemporaryFile(/tmp/multipartBody3015203870333585150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964677058,"filename":"image_04012025_05_22_02_713269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/303ec3c708bff80d7083241780058a97.jpg","text":"TemporaryFile(/tmp/multipartBody3344859858384331493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964677058,"filename":"image_04012025_05_22_02_713269_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326303193","file1":"1326302980","file0":"1326302753","file4":"1326303300","file5":"1326303302","file3":"1326303264"},"map_files_photo_id_array":[{"photo_id":"1326303302","filename":"file5"},{"photo_id":"1326303193","filename":"file2"},{"photo_id":"1326303300","filename":"file4"},{"photo_id":"1326302980","filename":"file1"},{"photo_id":"1326302753","filename":"file0"},{"photo_id":"1326303264","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326303264":["hashtag1","hashtag2"]},{"1326303300":["hashtag1","hashtag2"]},{"1326303302":["hashtag1","hashtag2"]},{"1326302753":["hashtag1","hashtag2"]},{"1326303193":["hashtag1","hashtag2"]},{"1326302980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326303264, 1326303300, 1326303302, 1326302753, 1326303193, 1326302980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.22160339355469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:24:21.862873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/23/image_04012025_05_23_02_219560_0003.jpg', '/home/pi/Desktop/images/04012025/05/24/image_04012025_05_24_02_712781_0000.jpg', '/home/pi/Desktop/images/04012025/05/24/image_04012025_05_24_02_712781_0001.jpg', '/home/pi/Desktop/images/04012025/05/24/image_04012025_05_24_02_712781_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/23/image_04012025_05_23_02_219560_0003.jpg
/home/pi/Desktop/images/04012025/05/24/image_04012025_05_24_02_712781_0000.jpg
/home/pi/Desktop/images/04012025/05/24/image_04012025_05_24_02_712781_0001.jpg
/home/pi/Desktop/images/04012025/05/24/image_04012025_05_24_02_712781_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326303899","1326304003","1326303862","1326303858"],"photo_ids_order":["1326303858","1326303862","1326303899","1326304003"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a9fc6465e4ce924528178bd7e59744a1.jpg","text":"TemporaryFile(/tmp/multipartBody1976170006623359619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964732118,"filename":"image_04012025_05_24_02_712781_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cabdd2349366c2e448e7d8c064ed4f7b.jpg","text":"TemporaryFile(/tmp/multipartBody3187990371331130180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964732118,"filename":"image_04012025_05_24_02_712781_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/70203b19661fd44c2d0b33ed71b85d8e.jpg","text":"TemporaryFile(/tmp/multipartBody2999484236139491911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964732118,"filename":"image_04012025_05_24_02_712781_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/19b0e48dd38f303b413945495477bdac.jpg","text":"TemporaryFile(/tmp/multipartBody7620772098185977313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964732118,"filename":"image_04012025_05_23_02_219560_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326303899","file1":"1326303862","file0":"1326303858","file3":"1326304003"},"map_files_photo_id_array":[{"photo_id":"1326303899","filename":"file2"},{"photo_id":"1326303862","filename":"file1"},{"photo_id":"1326303858","filename":"file0"},{"photo_id":"1326304003","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326303899":["hashtag1","hashtag2"]},{"1326304003":["hashtag1","hashtag2"]},{"1326303862":["hashtag1","hashtag2"]},{"1326303858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326303899, 1326304003, 1326303862, 1326303858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10896921157837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:25:03.040480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:25:22.419894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/24/image_04012025_05_24_02_712781_0003.jpg', '/home/pi/Desktop/images/04012025/05/25/image_04012025_05_25_02_325637_0000.jpg', '/home/pi/Desktop/images/04012025/05/25/image_04012025_05_25_02_325637_0001.jpg', '/home/pi/Desktop/images/04012025/05/25/image_04012025_05_25_02_325637_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/24/image_04012025_05_24_02_712781_0003.jpg
/home/pi/Desktop/images/04012025/05/25/image_04012025_05_25_02_325637_0000.jpg
/home/pi/Desktop/images/04012025/05/25/image_04012025_05_25_02_325637_0001.jpg
/home/pi/Desktop/images/04012025/05/25/image_04012025_05_25_02_325637_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326304838","1326304462","1326304773","1326304578"],"photo_ids_order":["1326304462","1326304578","1326304773","1326304838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9f7e3e995ec9c0a18739357cd6c01709.jpg","text":"TemporaryFile(/tmp/multipartBody3988810140497653774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964792475,"filename":"image_04012025_05_25_02_325637_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dc5475bc785d20818a11ca22a6d489e9.jpg","text":"TemporaryFile(/tmp/multipartBody559505390205361754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964792475,"filename":"image_04012025_05_24_02_712781_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/017e03204ef4e0462c5c4fb73e78aaec.jpg","text":"TemporaryFile(/tmp/multipartBody5107636195038154095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964792475,"filename":"image_04012025_05_25_02_325637_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/27606918efb343c31929a58e688eab61.jpg","text":"TemporaryFile(/tmp/multipartBody3943213073752699809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964792475,"filename":"image_04012025_05_25_02_325637_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326304773","file1":"1326304578","file0":"1326304462","file3":"1326304838"},"map_files_photo_id_array":[{"photo_id":"1326304773","filename":"file2"},{"photo_id":"1326304578","filename":"file1"},{"photo_id":"1326304462","filename":"file0"},{"photo_id":"1326304838","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326304838":["hashtag1","hashtag2"]},{"1326304462":["hashtag1","hashtag2"]},{"1326304773":["hashtag1","hashtag2"]},{"1326304578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326304838, 1326304462, 1326304773, 1326304578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.03353810310364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:26:22.125842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/25/image_04012025_05_25_02_325637_0003.jpg', '/home/pi/Desktop/images/04012025/05/26/image_04012025_05_26_02_867724_0000.jpg', '/home/pi/Desktop/images/04012025/05/26/image_04012025_05_26_02_867724_0001.jpg', '/home/pi/Desktop/images/04012025/05/26/image_04012025_05_26_02_867724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/25/image_04012025_05_25_02_325637_0003.jpg
/home/pi/Desktop/images/04012025/05/26/image_04012025_05_26_02_867724_0000.jpg
/home/pi/Desktop/images/04012025/05/26/image_04012025_05_26_02_867724_0001.jpg
/home/pi/Desktop/images/04012025/05/26/image_04012025_05_26_02_867724_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.540190935134888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:27:03.331881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/25/image_04012025_05_25_02_325637_0003.jpg', '/home/pi/Desktop/images/04012025/05/26/image_04012025_05_26_02_867724_0000.jpg', '/home/pi/Desktop/images/04012025/05/26/image_04012025_05_26_02_867724_0001.jpg', '/home/pi/Desktop/images/04012025/05/26/image_04012025_05_26_02_867724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/25/image_04012025_05_25_02_325637_0003.jpg
/home/pi/Desktop/images/04012025/05/26/image_04012025_05_26_02_867724_0000.jpg
/home/pi/Desktop/images/04012025/05/26/image_04012025_05_26_02_867724_0001.jpg
/home/pi/Desktop/images/04012025/05/26/image_04012025_05_26_02_867724_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326306193","1326306622","1326306511","1326306520"],"photo_ids_order":["1326306193","1326306511","1326306520","1326306622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/39787d7b8e27392a24cc6bebacb4bd79.jpg","text":"TemporaryFile(/tmp/multipartBody231635094799458740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964893412,"filename":"image_04012025_05_25_02_325637_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/55b85f2f8b23695b3629547f19373a68.jpg","text":"TemporaryFile(/tmp/multipartBody6990090815048010226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964893412,"filename":"image_04012025_05_26_02_867724_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/48b9da4bfb09db09da933a79d66f8a0a.jpg","text":"TemporaryFile(/tmp/multipartBody1731787511803980947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964893412,"filename":"image_04012025_05_26_02_867724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/448e972171214e5dc38ce64040400b48.jpg","text":"TemporaryFile(/tmp/multipartBody4057070995593734187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964893412,"filename":"image_04012025_05_26_02_867724_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326306520","file1":"1326306511","file0":"1326306193","file3":"1326306622"},"map_files_photo_id_array":[{"photo_id":"1326306520","filename":"file2"},{"photo_id":"1326306511","filename":"file1"},{"photo_id":"1326306193","filename":"file0"},{"photo_id":"1326306622","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326306193":["hashtag1","hashtag2"]},{"1326306622":["hashtag1","hashtag2"]},{"1326306511":["hashtag1","hashtag2"]},{"1326306520":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326306193, 1326306622, 1326306511, 1326306520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.1505708694458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:28:02.587547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/26/image_04012025_05_26_02_867724_0003.jpg', '/home/pi/Desktop/images/04012025/05/27/image_04012025_05_27_02_496054_0000.jpg', '/home/pi/Desktop/images/04012025/05/27/image_04012025_05_27_02_496054_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/26/image_04012025_05_26_02_867724_0003.jpg
/home/pi/Desktop/images/04012025/05/27/image_04012025_05_27_02_496054_0000.jpg
/home/pi/Desktop/images/04012025/05/27/image_04012025_05_27_02_496054_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.243598699569702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:28:22.306206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/26/image_04012025_05_26_02_867724_0003.jpg', '/home/pi/Desktop/images/04012025/05/27/image_04012025_05_27_02_496054_0000.jpg', '/home/pi/Desktop/images/04012025/05/27/image_04012025_05_27_02_496054_0001.jpg', '/home/pi/Desktop/images/04012025/05/27/image_04012025_05_27_02_496054_0002.jpg', '/home/pi/Desktop/images/04012025/05/28/image_04012025_05_28_02_993832_0000.jpg', '/home/pi/Desktop/images/04012025/05/28/image_04012025_05_28_02_993832_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/26/image_04012025_05_26_02_867724_0003.jpg
/home/pi/Desktop/images/04012025/05/27/image_04012025_05_27_02_496054_0000.jpg
/home/pi/Desktop/images/04012025/05/27/image_04012025_05_27_02_496054_0001.jpg
/home/pi/Desktop/images/04012025/05/27/image_04012025_05_27_02_496054_0002.jpg
/home/pi/Desktop/images/04012025/05/28/image_04012025_05_28_02_993832_0000.jpg
/home/pi/Desktop/images/04012025/05/28/image_04012025_05_28_02_993832_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326306874","1326306844","1326307077","1326307122","1326307079","1326307118"],"photo_ids_order":["1326306844","1326306874","1326307077","1326307079","1326307118","1326307122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/34a52d0e1acfa704acceef301338c489.jpg","text":"TemporaryFile(/tmp/multipartBody4207538279526718119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964976778,"filename":"image_04012025_05_27_02_496054_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1b9ed39428f4ea959c420bb8b8a8bafe.jpg","text":"TemporaryFile(/tmp/multipartBody986833867984530125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964976778,"filename":"image_04012025_05_26_02_867724_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49ee2cb7f5bcfc63f3211197368ea03e.jpg","text":"TemporaryFile(/tmp/multipartBody107032926869421053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964976778,"filename":"image_04012025_05_27_02_496054_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/43fa1026737bf4876eaa9aec201f514f.jpg","text":"TemporaryFile(/tmp/multipartBody8811573198658534667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964976778,"filename":"image_04012025_05_28_02_993832_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a22d322534debfbd44f906869404d333.jpg","text":"TemporaryFile(/tmp/multipartBody9081909187408813396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964976778,"filename":"image_04012025_05_27_02_496054_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cfc2c7be059a615893c47afb1aae8ee7.jpg","text":"TemporaryFile(/tmp/multipartBody4404648940792953505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735964976778,"filename":"image_04012025_05_28_02_993832_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326307077","file1":"1326306874","file0":"1326306844","file4":"1326307118","file5":"1326307122","file3":"1326307079"},"map_files_photo_id_array":[{"photo_id":"1326307122","filename":"file5"},{"photo_id":"1326307077","filename":"file2"},{"photo_id":"1326307118","filename":"file4"},{"photo_id":"1326306874","filename":"file1"},{"photo_id":"1326306844","filename":"file0"},{"photo_id":"1326307079","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326306874":["hashtag1","hashtag2"]},{"1326306844":["hashtag1","hashtag2"]},{"1326307077":["hashtag1","hashtag2"]},{"1326307122":["hashtag1","hashtag2"]},{"1326307079":["hashtag1","hashtag2"]},{"1326307118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326306874, 1326306844, 1326307077, 1326307122, 1326307079, 1326307118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.39808487892151 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:29:21.845967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/28/image_04012025_05_28_02_993832_0002.jpg', '/home/pi/Desktop/images/04012025/05/28/image_04012025_05_28_02_993832_0003.jpg', '/home/pi/Desktop/images/04012025/05/29/image_04012025_05_29_02_732671_0000.jpg', '/home/pi/Desktop/images/04012025/05/29/image_04012025_05_29_02_732671_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/28/image_04012025_05_28_02_993832_0002.jpg
/home/pi/Desktop/images/04012025/05/28/image_04012025_05_28_02_993832_0003.jpg
/home/pi/Desktop/images/04012025/05/29/image_04012025_05_29_02_732671_0000.jpg
/home/pi/Desktop/images/04012025/05/29/image_04012025_05_29_02_732671_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326307714","1326307624","1326307711","1326307628"],"photo_ids_order":["1326307624","1326307628","1326307711","1326307714"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/328fda5759ecc8eecb3a5825bd896aa4.jpg","text":"TemporaryFile(/tmp/multipartBody4077731683350956513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965031606,"filename":"image_04012025_05_29_02_732671_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/845745077fae1fc5d32809c76b055c27.jpg","text":"TemporaryFile(/tmp/multipartBody1967677986416794582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965031606,"filename":"image_04012025_05_28_02_993832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1a5f7a589ab71808eaadd4d06c0a8a55.jpg","text":"TemporaryFile(/tmp/multipartBody7678297982884929071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965031606,"filename":"image_04012025_05_29_02_732671_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/39f9b661831b1a5c33f1c74fce250f4e.jpg","text":"TemporaryFile(/tmp/multipartBody223223600486394067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965031606,"filename":"image_04012025_05_28_02_993832_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326307711","file1":"1326307628","file0":"1326307624","file3":"1326307714"},"map_files_photo_id_array":[{"photo_id":"1326307711","filename":"file2"},{"photo_id":"1326307628","filename":"file1"},{"photo_id":"1326307624","filename":"file0"},{"photo_id":"1326307714","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326307714":["hashtag1","hashtag2"]},{"1326307624":["hashtag1","hashtag2"]},{"1326307711":["hashtag1","hashtag2"]},{"1326307628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326307714, 1326307624, 1326307711, 1326307628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.78381872177124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:30:02.847264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:30:22.444290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/29/image_04012025_05_29_02_732671_0003.jpg', '/home/pi/Desktop/images/04012025/05/30/image_04012025_05_30_02_273932_0000.jpg', '/home/pi/Desktop/images/04012025/05/30/image_04012025_05_30_02_273932_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/29/image_04012025_05_29_02_732671_0003.jpg
/home/pi/Desktop/images/04012025/05/30/image_04012025_05_30_02_273932_0000.jpg
/home/pi/Desktop/images/04012025/05/30/image_04012025_05_30_02_273932_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326307859","1326307853","1326307856"],"photo_ids_order":["1326307853","1326307856","1326307859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2cf68e213c0c0a0fdfbb1e663c8d23cf.jpg","text":"TemporaryFile(/tmp/multipartBody4231844496394047882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965090075,"filename":"image_04012025_05_30_02_273932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/149040baac7576af28c58ed3f3f27773.jpg","text":"TemporaryFile(/tmp/multipartBody6651202551006862296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965090075,"filename":"image_04012025_05_29_02_732671_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a18d46f6b6911cc126282be79a687a8b.jpg","text":"TemporaryFile(/tmp/multipartBody2316578171824790996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965090075,"filename":"image_04012025_05_30_02_273932_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326307859","file1":"1326307856","file0":"1326307853"},"map_files_photo_id_array":[{"photo_id":"1326307859","filename":"file2"},{"photo_id":"1326307856","filename":"file1"},{"photo_id":"1326307853","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326307859":["hashtag1","hashtag2"]},{"1326307853":["hashtag1","hashtag2"]},{"1326307856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326307859, 1326307853, 1326307856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.913583993911743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:31:02.531958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:31:21.938914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/30/image_04012025_05_30_02_273932_0002.jpg', '/home/pi/Desktop/images/04012025/05/31/image_04012025_05_31_02_815618_0000.jpg', '/home/pi/Desktop/images/04012025/05/31/image_04012025_05_31_02_815618_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/30/image_04012025_05_30_02_273932_0002.jpg
/home/pi/Desktop/images/04012025/05/31/image_04012025_05_31_02_815618_0000.jpg
/home/pi/Desktop/images/04012025/05/31/image_04012025_05_31_02_815618_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326309018","1326308607","1326308740"],"photo_ids_order":["1326308607","1326308740","1326309018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/edc7657605f78aa982dcafb4f1bdd153.jpg","text":"TemporaryFile(/tmp/multipartBody5714337349569372103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965149451,"filename":"image_04012025_05_31_02_815618_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e025e4bb886c16e6937b05cdd4afa95d.jpg","text":"TemporaryFile(/tmp/multipartBody5687009433971474320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965149451,"filename":"image_04012025_05_30_02_273932_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8bf5ddb9b648abaaa89fe1ebf9719e41.jpg","text":"TemporaryFile(/tmp/multipartBody7408445341715390579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965149451,"filename":"image_04012025_05_31_02_815618_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326309018","file1":"1326308740","file0":"1326308607"},"map_files_photo_id_array":[{"photo_id":"1326309018","filename":"file2"},{"photo_id":"1326308740","filename":"file1"},{"photo_id":"1326308607","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326309018":["hashtag1","hashtag2"]},{"1326308607":["hashtag1","hashtag2"]},{"1326308740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326309018, 1326308607, 1326308740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.534108877182007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:32:02.932448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:32:22.512283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/31/image_04012025_05_31_02_815618_0003.jpg', '/home/pi/Desktop/images/04012025/05/32/image_04012025_05_32_02_390084_0000.jpg', '/home/pi/Desktop/images/04012025/05/32/image_04012025_05_32_02_390084_0001.jpg', '/home/pi/Desktop/images/04012025/05/32/image_04012025_05_32_02_390084_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/31/image_04012025_05_31_02_815618_0003.jpg
/home/pi/Desktop/images/04012025/05/32/image_04012025_05_32_02_390084_0000.jpg
/home/pi/Desktop/images/04012025/05/32/image_04012025_05_32_02_390084_0001.jpg
/home/pi/Desktop/images/04012025/05/32/image_04012025_05_32_02_390084_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.407407999038696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:33:02.592956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/31/image_04012025_05_31_02_815618_0003.jpg', '/home/pi/Desktop/images/04012025/05/32/image_04012025_05_32_02_390084_0000.jpg', '/home/pi/Desktop/images/04012025/05/32/image_04012025_05_32_02_390084_0001.jpg', '/home/pi/Desktop/images/04012025/05/32/image_04012025_05_32_02_390084_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/31/image_04012025_05_31_02_815618_0003.jpg
/home/pi/Desktop/images/04012025/05/32/image_04012025_05_32_02_390084_0000.jpg
/home/pi/Desktop/images/04012025/05/32/image_04012025_05_32_02_390084_0001.jpg
/home/pi/Desktop/images/04012025/05/32/image_04012025_05_32_02_390084_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326309846","1326309872","1326309874","1326309876"],"photo_ids_order":["1326309846","1326309872","1326309874","1326309876"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/efa739cd10a7e5b5ffeb870d90bf7e79.jpg","text":"TemporaryFile(/tmp/multipartBody2410985147935794466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965252458,"filename":"image_04012025_05_31_02_815618_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d7259c2d6288d51bd684774bdffda45a.jpg","text":"TemporaryFile(/tmp/multipartBody8035441687144423876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965252458,"filename":"image_04012025_05_32_02_390084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/92b2a37d92859bfede533e19767f6255.jpg","text":"TemporaryFile(/tmp/multipartBody7226733762027117403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965252458,"filename":"image_04012025_05_32_02_390084_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ae200be39819c6d24ab9edceb9f1975d.jpg","text":"TemporaryFile(/tmp/multipartBody5033047007007257761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965252458,"filename":"image_04012025_05_32_02_390084_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326309874","file1":"1326309872","file0":"1326309846","file3":"1326309876"},"map_files_photo_id_array":[{"photo_id":"1326309874","filename":"file2"},{"photo_id":"1326309872","filename":"file1"},{"photo_id":"1326309846","filename":"file0"},{"photo_id":"1326309876","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326309846":["hashtag1","hashtag2"]},{"1326309872":["hashtag1","hashtag2"]},{"1326309874":["hashtag1","hashtag2"]},{"1326309876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326309846, 1326309872, 1326309874, 1326309876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.86159586906433 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:34:02.171316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/32/image_04012025_05_32_02_390084_0003.jpg', '/home/pi/Desktop/images/04012025/05/33/image_04012025_05_33_02_939578_0000.jpg', '/home/pi/Desktop/images/04012025/05/33/image_04012025_05_33_02_939578_0001.jpg', '/home/pi/Desktop/images/04012025/05/33/image_04012025_05_33_02_939578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/32/image_04012025_05_32_02_390084_0003.jpg
/home/pi/Desktop/images/04012025/05/33/image_04012025_05_33_02_939578_0000.jpg
/home/pi/Desktop/images/04012025/05/33/image_04012025_05_33_02_939578_0001.jpg
/home/pi/Desktop/images/04012025/05/33/image_04012025_05_33_02_939578_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.551795244216919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:34:21.762597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/32/image_04012025_05_32_02_390084_0003.jpg', '/home/pi/Desktop/images/04012025/05/33/image_04012025_05_33_02_939578_0000.jpg', '/home/pi/Desktop/images/04012025/05/33/image_04012025_05_33_02_939578_0001.jpg', '/home/pi/Desktop/images/04012025/05/33/image_04012025_05_33_02_939578_0002.jpg', '/home/pi/Desktop/images/04012025/05/33/image_04012025_05_33_02_939578_0003.jpg', '/home/pi/Desktop/images/04012025/05/34/image_04012025_05_34_02_508792_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/32/image_04012025_05_32_02_390084_0003.jpg
/home/pi/Desktop/images/04012025/05/33/image_04012025_05_33_02_939578_0000.jpg
/home/pi/Desktop/images/04012025/05/33/image_04012025_05_33_02_939578_0001.jpg
/home/pi/Desktop/images/04012025/05/33/image_04012025_05_33_02_939578_0002.jpg
/home/pi/Desktop/images/04012025/05/33/image_04012025_05_33_02_939578_0003.jpg
/home/pi/Desktop/images/04012025/05/34/image_04012025_05_34_02_508792_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326310898","1326310991","1326310985","1326310814","1326310817","1326310993"],"photo_ids_order":["1326310814","1326310817","1326310898","1326310985","1326310991","1326310993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/76e0ffec6ba63c2a68c621647a35d7d5.jpg","text":"TemporaryFile(/tmp/multipartBody4527101972062591851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965336359,"filename":"image_04012025_05_33_02_939578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/73a7e4e943110a9678caa8e0d0d3d5c4.jpg","text":"TemporaryFile(/tmp/multipartBody9173324669952179442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965336359,"filename":"image_04012025_05_33_02_939578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/07d592e34c5bf341852a8aaa08dcdab8.jpg","text":"TemporaryFile(/tmp/multipartBody4743948503414255986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965336359,"filename":"image_04012025_05_33_02_939578_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dd6a945b7a5f80e2a4d278767202a28b.jpg","text":"TemporaryFile(/tmp/multipartBody6341131370203067588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965336359,"filename":"image_04012025_05_32_02_390084_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a3f9cd350d41f3746aeafe42276d1189.jpg","text":"TemporaryFile(/tmp/multipartBody5401680604915172198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965336359,"filename":"image_04012025_05_33_02_939578_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0e37dc60bed9bc282c98484f625be53e.jpg","text":"TemporaryFile(/tmp/multipartBody4480552388543805151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965336359,"filename":"image_04012025_05_34_02_508792_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326310898","file1":"1326310817","file0":"1326310814","file4":"1326310991","file5":"1326310993","file3":"1326310985"},"map_files_photo_id_array":[{"photo_id":"1326310993","filename":"file5"},{"photo_id":"1326310898","filename":"file2"},{"photo_id":"1326310991","filename":"file4"},{"photo_id":"1326310817","filename":"file1"},{"photo_id":"1326310814","filename":"file0"},{"photo_id":"1326310985","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326310898":["hashtag1","hashtag2"]},{"1326310991":["hashtag1","hashtag2"]},{"1326310985":["hashtag1","hashtag2"]},{"1326310814":["hashtag1","hashtag2"]},{"1326310817":["hashtag1","hashtag2"]},{"1326310993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326310898, 1326310991, 1326310985, 1326310814, 1326310817, 1326310993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.58124327659607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:35:22.320305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/34/image_04012025_05_34_02_508792_0001.jpg', '/home/pi/Desktop/images/04012025/05/34/image_04012025_05_34_02_508792_0002.jpg', '/home/pi/Desktop/images/04012025/05/34/image_04012025_05_34_02_508792_0003.jpg', '/home/pi/Desktop/images/04012025/05/35/image_04012025_05_35_02_150227_0000.jpg', '/home/pi/Desktop/images/04012025/05/35/image_04012025_05_35_02_150227_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/34/image_04012025_05_34_02_508792_0001.jpg
/home/pi/Desktop/images/04012025/05/34/image_04012025_05_34_02_508792_0002.jpg
/home/pi/Desktop/images/04012025/05/34/image_04012025_05_34_02_508792_0003.jpg
/home/pi/Desktop/images/04012025/05/35/image_04012025_05_35_02_150227_0000.jpg
/home/pi/Desktop/images/04012025/05/35/image_04012025_05_35_02_150227_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326311133","1326311136","1326311294","1326311240","1326311269"],"photo_ids_order":["1326311133","1326311136","1326311240","1326311269","1326311294"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a60e014196e93a291c5e72e3636ee42c.jpg","text":"TemporaryFile(/tmp/multipartBody7249169525290410942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965394738,"filename":"image_04012025_05_34_02_508792_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f328a527631e7d59cb89f77dfddc1b0d.jpg","text":"TemporaryFile(/tmp/multipartBody6054761876001334080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965394738,"filename":"image_04012025_05_34_02_508792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bc96b389d90e128437e579bcac499b9d.jpg","text":"TemporaryFile(/tmp/multipartBody1119158558223110871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965394738,"filename":"image_04012025_05_35_02_150227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dbe3f92676d495ec77cd6599b193cfb3.jpg","text":"TemporaryFile(/tmp/multipartBody9088247042416124529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965394738,"filename":"image_04012025_05_34_02_508792_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/570ec49fbb088915b3e0e2ad70ef809d.jpg","text":"TemporaryFile(/tmp/multipartBody3921721973245915004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965394738,"filename":"image_04012025_05_35_02_150227_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326311240","file1":"1326311136","file0":"1326311133","file4":"1326311294","file3":"1326311269"},"map_files_photo_id_array":[{"photo_id":"1326311240","filename":"file2"},{"photo_id":"1326311294","filename":"file4"},{"photo_id":"1326311136","filename":"file1"},{"photo_id":"1326311133","filename":"file0"},{"photo_id":"1326311269","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326311133":["hashtag1","hashtag2"]},{"1326311136":["hashtag1","hashtag2"]},{"1326311294":["hashtag1","hashtag2"]},{"1326311240":["hashtag1","hashtag2"]},{"1326311269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326311133, 1326311136, 1326311294, 1326311240, 1326311269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.255762577056885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:36:21.792881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/35/image_04012025_05_35_02_150227_0003.jpg', '/home/pi/Desktop/images/04012025/05/36/image_04012025_05_36_02_656813_0000.jpg', '/home/pi/Desktop/images/04012025/05/36/image_04012025_05_36_02_656813_0001.jpg', '/home/pi/Desktop/images/04012025/05/36/image_04012025_05_36_02_656813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/35/image_04012025_05_35_02_150227_0003.jpg
/home/pi/Desktop/images/04012025/05/36/image_04012025_05_36_02_656813_0000.jpg
/home/pi/Desktop/images/04012025/05/36/image_04012025_05_36_02_656813_0001.jpg
/home/pi/Desktop/images/04012025/05/36/image_04012025_05_36_02_656813_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326311802","1326311906","1326311854","1326311800"],"photo_ids_order":["1326311800","1326311802","1326311854","1326311906"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c5e35ef68853bf8150f525c0a344f8d1.jpg","text":"TemporaryFile(/tmp/multipartBody4404870005612553380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965452082,"filename":"image_04012025_05_36_02_656813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/56850026c4b08ded374f322e1f1360a3.jpg","text":"TemporaryFile(/tmp/multipartBody2628272821493154939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965452082,"filename":"image_04012025_05_36_02_656813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4e5c7b2a4927d4f4ce21d6fc5d75aaa4.jpg","text":"TemporaryFile(/tmp/multipartBody8523297661174750113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965452082,"filename":"image_04012025_05_36_02_656813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/13024224d9327029c6e3a5abe0a5ca0c.jpg","text":"TemporaryFile(/tmp/multipartBody7013557273451104902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965452082,"filename":"image_04012025_05_35_02_150227_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326311854","file1":"1326311802","file0":"1326311800","file3":"1326311906"},"map_files_photo_id_array":[{"photo_id":"1326311854","filename":"file2"},{"photo_id":"1326311802","filename":"file1"},{"photo_id":"1326311800","filename":"file0"},{"photo_id":"1326311906","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326311802":["hashtag1","hashtag2"]},{"1326311906":["hashtag1","hashtag2"]},{"1326311854":["hashtag1","hashtag2"]},{"1326311800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326311802, 1326311906, 1326311854, 1326311800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58552575111389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:37:03.050012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:37:22.286776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/36/image_04012025_05_36_02_656813_0003.jpg', '/home/pi/Desktop/images/04012025/05/37/image_04012025_05_37_02_226137_0000.jpg', '/home/pi/Desktop/images/04012025/05/37/image_04012025_05_37_02_226137_0001.jpg', '/home/pi/Desktop/images/04012025/05/37/image_04012025_05_37_02_226137_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/36/image_04012025_05_36_02_656813_0003.jpg
/home/pi/Desktop/images/04012025/05/37/image_04012025_05_37_02_226137_0000.jpg
/home/pi/Desktop/images/04012025/05/37/image_04012025_05_37_02_226137_0001.jpg
/home/pi/Desktop/images/04012025/05/37/image_04012025_05_37_02_226137_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326312956","1326312802","1326312798","1326313002"],"photo_ids_order":["1326312798","1326312802","1326312956","1326313002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b70072d6838962f99583052bd50cbe6.jpg","text":"TemporaryFile(/tmp/multipartBody74698975067847409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965512535,"filename":"image_04012025_05_37_02_226137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2f983e50fc82c67c206bd010eb4df1e8.jpg","text":"TemporaryFile(/tmp/multipartBody6398298961221132034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965512535,"filename":"image_04012025_05_37_02_226137_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/68ba96dc6178472a08691bdd5198f9a2.jpg","text":"TemporaryFile(/tmp/multipartBody4135151490281869880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965512535,"filename":"image_04012025_05_36_02_656813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0976b145851b5bb9d760987fa20ef37a.jpg","text":"TemporaryFile(/tmp/multipartBody6561013154144020803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965512535,"filename":"image_04012025_05_37_02_226137_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326312956","file1":"1326312802","file0":"1326312798","file3":"1326313002"},"map_files_photo_id_array":[{"photo_id":"1326312956","filename":"file2"},{"photo_id":"1326312802","filename":"file1"},{"photo_id":"1326312798","filename":"file0"},{"photo_id":"1326313002","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326312956":["hashtag1","hashtag2"]},{"1326312802":["hashtag1","hashtag2"]},{"1326312798":["hashtag1","hashtag2"]},{"1326313002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326312956, 1326312802, 1326312798, 1326313002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.88072085380554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:38:22.011824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/37/image_04012025_05_37_02_226137_0003.jpg', '/home/pi/Desktop/images/04012025/05/38/image_04012025_05_38_02_716594_0000.jpg', '/home/pi/Desktop/images/04012025/05/38/image_04012025_05_38_02_716594_0001.jpg', '/home/pi/Desktop/images/04012025/05/38/image_04012025_05_38_02_716594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/37/image_04012025_05_37_02_226137_0003.jpg
/home/pi/Desktop/images/04012025/05/38/image_04012025_05_38_02_716594_0000.jpg
/home/pi/Desktop/images/04012025/05/38/image_04012025_05_38_02_716594_0001.jpg
/home/pi/Desktop/images/04012025/05/38/image_04012025_05_38_02_716594_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326313016","1326313010","1326313012","1326313014"],"photo_ids_order":["1326313010","1326313012","1326313014","1326313016"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fdbb521ea43a3a00e0296cc6a6bfbf48.jpg","text":"TemporaryFile(/tmp/multipartBody3683567316446617305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965572205,"filename":"image_04012025_05_38_02_716594_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3b1755fc671fa4932a214b504e6d5ab4.jpg","text":"TemporaryFile(/tmp/multipartBody3325645849643493145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965572205,"filename":"image_04012025_05_37_02_226137_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b3895623a1f7a833500e2c58efc3c034.jpg","text":"TemporaryFile(/tmp/multipartBody161445076095287649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965572205,"filename":"image_04012025_05_38_02_716594_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f042871d821dec1d7d9e8666d8f498fa.jpg","text":"TemporaryFile(/tmp/multipartBody3469798183916221961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965572205,"filename":"image_04012025_05_38_02_716594_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326313014","file1":"1326313012","file0":"1326313010","file3":"1326313016"},"map_files_photo_id_array":[{"photo_id":"1326313014","filename":"file2"},{"photo_id":"1326313012","filename":"file1"},{"photo_id":"1326313010","filename":"file0"},{"photo_id":"1326313016","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326313016":["hashtag1","hashtag2"]},{"1326313010":["hashtag1","hashtag2"]},{"1326313012":["hashtag1","hashtag2"]},{"1326313014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326313016, 1326313010, 1326313012, 1326313014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81953454017639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:39:03.110387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:39:22.605704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/38/image_04012025_05_38_02_716594_0003.jpg', '/home/pi/Desktop/images/04012025/05/39/image_04012025_05_39_02_397689_0000.jpg', '/home/pi/Desktop/images/04012025/05/39/image_04012025_05_39_02_397689_0001.jpg', '/home/pi/Desktop/images/04012025/05/39/image_04012025_05_39_02_397689_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/38/image_04012025_05_38_02_716594_0003.jpg
/home/pi/Desktop/images/04012025/05/39/image_04012025_05_39_02_397689_0000.jpg
/home/pi/Desktop/images/04012025/05/39/image_04012025_05_39_02_397689_0001.jpg
/home/pi/Desktop/images/04012025/05/39/image_04012025_05_39_02_397689_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326313975","1326313612","1326313943","1326313793"],"photo_ids_order":["1326313612","1326313793","1326313943","1326313975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f17c44399743f87a41c62550bb2fe66.jpg","text":"TemporaryFile(/tmp/multipartBody5023172126021992464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965632765,"filename":"image_04012025_05_39_02_397689_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7cd868d777a493e13546f1e0e164594b.jpg","text":"TemporaryFile(/tmp/multipartBody4731052360107530611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965632765,"filename":"image_04012025_05_38_02_716594_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dba72347e050d4dee59560e1746e819c.jpg","text":"TemporaryFile(/tmp/multipartBody7761204267637186738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965632765,"filename":"image_04012025_05_39_02_397689_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/46c8ce3f2787e119565260928d1e93a5.jpg","text":"TemporaryFile(/tmp/multipartBody1590400416585678609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965632765,"filename":"image_04012025_05_39_02_397689_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326313943","file1":"1326313793","file0":"1326313612","file3":"1326313975"},"map_files_photo_id_array":[{"photo_id":"1326313943","filename":"file2"},{"photo_id":"1326313793","filename":"file1"},{"photo_id":"1326313612","filename":"file0"},{"photo_id":"1326313975","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326313975":["hashtag1","hashtag2"]},{"1326313612":["hashtag1","hashtag2"]},{"1326313943":["hashtag1","hashtag2"]},{"1326313793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326313975, 1326313612, 1326313943, 1326313793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.34012460708618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:40:22.214916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/39/image_04012025_05_39_02_397689_0003.jpg', '/home/pi/Desktop/images/04012025/05/40/image_04012025_05_40_02_916419_0000.jpg', '/home/pi/Desktop/images/04012025/05/40/image_04012025_05_40_02_916419_0001.jpg', '/home/pi/Desktop/images/04012025/05/40/image_04012025_05_40_02_916419_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/39/image_04012025_05_39_02_397689_0003.jpg
/home/pi/Desktop/images/04012025/05/40/image_04012025_05_40_02_916419_0000.jpg
/home/pi/Desktop/images/04012025/05/40/image_04012025_05_40_02_916419_0001.jpg
/home/pi/Desktop/images/04012025/05/40/image_04012025_05_40_02_916419_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326314467","1326314428","1326314463","1326314465"],"photo_ids_order":["1326314428","1326314463","1326314465","1326314467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed9c220f84f91b74e2f877c95faaaa6c.jpg","text":"TemporaryFile(/tmp/multipartBody3638356690437697635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965692404,"filename":"image_04012025_05_40_02_916419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2446bdaed1cce2aa79e88e19ee6f087d.jpg","text":"TemporaryFile(/tmp/multipartBody7977137315079781658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965692404,"filename":"image_04012025_05_39_02_397689_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1c7b72e208e81ea98f1c990636798e4f.jpg","text":"TemporaryFile(/tmp/multipartBody6023669842535626432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965692404,"filename":"image_04012025_05_40_02_916419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cbbdffb9c5cd3d0a829a19bce4d9b0a3.jpg","text":"TemporaryFile(/tmp/multipartBody8949664448857954675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965692404,"filename":"image_04012025_05_40_02_916419_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326314465","file1":"1326314463","file0":"1326314428","file3":"1326314467"},"map_files_photo_id_array":[{"photo_id":"1326314465","filename":"file2"},{"photo_id":"1326314463","filename":"file1"},{"photo_id":"1326314428","filename":"file0"},{"photo_id":"1326314467","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326314467":["hashtag1","hashtag2"]},{"1326314428":["hashtag1","hashtag2"]},{"1326314463":["hashtag1","hashtag2"]},{"1326314465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326314467, 1326314428, 1326314463, 1326314465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66296672821045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:41:03.109802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:41:22.614582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/40/image_04012025_05_40_02_916419_0003.jpg', '/home/pi/Desktop/images/04012025/05/41/image_04012025_05_41_02_550803_0000.jpg', '/home/pi/Desktop/images/04012025/05/41/image_04012025_05_41_02_550803_0001.jpg', '/home/pi/Desktop/images/04012025/05/41/image_04012025_05_41_02_550803_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/40/image_04012025_05_40_02_916419_0003.jpg
/home/pi/Desktop/images/04012025/05/41/image_04012025_05_41_02_550803_0000.jpg
/home/pi/Desktop/images/04012025/05/41/image_04012025_05_41_02_550803_0001.jpg
/home/pi/Desktop/images/04012025/05/41/image_04012025_05_41_02_550803_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326314764","1326315168","1326314923","1326315029"],"photo_ids_order":["1326314764","1326314923","1326315029","1326315168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/acbd71ceabc9dff85416f925fdf29114.jpg","text":"TemporaryFile(/tmp/multipartBody1741133692192677171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965752896,"filename":"image_04012025_05_40_02_916419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4422f3cdfd1d6b26b7a6aed93456a043.jpg","text":"TemporaryFile(/tmp/multipartBody5149559611363024990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965752896,"filename":"image_04012025_05_41_02_550803_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/91a526caadf5efc28244bb52bfb8ae6e.jpg","text":"TemporaryFile(/tmp/multipartBody8838357977491131419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965752896,"filename":"image_04012025_05_41_02_550803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3de0ea3305860fc5dd6e74f78d20887f.jpg","text":"TemporaryFile(/tmp/multipartBody4008072186265998757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965752896,"filename":"image_04012025_05_41_02_550803_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326315029","file1":"1326314923","file0":"1326314764","file3":"1326315168"},"map_files_photo_id_array":[{"photo_id":"1326315029","filename":"file2"},{"photo_id":"1326314923","filename":"file1"},{"photo_id":"1326314764","filename":"file0"},{"photo_id":"1326315168","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326314764":["hashtag1","hashtag2"]},{"1326315168":["hashtag1","hashtag2"]},{"1326314923":["hashtag1","hashtag2"]},{"1326315029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326314764, 1326315168, 1326314923, 1326315029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.52884602546692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:42:22.429961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/41/image_04012025_05_41_02_550803_0003.jpg', '/home/pi/Desktop/images/04012025/05/42/image_04012025_05_42_03_085055_0000.jpg', '/home/pi/Desktop/images/04012025/05/42/image_04012025_05_42_03_085055_0001.jpg', '/home/pi/Desktop/images/04012025/05/42/image_04012025_05_42_03_085055_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/41/image_04012025_05_41_02_550803_0003.jpg
/home/pi/Desktop/images/04012025/05/42/image_04012025_05_42_03_085055_0000.jpg
/home/pi/Desktop/images/04012025/05/42/image_04012025_05_42_03_085055_0001.jpg
/home/pi/Desktop/images/04012025/05/42/image_04012025_05_42_03_085055_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.00549602508545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:43:02.498331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/41/image_04012025_05_41_02_550803_0003.jpg', '/home/pi/Desktop/images/04012025/05/42/image_04012025_05_42_03_085055_0000.jpg', '/home/pi/Desktop/images/04012025/05/42/image_04012025_05_42_03_085055_0001.jpg', '/home/pi/Desktop/images/04012025/05/42/image_04012025_05_42_03_085055_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/41/image_04012025_05_41_02_550803_0003.jpg
/home/pi/Desktop/images/04012025/05/42/image_04012025_05_42_03_085055_0000.jpg
/home/pi/Desktop/images/04012025/05/42/image_04012025_05_42_03_085055_0001.jpg
/home/pi/Desktop/images/04012025/05/42/image_04012025_05_42_03_085055_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326316176","1326316178","1326316229","1326316138"],"photo_ids_order":["1326316138","1326316176","1326316178","1326316229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ed59f8828b13c8d5fe1458b2308827a.jpg","text":"TemporaryFile(/tmp/multipartBody4148045041314872330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965852946,"filename":"image_04012025_05_42_03_085055_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0f1f3b7232f2ce0f83282c3cc7102ec.jpg","text":"TemporaryFile(/tmp/multipartBody8984981557723291757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965852946,"filename":"image_04012025_05_42_03_085055_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/afdd68f32d01fbb394bd6332bda464ab.jpg","text":"TemporaryFile(/tmp/multipartBody8769376703323547720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965852946,"filename":"image_04012025_05_42_03_085055_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/008e593c1cc8057758b32b1f0ef3fc12.jpg","text":"TemporaryFile(/tmp/multipartBody2149315006822405553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965852946,"filename":"image_04012025_05_41_02_550803_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326316178","file1":"1326316176","file0":"1326316138","file3":"1326316229"},"map_files_photo_id_array":[{"photo_id":"1326316178","filename":"file2"},{"photo_id":"1326316176","filename":"file1"},{"photo_id":"1326316138","filename":"file0"},{"photo_id":"1326316229","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326316176":["hashtag1","hashtag2"]},{"1326316178":["hashtag1","hashtag2"]},{"1326316229":["hashtag1","hashtag2"]},{"1326316138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326316176, 1326316178, 1326316229, 1326316138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.99443078041077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:44:03.010264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/42/image_04012025_05_42_03_085055_0003.jpg', '/home/pi/Desktop/images/04012025/05/43/image_04012025_05_43_02_822605_0000.jpg', '/home/pi/Desktop/images/04012025/05/43/image_04012025_05_43_02_822605_0001.jpg', '/home/pi/Desktop/images/04012025/05/43/image_04012025_05_43_02_822605_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/42/image_04012025_05_42_03_085055_0003.jpg
/home/pi/Desktop/images/04012025/05/43/image_04012025_05_43_02_822605_0000.jpg
/home/pi/Desktop/images/04012025/05/43/image_04012025_05_43_02_822605_0001.jpg
/home/pi/Desktop/images/04012025/05/43/image_04012025_05_43_02_822605_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326316269","1326316273","1326316267","1326316275"],"photo_ids_order":["1326316267","1326316269","1326316273","1326316275"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1428869cbc4eb140c1fdfb1405159745.jpg","text":"TemporaryFile(/tmp/multipartBody4336776305877069838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965913420,"filename":"image_04012025_05_43_02_822605_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cb4132a909b9f6bcbd8d70b0d6b1a289.jpg","text":"TemporaryFile(/tmp/multipartBody1825373449496033227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965913420,"filename":"image_04012025_05_43_02_822605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7559440349a166821464d56ed1e6004f.jpg","text":"TemporaryFile(/tmp/multipartBody8494910219451478133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965913420,"filename":"image_04012025_05_42_03_085055_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e3ee89f686bbd65a790c43b9e38889d3.jpg","text":"TemporaryFile(/tmp/multipartBody8549474732508565439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965913420,"filename":"image_04012025_05_43_02_822605_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326316273","file1":"1326316269","file0":"1326316267","file3":"1326316275"},"map_files_photo_id_array":[{"photo_id":"1326316273","filename":"file2"},{"photo_id":"1326316269","filename":"file1"},{"photo_id":"1326316267","filename":"file0"},{"photo_id":"1326316275","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326316269":["hashtag1","hashtag2"]},{"1326316273":["hashtag1","hashtag2"]},{"1326316267":["hashtag1","hashtag2"]},{"1326316275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326316269, 1326316273, 1326316267, 1326316275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.345606088638306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:45:02.841742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/43/image_04012025_05_43_02_822605_0003.jpg', '/home/pi/Desktop/images/04012025/05/44/image_04012025_05_44_02_330076_0000.jpg', '/home/pi/Desktop/images/04012025/05/44/image_04012025_05_44_02_330076_0001.jpg', '/home/pi/Desktop/images/04012025/05/44/image_04012025_05_44_02_330076_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/43/image_04012025_05_43_02_822605_0003.jpg
/home/pi/Desktop/images/04012025/05/44/image_04012025_05_44_02_330076_0000.jpg
/home/pi/Desktop/images/04012025/05/44/image_04012025_05_44_02_330076_0001.jpg
/home/pi/Desktop/images/04012025/05/44/image_04012025_05_44_02_330076_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326316734","1326316737","1326316731","1326316739"],"photo_ids_order":["1326316731","1326316734","1326316737","1326316739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b507bce2eb8724279cea91e3d18229ee.jpg","text":"TemporaryFile(/tmp/multipartBody5892014302771990703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965973537,"filename":"image_04012025_05_44_02_330076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7a0cea4dbc5ddf89315457cc00869b36.jpg","text":"TemporaryFile(/tmp/multipartBody1653157331612687565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965973537,"filename":"image_04012025_05_44_02_330076_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4386c4731b322645301fdd32c1a90847.jpg","text":"TemporaryFile(/tmp/multipartBody281390431749027895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965973537,"filename":"image_04012025_05_43_02_822605_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3c7aca4f13804c3470d189e9b38fb9ec.jpg","text":"TemporaryFile(/tmp/multipartBody1893200151629187757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735965973537,"filename":"image_04012025_05_44_02_330076_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326316737","file1":"1326316734","file0":"1326316731","file3":"1326316739"},"map_files_photo_id_array":[{"photo_id":"1326316737","filename":"file2"},{"photo_id":"1326316734","filename":"file1"},{"photo_id":"1326316731","filename":"file0"},{"photo_id":"1326316739","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326316734":["hashtag1","hashtag2"]},{"1326316737":["hashtag1","hashtag2"]},{"1326316731":["hashtag1","hashtag2"]},{"1326316739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326316734, 1326316737, 1326316731, 1326316739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.88850665092468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:46:02.379623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/44/image_04012025_05_44_02_330076_0003.jpg', '/home/pi/Desktop/images/04012025/05/45/image_04012025_05_45_03_085941_0000.jpg', '/home/pi/Desktop/images/04012025/05/45/image_04012025_05_45_03_085941_0001.jpg', '/home/pi/Desktop/images/04012025/05/45/image_04012025_05_45_03_085941_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/44/image_04012025_05_44_02_330076_0003.jpg
/home/pi/Desktop/images/04012025/05/45/image_04012025_05_45_03_085941_0000.jpg
/home/pi/Desktop/images/04012025/05/45/image_04012025_05_45_03_085941_0001.jpg
/home/pi/Desktop/images/04012025/05/45/image_04012025_05_45_03_085941_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326317808","1326317702","1326317551","1326317812"],"photo_ids_order":["1326317551","1326317702","1326317808","1326317812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/73d03be50916650f950642890fefc774.jpg","text":"TemporaryFile(/tmp/multipartBody8268433777188847723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966032830,"filename":"image_04012025_05_45_03_085941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ae6f6b1d4bbc2706f4013a964579e750.jpg","text":"TemporaryFile(/tmp/multipartBody8086823207502239271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966032830,"filename":"image_04012025_05_45_03_085941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/563886c8fcd849e3c0dee32f8ca9b5ae.jpg","text":"TemporaryFile(/tmp/multipartBody2922417559935818057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966032830,"filename":"image_04012025_05_44_02_330076_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2f8bae455dd349b581798fc7e27df105.jpg","text":"TemporaryFile(/tmp/multipartBody9093292270327418610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966032830,"filename":"image_04012025_05_45_03_085941_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326317808","file1":"1326317702","file0":"1326317551","file3":"1326317812"},"map_files_photo_id_array":[{"photo_id":"1326317808","filename":"file2"},{"photo_id":"1326317702","filename":"file1"},{"photo_id":"1326317551","filename":"file0"},{"photo_id":"1326317812","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326317808":["hashtag1","hashtag2"]},{"1326317702":["hashtag1","hashtag2"]},{"1326317551":["hashtag1","hashtag2"]},{"1326317812":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326317808, 1326317702, 1326317551, 1326317812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.38620948791504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:47:02.974705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/45/image_04012025_05_45_03_085941_0003.jpg', '/home/pi/Desktop/images/04012025/05/46/image_04012025_05_46_02_617025_0000.jpg', '/home/pi/Desktop/images/04012025/05/46/image_04012025_05_46_02_617025_0001.jpg', '/home/pi/Desktop/images/04012025/05/46/image_04012025_05_46_02_617025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/45/image_04012025_05_45_03_085941_0003.jpg
/home/pi/Desktop/images/04012025/05/46/image_04012025_05_46_02_617025_0000.jpg
/home/pi/Desktop/images/04012025/05/46/image_04012025_05_46_02_617025_0001.jpg
/home/pi/Desktop/images/04012025/05/46/image_04012025_05_46_02_617025_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.071323871612549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:47:22.380403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/45/image_04012025_05_45_03_085941_0003.jpg', '/home/pi/Desktop/images/04012025/05/46/image_04012025_05_46_02_617025_0000.jpg', '/home/pi/Desktop/images/04012025/05/46/image_04012025_05_46_02_617025_0001.jpg', '/home/pi/Desktop/images/04012025/05/46/image_04012025_05_46_02_617025_0002.jpg', '/home/pi/Desktop/images/04012025/05/46/image_04012025_05_46_02_617025_0003.jpg', '/home/pi/Desktop/images/04012025/05/47/image_04012025_05_47_02_270442_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/45/image_04012025_05_45_03_085941_0003.jpg
/home/pi/Desktop/images/04012025/05/46/image_04012025_05_46_02_617025_0000.jpg
/home/pi/Desktop/images/04012025/05/46/image_04012025_05_46_02_617025_0001.jpg
/home/pi/Desktop/images/04012025/05/46/image_04012025_05_46_02_617025_0002.jpg
/home/pi/Desktop/images/04012025/05/46/image_04012025_05_46_02_617025_0003.jpg
/home/pi/Desktop/images/04012025/05/47/image_04012025_05_47_02_270442_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326318446","1326318440","1326318407","1326318448","1326318450","1326318321"],"photo_ids_order":["1326318321","1326318407","1326318440","1326318446","1326318448","1326318450"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eebeace6a842b32604ef48dba1119466.jpg","text":"TemporaryFile(/tmp/multipartBody2548243818436888663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966117533,"filename":"image_04012025_05_46_02_617025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/578f8f2ec95c2aab801084f751dc99ba.jpg","text":"TemporaryFile(/tmp/multipartBody4174996917180094116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966117533,"filename":"image_04012025_05_46_02_617025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7c556f0b8b75804b396f804a3997d957.jpg","text":"TemporaryFile(/tmp/multipartBody7940451478836021704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966117533,"filename":"image_04012025_05_46_02_617025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2354cdead6b4e9505d94f411daf393ea.jpg","text":"TemporaryFile(/tmp/multipartBody8123963688927611837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966117533,"filename":"image_04012025_05_46_02_617025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d21200aace0786673d51121de52bdbf6.jpg","text":"TemporaryFile(/tmp/multipartBody3838469301497753609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966117533,"filename":"image_04012025_05_47_02_270442_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/40c995f1f0be998a4fa9b4af15039ad5.jpg","text":"TemporaryFile(/tmp/multipartBody319706974309209328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966117533,"filename":"image_04012025_05_45_03_085941_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326318440","file1":"1326318407","file0":"1326318321","file4":"1326318448","file5":"1326318450","file3":"1326318446"},"map_files_photo_id_array":[{"photo_id":"1326318450","filename":"file5"},{"photo_id":"1326318440","filename":"file2"},{"photo_id":"1326318448","filename":"file4"},{"photo_id":"1326318407","filename":"file1"},{"photo_id":"1326318321","filename":"file0"},{"photo_id":"1326318446","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326318446":["hashtag1","hashtag2"]},{"1326318440":["hashtag1","hashtag2"]},{"1326318407":["hashtag1","hashtag2"]},{"1326318448":["hashtag1","hashtag2"]},{"1326318450":["hashtag1","hashtag2"]},{"1326318321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326318446, 1326318440, 1326318407, 1326318448, 1326318450, 1326318321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.31304454803467 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:48:22.013656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/47/image_04012025_05_47_02_270442_0001.jpg', '/home/pi/Desktop/images/04012025/05/47/image_04012025_05_47_02_270442_0002.jpg', '/home/pi/Desktop/images/04012025/05/47/image_04012025_05_47_02_270442_0003.jpg', '/home/pi/Desktop/images/04012025/05/48/image_04012025_05_48_02_767625_0000.jpg', '/home/pi/Desktop/images/04012025/05/48/image_04012025_05_48_02_767625_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/47/image_04012025_05_47_02_270442_0001.jpg
/home/pi/Desktop/images/04012025/05/47/image_04012025_05_47_02_270442_0002.jpg
/home/pi/Desktop/images/04012025/05/47/image_04012025_05_47_02_270442_0003.jpg
/home/pi/Desktop/images/04012025/05/48/image_04012025_05_48_02_767625_0000.jpg
/home/pi/Desktop/images/04012025/05/48/image_04012025_05_48_02_767625_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326318950","1326318895","1326318882","1326318945","1326318939"],"photo_ids_order":["1326318882","1326318895","1326318939","1326318945","1326318950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/937dec4d8dac682a504f858c60f4f7e3.jpg","text":"TemporaryFile(/tmp/multipartBody2034331002897655273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966174620,"filename":"image_04012025_05_48_02_767625_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4350bc3a4ce7b9ccdaf3fd8b9e7dda39.jpg","text":"TemporaryFile(/tmp/multipartBody6453642262728334615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966174620,"filename":"image_04012025_05_47_02_270442_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2238003c67df09d2d56ebd47c1a4d0ce.jpg","text":"TemporaryFile(/tmp/multipartBody6441828371130582806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966174620,"filename":"image_04012025_05_47_02_270442_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/71e8d7e50f396ecb94d25327b61d8395.jpg","text":"TemporaryFile(/tmp/multipartBody5147298717673334697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966174620,"filename":"image_04012025_05_48_02_767625_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/34bbf8e6f58009b1bafa861368362137.jpg","text":"TemporaryFile(/tmp/multipartBody2051243564344600267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966174620,"filename":"image_04012025_05_47_02_270442_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326318939","file1":"1326318895","file0":"1326318882","file4":"1326318950","file3":"1326318945"},"map_files_photo_id_array":[{"photo_id":"1326318939","filename":"file2"},{"photo_id":"1326318950","filename":"file4"},{"photo_id":"1326318895","filename":"file1"},{"photo_id":"1326318882","filename":"file0"},{"photo_id":"1326318945","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326318950":["hashtag1","hashtag2"]},{"1326318895":["hashtag1","hashtag2"]},{"1326318882":["hashtag1","hashtag2"]},{"1326318945":["hashtag1","hashtag2"]},{"1326318939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326318950, 1326318895, 1326318882, 1326318945, 1326318939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.53501105308533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:49:22.533167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/48/image_04012025_05_48_02_767625_0003.jpg', '/home/pi/Desktop/images/04012025/05/49/image_04012025_05_49_02_356812_0000.jpg', '/home/pi/Desktop/images/04012025/05/49/image_04012025_05_49_02_356812_0001.jpg', '/home/pi/Desktop/images/04012025/05/49/image_04012025_05_49_02_356812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/48/image_04012025_05_48_02_767625_0003.jpg
/home/pi/Desktop/images/04012025/05/49/image_04012025_05_49_02_356812_0000.jpg
/home/pi/Desktop/images/04012025/05/49/image_04012025_05_49_02_356812_0001.jpg
/home/pi/Desktop/images/04012025/05/49/image_04012025_05_49_02_356812_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326319099","1326319103","1326319105","1326319101"],"photo_ids_order":["1326319099","1326319101","1326319103","1326319105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8dd50541802d46a0497ed4949abf7cfa.jpg","text":"TemporaryFile(/tmp/multipartBody1432499045264286288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966232721,"filename":"image_04012025_05_48_02_767625_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4dd34d55102bf48d295cc670e6604ab6.jpg","text":"TemporaryFile(/tmp/multipartBody929057419160844450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966232721,"filename":"image_04012025_05_49_02_356812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3a8afd7ef41177c52b138fda6670e240.jpg","text":"TemporaryFile(/tmp/multipartBody700245650069606467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966232721,"filename":"image_04012025_05_49_02_356812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e515d10c0a30a9f1f290d959bdc4f44e.jpg","text":"TemporaryFile(/tmp/multipartBody5248102514406451726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966232721,"filename":"image_04012025_05_49_02_356812_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326319103","file1":"1326319101","file0":"1326319099","file3":"1326319105"},"map_files_photo_id_array":[{"photo_id":"1326319103","filename":"file2"},{"photo_id":"1326319101","filename":"file1"},{"photo_id":"1326319099","filename":"file0"},{"photo_id":"1326319105","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326319099":["hashtag1","hashtag2"]},{"1326319103":["hashtag1","hashtag2"]},{"1326319105":["hashtag1","hashtag2"]},{"1326319101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326319099, 1326319103, 1326319105, 1326319101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.9448664188385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:50:22.074732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/49/image_04012025_05_49_02_356812_0003.jpg', '/home/pi/Desktop/images/04012025/05/50/image_04012025_05_50_02_942990_0000.jpg', '/home/pi/Desktop/images/04012025/05/50/image_04012025_05_50_02_942990_0001.jpg', '/home/pi/Desktop/images/04012025/05/50/image_04012025_05_50_02_942990_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/49/image_04012025_05_49_02_356812_0003.jpg
/home/pi/Desktop/images/04012025/05/50/image_04012025_05_50_02_942990_0000.jpg
/home/pi/Desktop/images/04012025/05/50/image_04012025_05_50_02_942990_0001.jpg
/home/pi/Desktop/images/04012025/05/50/image_04012025_05_50_02_942990_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.763970136642456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:51:03.192311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/49/image_04012025_05_49_02_356812_0003.jpg', '/home/pi/Desktop/images/04012025/05/50/image_04012025_05_50_02_942990_0000.jpg', '/home/pi/Desktop/images/04012025/05/50/image_04012025_05_50_02_942990_0001.jpg', '/home/pi/Desktop/images/04012025/05/50/image_04012025_05_50_02_942990_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/49/image_04012025_05_49_02_356812_0003.jpg
/home/pi/Desktop/images/04012025/05/50/image_04012025_05_50_02_942990_0000.jpg
/home/pi/Desktop/images/04012025/05/50/image_04012025_05_50_02_942990_0001.jpg
/home/pi/Desktop/images/04012025/05/50/image_04012025_05_50_02_942990_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326320165","1326320309","1326320287","1326320260"],"photo_ids_order":["1326320165","1326320260","1326320287","1326320309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0279a7d4cd454206978fc2e6cdf5bd5d.jpg","text":"TemporaryFile(/tmp/multipartBody4539607217574872614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966333421,"filename":"image_04012025_05_49_02_356812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/82e16f35e5fb4e3eb9d14f55c6aeeb31.jpg","text":"TemporaryFile(/tmp/multipartBody7940826442095033453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966333421,"filename":"image_04012025_05_50_02_942990_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0df4c840cd020ed55a2cd9d2655f908.jpg","text":"TemporaryFile(/tmp/multipartBody994632234266062466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966333421,"filename":"image_04012025_05_50_02_942990_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/003e62b57d149d935edcac6d92441f51.jpg","text":"TemporaryFile(/tmp/multipartBody2677812860077267883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966333421,"filename":"image_04012025_05_50_02_942990_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326320287","file1":"1326320260","file0":"1326320165","file3":"1326320309"},"map_files_photo_id_array":[{"photo_id":"1326320287","filename":"file2"},{"photo_id":"1326320260","filename":"file1"},{"photo_id":"1326320165","filename":"file0"},{"photo_id":"1326320309","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326320165":["hashtag1","hashtag2"]},{"1326320309":["hashtag1","hashtag2"]},{"1326320287":["hashtag1","hashtag2"]},{"1326320260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326320165, 1326320309, 1326320287, 1326320260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13984537124634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:52:02.696558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/50/image_04012025_05_50_02_942990_0003.jpg', '/home/pi/Desktop/images/04012025/05/51/image_04012025_05_51_02_477072_0000.jpg', '/home/pi/Desktop/images/04012025/05/51/image_04012025_05_51_02_477072_0001.jpg', '/home/pi/Desktop/images/04012025/05/51/image_04012025_05_51_02_477072_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/50/image_04012025_05_50_02_942990_0003.jpg
/home/pi/Desktop/images/04012025/05/51/image_04012025_05_51_02_477072_0000.jpg
/home/pi/Desktop/images/04012025/05/51/image_04012025_05_51_02_477072_0001.jpg
/home/pi/Desktop/images/04012025/05/51/image_04012025_05_51_02_477072_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.983248710632324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:52:22.293758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/50/image_04012025_05_50_02_942990_0003.jpg', '/home/pi/Desktop/images/04012025/05/51/image_04012025_05_51_02_477072_0000.jpg', '/home/pi/Desktop/images/04012025/05/51/image_04012025_05_51_02_477072_0001.jpg', '/home/pi/Desktop/images/04012025/05/51/image_04012025_05_51_02_477072_0002.jpg', '/home/pi/Desktop/images/04012025/05/51/image_04012025_05_51_02_477072_0003.jpg', '/home/pi/Desktop/images/04012025/05/52/image_04012025_05_52_03_014685_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/50/image_04012025_05_50_02_942990_0003.jpg
/home/pi/Desktop/images/04012025/05/51/image_04012025_05_51_02_477072_0000.jpg
/home/pi/Desktop/images/04012025/05/51/image_04012025_05_51_02_477072_0001.jpg
/home/pi/Desktop/images/04012025/05/51/image_04012025_05_51_02_477072_0002.jpg
/home/pi/Desktop/images/04012025/05/51/image_04012025_05_51_02_477072_0003.jpg
/home/pi/Desktop/images/04012025/05/52/image_04012025_05_52_03_014685_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326321236","1326321238","1326320857","1326320892","1326320895","1326320996"],"photo_ids_order":["1326320857","1326320892","1326320895","1326320996","1326321236","1326321238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cabf5071b0f23008b499aea9cd11e1b7.jpg","text":"TemporaryFile(/tmp/multipartBody8569184612324839440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966417433,"filename":"image_04012025_05_51_02_477072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0a87b42a91164477527485156924e8c9.jpg","text":"TemporaryFile(/tmp/multipartBody7628521937917151843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966417433,"filename":"image_04012025_05_52_03_014685_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b73bb46a4e6bc69355f9fee3d0ecd614.jpg","text":"TemporaryFile(/tmp/multipartBody2773365628340116012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966417433,"filename":"image_04012025_05_50_02_942990_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/76f8224671ac74d0da6ed879670dfcb5.jpg","text":"TemporaryFile(/tmp/multipartBody101633706971249826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966417433,"filename":"image_04012025_05_51_02_477072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c3facfc6d744a1bb65d7bc98d3952c7d.jpg","text":"TemporaryFile(/tmp/multipartBody2969122227003953823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966417433,"filename":"image_04012025_05_51_02_477072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/00ec1ee5185401fa6c8aea920ebc2799.jpg","text":"TemporaryFile(/tmp/multipartBody165931361720583519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966417433,"filename":"image_04012025_05_51_02_477072_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326320895","file1":"1326320892","file0":"1326320857","file4":"1326321236","file5":"1326321238","file3":"1326320996"},"map_files_photo_id_array":[{"photo_id":"1326321238","filename":"file5"},{"photo_id":"1326320895","filename":"file2"},{"photo_id":"1326321236","filename":"file4"},{"photo_id":"1326320892","filename":"file1"},{"photo_id":"1326320857","filename":"file0"},{"photo_id":"1326320996","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326321236":["hashtag1","hashtag2"]},{"1326321238":["hashtag1","hashtag2"]},{"1326320857":["hashtag1","hashtag2"]},{"1326320892":["hashtag1","hashtag2"]},{"1326320895":["hashtag1","hashtag2"]},{"1326320996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326321236, 1326321238, 1326320857, 1326320892, 1326320895, 1326320996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.00614833831787 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:53:21.826435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/52/image_04012025_05_52_03_014685_0001.jpg', '/home/pi/Desktop/images/04012025/05/52/image_04012025_05_52_03_014685_0002.jpg', '/home/pi/Desktop/images/04012025/05/52/image_04012025_05_52_03_014685_0003.jpg', '/home/pi/Desktop/images/04012025/05/53/image_04012025_05_53_02_673460_0000.jpg', '/home/pi/Desktop/images/04012025/05/53/image_04012025_05_53_02_673460_0001.jpg', '/home/pi/Desktop/images/04012025/05/53/image_04012025_05_53_02_673460_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/52/image_04012025_05_52_03_014685_0001.jpg
/home/pi/Desktop/images/04012025/05/52/image_04012025_05_52_03_014685_0002.jpg
/home/pi/Desktop/images/04012025/05/52/image_04012025_05_52_03_014685_0003.jpg
/home/pi/Desktop/images/04012025/05/53/image_04012025_05_53_02_673460_0000.jpg
/home/pi/Desktop/images/04012025/05/53/image_04012025_05_53_02_673460_0001.jpg
/home/pi/Desktop/images/04012025/05/53/image_04012025_05_53_02_673460_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326321404","1326321406","1326321378","1326321756","1326321435","1326321758"],"photo_ids_order":["1326321378","1326321404","1326321406","1326321435","1326321756","1326321758"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/21dbac4ded5cb570baa74918bb4f7758.jpg","text":"TemporaryFile(/tmp/multipartBody2327482657464602760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966476847,"filename":"image_04012025_05_52_03_014685_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0184ca9f1c4e4f71ed57d975701d5b78.jpg","text":"TemporaryFile(/tmp/multipartBody8209496126986723447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966476847,"filename":"image_04012025_05_52_03_014685_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/98d94e284ec095af62811ca1bf391b77.jpg","text":"TemporaryFile(/tmp/multipartBody2238293015000454898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966476847,"filename":"image_04012025_05_52_03_014685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aa7b35cc62c6c6db5d8cd99afa812ca0.jpg","text":"TemporaryFile(/tmp/multipartBody6154227212394839712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966476847,"filename":"image_04012025_05_53_02_673460_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8b7058cbae885691aae87527d98887ca.jpg","text":"TemporaryFile(/tmp/multipartBody2247010673759117069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966476847,"filename":"image_04012025_05_53_02_673460_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ea556d556d65ab8d20ecb3bcd8ff74a.jpg","text":"TemporaryFile(/tmp/multipartBody6018475408441662763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966476847,"filename":"image_04012025_05_53_02_673460_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326321406","file1":"1326321404","file0":"1326321378","file4":"1326321756","file5":"1326321758","file3":"1326321435"},"map_files_photo_id_array":[{"photo_id":"1326321758","filename":"file5"},{"photo_id":"1326321406","filename":"file2"},{"photo_id":"1326321756","filename":"file4"},{"photo_id":"1326321404","filename":"file1"},{"photo_id":"1326321378","filename":"file0"},{"photo_id":"1326321435","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326321404":["hashtag1","hashtag2"]},{"1326321406":["hashtag1","hashtag2"]},{"1326321378":["hashtag1","hashtag2"]},{"1326321756":["hashtag1","hashtag2"]},{"1326321435":["hashtag1","hashtag2"]},{"1326321758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326321404, 1326321406, 1326321378, 1326321756, 1326321435, 1326321758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.69892168045044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:54:22.342924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/53/image_04012025_05_53_02_673460_0003.jpg', '/home/pi/Desktop/images/04012025/05/54/image_04012025_05_54_02_208797_0000.jpg', '/home/pi/Desktop/images/04012025/05/54/image_04012025_05_54_02_208797_0001.jpg', '/home/pi/Desktop/images/04012025/05/54/image_04012025_05_54_02_208797_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/53/image_04012025_05_53_02_673460_0003.jpg
/home/pi/Desktop/images/04012025/05/54/image_04012025_05_54_02_208797_0000.jpg
/home/pi/Desktop/images/04012025/05/54/image_04012025_05_54_02_208797_0001.jpg
/home/pi/Desktop/images/04012025/05/54/image_04012025_05_54_02_208797_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326321970","1326321826","1326321907","1326322209"],"photo_ids_order":["1326321826","1326321907","1326321970","1326322209"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ac5baa1f00fd58405f071750796060b.jpg","text":"TemporaryFile(/tmp/multipartBody8111743826635268494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966532559,"filename":"image_04012025_05_54_02_208797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/42de288afe786c7840a8e3c9c7c999e9.jpg","text":"TemporaryFile(/tmp/multipartBody6180261357446918261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966532559,"filename":"image_04012025_05_53_02_673460_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cc77f80917263bd785fb1522810862a7.jpg","text":"TemporaryFile(/tmp/multipartBody3925213254758016975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966532559,"filename":"image_04012025_05_54_02_208797_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/84fa371120312fefb08ddbb8a8329c4c.jpg","text":"TemporaryFile(/tmp/multipartBody1757007010684595170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966532559,"filename":"image_04012025_05_54_02_208797_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326321970","file1":"1326321907","file0":"1326321826","file3":"1326322209"},"map_files_photo_id_array":[{"photo_id":"1326321970","filename":"file2"},{"photo_id":"1326321907","filename":"file1"},{"photo_id":"1326321826","filename":"file0"},{"photo_id":"1326322209","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326321970":["hashtag1","hashtag2"]},{"1326321826":["hashtag1","hashtag2"]},{"1326321907":["hashtag1","hashtag2"]},{"1326322209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326321970, 1326321826, 1326321907, 1326322209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.003207206726074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:55:21.811815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/54/image_04012025_05_54_02_208797_0003.jpg', '/home/pi/Desktop/images/04012025/05/55/image_04012025_05_55_02_695971_0000.jpg', '/home/pi/Desktop/images/04012025/05/55/image_04012025_05_55_02_695971_0001.jpg', '/home/pi/Desktop/images/04012025/05/55/image_04012025_05_55_02_695971_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/54/image_04012025_05_54_02_208797_0003.jpg
/home/pi/Desktop/images/04012025/05/55/image_04012025_05_55_02_695971_0000.jpg
/home/pi/Desktop/images/04012025/05/55/image_04012025_05_55_02_695971_0001.jpg
/home/pi/Desktop/images/04012025/05/55/image_04012025_05_55_02_695971_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326322513","1326322494","1326322515","1326322422"],"photo_ids_order":["1326322422","1326322494","1326322513","1326322515"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e3869b911a7f0a1b926fc60b955f5650.jpg","text":"TemporaryFile(/tmp/multipartBody8411340298137501420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966592075,"filename":"image_04012025_05_55_02_695971_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b3254e7f3e27afc13061447b87351f05.jpg","text":"TemporaryFile(/tmp/multipartBody3032188270638069415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966592075,"filename":"image_04012025_05_55_02_695971_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4c6be72506d7b890e01185682ab41b74.jpg","text":"TemporaryFile(/tmp/multipartBody3741084677280684467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966592075,"filename":"image_04012025_05_55_02_695971_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b1dde024f2758a82122670a2d10fac6d.jpg","text":"TemporaryFile(/tmp/multipartBody5146185910620404742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966592075,"filename":"image_04012025_05_54_02_208797_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326322513","file1":"1326322494","file0":"1326322422","file3":"1326322515"},"map_files_photo_id_array":[{"photo_id":"1326322513","filename":"file2"},{"photo_id":"1326322494","filename":"file1"},{"photo_id":"1326322422","filename":"file0"},{"photo_id":"1326322515","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326322513":["hashtag1","hashtag2"]},{"1326322494":["hashtag1","hashtag2"]},{"1326322515":["hashtag1","hashtag2"]},{"1326322422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326322513, 1326322494, 1326322515, 1326322422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.140135288238525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:56:02.810021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:56:22.370773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/55/image_04012025_05_55_02_695971_0003.jpg', '/home/pi/Desktop/images/04012025/05/56/image_04012025_05_56_02_267477_0000.jpg', '/home/pi/Desktop/images/04012025/05/56/image_04012025_05_56_02_267477_0001.jpg', '/home/pi/Desktop/images/04012025/05/56/image_04012025_05_56_02_267477_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/55/image_04012025_05_55_02_695971_0003.jpg
/home/pi/Desktop/images/04012025/05/56/image_04012025_05_56_02_267477_0000.jpg
/home/pi/Desktop/images/04012025/05/56/image_04012025_05_56_02_267477_0001.jpg
/home/pi/Desktop/images/04012025/05/56/image_04012025_05_56_02_267477_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326323611","1326323685","1326323463","1326323386"],"photo_ids_order":["1326323386","1326323463","1326323611","1326323685"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a718f1754ec8daf654d52d638a4d97ab.jpg","text":"TemporaryFile(/tmp/multipartBody4673189881956583906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966652574,"filename":"image_04012025_05_56_02_267477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49cdb7ce13e173ba091cedce84559eca.jpg","text":"TemporaryFile(/tmp/multipartBody6127847341671146128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966652574,"filename":"image_04012025_05_56_02_267477_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1c6da21130ed1b7f5c7551c7c61c7611.jpg","text":"TemporaryFile(/tmp/multipartBody5564525571591840682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966652574,"filename":"image_04012025_05_56_02_267477_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c22b8c8da9ccdfc2cdb950fbb45ecb8f.jpg","text":"TemporaryFile(/tmp/multipartBody4894263376817718126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966652574,"filename":"image_04012025_05_55_02_695971_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326323611","file1":"1326323463","file0":"1326323386","file3":"1326323685"},"map_files_photo_id_array":[{"photo_id":"1326323611","filename":"file2"},{"photo_id":"1326323463","filename":"file1"},{"photo_id":"1326323386","filename":"file0"},{"photo_id":"1326323685","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326323611":["hashtag1","hashtag2"]},{"1326323685":["hashtag1","hashtag2"]},{"1326323463":["hashtag1","hashtag2"]},{"1326323386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326323611, 1326323685, 1326323463, 1326323386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.81197738647461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:57:21.841275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/56/image_04012025_05_56_02_267477_0003.jpg', '/home/pi/Desktop/images/04012025/05/57/image_04012025_05_57_02_754830_0000.jpg', '/home/pi/Desktop/images/04012025/05/57/image_04012025_05_57_02_754830_0001.jpg', '/home/pi/Desktop/images/04012025/05/57/image_04012025_05_57_02_754830_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/56/image_04012025_05_56_02_267477_0003.jpg
/home/pi/Desktop/images/04012025/05/57/image_04012025_05_57_02_754830_0000.jpg
/home/pi/Desktop/images/04012025/05/57/image_04012025_05_57_02_754830_0001.jpg
/home/pi/Desktop/images/04012025/05/57/image_04012025_05_57_02_754830_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326324164","1326324431","1326324434","1326324283"],"photo_ids_order":["1326324164","1326324283","1326324431","1326324434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b072665655cb0e13bb1cea9b216d9e05.jpg","text":"TemporaryFile(/tmp/multipartBody9158357106737468201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966712123,"filename":"image_04012025_05_56_02_267477_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4068494a9c187a9b5e630f3a83ea58ca.jpg","text":"TemporaryFile(/tmp/multipartBody1455328365438567246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966712123,"filename":"image_04012025_05_57_02_754830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5c7ff292c50d6fe34e006711edea263d.jpg","text":"TemporaryFile(/tmp/multipartBody8468400551863334791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966712123,"filename":"image_04012025_05_57_02_754830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a7277f830c86d55a1e7d5488359bd970.jpg","text":"TemporaryFile(/tmp/multipartBody5748398998790228140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966712123,"filename":"image_04012025_05_57_02_754830_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326324431","file1":"1326324283","file0":"1326324164","file3":"1326324434"},"map_files_photo_id_array":[{"photo_id":"1326324431","filename":"file2"},{"photo_id":"1326324283","filename":"file1"},{"photo_id":"1326324164","filename":"file0"},{"photo_id":"1326324434","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326324164":["hashtag1","hashtag2"]},{"1326324431":["hashtag1","hashtag2"]},{"1326324434":["hashtag1","hashtag2"]},{"1326324283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326324164, 1326324431, 1326324434, 1326324283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74602150917053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 05:59:02.957915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 05:59:22.575599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/57/image_04012025_05_57_02_754830_0003.jpg', '/home/pi/Desktop/images/04012025/05/58/image_04012025_05_58_02_341751_0000.jpg', '/home/pi/Desktop/images/04012025/05/58/image_04012025_05_58_02_341751_0001.jpg', '/home/pi/Desktop/images/04012025/05/58/image_04012025_05_58_02_341751_0002.jpg', '/home/pi/Desktop/images/04012025/05/58/image_04012025_05_58_02_341751_0003.jpg', '/home/pi/Desktop/images/04012025/05/59/image_04012025_05_59_02_801306_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/57/image_04012025_05_57_02_754830_0003.jpg
/home/pi/Desktop/images/04012025/05/58/image_04012025_05_58_02_341751_0000.jpg
/home/pi/Desktop/images/04012025/05/58/image_04012025_05_58_02_341751_0001.jpg
/home/pi/Desktop/images/04012025/05/58/image_04012025_05_58_02_341751_0002.jpg
/home/pi/Desktop/images/04012025/05/58/image_04012025_05_58_02_341751_0003.jpg
/home/pi/Desktop/images/04012025/05/59/image_04012025_05_59_02_801306_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326325466","1326325256","1326325463","1326325093","1326325510","1326325513"],"photo_ids_order":["1326325093","1326325256","1326325463","1326325466","1326325510","1326325513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cddf894cde000733dd5981465664bdbe.jpg","text":"TemporaryFile(/tmp/multipartBody8037505536898204547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966837619,"filename":"image_04012025_05_58_02_341751_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2f08ed602892ec943af76c011c747e79.jpg","text":"TemporaryFile(/tmp/multipartBody7765150232070657266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966837619,"filename":"image_04012025_05_58_02_341751_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c28ec1eb97f9516228a6d20ada0acbc6.jpg","text":"TemporaryFile(/tmp/multipartBody3340478138430150455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966837619,"filename":"image_04012025_05_58_02_341751_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4e90e33957b1ab97184c67c736c3008c.jpg","text":"TemporaryFile(/tmp/multipartBody3251563067499534628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966837619,"filename":"image_04012025_05_57_02_754830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2b5dd73246241d8928a1751a8da1c4ee.jpg","text":"TemporaryFile(/tmp/multipartBody1530548619916187211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966837619,"filename":"image_04012025_05_58_02_341751_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d49a2371e4f592656aeeb46c290acc66.jpg","text":"TemporaryFile(/tmp/multipartBody8200982183775246899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966837619,"filename":"image_04012025_05_59_02_801306_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326325463","file1":"1326325256","file0":"1326325093","file4":"1326325510","file5":"1326325513","file3":"1326325466"},"map_files_photo_id_array":[{"photo_id":"1326325513","filename":"file5"},{"photo_id":"1326325463","filename":"file2"},{"photo_id":"1326325510","filename":"file4"},{"photo_id":"1326325256","filename":"file1"},{"photo_id":"1326325093","filename":"file0"},{"photo_id":"1326325466","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326325466":["hashtag1","hashtag2"]},{"1326325256":["hashtag1","hashtag2"]},{"1326325463":["hashtag1","hashtag2"]},{"1326325093":["hashtag1","hashtag2"]},{"1326325510":["hashtag1","hashtag2"]},{"1326325513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326325466, 1326325256, 1326325463, 1326325093, 1326325510, 1326325513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.93436145782471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:00:22.223864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/05/59/image_04012025_05_59_02_801306_0001.jpg', '/home/pi/Desktop/images/04012025/05/59/image_04012025_05_59_02_801306_0002.jpg', '/home/pi/Desktop/images/04012025/05/59/image_04012025_05_59_02_801306_0003.jpg', '/home/pi/Desktop/images/04012025/06/00/image_04012025_06_00_03_082934_0000.jpg', '/home/pi/Desktop/images/04012025/06/00/image_04012025_06_00_03_082934_0001.jpg', '/home/pi/Desktop/images/04012025/06/00/image_04012025_06_00_03_082934_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/05/59/image_04012025_05_59_02_801306_0001.jpg
/home/pi/Desktop/images/04012025/05/59/image_04012025_05_59_02_801306_0002.jpg
/home/pi/Desktop/images/04012025/05/59/image_04012025_05_59_02_801306_0003.jpg
/home/pi/Desktop/images/04012025/06/00/image_04012025_06_00_03_082934_0000.jpg
/home/pi/Desktop/images/04012025/06/00/image_04012025_06_00_03_082934_0001.jpg
/home/pi/Desktop/images/04012025/06/00/image_04012025_06_00_03_082934_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326326003","1326326006","1326326008","1326325974","1326325857","1326326001"],"photo_ids_order":["1326325857","1326325974","1326326001","1326326003","1326326006","1326326008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/31ecbbae49a20e6df325c5f7934de00f.jpg","text":"TemporaryFile(/tmp/multipartBody5635166621626544629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966897353,"filename":"image_04012025_06_00_03_082934_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e56747b2dd9e101c8421ad41e7678dd4.jpg","text":"TemporaryFile(/tmp/multipartBody4053542578810635058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966897353,"filename":"image_04012025_06_00_03_082934_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1ab12eef01ccb76a94aca8d75e5b8b90.jpg","text":"TemporaryFile(/tmp/multipartBody4820465623167604754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966897353,"filename":"image_04012025_06_00_03_082934_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4028e615365c11f1bd9729b706a790ef.jpg","text":"TemporaryFile(/tmp/multipartBody7108494124158907274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966897353,"filename":"image_04012025_05_59_02_801306_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0203ded61460e30645aa97c23bff18df.jpg","text":"TemporaryFile(/tmp/multipartBody7086854655523446846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966897353,"filename":"image_04012025_05_59_02_801306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6184ec1371ff32c187e6a994ac4e55d3.jpg","text":"TemporaryFile(/tmp/multipartBody3185782069444232590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966897353,"filename":"image_04012025_05_59_02_801306_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326326001","file1":"1326325974","file0":"1326325857","file4":"1326326006","file5":"1326326008","file3":"1326326003"},"map_files_photo_id_array":[{"photo_id":"1326326008","filename":"file5"},{"photo_id":"1326326001","filename":"file2"},{"photo_id":"1326326006","filename":"file4"},{"photo_id":"1326325974","filename":"file1"},{"photo_id":"1326325857","filename":"file0"},{"photo_id":"1326326003","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326326003":["hashtag1","hashtag2"]},{"1326326006":["hashtag1","hashtag2"]},{"1326326008":["hashtag1","hashtag2"]},{"1326325974":["hashtag1","hashtag2"]},{"1326325857":["hashtag1","hashtag2"]},{"1326326001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326326003, 1326326006, 1326326008, 1326325974, 1326325857, 1326326001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.396878719329834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:01:22.664188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/00/image_04012025_06_00_03_082934_0003.jpg', '/home/pi/Desktop/images/04012025/06/01/image_04012025_06_01_02_568302_0000.jpg', '/home/pi/Desktop/images/04012025/06/01/image_04012025_06_01_02_568302_0001.jpg', '/home/pi/Desktop/images/04012025/06/01/image_04012025_06_01_02_568302_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/00/image_04012025_06_00_03_082934_0003.jpg
/home/pi/Desktop/images/04012025/06/01/image_04012025_06_01_02_568302_0000.jpg
/home/pi/Desktop/images/04012025/06/01/image_04012025_06_01_02_568302_0001.jpg
/home/pi/Desktop/images/04012025/06/01/image_04012025_06_01_02_568302_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326326156","1326326152","1326326149","1326326160"],"photo_ids_order":["1326326149","1326326152","1326326156","1326326160"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1e665dae2bc7ba10341da7242c30b67b.jpg","text":"TemporaryFile(/tmp/multipartBody2355459382204976305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966953034,"filename":"image_04012025_06_01_02_568302_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d8864e89b1f24ed05a3c4e9e74f12bfe.jpg","text":"TemporaryFile(/tmp/multipartBody4970367718871797750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966953034,"filename":"image_04012025_06_01_02_568302_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed4067d22049add777f188a0e91a69a4.jpg","text":"TemporaryFile(/tmp/multipartBody6175071926110572216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966953034,"filename":"image_04012025_06_00_03_082934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d234944484451f94a0601831f75b611.jpg","text":"TemporaryFile(/tmp/multipartBody4970979572381867353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735966953034,"filename":"image_04012025_06_01_02_568302_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326326156","file1":"1326326152","file0":"1326326149","file3":"1326326160"},"map_files_photo_id_array":[{"photo_id":"1326326156","filename":"file2"},{"photo_id":"1326326152","filename":"file1"},{"photo_id":"1326326149","filename":"file0"},{"photo_id":"1326326160","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326326156":["hashtag1","hashtag2"]},{"1326326152":["hashtag1","hashtag2"]},{"1326326149":["hashtag1","hashtag2"]},{"1326326160":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326326156, 1326326152, 1326326149, 1326326160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64675760269165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:02:02.588800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:02:22.155808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/01/image_04012025_06_01_02_568302_0003.jpg', '/home/pi/Desktop/images/04012025/06/02/image_04012025_06_02_03_073361_0000.jpg', '/home/pi/Desktop/images/04012025/06/02/image_04012025_06_02_03_073361_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/01/image_04012025_06_01_02_568302_0003.jpg
/home/pi/Desktop/images/04012025/06/02/image_04012025_06_02_03_073361_0000.jpg
/home/pi/Desktop/images/04012025/06/02/image_04012025_06_02_03_073361_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326326674","1326326755","1326326859"],"photo_ids_order":["1326326674","1326326755","1326326859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a3314754d98d576c3dd3318c7cb865a8.jpg","text":"TemporaryFile(/tmp/multipartBody8790642782426045992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967010027,"filename":"image_04012025_06_01_02_568302_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6136016818f5e2df0bd47e20b5b685e1.jpg","text":"TemporaryFile(/tmp/multipartBody7039526876163366544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967010027,"filename":"image_04012025_06_02_03_073361_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d4d58401f0e1cbd0979700b324f96eed.jpg","text":"TemporaryFile(/tmp/multipartBody8411781952028650111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967010027,"filename":"image_04012025_06_02_03_073361_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326326859","file1":"1326326755","file0":"1326326674"},"map_files_photo_id_array":[{"photo_id":"1326326859","filename":"file2"},{"photo_id":"1326326755","filename":"file1"},{"photo_id":"1326326674","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326326674":["hashtag1","hashtag2"]},{"1326326755":["hashtag1","hashtag2"]},{"1326326859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326326674, 1326326755, 1326326859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.89101529121399 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:03:03.242932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:03:22.654148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/02/image_04012025_06_02_03_073361_0002.jpg', '/home/pi/Desktop/images/04012025/06/03/image_04012025_06_03_02_506574_0000.jpg', '/home/pi/Desktop/images/04012025/06/03/image_04012025_06_03_02_506574_0001.jpg', '/home/pi/Desktop/images/04012025/06/03/image_04012025_06_03_02_506574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/02/image_04012025_06_02_03_073361_0002.jpg
/home/pi/Desktop/images/04012025/06/03/image_04012025_06_03_02_506574_0000.jpg
/home/pi/Desktop/images/04012025/06/03/image_04012025_06_03_02_506574_0001.jpg
/home/pi/Desktop/images/04012025/06/03/image_04012025_06_03_02_506574_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326326981","1326326984","1326326978","1326326987"],"photo_ids_order":["1326326978","1326326981","1326326984","1326326987"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f8accb37c2cfec3b8d8704a7721806a9.jpg","text":"TemporaryFile(/tmp/multipartBody1781278767315055821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967072975,"filename":"image_04012025_06_03_02_506574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1034759a9f7ed763cd40b28bc68d5bc4.jpg","text":"TemporaryFile(/tmp/multipartBody5086381370100010142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967072975,"filename":"image_04012025_06_03_02_506574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/05bee321a885c2e304ae69690067c9d8.jpg","text":"TemporaryFile(/tmp/multipartBody4659322613479476045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967072975,"filename":"image_04012025_06_02_03_073361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0e4622f6d80c66c6a233d3706cd7db32.jpg","text":"TemporaryFile(/tmp/multipartBody6907215852965629480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967072975,"filename":"image_04012025_06_03_02_506574_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326326984","file1":"1326326981","file0":"1326326978","file3":"1326326987"},"map_files_photo_id_array":[{"photo_id":"1326326984","filename":"file2"},{"photo_id":"1326326981","filename":"file1"},{"photo_id":"1326326978","filename":"file0"},{"photo_id":"1326326987","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326326981":["hashtag1","hashtag2"]},{"1326326984":["hashtag1","hashtag2"]},{"1326326978":["hashtag1","hashtag2"]},{"1326326987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326326981, 1326326984, 1326326978, 1326326987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81828570365906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:04:02.764615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:04:22.269095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/03/image_04012025_06_03_02_506574_0003.jpg', '/home/pi/Desktop/images/04012025/06/04/image_04012025_06_04_03_011200_0000.jpg', '/home/pi/Desktop/images/04012025/06/04/image_04012025_06_04_03_011200_0001.jpg', '/home/pi/Desktop/images/04012025/06/04/image_04012025_06_04_03_011200_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/03/image_04012025_06_03_02_506574_0003.jpg
/home/pi/Desktop/images/04012025/06/04/image_04012025_06_04_03_011200_0000.jpg
/home/pi/Desktop/images/04012025/06/04/image_04012025_06_04_03_011200_0001.jpg
/home/pi/Desktop/images/04012025/06/04/image_04012025_06_04_03_011200_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326327397","1326327394","1326327619","1326327497"],"photo_ids_order":["1326327394","1326327397","1326327497","1326327619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/879f7cf39013d72d1a2b3bd0c0fd75e4.jpg","text":"TemporaryFile(/tmp/multipartBody3034429803305145003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967132689,"filename":"image_04012025_06_04_03_011200_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4585cce11ca3181d68a5dc313a9716cf.jpg","text":"TemporaryFile(/tmp/multipartBody2848649439088434726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967132689,"filename":"image_04012025_06_03_02_506574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b3eb6513c0132d37665316509132ebf8.jpg","text":"TemporaryFile(/tmp/multipartBody5668699495812864395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967132689,"filename":"image_04012025_06_04_03_011200_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e81bc7b485cc6a1a248fa8c3c5215bec.jpg","text":"TemporaryFile(/tmp/multipartBody4416635879636483437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967132689,"filename":"image_04012025_06_04_03_011200_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326327497","file1":"1326327397","file0":"1326327394","file3":"1326327619"},"map_files_photo_id_array":[{"photo_id":"1326327497","filename":"file2"},{"photo_id":"1326327397","filename":"file1"},{"photo_id":"1326327394","filename":"file0"},{"photo_id":"1326327619","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326327397":["hashtag1","hashtag2"]},{"1326327394":["hashtag1","hashtag2"]},{"1326327619":["hashtag1","hashtag2"]},{"1326327497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326327397, 1326327394, 1326327619, 1326327497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.236727237701416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:05:21.725203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/04/image_04012025_06_04_03_011200_0003.jpg', '/home/pi/Desktop/images/04012025/06/05/image_04012025_06_05_02_647919_0000.jpg', '/home/pi/Desktop/images/04012025/06/05/image_04012025_06_05_02_647919_0001.jpg', '/home/pi/Desktop/images/04012025/06/05/image_04012025_06_05_02_647919_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/04/image_04012025_06_04_03_011200_0003.jpg
/home/pi/Desktop/images/04012025/06/05/image_04012025_06_05_02_647919_0000.jpg
/home/pi/Desktop/images/04012025/06/05/image_04012025_06_05_02_647919_0001.jpg
/home/pi/Desktop/images/04012025/06/05/image_04012025_06_05_02_647919_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326328459","1326328453","1326328328","1326328456"],"photo_ids_order":["1326328328","1326328453","1326328456","1326328459"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/98e360f0a9fbcc40669bcf18d5109810.jpg","text":"TemporaryFile(/tmp/multipartBody3485076458310708579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967191844,"filename":"image_04012025_06_05_02_647919_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/700e6f6009ebc5982d7f32fd0a40304a.jpg","text":"TemporaryFile(/tmp/multipartBody1490656061099054107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967191844,"filename":"image_04012025_06_05_02_647919_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f13ab421d1c3bd379d7bf240a23c0731.jpg","text":"TemporaryFile(/tmp/multipartBody326387141442178532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967191844,"filename":"image_04012025_06_04_03_011200_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c46c3e3cb52e290c3d68c5f2fb738cd8.jpg","text":"TemporaryFile(/tmp/multipartBody8127031671203165081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967191844,"filename":"image_04012025_06_05_02_647919_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326328456","file1":"1326328453","file0":"1326328328","file3":"1326328459"},"map_files_photo_id_array":[{"photo_id":"1326328456","filename":"file2"},{"photo_id":"1326328453","filename":"file1"},{"photo_id":"1326328328","filename":"file0"},{"photo_id":"1326328459","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326328459":["hashtag1","hashtag2"]},{"1326328453":["hashtag1","hashtag2"]},{"1326328328":["hashtag1","hashtag2"]},{"1326328456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326328459, 1326328453, 1326328328, 1326328456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.8541054725647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:06:02.720906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:06:22.328481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/05/image_04012025_06_05_02_647919_0003.jpg', '/home/pi/Desktop/images/04012025/06/06/image_04012025_06_06_02_221392_0000.jpg', '/home/pi/Desktop/images/04012025/06/06/image_04012025_06_06_02_221392_0001.jpg', '/home/pi/Desktop/images/04012025/06/06/image_04012025_06_06_02_221392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/05/image_04012025_06_05_02_647919_0003.jpg
/home/pi/Desktop/images/04012025/06/06/image_04012025_06_06_02_221392_0000.jpg
/home/pi/Desktop/images/04012025/06/06/image_04012025_06_06_02_221392_0001.jpg
/home/pi/Desktop/images/04012025/06/06/image_04012025_06_06_02_221392_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.811017513275146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:07:02.413387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/05/image_04012025_06_05_02_647919_0003.jpg', '/home/pi/Desktop/images/04012025/06/06/image_04012025_06_06_02_221392_0000.jpg', '/home/pi/Desktop/images/04012025/06/06/image_04012025_06_06_02_221392_0001.jpg', '/home/pi/Desktop/images/04012025/06/06/image_04012025_06_06_02_221392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/05/image_04012025_06_05_02_647919_0003.jpg
/home/pi/Desktop/images/04012025/06/06/image_04012025_06_06_02_221392_0000.jpg
/home/pi/Desktop/images/04012025/06/06/image_04012025_06_06_02_221392_0001.jpg
/home/pi/Desktop/images/04012025/06/06/image_04012025_06_06_02_221392_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326328886","1326328910","1326328847","1326328888"],"photo_ids_order":["1326328847","1326328886","1326328888","1326328910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28e7175c7363f5b151c4743f7ba227c5.jpg","text":"TemporaryFile(/tmp/multipartBody6154963387559000593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967292715,"filename":"image_04012025_06_06_02_221392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/20e1e094528dd5e0b65f51e0c83fc673.jpg","text":"TemporaryFile(/tmp/multipartBody5985050693679300923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967292715,"filename":"image_04012025_06_06_02_221392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/44311958295382a0775adb1132a6f746.jpg","text":"TemporaryFile(/tmp/multipartBody857054022236124596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967292715,"filename":"image_04012025_06_05_02_647919_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2ac4d60c7be9a08a6c6318826fc8525b.jpg","text":"TemporaryFile(/tmp/multipartBody829273433177072910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967292715,"filename":"image_04012025_06_06_02_221392_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326328888","file1":"1326328886","file0":"1326328847","file3":"1326328910"},"map_files_photo_id_array":[{"photo_id":"1326328888","filename":"file2"},{"photo_id":"1326328886","filename":"file1"},{"photo_id":"1326328847","filename":"file0"},{"photo_id":"1326328910","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326328886":["hashtag1","hashtag2"]},{"1326328910":["hashtag1","hashtag2"]},{"1326328847":["hashtag1","hashtag2"]},{"1326328888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326328886, 1326328910, 1326328847, 1326328888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21326470375061 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:08:02.983876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/06/image_04012025_06_06_02_221392_0003.jpg', '/home/pi/Desktop/images/04012025/06/07/image_04012025_06_07_02_799022_0000.jpg', '/home/pi/Desktop/images/04012025/06/07/image_04012025_06_07_02_799022_0001.jpg', '/home/pi/Desktop/images/04012025/06/07/image_04012025_06_07_02_799022_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/06/image_04012025_06_06_02_221392_0003.jpg
/home/pi/Desktop/images/04012025/06/07/image_04012025_06_07_02_799022_0000.jpg
/home/pi/Desktop/images/04012025/06/07/image_04012025_06_07_02_799022_0001.jpg
/home/pi/Desktop/images/04012025/06/07/image_04012025_06_07_02_799022_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.935036897659302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:08:22.608397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/06/image_04012025_06_06_02_221392_0003.jpg', '/home/pi/Desktop/images/04012025/06/07/image_04012025_06_07_02_799022_0000.jpg', '/home/pi/Desktop/images/04012025/06/07/image_04012025_06_07_02_799022_0001.jpg', '/home/pi/Desktop/images/04012025/06/07/image_04012025_06_07_02_799022_0002.jpg', '/home/pi/Desktop/images/04012025/06/07/image_04012025_06_07_02_799022_0003.jpg', '/home/pi/Desktop/images/04012025/06/08/image_04012025_06_08_02_381565_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/06/image_04012025_06_06_02_221392_0003.jpg
/home/pi/Desktop/images/04012025/06/07/image_04012025_06_07_02_799022_0000.jpg
/home/pi/Desktop/images/04012025/06/07/image_04012025_06_07_02_799022_0001.jpg
/home/pi/Desktop/images/04012025/06/07/image_04012025_06_07_02_799022_0002.jpg
/home/pi/Desktop/images/04012025/06/07/image_04012025_06_07_02_799022_0003.jpg
/home/pi/Desktop/images/04012025/06/08/image_04012025_06_08_02_381565_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326329142","1326329136","1326329139","1326329133","1326329106","1326329161"],"photo_ids_order":["1326329106","1326329133","1326329136","1326329139","1326329142","1326329161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cdda3036ed8eb720a918a5d296f38769.jpg","text":"TemporaryFile(/tmp/multipartBody1948577964111617154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967377723,"filename":"image_04012025_06_07_02_799022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d5bb745b82720f820b8d6a80cea99a87.jpg","text":"TemporaryFile(/tmp/multipartBody2524370777136626225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967377723,"filename":"image_04012025_06_07_02_799022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49d82f093dc1bb71bb1d0c35d8c4f2c8.jpg","text":"TemporaryFile(/tmp/multipartBody6972676081038277539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967377723,"filename":"image_04012025_06_07_02_799022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/02eef0db48bc2613e47ba490c0a739c9.jpg","text":"TemporaryFile(/tmp/multipartBody6027401353294629036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967377723,"filename":"image_04012025_06_07_02_799022_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0e3b9d02864cfe79ba768de02f3201f5.jpg","text":"TemporaryFile(/tmp/multipartBody6725517819495259792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967377723,"filename":"image_04012025_06_06_02_221392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ea43e0e16b5baa99bda8c75f924844eb.jpg","text":"TemporaryFile(/tmp/multipartBody2469902456417371289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967377723,"filename":"image_04012025_06_08_02_381565_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326329136","file1":"1326329133","file0":"1326329106","file4":"1326329142","file5":"1326329161","file3":"1326329139"},"map_files_photo_id_array":[{"photo_id":"1326329161","filename":"file5"},{"photo_id":"1326329136","filename":"file2"},{"photo_id":"1326329142","filename":"file4"},{"photo_id":"1326329133","filename":"file1"},{"photo_id":"1326329106","filename":"file0"},{"photo_id":"1326329139","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326329142":["hashtag1","hashtag2"]},{"1326329136":["hashtag1","hashtag2"]},{"1326329139":["hashtag1","hashtag2"]},{"1326329133":["hashtag1","hashtag2"]},{"1326329106":["hashtag1","hashtag2"]},{"1326329161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326329142, 1326329136, 1326329139, 1326329133, 1326329106, 1326329161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.253936529159546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:09:22.119650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/08/image_04012025_06_08_02_381565_0001.jpg', '/home/pi/Desktop/images/04012025/06/08/image_04012025_06_08_02_381565_0002.jpg', '/home/pi/Desktop/images/04012025/06/08/image_04012025_06_08_02_381565_0003.jpg', '/home/pi/Desktop/images/04012025/06/09/image_04012025_06_09_03_028307_0000.jpg', '/home/pi/Desktop/images/04012025/06/09/image_04012025_06_09_03_028307_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/08/image_04012025_06_08_02_381565_0001.jpg
/home/pi/Desktop/images/04012025/06/08/image_04012025_06_08_02_381565_0002.jpg
/home/pi/Desktop/images/04012025/06/08/image_04012025_06_08_02_381565_0003.jpg
/home/pi/Desktop/images/04012025/06/09/image_04012025_06_09_03_028307_0000.jpg
/home/pi/Desktop/images/04012025/06/09/image_04012025_06_09_03_028307_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326329527","1326329478","1326329502","1326329492","1326329516"],"photo_ids_order":["1326329478","1326329492","1326329502","1326329516","1326329527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1400028b39cabfc46ee58a0d0fc9c9a1.jpg","text":"TemporaryFile(/tmp/multipartBody8295885838884282357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967434660,"filename":"image_04012025_06_09_03_028307_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b7966da762927d3eab2471f8dcdaa77b.jpg","text":"TemporaryFile(/tmp/multipartBody1721111298144305573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967434660,"filename":"image_04012025_06_08_02_381565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9c3cebf7ba6ae7773c137e497a8f7bfb.jpg","text":"TemporaryFile(/tmp/multipartBody8180847931553173176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967434660,"filename":"image_04012025_06_08_02_381565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d9962b881eaf7b04a0d0465a3243039c.jpg","text":"TemporaryFile(/tmp/multipartBody8658725926855027925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967434660,"filename":"image_04012025_06_08_02_381565_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/67ac93afaf39ed0c1fddcc9139514ed0.jpg","text":"TemporaryFile(/tmp/multipartBody3731005908554626520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967434660,"filename":"image_04012025_06_09_03_028307_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326329502","file1":"1326329492","file0":"1326329478","file4":"1326329527","file3":"1326329516"},"map_files_photo_id_array":[{"photo_id":"1326329502","filename":"file2"},{"photo_id":"1326329527","filename":"file4"},{"photo_id":"1326329492","filename":"file1"},{"photo_id":"1326329478","filename":"file0"},{"photo_id":"1326329516","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326329527":["hashtag1","hashtag2"]},{"1326329478":["hashtag1","hashtag2"]},{"1326329502":["hashtag1","hashtag2"]},{"1326329492":["hashtag1","hashtag2"]},{"1326329516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326329527, 1326329478, 1326329502, 1326329492, 1326329516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.77498745918274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:10:21.889947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/09/image_04012025_06_09_03_028307_0003.jpg', '/home/pi/Desktop/images/04012025/06/10/image_04012025_06_10_02_539598_0000.jpg', '/home/pi/Desktop/images/04012025/06/10/image_04012025_06_10_02_539598_0001.jpg', '/home/pi/Desktop/images/04012025/06/10/image_04012025_06_10_02_539598_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/09/image_04012025_06_09_03_028307_0003.jpg
/home/pi/Desktop/images/04012025/06/10/image_04012025_06_10_02_539598_0000.jpg
/home/pi/Desktop/images/04012025/06/10/image_04012025_06_10_02_539598_0001.jpg
/home/pi/Desktop/images/04012025/06/10/image_04012025_06_10_02_539598_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326330297","1326330100","1326329876","1326330347"],"photo_ids_order":["1326329876","1326330100","1326330297","1326330347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/61e4079278bab9b8bd534f2ec0a7a271.jpg","text":"TemporaryFile(/tmp/multipartBody550099089587565968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967491974,"filename":"image_04012025_06_10_02_539598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fb2c0f550512b4bc036fdbae9cd00ad4.jpg","text":"TemporaryFile(/tmp/multipartBody1718604519817620479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967491974,"filename":"image_04012025_06_10_02_539598_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/894125e4691e2285d4dad98923563b40.jpg","text":"TemporaryFile(/tmp/multipartBody3686199404052759685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967491974,"filename":"image_04012025_06_09_03_028307_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/799fdf363063af87bb04c0d9df08f33c.jpg","text":"TemporaryFile(/tmp/multipartBody1861021990807025172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967491974,"filename":"image_04012025_06_10_02_539598_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326330297","file1":"1326330100","file0":"1326329876","file3":"1326330347"},"map_files_photo_id_array":[{"photo_id":"1326330297","filename":"file2"},{"photo_id":"1326330100","filename":"file1"},{"photo_id":"1326329876","filename":"file0"},{"photo_id":"1326330347","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326330297":["hashtag1","hashtag2"]},{"1326330100":["hashtag1","hashtag2"]},{"1326329876":["hashtag1","hashtag2"]},{"1326330347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326330297, 1326330100, 1326329876, 1326330347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.456045150756836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:11:22.441274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/10/image_04012025_06_10_02_539598_0003.jpg', '/home/pi/Desktop/images/04012025/06/11/image_04012025_06_11_02_312384_0000.jpg', '/home/pi/Desktop/images/04012025/06/11/image_04012025_06_11_02_312384_0001.jpg', '/home/pi/Desktop/images/04012025/06/11/image_04012025_06_11_02_312384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/10/image_04012025_06_10_02_539598_0003.jpg
/home/pi/Desktop/images/04012025/06/11/image_04012025_06_11_02_312384_0000.jpg
/home/pi/Desktop/images/04012025/06/11/image_04012025_06_11_02_312384_0001.jpg
/home/pi/Desktop/images/04012025/06/11/image_04012025_06_11_02_312384_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326330826","1326330839","1326330689","1326330551"],"photo_ids_order":["1326330551","1326330689","1326330826","1326330839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/940cb3641faf8c0d3dfedd2ed7022779.jpg","text":"TemporaryFile(/tmp/multipartBody5008308085688463512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967552717,"filename":"image_04012025_06_11_02_312384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a82968b7d80c3e654291a3a3877a90ba.jpg","text":"TemporaryFile(/tmp/multipartBody8964682459866609257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967552717,"filename":"image_04012025_06_11_02_312384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/61373739e151f1e6d00feaa41bb93310.jpg","text":"TemporaryFile(/tmp/multipartBody3775650420727248248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967552717,"filename":"image_04012025_06_11_02_312384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a3e24bbff01bd4e9ec6c5990fa853c99.jpg","text":"TemporaryFile(/tmp/multipartBody1470111379626354313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967552717,"filename":"image_04012025_06_10_02_539598_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326330826","file1":"1326330689","file0":"1326330551","file3":"1326330839"},"map_files_photo_id_array":[{"photo_id":"1326330826","filename":"file2"},{"photo_id":"1326330689","filename":"file1"},{"photo_id":"1326330551","filename":"file0"},{"photo_id":"1326330839","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326330826":["hashtag1","hashtag2"]},{"1326330839":["hashtag1","hashtag2"]},{"1326330689":["hashtag1","hashtag2"]},{"1326330551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326330826, 1326330839, 1326330689, 1326330551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.695767641067505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:12:02.433047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:12:21.925742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/11/image_04012025_06_11_02_312384_0003.jpg', '/home/pi/Desktop/images/04012025/06/12/image_04012025_06_12_02_834248_0001.jpg', '/home/pi/Desktop/images/04012025/06/12/image_04012025_06_12_02_834248_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/11/image_04012025_06_11_02_312384_0003.jpg
/home/pi/Desktop/images/04012025/06/12/image_04012025_06_12_02_834248_0001.jpg
/home/pi/Desktop/images/04012025/06/12/image_04012025_06_12_02_834248_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.390402317047119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:13:03.114112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/11/image_04012025_06_11_02_312384_0003.jpg', '/home/pi/Desktop/images/04012025/06/12/image_04012025_06_12_02_834248_0001.jpg', '/home/pi/Desktop/images/04012025/06/12/image_04012025_06_12_02_834248_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/11/image_04012025_06_11_02_312384_0003.jpg
/home/pi/Desktop/images/04012025/06/12/image_04012025_06_12_02_834248_0001.jpg
/home/pi/Desktop/images/04012025/06/12/image_04012025_06_12_02_834248_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326331126","1326331124","1326331123"],"photo_ids_order":["1326331123","1326331124","1326331126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f57e76c32328d4ffd0aaaebda90dfde7.jpg","text":"TemporaryFile(/tmp/multipartBody4910816259554398264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967650945,"filename":"image_04012025_06_12_02_834248_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7619aefc13451c07894a80c5f9faa459.jpg","text":"TemporaryFile(/tmp/multipartBody2022401961542795015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967650945,"filename":"image_04012025_06_12_02_834248_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/354207fd8e65e7b4b8fa67665cc8120a.jpg","text":"TemporaryFile(/tmp/multipartBody9020163585962605317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967650945,"filename":"image_04012025_06_11_02_312384_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326331126","file1":"1326331124","file0":"1326331123"},"map_files_photo_id_array":[{"photo_id":"1326331126","filename":"file2"},{"photo_id":"1326331124","filename":"file1"},{"photo_id":"1326331123","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326331126":["hashtag1","hashtag2"]},{"1326331124":["hashtag1","hashtag2"]},{"1326331123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326331126, 1326331124, 1326331123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.97375774383545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:14:02.502888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/12/image_04012025_06_12_02_834248_0003.jpg', '/home/pi/Desktop/images/04012025/06/13/image_04012025_06_13_02_388712_0000.jpg', '/home/pi/Desktop/images/04012025/06/13/image_04012025_06_13_02_388712_0001.jpg', '/home/pi/Desktop/images/04012025/06/13/image_04012025_06_13_02_388712_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/12/image_04012025_06_12_02_834248_0003.jpg
/home/pi/Desktop/images/04012025/06/13/image_04012025_06_13_02_388712_0000.jpg
/home/pi/Desktop/images/04012025/06/13/image_04012025_06_13_02_388712_0001.jpg
/home/pi/Desktop/images/04012025/06/13/image_04012025_06_13_02_388712_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.979495286941528 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:14:22.154123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/12/image_04012025_06_12_02_834248_0003.jpg', '/home/pi/Desktop/images/04012025/06/13/image_04012025_06_13_02_388712_0000.jpg', '/home/pi/Desktop/images/04012025/06/13/image_04012025_06_13_02_388712_0001.jpg', '/home/pi/Desktop/images/04012025/06/13/image_04012025_06_13_02_388712_0002.jpg', '/home/pi/Desktop/images/04012025/06/13/image_04012025_06_13_02_388712_0003.jpg', '/home/pi/Desktop/images/04012025/06/14/image_04012025_06_14_02_876802_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/12/image_04012025_06_12_02_834248_0003.jpg
/home/pi/Desktop/images/04012025/06/13/image_04012025_06_13_02_388712_0000.jpg
/home/pi/Desktop/images/04012025/06/13/image_04012025_06_13_02_388712_0001.jpg
/home/pi/Desktop/images/04012025/06/13/image_04012025_06_13_02_388712_0002.jpg
/home/pi/Desktop/images/04012025/06/13/image_04012025_06_13_02_388712_0003.jpg
/home/pi/Desktop/images/04012025/06/14/image_04012025_06_14_02_876802_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326331983","1326331956","1326331620","1326331809","1326331994","1326331992"],"photo_ids_order":["1326331620","1326331809","1326331956","1326331983","1326331992","1326331994"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/60204141a27e85ea6c17b46580d02a59.jpg","text":"TemporaryFile(/tmp/multipartBody1283921653176168352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967737347,"filename":"image_04012025_06_13_02_388712_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5b2222ad62c297f33ec185b6573f22da.jpg","text":"TemporaryFile(/tmp/multipartBody8510803277220503267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967737347,"filename":"image_04012025_06_13_02_388712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/32d4febb748381950c81ec951e25abbd.jpg","text":"TemporaryFile(/tmp/multipartBody525727795195927725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967737347,"filename":"image_04012025_06_12_02_834248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4d11a5eebb717fd8d2e01850017cc06f.jpg","text":"TemporaryFile(/tmp/multipartBody1355014794147060501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967737347,"filename":"image_04012025_06_13_02_388712_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed9b449e6abc76d7d366bcbe77bbbe99.jpg","text":"TemporaryFile(/tmp/multipartBody5545067477561287089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967737347,"filename":"image_04012025_06_14_02_876802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/234b79e42350f530173cfd60a5ab1c8e.jpg","text":"TemporaryFile(/tmp/multipartBody7080255761897196949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967737347,"filename":"image_04012025_06_13_02_388712_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326331956","file1":"1326331809","file0":"1326331620","file4":"1326331992","file5":"1326331994","file3":"1326331983"},"map_files_photo_id_array":[{"photo_id":"1326331994","filename":"file5"},{"photo_id":"1326331956","filename":"file2"},{"photo_id":"1326331992","filename":"file4"},{"photo_id":"1326331809","filename":"file1"},{"photo_id":"1326331620","filename":"file0"},{"photo_id":"1326331983","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326331983":["hashtag1","hashtag2"]},{"1326331956":["hashtag1","hashtag2"]},{"1326331620":["hashtag1","hashtag2"]},{"1326331809":["hashtag1","hashtag2"]},{"1326331994":["hashtag1","hashtag2"]},{"1326331992":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326331983, 1326331956, 1326331620, 1326331809, 1326331994, 1326331992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.435001373291016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:15:22.727753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/14/image_04012025_06_14_02_876802_0001.jpg', '/home/pi/Desktop/images/04012025/06/14/image_04012025_06_14_02_876802_0003.jpg', '/home/pi/Desktop/images/04012025/06/15/image_04012025_06_15_02_549524_0000.jpg', '/home/pi/Desktop/images/04012025/06/15/image_04012025_06_15_02_549524_0001.jpg', '/home/pi/Desktop/images/04012025/06/15/image_04012025_06_15_02_549524_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/14/image_04012025_06_14_02_876802_0001.jpg
/home/pi/Desktop/images/04012025/06/14/image_04012025_06_14_02_876802_0003.jpg
/home/pi/Desktop/images/04012025/06/15/image_04012025_06_15_02_549524_0000.jpg
/home/pi/Desktop/images/04012025/06/15/image_04012025_06_15_02_549524_0001.jpg
/home/pi/Desktop/images/04012025/06/15/image_04012025_06_15_02_549524_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326332433","1326332477","1326332462","1326332465","1326332472"],"photo_ids_order":["1326332433","1326332462","1326332465","1326332472","1326332477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/54301ec29016c2d188c145a8b1a81838.jpg","text":"TemporaryFile(/tmp/multipartBody5556965736909271993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967795473,"filename":"image_04012025_06_14_02_876802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0a89ce9073af7d380518d944d438265b.jpg","text":"TemporaryFile(/tmp/multipartBody8388736328731490177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967795473,"filename":"image_04012025_06_15_02_549524_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cbcb45d9be6cbf532907e242a9abec59.jpg","text":"TemporaryFile(/tmp/multipartBody4681533601504142591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967795473,"filename":"image_04012025_06_14_02_876802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8c9bb7c507a804c8f9822f91817d6c2d.jpg","text":"TemporaryFile(/tmp/multipartBody22247945916144716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967795473,"filename":"image_04012025_06_15_02_549524_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/997565c9a9927de6747ade3d287a0401.jpg","text":"TemporaryFile(/tmp/multipartBody3021391099808457341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967795473,"filename":"image_04012025_06_15_02_549524_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326332465","file1":"1326332462","file0":"1326332433","file4":"1326332477","file3":"1326332472"},"map_files_photo_id_array":[{"photo_id":"1326332465","filename":"file2"},{"photo_id":"1326332477","filename":"file4"},{"photo_id":"1326332462","filename":"file1"},{"photo_id":"1326332433","filename":"file0"},{"photo_id":"1326332472","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326332433":["hashtag1","hashtag2"]},{"1326332477":["hashtag1","hashtag2"]},{"1326332462":["hashtag1","hashtag2"]},{"1326332465":["hashtag1","hashtag2"]},{"1326332472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326332433, 1326332477, 1326332462, 1326332465, 1326332472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 51.320940017700195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:16:22.198453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/15/image_04012025_06_15_02_549524_0003.jpg', '/home/pi/Desktop/images/04012025/06/16/image_04012025_06_16_03_070961_0000.jpg', '/home/pi/Desktop/images/04012025/06/16/image_04012025_06_16_03_070961_0001.jpg', '/home/pi/Desktop/images/04012025/06/16/image_04012025_06_16_03_070961_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/15/image_04012025_06_15_02_549524_0003.jpg
/home/pi/Desktop/images/04012025/06/16/image_04012025_06_16_03_070961_0000.jpg
/home/pi/Desktop/images/04012025/06/16/image_04012025_06_16_03_070961_0001.jpg
/home/pi/Desktop/images/04012025/06/16/image_04012025_06_16_03_070961_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326332610","1326332614","1326332602","1326332605"],"photo_ids_order":["1326332602","1326332605","1326332610","1326332614"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7de4e326849670eb61dfc88d93a57024.jpg","text":"TemporaryFile(/tmp/multipartBody5278662226235330778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967852759,"filename":"image_04012025_06_16_03_070961_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/24e3532a0bf2b7d883ac716b7afa2fd6.jpg","text":"TemporaryFile(/tmp/multipartBody2396985832202073708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967852759,"filename":"image_04012025_06_16_03_070961_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7963e4d05a27f5b046780399752c1a43.jpg","text":"TemporaryFile(/tmp/multipartBody1445126999739342461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967852759,"filename":"image_04012025_06_15_02_549524_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/338adbb0809411eb80e2feac128765f5.jpg","text":"TemporaryFile(/tmp/multipartBody1133290040380005554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967852759,"filename":"image_04012025_06_16_03_070961_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326332610","file1":"1326332605","file0":"1326332602","file3":"1326332614"},"map_files_photo_id_array":[{"photo_id":"1326332610","filename":"file2"},{"photo_id":"1326332605","filename":"file1"},{"photo_id":"1326332602","filename":"file0"},{"photo_id":"1326332614","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326332610":["hashtag1","hashtag2"]},{"1326332614":["hashtag1","hashtag2"]},{"1326332602":["hashtag1","hashtag2"]},{"1326332605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326332610, 1326332614, 1326332602, 1326332605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.89051032066345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:17:21.771058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/16/image_04012025_06_16_03_070961_0003.jpg', '/home/pi/Desktop/images/04012025/06/17/image_04012025_06_17_02_655217_0000.jpg', '/home/pi/Desktop/images/04012025/06/17/image_04012025_06_17_02_655217_0001.jpg', '/home/pi/Desktop/images/04012025/06/17/image_04012025_06_17_02_655217_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/16/image_04012025_06_16_03_070961_0003.jpg
/home/pi/Desktop/images/04012025/06/17/image_04012025_06_17_02_655217_0000.jpg
/home/pi/Desktop/images/04012025/06/17/image_04012025_06_17_02_655217_0001.jpg
/home/pi/Desktop/images/04012025/06/17/image_04012025_06_17_02_655217_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326333318","1326333121","1326333066","1326333036"],"photo_ids_order":["1326333036","1326333066","1326333121","1326333318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca001c7318483c140d5e26f63c0abe9c.jpg","text":"TemporaryFile(/tmp/multipartBody6174610456263524011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967911994,"filename":"image_04012025_06_17_02_655217_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/abf6813c79d12caf2f731aa999e5c921.jpg","text":"TemporaryFile(/tmp/multipartBody1232271140617363846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967911994,"filename":"image_04012025_06_17_02_655217_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/311c0a3bc36ad118f7f5e9d9e9bc3a7b.jpg","text":"TemporaryFile(/tmp/multipartBody191992225786299948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967911994,"filename":"image_04012025_06_17_02_655217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/06371705240a93a5b830d477a6f393c0.jpg","text":"TemporaryFile(/tmp/multipartBody2415174852272870237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967911994,"filename":"image_04012025_06_16_03_070961_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326333121","file1":"1326333066","file0":"1326333036","file3":"1326333318"},"map_files_photo_id_array":[{"photo_id":"1326333121","filename":"file2"},{"photo_id":"1326333066","filename":"file1"},{"photo_id":"1326333036","filename":"file0"},{"photo_id":"1326333318","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326333318":["hashtag1","hashtag2"]},{"1326333121":["hashtag1","hashtag2"]},{"1326333066":["hashtag1","hashtag2"]},{"1326333036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326333318, 1326333121, 1326333066, 1326333036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17804789543152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:18:02.854498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:18:22.295415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/17/image_04012025_06_17_02_655217_0003.jpg', '/home/pi/Desktop/images/04012025/06/18/image_04012025_06_18_02_137396_0000.jpg', '/home/pi/Desktop/images/04012025/06/18/image_04012025_06_18_02_137396_0001.jpg', '/home/pi/Desktop/images/04012025/06/18/image_04012025_06_18_02_137396_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/17/image_04012025_06_17_02_655217_0003.jpg
/home/pi/Desktop/images/04012025/06/18/image_04012025_06_18_02_137396_0000.jpg
/home/pi/Desktop/images/04012025/06/18/image_04012025_06_18_02_137396_0001.jpg
/home/pi/Desktop/images/04012025/06/18/image_04012025_06_18_02_137396_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326333989","1326333873","1326333927","1326333918"],"photo_ids_order":["1326333873","1326333918","1326333927","1326333989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5af226e3a73463ae49468f8c325b9e41.jpg","text":"TemporaryFile(/tmp/multipartBody6238705713602446650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967972684,"filename":"image_04012025_06_18_02_137396_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5cac0e2ee635c2388a2099bf7cbad25f.jpg","text":"TemporaryFile(/tmp/multipartBody9178901266528479657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967972684,"filename":"image_04012025_06_17_02_655217_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ddac3bc7d3d573788bfd931e26833a5e.jpg","text":"TemporaryFile(/tmp/multipartBody1476509001902122346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967972684,"filename":"image_04012025_06_18_02_137396_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af5925edd8bbf45b741ef9cdc4ece289.jpg","text":"TemporaryFile(/tmp/multipartBody6397881614339637613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735967972684,"filename":"image_04012025_06_18_02_137396_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326333927","file1":"1326333918","file0":"1326333873","file3":"1326333989"},"map_files_photo_id_array":[{"photo_id":"1326333927","filename":"file2"},{"photo_id":"1326333918","filename":"file1"},{"photo_id":"1326333873","filename":"file0"},{"photo_id":"1326333989","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326333989":["hashtag1","hashtag2"]},{"1326333873":["hashtag1","hashtag2"]},{"1326333927":["hashtag1","hashtag2"]},{"1326333918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326333989, 1326333873, 1326333927, 1326333918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.35336446762085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:19:21.760279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/18/image_04012025_06_18_02_137396_0003.jpg', '/home/pi/Desktop/images/04012025/06/19/image_04012025_06_19_02_660662_0000.jpg', '/home/pi/Desktop/images/04012025/06/19/image_04012025_06_19_02_660662_0001.jpg', '/home/pi/Desktop/images/04012025/06/19/image_04012025_06_19_02_660662_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/18/image_04012025_06_18_02_137396_0003.jpg
/home/pi/Desktop/images/04012025/06/19/image_04012025_06_19_02_660662_0000.jpg
/home/pi/Desktop/images/04012025/06/19/image_04012025_06_19_02_660662_0001.jpg
/home/pi/Desktop/images/04012025/06/19/image_04012025_06_19_02_660662_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326334066","1326334069","1326334063","1326334059"],"photo_ids_order":["1326334059","1326334063","1326334066","1326334069"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0c780d2a866b83cb61e48e2a8f2c6b7d.jpg","text":"TemporaryFile(/tmp/multipartBody2036360386122554466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968031923,"filename":"image_04012025_06_19_02_660662_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/081433259dca83e4fa7e42fef7ac4e50.jpg","text":"TemporaryFile(/tmp/multipartBody584010476096574386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968031923,"filename":"image_04012025_06_19_02_660662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cf9fedd6ed848ed3f06718e1a8ca7052.jpg","text":"TemporaryFile(/tmp/multipartBody490305980415510722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968031923,"filename":"image_04012025_06_19_02_660662_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7fc19e4dd797f3266f72c2b848cdea2b.jpg","text":"TemporaryFile(/tmp/multipartBody3629040929213859600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968031923,"filename":"image_04012025_06_18_02_137396_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326334066","file1":"1326334063","file0":"1326334059","file3":"1326334069"},"map_files_photo_id_array":[{"photo_id":"1326334066","filename":"file2"},{"photo_id":"1326334063","filename":"file1"},{"photo_id":"1326334059","filename":"file0"},{"photo_id":"1326334069","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326334066":["hashtag1","hashtag2"]},{"1326334069":["hashtag1","hashtag2"]},{"1326334063":["hashtag1","hashtag2"]},{"1326334059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326334066, 1326334069, 1326334063, 1326334059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.95543885231018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:20:02.765878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:20:22.285896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/19/image_04012025_06_19_02_660662_0003.jpg', '/home/pi/Desktop/images/04012025/06/20/image_04012025_06_20_02_140901_0000.jpg', '/home/pi/Desktop/images/04012025/06/20/image_04012025_06_20_02_140901_0001.jpg', '/home/pi/Desktop/images/04012025/06/20/image_04012025_06_20_02_140901_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/19/image_04012025_06_19_02_660662_0003.jpg
/home/pi/Desktop/images/04012025/06/20/image_04012025_06_20_02_140901_0000.jpg
/home/pi/Desktop/images/04012025/06/20/image_04012025_06_20_02_140901_0001.jpg
/home/pi/Desktop/images/04012025/06/20/image_04012025_06_20_02_140901_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326334690","1326334622","1326334807","1326334863"],"photo_ids_order":["1326334622","1326334690","1326334807","1326334863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ee562ce787379f1bdafbe15a4132a63f.jpg","text":"TemporaryFile(/tmp/multipartBody2826135930023769931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968092596,"filename":"image_04012025_06_20_02_140901_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0558bdc1c668a8a13bb2e341685329e6.jpg","text":"TemporaryFile(/tmp/multipartBody5481466863743624759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968092596,"filename":"image_04012025_06_19_02_660662_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/837cddb305776234665ca387dfc56318.jpg","text":"TemporaryFile(/tmp/multipartBody5881330135313328493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968092596,"filename":"image_04012025_06_20_02_140901_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4661dd3acbb86f2837d81d2e51cd55a9.jpg","text":"TemporaryFile(/tmp/multipartBody3108728791663063663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968092596,"filename":"image_04012025_06_20_02_140901_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326334807","file1":"1326334690","file0":"1326334622","file3":"1326334863"},"map_files_photo_id_array":[{"photo_id":"1326334807","filename":"file2"},{"photo_id":"1326334690","filename":"file1"},{"photo_id":"1326334622","filename":"file0"},{"photo_id":"1326334863","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326334690":["hashtag1","hashtag2"]},{"1326334622":["hashtag1","hashtag2"]},{"1326334807":["hashtag1","hashtag2"]},{"1326334863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326334690, 1326334622, 1326334807, 1326334863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.97993302345276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:21:21.805327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/20/image_04012025_06_20_02_140901_0003.jpg', '/home/pi/Desktop/images/04012025/06/21/image_04012025_06_21_02_660293_0000.jpg', '/home/pi/Desktop/images/04012025/06/21/image_04012025_06_21_02_660293_0001.jpg', '/home/pi/Desktop/images/04012025/06/21/image_04012025_06_21_02_660293_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/20/image_04012025_06_20_02_140901_0003.jpg
/home/pi/Desktop/images/04012025/06/21/image_04012025_06_21_02_660293_0000.jpg
/home/pi/Desktop/images/04012025/06/21/image_04012025_06_21_02_660293_0001.jpg
/home/pi/Desktop/images/04012025/06/21/image_04012025_06_21_02_660293_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326335293","1326335014","1326335017","1326335174"],"photo_ids_order":["1326335014","1326335017","1326335174","1326335293"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed4274942a7f384a70f5eab6f84a139d.jpg","text":"TemporaryFile(/tmp/multipartBody7855170955504587327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968152056,"filename":"image_04012025_06_21_02_660293_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aae619934c3c56fe31398de7188bfb59.jpg","text":"TemporaryFile(/tmp/multipartBody7451781977891290875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968152056,"filename":"image_04012025_06_20_02_140901_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8ebe016d89ec0a3ca75b6b85bee2a294.jpg","text":"TemporaryFile(/tmp/multipartBody3935316981795859932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968152056,"filename":"image_04012025_06_21_02_660293_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4991942afa7054dfab7a77b1abf6c3ab.jpg","text":"TemporaryFile(/tmp/multipartBody6696712079517485045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968152056,"filename":"image_04012025_06_21_02_660293_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326335174","file1":"1326335017","file0":"1326335014","file3":"1326335293"},"map_files_photo_id_array":[{"photo_id":"1326335174","filename":"file2"},{"photo_id":"1326335017","filename":"file1"},{"photo_id":"1326335014","filename":"file0"},{"photo_id":"1326335293","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326335293":["hashtag1","hashtag2"]},{"1326335014":["hashtag1","hashtag2"]},{"1326335017":["hashtag1","hashtag2"]},{"1326335174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326335293, 1326335014, 1326335017, 1326335174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.59516978263855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:22:02.863952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:22:22.361737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/21/image_04012025_06_21_02_660293_0003.jpg', '/home/pi/Desktop/images/04012025/06/22/image_04012025_06_22_02_229103_0000.jpg', '/home/pi/Desktop/images/04012025/06/22/image_04012025_06_22_02_229103_0001.jpg', '/home/pi/Desktop/images/04012025/06/22/image_04012025_06_22_02_229103_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/21/image_04012025_06_21_02_660293_0003.jpg
/home/pi/Desktop/images/04012025/06/22/image_04012025_06_22_02_229103_0000.jpg
/home/pi/Desktop/images/04012025/06/22/image_04012025_06_22_02_229103_0001.jpg
/home/pi/Desktop/images/04012025/06/22/image_04012025_06_22_02_229103_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326335696","1326335520","1326335523","1326335834"],"photo_ids_order":["1326335520","1326335523","1326335696","1326335834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7a48769be24b32d11ea4f172875d5de1.jpg","text":"TemporaryFile(/tmp/multipartBody3330730877708458810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968212697,"filename":"image_04012025_06_22_02_229103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f50e9d5ea797a56fba75d0ecc00bc114.jpg","text":"TemporaryFile(/tmp/multipartBody301128595310966844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968212697,"filename":"image_04012025_06_21_02_660293_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ef08fd3eefbdc3fd4e62f86e01218499.jpg","text":"TemporaryFile(/tmp/multipartBody8206746127334278683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968212697,"filename":"image_04012025_06_22_02_229103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/27cc2d912da482b92918fa9ad8904ffc.jpg","text":"TemporaryFile(/tmp/multipartBody8913351776636305624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968212697,"filename":"image_04012025_06_22_02_229103_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326335696","file1":"1326335523","file0":"1326335520","file3":"1326335834"},"map_files_photo_id_array":[{"photo_id":"1326335696","filename":"file2"},{"photo_id":"1326335523","filename":"file1"},{"photo_id":"1326335520","filename":"file0"},{"photo_id":"1326335834","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326335696":["hashtag1","hashtag2"]},{"1326335520":["hashtag1","hashtag2"]},{"1326335523":["hashtag1","hashtag2"]},{"1326335834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326335696, 1326335520, 1326335523, 1326335834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13545751571655 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-04 06:23:21.946740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/22/image_04012025_06_22_02_229103_0003.jpg', '/home/pi/Desktop/images/04012025/06/23/image_04012025_06_23_02_843340_0000.jpg', '/home/pi/Desktop/images/04012025/06/23/image_04012025_06_23_02_843340_0001.jpg', '/home/pi/Desktop/images/04012025/06/23/image_04012025_06_23_02_843340_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/22/image_04012025_06_22_02_229103_0003.jpg
/home/pi/Desktop/images/04012025/06/23/image_04012025_06_23_02_843340_0000.jpg
/home/pi/Desktop/images/04012025/06/23/image_04012025_06_23_02_843340_0001.jpg
/home/pi/Desktop/images/04012025/06/23/image_04012025_06_23_02_843340_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326335962","1326336099","1326335966","1326335969"],"photo_ids_order":["1326335962","1326335966","1326335969","1326336099"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ffd93b397a58b49d71ecaa8dfc5fa20d.jpg","text":"TemporaryFile(/tmp/multipartBody5313990856079805176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968272233,"filename":"image_04012025_06_22_02_229103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba4829118f93d9f2477ff8bc3b854371.jpg","text":"TemporaryFile(/tmp/multipartBody2692837166259656254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968272233,"filename":"image_04012025_06_23_02_843340_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e9baf3edf1f55389b51bad2ae6390c2c.jpg","text":"TemporaryFile(/tmp/multipartBody513448634937162517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968272233,"filename":"image_04012025_06_23_02_843340_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c68a2427a7bdbb0151e6a551130fff31.jpg","text":"TemporaryFile(/tmp/multipartBody1972318234503108884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968272233,"filename":"image_04012025_06_23_02_843340_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326335969","file1":"1326335966","file0":"1326335962","file3":"1326336099"},"map_files_photo_id_array":[{"photo_id":"1326335969","filename":"file2"},{"photo_id":"1326335966","filename":"file1"},{"photo_id":"1326335962","filename":"file0"},{"photo_id":"1326336099","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326335962":["hashtag1","hashtag2"]},{"1326336099":["hashtag1","hashtag2"]},{"1326335966":["hashtag1","hashtag2"]},{"1326335969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326335962, 1326336099, 1326335966, 1326335969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.137205839157104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:24:22.485688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/23/image_04012025_06_23_02_843340_0003.jpg', '/home/pi/Desktop/images/04012025/06/24/image_04012025_06_24_02_370606_0000.jpg', '/home/pi/Desktop/images/04012025/06/24/image_04012025_06_24_02_370606_0001.jpg', '/home/pi/Desktop/images/04012025/06/24/image_04012025_06_24_02_370606_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/23/image_04012025_06_23_02_843340_0003.jpg
/home/pi/Desktop/images/04012025/06/24/image_04012025_06_24_02_370606_0000.jpg
/home/pi/Desktop/images/04012025/06/24/image_04012025_06_24_02_370606_0001.jpg
/home/pi/Desktop/images/04012025/06/24/image_04012025_06_24_02_370606_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326336409","1326336399","1326336406","1326336414"],"photo_ids_order":["1326336399","1326336406","1326336409","1326336414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/be01629a57b46676ac9306158ba82ce4.jpg","text":"TemporaryFile(/tmp/multipartBody3051470351766993268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968332858,"filename":"image_04012025_06_24_02_370606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/95d3de6c8bee59343f7e703e2b50f4e9.jpg","text":"TemporaryFile(/tmp/multipartBody3448524077656819379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968332858,"filename":"image_04012025_06_23_02_843340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/784b1547174447f9f2be51f2a1907bb8.jpg","text":"TemporaryFile(/tmp/multipartBody6026630644648258832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968332858,"filename":"image_04012025_06_24_02_370606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4941cce75e88391aeb00bae96b5af7b6.jpg","text":"TemporaryFile(/tmp/multipartBody5320145565224848465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968332858,"filename":"image_04012025_06_24_02_370606_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326336409","file1":"1326336406","file0":"1326336399","file3":"1326336414"},"map_files_photo_id_array":[{"photo_id":"1326336409","filename":"file2"},{"photo_id":"1326336406","filename":"file1"},{"photo_id":"1326336399","filename":"file0"},{"photo_id":"1326336414","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326336409":["hashtag1","hashtag2"]},{"1326336399":["hashtag1","hashtag2"]},{"1326336406":["hashtag1","hashtag2"]},{"1326336414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326336409, 1326336399, 1326336406, 1326336414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.8634033203125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:25:22.024815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/24/image_04012025_06_24_02_370606_0003.jpg', '/home/pi/Desktop/images/04012025/06/25/image_04012025_06_25_02_876878_0000.jpg', '/home/pi/Desktop/images/04012025/06/25/image_04012025_06_25_02_876878_0001.jpg', '/home/pi/Desktop/images/04012025/06/25/image_04012025_06_25_02_876878_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/24/image_04012025_06_24_02_370606_0003.jpg
/home/pi/Desktop/images/04012025/06/25/image_04012025_06_25_02_876878_0000.jpg
/home/pi/Desktop/images/04012025/06/25/image_04012025_06_25_02_876878_0001.jpg
/home/pi/Desktop/images/04012025/06/25/image_04012025_06_25_02_876878_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326336879","1326337107","1326336881","1326336941"],"photo_ids_order":["1326336879","1326336881","1326336941","1326337107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/858461b784df4580026971f751ff105f.jpg","text":"TemporaryFile(/tmp/multipartBody328685842259344643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968392330,"filename":"image_04012025_06_24_02_370606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fbc906645ad0ff6ec35a7092d9319d17.jpg","text":"TemporaryFile(/tmp/multipartBody3120273818349345647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968392330,"filename":"image_04012025_06_25_02_876878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5b18bca8b9554771e1315570b08ae67b.jpg","text":"TemporaryFile(/tmp/multipartBody609313115888317765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968392330,"filename":"image_04012025_06_25_02_876878_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba973f19a5c113535a6e523045b22740.jpg","text":"TemporaryFile(/tmp/multipartBody6655045312107658743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968392330,"filename":"image_04012025_06_25_02_876878_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326336941","file1":"1326336881","file0":"1326336879","file3":"1326337107"},"map_files_photo_id_array":[{"photo_id":"1326336941","filename":"file2"},{"photo_id":"1326336881","filename":"file1"},{"photo_id":"1326336879","filename":"file0"},{"photo_id":"1326337107","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326336879":["hashtag1","hashtag2"]},{"1326337107":["hashtag1","hashtag2"]},{"1326336881":["hashtag1","hashtag2"]},{"1326336941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326336879, 1326337107, 1326336881, 1326336941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.441306829452515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:26:22.561289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/25/image_04012025_06_25_02_876878_0003.jpg', '/home/pi/Desktop/images/04012025/06/26/image_04012025_06_26_02_429275_0000.jpg', '/home/pi/Desktop/images/04012025/06/26/image_04012025_06_26_02_429275_0001.jpg', '/home/pi/Desktop/images/04012025/06/26/image_04012025_06_26_02_429275_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/25/image_04012025_06_25_02_876878_0003.jpg
/home/pi/Desktop/images/04012025/06/26/image_04012025_06_26_02_429275_0000.jpg
/home/pi/Desktop/images/04012025/06/26/image_04012025_06_26_02_429275_0001.jpg
/home/pi/Desktop/images/04012025/06/26/image_04012025_06_26_02_429275_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.870158433914185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:27:02.757926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/25/image_04012025_06_25_02_876878_0003.jpg', '/home/pi/Desktop/images/04012025/06/26/image_04012025_06_26_02_429275_0000.jpg', '/home/pi/Desktop/images/04012025/06/26/image_04012025_06_26_02_429275_0001.jpg', '/home/pi/Desktop/images/04012025/06/26/image_04012025_06_26_02_429275_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/25/image_04012025_06_25_02_876878_0003.jpg
/home/pi/Desktop/images/04012025/06/26/image_04012025_06_26_02_429275_0000.jpg
/home/pi/Desktop/images/04012025/06/26/image_04012025_06_26_02_429275_0001.jpg
/home/pi/Desktop/images/04012025/06/26/image_04012025_06_26_02_429275_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326337722","1326337724","1326337699","1326337618"],"photo_ids_order":["1326337618","1326337699","1326337722","1326337724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/220fb1255465d167cace8e54e99538b2.jpg","text":"TemporaryFile(/tmp/multipartBody6735952210946666880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968493047,"filename":"image_04012025_06_26_02_429275_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a7c1f578784f5bc340a63ce20f0f6740.jpg","text":"TemporaryFile(/tmp/multipartBody3343391569887129288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968493047,"filename":"image_04012025_06_26_02_429275_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/03c8daa18f83742ad97d4399be0b5712.jpg","text":"TemporaryFile(/tmp/multipartBody8005160498578401522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968493047,"filename":"image_04012025_06_26_02_429275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/01aff0ef3fe0591082d36e8096a8258e.jpg","text":"TemporaryFile(/tmp/multipartBody2469268015513773834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968493047,"filename":"image_04012025_06_25_02_876878_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326337722","file1":"1326337699","file0":"1326337618","file3":"1326337724"},"map_files_photo_id_array":[{"photo_id":"1326337722","filename":"file2"},{"photo_id":"1326337699","filename":"file1"},{"photo_id":"1326337618","filename":"file0"},{"photo_id":"1326337724","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326337722":["hashtag1","hashtag2"]},{"1326337724":["hashtag1","hashtag2"]},{"1326337699":["hashtag1","hashtag2"]},{"1326337618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326337722, 1326337724, 1326337699, 1326337618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.358036279678345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:28:02.972872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/26/image_04012025_06_26_02_429275_0003.jpg', '/home/pi/Desktop/images/04012025/06/27/image_04012025_06_27_02_890399_0000.jpg', '/home/pi/Desktop/images/04012025/06/27/image_04012025_06_27_02_890399_0001.jpg', '/home/pi/Desktop/images/04012025/06/27/image_04012025_06_27_02_890399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/26/image_04012025_06_26_02_429275_0003.jpg
/home/pi/Desktop/images/04012025/06/27/image_04012025_06_27_02_890399_0000.jpg
/home/pi/Desktop/images/04012025/06/27/image_04012025_06_27_02_890399_0001.jpg
/home/pi/Desktop/images/04012025/06/27/image_04012025_06_27_02_890399_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.748828649520874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:28:22.680461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/26/image_04012025_06_26_02_429275_0003.jpg', '/home/pi/Desktop/images/04012025/06/27/image_04012025_06_27_02_890399_0000.jpg', '/home/pi/Desktop/images/04012025/06/27/image_04012025_06_27_02_890399_0001.jpg', '/home/pi/Desktop/images/04012025/06/27/image_04012025_06_27_02_890399_0002.jpg', '/home/pi/Desktop/images/04012025/06/27/image_04012025_06_27_02_890399_0003.jpg', '/home/pi/Desktop/images/04012025/06/28/image_04012025_06_28_02_390915_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/26/image_04012025_06_26_02_429275_0003.jpg
/home/pi/Desktop/images/04012025/06/27/image_04012025_06_27_02_890399_0000.jpg
/home/pi/Desktop/images/04012025/06/27/image_04012025_06_27_02_890399_0001.jpg
/home/pi/Desktop/images/04012025/06/27/image_04012025_06_27_02_890399_0002.jpg
/home/pi/Desktop/images/04012025/06/27/image_04012025_06_27_02_890399_0003.jpg
/home/pi/Desktop/images/04012025/06/28/image_04012025_06_28_02_390915_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326338549","1326338519","1326338191","1326338194","1326338265","1326338451"],"photo_ids_order":["1326338191","1326338194","1326338265","1326338451","1326338519","1326338549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/88b85d82de10636ad842e6647f1193bb.jpg","text":"TemporaryFile(/tmp/multipartBody489679232545953534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968577562,"filename":"image_04012025_06_28_02_390915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e403ef654620cafc575f5d90afd7e3ec.jpg","text":"TemporaryFile(/tmp/multipartBody2554586839121392241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968577562,"filename":"image_04012025_06_27_02_890399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a6831d286fc1b1765aa16502065db0bc.jpg","text":"TemporaryFile(/tmp/multipartBody5995168275547303161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968577562,"filename":"image_04012025_06_26_02_429275_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e2438429c4be9807859a7147216ab00e.jpg","text":"TemporaryFile(/tmp/multipartBody717228257132446068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968577562,"filename":"image_04012025_06_27_02_890399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0e2b58e7dd43076c5e46ea43741c9d99.jpg","text":"TemporaryFile(/tmp/multipartBody72392592667554058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968577562,"filename":"image_04012025_06_27_02_890399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c8b073551e64dce5f8932561c7019c8c.jpg","text":"TemporaryFile(/tmp/multipartBody4977028918940403207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968577562,"filename":"image_04012025_06_27_02_890399_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326338265","file1":"1326338194","file0":"1326338191","file4":"1326338519","file5":"1326338549","file3":"1326338451"},"map_files_photo_id_array":[{"photo_id":"1326338549","filename":"file5"},{"photo_id":"1326338265","filename":"file2"},{"photo_id":"1326338519","filename":"file4"},{"photo_id":"1326338194","filename":"file1"},{"photo_id":"1326338191","filename":"file0"},{"photo_id":"1326338451","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326338549":["hashtag1","hashtag2"]},{"1326338519":["hashtag1","hashtag2"]},{"1326338191":["hashtag1","hashtag2"]},{"1326338194":["hashtag1","hashtag2"]},{"1326338265":["hashtag1","hashtag2"]},{"1326338451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326338549, 1326338519, 1326338191, 1326338194, 1326338265, 1326338451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.63346195220947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:29:22.038333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/28/image_04012025_06_28_02_390915_0001.jpg', '/home/pi/Desktop/images/04012025/06/28/image_04012025_06_28_02_390915_0002.jpg', '/home/pi/Desktop/images/04012025/06/28/image_04012025_06_28_02_390915_0003.jpg', '/home/pi/Desktop/images/04012025/06/29/image_04012025_06_29_02_966942_0000.jpg', '/home/pi/Desktop/images/04012025/06/29/image_04012025_06_29_02_966942_0001.jpg', '/home/pi/Desktop/images/04012025/06/29/image_04012025_06_29_02_966942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/28/image_04012025_06_28_02_390915_0001.jpg
/home/pi/Desktop/images/04012025/06/28/image_04012025_06_28_02_390915_0002.jpg
/home/pi/Desktop/images/04012025/06/28/image_04012025_06_28_02_390915_0003.jpg
/home/pi/Desktop/images/04012025/06/29/image_04012025_06_29_02_966942_0000.jpg
/home/pi/Desktop/images/04012025/06/29/image_04012025_06_29_02_966942_0001.jpg
/home/pi/Desktop/images/04012025/06/29/image_04012025_06_29_02_966942_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326339026","1326339016","1326338935","1326338997","1326339033","1326339030"],"photo_ids_order":["1326338935","1326338997","1326339016","1326339026","1326339030","1326339033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d2fcde2c4407c52a88adee8870c74299.jpg","text":"TemporaryFile(/tmp/multipartBody5050497516371650230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968637041,"filename":"image_04012025_06_29_02_966942_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/86ffeb7b97747408e4c5ff0fc927bbd6.jpg","text":"TemporaryFile(/tmp/multipartBody4992609400138827315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968637041,"filename":"image_04012025_06_28_02_390915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fe00a9f477644591f40e4c9fc041f5be.jpg","text":"TemporaryFile(/tmp/multipartBody7800708329014656864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968637041,"filename":"image_04012025_06_28_02_390915_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5c44b9ac70fb90fabd011026a1620752.jpg","text":"TemporaryFile(/tmp/multipartBody5494921916318443281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968637041,"filename":"image_04012025_06_28_02_390915_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/86d10385edde0aba2ff83baa304f4a6e.jpg","text":"TemporaryFile(/tmp/multipartBody7819321080464076468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968637041,"filename":"image_04012025_06_29_02_966942_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/388e87aa4f056804beb20502acd06ceb.jpg","text":"TemporaryFile(/tmp/multipartBody7891291427740057615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968637041,"filename":"image_04012025_06_29_02_966942_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326339016","file1":"1326338997","file0":"1326338935","file4":"1326339030","file5":"1326339033","file3":"1326339026"},"map_files_photo_id_array":[{"photo_id":"1326339033","filename":"file5"},{"photo_id":"1326339016","filename":"file2"},{"photo_id":"1326339030","filename":"file4"},{"photo_id":"1326338997","filename":"file1"},{"photo_id":"1326338935","filename":"file0"},{"photo_id":"1326339026","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326339026":["hashtag1","hashtag2"]},{"1326339016":["hashtag1","hashtag2"]},{"1326338935":["hashtag1","hashtag2"]},{"1326338997":["hashtag1","hashtag2"]},{"1326339033":["hashtag1","hashtag2"]},{"1326339030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326339026, 1326339016, 1326338935, 1326338997, 1326339033, 1326339030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.24802207946777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:30:22.640702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/29/image_04012025_06_29_02_966942_0003.jpg', '/home/pi/Desktop/images/04012025/06/30/image_04012025_06_30_02_530922_0000.jpg', '/home/pi/Desktop/images/04012025/06/30/image_04012025_06_30_02_530922_0001.jpg', '/home/pi/Desktop/images/04012025/06/30/image_04012025_06_30_02_530922_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/29/image_04012025_06_29_02_966942_0003.jpg
/home/pi/Desktop/images/04012025/06/30/image_04012025_06_30_02_530922_0000.jpg
/home/pi/Desktop/images/04012025/06/30/image_04012025_06_30_02_530922_0001.jpg
/home/pi/Desktop/images/04012025/06/30/image_04012025_06_30_02_530922_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326339049","1326339040","1326339045","1326339054"],"photo_ids_order":["1326339040","1326339045","1326339049","1326339054"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/40ca70cf74ca06e4e44327cc9dea4183.jpg","text":"TemporaryFile(/tmp/multipartBody6456251222321327897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968692918,"filename":"image_04012025_06_30_02_530922_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3894b376f43e2396b4fa4093d1f00006.jpg","text":"TemporaryFile(/tmp/multipartBody8168742319552098840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968692918,"filename":"image_04012025_06_29_02_966942_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a1665e9b63c8df1bd6ce7eccabb3db3e.jpg","text":"TemporaryFile(/tmp/multipartBody5096893880391691069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968692918,"filename":"image_04012025_06_30_02_530922_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/972e07bf9230ac4483b15ad96d0d6b98.jpg","text":"TemporaryFile(/tmp/multipartBody6082951900298726985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968692918,"filename":"image_04012025_06_30_02_530922_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326339049","file1":"1326339045","file0":"1326339040","file3":"1326339054"},"map_files_photo_id_array":[{"photo_id":"1326339049","filename":"file2"},{"photo_id":"1326339045","filename":"file1"},{"photo_id":"1326339040","filename":"file0"},{"photo_id":"1326339054","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326339049":["hashtag1","hashtag2"]},{"1326339040":["hashtag1","hashtag2"]},{"1326339045":["hashtag1","hashtag2"]},{"1326339054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326339049, 1326339040, 1326339045, 1326339054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.80411124229431 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:31:22.100070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/30/image_04012025_06_30_02_530922_0003.jpg', '/home/pi/Desktop/images/04012025/06/31/image_04012025_06_31_03_020467_0000.jpg', '/home/pi/Desktop/images/04012025/06/31/image_04012025_06_31_03_020467_0001.jpg', '/home/pi/Desktop/images/04012025/06/31/image_04012025_06_31_03_020467_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/30/image_04012025_06_30_02_530922_0003.jpg
/home/pi/Desktop/images/04012025/06/31/image_04012025_06_31_03_020467_0000.jpg
/home/pi/Desktop/images/04012025/06/31/image_04012025_06_31_03_020467_0001.jpg
/home/pi/Desktop/images/04012025/06/31/image_04012025_06_31_03_020467_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326339388","1326339424","1326339427","1326339420"],"photo_ids_order":["1326339388","1326339420","1326339424","1326339427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f342a8e5f6f9bef75205e63ae256f40e.jpg","text":"TemporaryFile(/tmp/multipartBody3514638100481795169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968752575,"filename":"image_04012025_06_30_02_530922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/87078e71e8b51fffb17f44f0053e248c.jpg","text":"TemporaryFile(/tmp/multipartBody1719262952668771497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968752575,"filename":"image_04012025_06_31_03_020467_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/098b41204f7f7af385e564902fb7cc45.jpg","text":"TemporaryFile(/tmp/multipartBody4910855457055890342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968752575,"filename":"image_04012025_06_31_03_020467_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9cbc333af750624510c4aa2eb3c9a4fc.jpg","text":"TemporaryFile(/tmp/multipartBody1049827718563570095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968752575,"filename":"image_04012025_06_31_03_020467_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326339424","file1":"1326339420","file0":"1326339388","file3":"1326339427"},"map_files_photo_id_array":[{"photo_id":"1326339424","filename":"file2"},{"photo_id":"1326339420","filename":"file1"},{"photo_id":"1326339388","filename":"file0"},{"photo_id":"1326339427","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326339388":["hashtag1","hashtag2"]},{"1326339424":["hashtag1","hashtag2"]},{"1326339427":["hashtag1","hashtag2"]},{"1326339420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326339388, 1326339424, 1326339427, 1326339420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57314610481262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:32:03.074053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:32:22.676304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/31/image_04012025_06_31_03_020467_0003.jpg', '/home/pi/Desktop/images/04012025/06/32/image_04012025_06_32_02_561021_0000.jpg', '/home/pi/Desktop/images/04012025/06/32/image_04012025_06_32_02_561021_0001.jpg', '/home/pi/Desktop/images/04012025/06/32/image_04012025_06_32_02_561021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/31/image_04012025_06_31_03_020467_0003.jpg
/home/pi/Desktop/images/04012025/06/32/image_04012025_06_32_02_561021_0000.jpg
/home/pi/Desktop/images/04012025/06/32/image_04012025_06_32_02_561021_0001.jpg
/home/pi/Desktop/images/04012025/06/32/image_04012025_06_32_02_561021_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326339886","1326339981","1326339882","1326339879"],"photo_ids_order":["1326339879","1326339882","1326339886","1326339981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/54295d44a67beeab87330907da5b5fd2.jpg","text":"TemporaryFile(/tmp/multipartBody6852897143040158999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968813013,"filename":"image_04012025_06_32_02_561021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/06402010b5147c83f86f940e1884193d.jpg","text":"TemporaryFile(/tmp/multipartBody4112073339320647667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968813013,"filename":"image_04012025_06_32_02_561021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a5800c0762a177b0fd007dec9c375d17.jpg","text":"TemporaryFile(/tmp/multipartBody6286346478806412580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968813013,"filename":"image_04012025_06_32_02_561021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7523a8ec8e0fa61cfe1d14bf632728d8.jpg","text":"TemporaryFile(/tmp/multipartBody2706050926798546714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968813013,"filename":"image_04012025_06_31_03_020467_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326339886","file1":"1326339882","file0":"1326339879","file3":"1326339981"},"map_files_photo_id_array":[{"photo_id":"1326339886","filename":"file2"},{"photo_id":"1326339882","filename":"file1"},{"photo_id":"1326339879","filename":"file0"},{"photo_id":"1326339981","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326339886":["hashtag1","hashtag2"]},{"1326339981":["hashtag1","hashtag2"]},{"1326339882":["hashtag1","hashtag2"]},{"1326339879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326339886, 1326339981, 1326339882, 1326339879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32287812232971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:33:22.103621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/32/image_04012025_06_32_02_561021_0003.jpg', '/home/pi/Desktop/images/04012025/06/33/image_04012025_06_33_03_006900_0000.jpg', '/home/pi/Desktop/images/04012025/06/33/image_04012025_06_33_03_006900_0001.jpg', '/home/pi/Desktop/images/04012025/06/33/image_04012025_06_33_03_006900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/32/image_04012025_06_32_02_561021_0003.jpg
/home/pi/Desktop/images/04012025/06/33/image_04012025_06_33_03_006900_0000.jpg
/home/pi/Desktop/images/04012025/06/33/image_04012025_06_33_03_006900_0001.jpg
/home/pi/Desktop/images/04012025/06/33/image_04012025_06_33_03_006900_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326340352","1326340346","1326340355","1326340349"],"photo_ids_order":["1326340346","1326340349","1326340352","1326340355"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/18b01cb53fb9dfefb7c331bd2e422305.jpg","text":"TemporaryFile(/tmp/multipartBody8727390590590749867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968872524,"filename":"image_04012025_06_33_03_006900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a369a8ebb56fb335880a463a363d337e.jpg","text":"TemporaryFile(/tmp/multipartBody4004648618090417847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968872524,"filename":"image_04012025_06_32_02_561021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f590ecb109240c68e09091b1c614df7.jpg","text":"TemporaryFile(/tmp/multipartBody7488925842058886120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968872524,"filename":"image_04012025_06_33_03_006900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c5dea532a4bed7c11e2235b020a8b3cd.jpg","text":"TemporaryFile(/tmp/multipartBody4211893681377633191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968872524,"filename":"image_04012025_06_33_03_006900_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326340352","file1":"1326340349","file0":"1326340346","file3":"1326340355"},"map_files_photo_id_array":[{"photo_id":"1326340352","filename":"file2"},{"photo_id":"1326340349","filename":"file1"},{"photo_id":"1326340346","filename":"file0"},{"photo_id":"1326340355","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326340352":["hashtag1","hashtag2"]},{"1326340346":["hashtag1","hashtag2"]},{"1326340355":["hashtag1","hashtag2"]},{"1326340349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326340352, 1326340346, 1326340355, 1326340349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.98052144050598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:34:21.765289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/33/image_04012025_06_33_03_006900_0003.jpg', '/home/pi/Desktop/images/04012025/06/34/image_04012025_06_34_02_601414_0000.jpg', '/home/pi/Desktop/images/04012025/06/34/image_04012025_06_34_02_601414_0001.jpg', '/home/pi/Desktop/images/04012025/06/34/image_04012025_06_34_02_601414_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/33/image_04012025_06_33_03_006900_0003.jpg
/home/pi/Desktop/images/04012025/06/34/image_04012025_06_34_02_601414_0000.jpg
/home/pi/Desktop/images/04012025/06/34/image_04012025_06_34_02_601414_0001.jpg
/home/pi/Desktop/images/04012025/06/34/image_04012025_06_34_02_601414_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326340620","1326340430","1326340817","1326340387"],"photo_ids_order":["1326340387","1326340430","1326340620","1326340817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e32f153842d6714406f806246ea477b5.jpg","text":"TemporaryFile(/tmp/multipartBody426910044546699821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968932119,"filename":"image_04012025_06_34_02_601414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a09fa8858f759dc841d16b98ec20348d.jpg","text":"TemporaryFile(/tmp/multipartBody2413276040757724215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968932119,"filename":"image_04012025_06_34_02_601414_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/450819bc95eb7763123344422e90844c.jpg","text":"TemporaryFile(/tmp/multipartBody8277817741390530499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968932119,"filename":"image_04012025_06_34_02_601414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ecae348ab13c3b716b77c6dc55484eb5.jpg","text":"TemporaryFile(/tmp/multipartBody8284631327867214646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968932119,"filename":"image_04012025_06_33_03_006900_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326340620","file1":"1326340430","file0":"1326340387","file3":"1326340817"},"map_files_photo_id_array":[{"photo_id":"1326340620","filename":"file2"},{"photo_id":"1326340430","filename":"file1"},{"photo_id":"1326340387","filename":"file0"},{"photo_id":"1326340817","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326340620":["hashtag1","hashtag2"]},{"1326340430":["hashtag1","hashtag2"]},{"1326340817":["hashtag1","hashtag2"]},{"1326340387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326340620, 1326340430, 1326340817, 1326340387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.290608167648315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:35:22.238468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/34/image_04012025_06_34_02_601414_0003.jpg', '/home/pi/Desktop/images/04012025/06/35/image_04012025_06_35_02_122079_0000.jpg', '/home/pi/Desktop/images/04012025/06/35/image_04012025_06_35_02_122079_0001.jpg', '/home/pi/Desktop/images/04012025/06/35/image_04012025_06_35_02_122079_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/34/image_04012025_06_34_02_601414_0003.jpg
/home/pi/Desktop/images/04012025/06/35/image_04012025_06_35_02_122079_0000.jpg
/home/pi/Desktop/images/04012025/06/35/image_04012025_06_35_02_122079_0001.jpg
/home/pi/Desktop/images/04012025/06/35/image_04012025_06_35_02_122079_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326340993","1326340987","1326340990","1326340948"],"photo_ids_order":["1326340948","1326340987","1326340990","1326340993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cbb3d1c1764b3734c8b22fdc9c3215e1.jpg","text":"TemporaryFile(/tmp/multipartBody3964999277366152853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968992753,"filename":"image_04012025_06_35_02_122079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e1ccdebb0038c71e482249b7d268d3ba.jpg","text":"TemporaryFile(/tmp/multipartBody1935216121529037713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968992753,"filename":"image_04012025_06_35_02_122079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fa82d73bd65e23ee6282d6ebeefe71f9.jpg","text":"TemporaryFile(/tmp/multipartBody3744762699568179036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968992753,"filename":"image_04012025_06_35_02_122079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4fbdcffd7a8913f9f3f7fd955bfc000d.jpg","text":"TemporaryFile(/tmp/multipartBody1523257930820296121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735968992753,"filename":"image_04012025_06_34_02_601414_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326340990","file1":"1326340987","file0":"1326340948","file3":"1326340993"},"map_files_photo_id_array":[{"photo_id":"1326340990","filename":"file2"},{"photo_id":"1326340987","filename":"file1"},{"photo_id":"1326340948","filename":"file0"},{"photo_id":"1326340993","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326340993":["hashtag1","hashtag2"]},{"1326340987":["hashtag1","hashtag2"]},{"1326340990":["hashtag1","hashtag2"]},{"1326340948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326340993, 1326340987, 1326340990, 1326340948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.03148102760315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:36:21.840967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/35/image_04012025_06_35_02_122079_0003.jpg', '/home/pi/Desktop/images/04012025/06/36/image_04012025_06_36_02_671456_0000.jpg', '/home/pi/Desktop/images/04012025/06/36/image_04012025_06_36_02_671456_0001.jpg', '/home/pi/Desktop/images/04012025/06/36/image_04012025_06_36_02_671456_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/35/image_04012025_06_35_02_122079_0003.jpg
/home/pi/Desktop/images/04012025/06/36/image_04012025_06_36_02_671456_0000.jpg
/home/pi/Desktop/images/04012025/06/36/image_04012025_06_36_02_671456_0001.jpg
/home/pi/Desktop/images/04012025/06/36/image_04012025_06_36_02_671456_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.061782360076904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:37:02.720917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/35/image_04012025_06_35_02_122079_0003.jpg', '/home/pi/Desktop/images/04012025/06/36/image_04012025_06_36_02_671456_0000.jpg', '/home/pi/Desktop/images/04012025/06/36/image_04012025_06_36_02_671456_0001.jpg', '/home/pi/Desktop/images/04012025/06/36/image_04012025_06_36_02_671456_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/35/image_04012025_06_35_02_122079_0003.jpg
/home/pi/Desktop/images/04012025/06/36/image_04012025_06_36_02_671456_0000.jpg
/home/pi/Desktop/images/04012025/06/36/image_04012025_06_36_02_671456_0001.jpg
/home/pi/Desktop/images/04012025/06/36/image_04012025_06_36_02_671456_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326341645","1326341525","1326341524","1326341888"],"photo_ids_order":["1326341524","1326341525","1326341645","1326341888"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b32517ec0f04ed691f2d3d807a4e3f9a.jpg","text":"TemporaryFile(/tmp/multipartBody3811269967588470834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969093247,"filename":"image_04012025_06_36_02_671456_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c47a41bf3991097c3798d00c5028f816.jpg","text":"TemporaryFile(/tmp/multipartBody2775474938832686680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969093247,"filename":"image_04012025_06_36_02_671456_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b227410e97fa31587b054455caf38ac9.jpg","text":"TemporaryFile(/tmp/multipartBody2899768067707144606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969093247,"filename":"image_04012025_06_35_02_122079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4ae349e28b52a9899512a9679afa3a24.jpg","text":"TemporaryFile(/tmp/multipartBody5656283913946426202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969093247,"filename":"image_04012025_06_36_02_671456_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326341645","file1":"1326341525","file0":"1326341524","file3":"1326341888"},"map_files_photo_id_array":[{"photo_id":"1326341645","filename":"file2"},{"photo_id":"1326341525","filename":"file1"},{"photo_id":"1326341524","filename":"file0"},{"photo_id":"1326341888","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326341645":["hashtag1","hashtag2"]},{"1326341525":["hashtag1","hashtag2"]},{"1326341524":["hashtag1","hashtag2"]},{"1326341888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326341645, 1326341525, 1326341524, 1326341888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.804664611816406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:38:02.321958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/36/image_04012025_06_36_02_671456_0003.jpg', '/home/pi/Desktop/images/04012025/06/37/image_04012025_06_37_02_166197_0000.jpg', '/home/pi/Desktop/images/04012025/06/37/image_04012025_06_37_02_166197_0001.jpg', '/home/pi/Desktop/images/04012025/06/37/image_04012025_06_37_02_166197_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/36/image_04012025_06_36_02_671456_0003.jpg
/home/pi/Desktop/images/04012025/06/37/image_04012025_06_37_02_166197_0000.jpg
/home/pi/Desktop/images/04012025/06/37/image_04012025_06_37_02_166197_0001.jpg
/home/pi/Desktop/images/04012025/06/37/image_04012025_06_37_02_166197_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.939983129501343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:38:21.929668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/36/image_04012025_06_36_02_671456_0003.jpg', '/home/pi/Desktop/images/04012025/06/37/image_04012025_06_37_02_166197_0000.jpg', '/home/pi/Desktop/images/04012025/06/37/image_04012025_06_37_02_166197_0001.jpg', '/home/pi/Desktop/images/04012025/06/37/image_04012025_06_37_02_166197_0002.jpg', '/home/pi/Desktop/images/04012025/06/37/image_04012025_06_37_02_166197_0003.jpg', '/home/pi/Desktop/images/04012025/06/38/image_04012025_06_38_02_677547_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/36/image_04012025_06_36_02_671456_0003.jpg
/home/pi/Desktop/images/04012025/06/37/image_04012025_06_37_02_166197_0000.jpg
/home/pi/Desktop/images/04012025/06/37/image_04012025_06_37_02_166197_0001.jpg
/home/pi/Desktop/images/04012025/06/37/image_04012025_06_37_02_166197_0002.jpg
/home/pi/Desktop/images/04012025/06/37/image_04012025_06_37_02_166197_0003.jpg
/home/pi/Desktop/images/04012025/06/38/image_04012025_06_38_02_677547_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326342809","1326342901","1326342930","1326342807","1326342804","1326342794"],"photo_ids_order":["1326342794","1326342804","1326342807","1326342809","1326342901","1326342930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fa5820ed0176446e9d653ebdbf923f7d.jpg","text":"TemporaryFile(/tmp/multipartBody8641720186657825193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969176939,"filename":"image_04012025_06_37_02_166197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/01e7c4ff337238085fb49c1a62e254d7.jpg","text":"TemporaryFile(/tmp/multipartBody3218355666309302522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969176939,"filename":"image_04012025_06_37_02_166197_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ddc69d450882b42352fdd6fa92ca245a.jpg","text":"TemporaryFile(/tmp/multipartBody176709197062150585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969176939,"filename":"image_04012025_06_38_02_677547_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c82cdf0fecf16f8aea36bd1d52614305.jpg","text":"TemporaryFile(/tmp/multipartBody6368236241193829165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969176939,"filename":"image_04012025_06_37_02_166197_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/823cc1d902a1c1efaf8dae32d1e45871.jpg","text":"TemporaryFile(/tmp/multipartBody3151371802740883676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969176939,"filename":"image_04012025_06_37_02_166197_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eb6130aa8bfc79d5cf6e423436e0791b.jpg","text":"TemporaryFile(/tmp/multipartBody49116287673420979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969176939,"filename":"image_04012025_06_36_02_671456_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326342807","file1":"1326342804","file0":"1326342794","file4":"1326342901","file5":"1326342930","file3":"1326342809"},"map_files_photo_id_array":[{"photo_id":"1326342930","filename":"file5"},{"photo_id":"1326342807","filename":"file2"},{"photo_id":"1326342901","filename":"file4"},{"photo_id":"1326342804","filename":"file1"},{"photo_id":"1326342794","filename":"file0"},{"photo_id":"1326342809","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326342809":["hashtag1","hashtag2"]},{"1326342901":["hashtag1","hashtag2"]},{"1326342930":["hashtag1","hashtag2"]},{"1326342807":["hashtag1","hashtag2"]},{"1326342804":["hashtag1","hashtag2"]},{"1326342794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326342809, 1326342901, 1326342930, 1326342807, 1326342804, 1326342794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.45853400230408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:39:22.410825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/38/image_04012025_06_38_02_677547_0001.jpg', '/home/pi/Desktop/images/04012025/06/38/image_04012025_06_38_02_677547_0002.jpg', '/home/pi/Desktop/images/04012025/06/38/image_04012025_06_38_02_677547_0003.jpg', '/home/pi/Desktop/images/04012025/06/39/image_04012025_06_39_02_295377_0000.jpg', '/home/pi/Desktop/images/04012025/06/39/image_04012025_06_39_02_295377_0001.jpg', '/home/pi/Desktop/images/04012025/06/39/image_04012025_06_39_02_295377_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/38/image_04012025_06_38_02_677547_0001.jpg
/home/pi/Desktop/images/04012025/06/38/image_04012025_06_38_02_677547_0002.jpg
/home/pi/Desktop/images/04012025/06/38/image_04012025_06_38_02_677547_0003.jpg
/home/pi/Desktop/images/04012025/06/39/image_04012025_06_39_02_295377_0000.jpg
/home/pi/Desktop/images/04012025/06/39/image_04012025_06_39_02_295377_0001.jpg
/home/pi/Desktop/images/04012025/06/39/image_04012025_06_39_02_295377_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326344047","1326343683","1326344177","1326343641","1326343781","1326344179"],"photo_ids_order":["1326343641","1326343683","1326343781","1326344047","1326344177","1326344179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/545a3734b7cab867771f87045644f423.jpg","text":"TemporaryFile(/tmp/multipartBody8995133754568197930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969237503,"filename":"image_04012025_06_39_02_295377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/03a17a584288b3d9c87582e8189db0ca.jpg","text":"TemporaryFile(/tmp/multipartBody859543025767281442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969237503,"filename":"image_04012025_06_38_02_677547_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e34c27aa91a6707d9e9a8aff13a340da.jpg","text":"TemporaryFile(/tmp/multipartBody7033411368947098025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969237503,"filename":"image_04012025_06_39_02_295377_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0e11751b7fc7550c9ebfc74a40cdacb7.jpg","text":"TemporaryFile(/tmp/multipartBody2873138699780433211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969237503,"filename":"image_04012025_06_38_02_677547_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9f6cf11e1243fa78bc83cfcb436b3110.jpg","text":"TemporaryFile(/tmp/multipartBody1964775999438058351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969237503,"filename":"image_04012025_06_38_02_677547_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aa93d26ebadebff3c14cbc0cb8978738.jpg","text":"TemporaryFile(/tmp/multipartBody7885588742869791169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969237503,"filename":"image_04012025_06_39_02_295377_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326343781","file1":"1326343683","file0":"1326343641","file4":"1326344177","file5":"1326344179","file3":"1326344047"},"map_files_photo_id_array":[{"photo_id":"1326344179","filename":"file5"},{"photo_id":"1326343781","filename":"file2"},{"photo_id":"1326344177","filename":"file4"},{"photo_id":"1326343683","filename":"file1"},{"photo_id":"1326343641","filename":"file0"},{"photo_id":"1326344047","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326344047":["hashtag1","hashtag2"]},{"1326343683":["hashtag1","hashtag2"]},{"1326344177":["hashtag1","hashtag2"]},{"1326343641":["hashtag1","hashtag2"]},{"1326343781":["hashtag1","hashtag2"]},{"1326344179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326344047, 1326343683, 1326344177, 1326343641, 1326343781, 1326344179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.84111666679382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:40:21.880451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/39/image_04012025_06_39_02_295377_0003.jpg', '/home/pi/Desktop/images/04012025/06/40/image_04012025_06_40_02_786837_0000.jpg', '/home/pi/Desktop/images/04012025/06/40/image_04012025_06_40_02_786837_0001.jpg', '/home/pi/Desktop/images/04012025/06/40/image_04012025_06_40_02_786837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/39/image_04012025_06_39_02_295377_0003.jpg
/home/pi/Desktop/images/04012025/06/40/image_04012025_06_40_02_786837_0000.jpg
/home/pi/Desktop/images/04012025/06/40/image_04012025_06_40_02_786837_0001.jpg
/home/pi/Desktop/images/04012025/06/40/image_04012025_06_40_02_786837_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326344301","1326344429","1326344426","1326344356"],"photo_ids_order":["1326344301","1326344356","1326344426","1326344429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bf1e195902b5ba7dcc67bce433224892.jpg","text":"TemporaryFile(/tmp/multipartBody7979568838188357728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969292273,"filename":"image_04012025_06_39_02_295377_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/54961cc2cf9b43921334b4683ccc3446.jpg","text":"TemporaryFile(/tmp/multipartBody4403254583301035453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969292273,"filename":"image_04012025_06_40_02_786837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/44c25bea025a0ddf7ab12051cf2054bc.jpg","text":"TemporaryFile(/tmp/multipartBody8383260517401804374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969292273,"filename":"image_04012025_06_40_02_786837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d9ae62519708c53d7a6c38d76d14bc8c.jpg","text":"TemporaryFile(/tmp/multipartBody8426980995300551957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969292273,"filename":"image_04012025_06_40_02_786837_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326344426","file1":"1326344356","file0":"1326344301","file3":"1326344429"},"map_files_photo_id_array":[{"photo_id":"1326344426","filename":"file2"},{"photo_id":"1326344356","filename":"file1"},{"photo_id":"1326344301","filename":"file0"},{"photo_id":"1326344429","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326344301":["hashtag1","hashtag2"]},{"1326344429":["hashtag1","hashtag2"]},{"1326344426":["hashtag1","hashtag2"]},{"1326344356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326344301, 1326344429, 1326344426, 1326344356)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 40.15384888648987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:41:22.413617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/40/image_04012025_06_40_02_786837_0003.jpg', '/home/pi/Desktop/images/04012025/06/41/image_04012025_06_41_02_307773_0000.jpg', '/home/pi/Desktop/images/04012025/06/41/image_04012025_06_41_02_307773_0001.jpg', '/home/pi/Desktop/images/04012025/06/41/image_04012025_06_41_02_307773_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/40/image_04012025_06_40_02_786837_0003.jpg
/home/pi/Desktop/images/04012025/06/41/image_04012025_06_41_02_307773_0000.jpg
/home/pi/Desktop/images/04012025/06/41/image_04012025_06_41_02_307773_0001.jpg
/home/pi/Desktop/images/04012025/06/41/image_04012025_06_41_02_307773_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326344542","1326344538","1326344546","1326344534"],"photo_ids_order":["1326344534","1326344538","1326344542","1326344546"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3059926749af9911089999fd6095c3f5.jpg","text":"TemporaryFile(/tmp/multipartBody2341920158143046710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969352744,"filename":"image_04012025_06_41_02_307773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5cb8599560009e792e851dec19963487.jpg","text":"TemporaryFile(/tmp/multipartBody5909048249614383171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969352744,"filename":"image_04012025_06_41_02_307773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b424ca0f19cfe0027cdaebd63433b00b.jpg","text":"TemporaryFile(/tmp/multipartBody3448707941858039207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969352744,"filename":"image_04012025_06_41_02_307773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0fd2f911d431d96f0ce7bccb73933eda.jpg","text":"TemporaryFile(/tmp/multipartBody2418129403112470811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969352744,"filename":"image_04012025_06_40_02_786837_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326344542","file1":"1326344538","file0":"1326344534","file3":"1326344546"},"map_files_photo_id_array":[{"photo_id":"1326344542","filename":"file2"},{"photo_id":"1326344538","filename":"file1"},{"photo_id":"1326344534","filename":"file0"},{"photo_id":"1326344546","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326344542":["hashtag1","hashtag2"]},{"1326344538":["hashtag1","hashtag2"]},{"1326344546":["hashtag1","hashtag2"]},{"1326344534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326344542, 1326344538, 1326344546, 1326344534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.315494775772095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:42:22.004160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/41/image_04012025_06_41_02_307773_0003.jpg', '/home/pi/Desktop/images/04012025/06/42/image_04012025_06_42_02_825999_0000.jpg', '/home/pi/Desktop/images/04012025/06/42/image_04012025_06_42_02_825999_0001.jpg', '/home/pi/Desktop/images/04012025/06/42/image_04012025_06_42_02_825999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/41/image_04012025_06_41_02_307773_0003.jpg
/home/pi/Desktop/images/04012025/06/42/image_04012025_06_42_02_825999_0000.jpg
/home/pi/Desktop/images/04012025/06/42/image_04012025_06_42_02_825999_0001.jpg
/home/pi/Desktop/images/04012025/06/42/image_04012025_06_42_02_825999_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326345320","1326345253","1326345337","1326345238"],"photo_ids_order":["1326345238","1326345253","1326345320","1326345337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/45995ba5eddf0a2d6ca81c92d5593839.jpg","text":"TemporaryFile(/tmp/multipartBody5246831664461921359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969412259,"filename":"image_04012025_06_42_02_825999_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/90ae1ffaefdcc5d98fc9273c7abad1d3.jpg","text":"TemporaryFile(/tmp/multipartBody675978112027580358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969412259,"filename":"image_04012025_06_42_02_825999_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f8b1ee437018f45e192ed370867e6dfa.jpg","text":"TemporaryFile(/tmp/multipartBody264302142097453522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969412259,"filename":"image_04012025_06_42_02_825999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a7fb2a818264211c07b02f57ade2cdb0.jpg","text":"TemporaryFile(/tmp/multipartBody789150599518980628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969412259,"filename":"image_04012025_06_41_02_307773_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326345320","file1":"1326345253","file0":"1326345238","file3":"1326345337"},"map_files_photo_id_array":[{"photo_id":"1326345320","filename":"file2"},{"photo_id":"1326345253","filename":"file1"},{"photo_id":"1326345238","filename":"file0"},{"photo_id":"1326345337","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326345320":["hashtag1","hashtag2"]},{"1326345253":["hashtag1","hashtag2"]},{"1326345337":["hashtag1","hashtag2"]},{"1326345238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326345320, 1326345253, 1326345337, 1326345238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.28548288345337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:43:22.503755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/42/image_04012025_06_42_02_825999_0003.jpg', '/home/pi/Desktop/images/04012025/06/43/image_04012025_06_43_02_368597_0000.jpg', '/home/pi/Desktop/images/04012025/06/43/image_04012025_06_43_02_368597_0001.jpg', '/home/pi/Desktop/images/04012025/06/43/image_04012025_06_43_02_368597_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/42/image_04012025_06_42_02_825999_0003.jpg
/home/pi/Desktop/images/04012025/06/43/image_04012025_06_43_02_368597_0000.jpg
/home/pi/Desktop/images/04012025/06/43/image_04012025_06_43_02_368597_0001.jpg
/home/pi/Desktop/images/04012025/06/43/image_04012025_06_43_02_368597_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326345621","1326345611","1326345608","1326345605"],"photo_ids_order":["1326345605","1326345608","1326345611","1326345621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/51de09ae02a0e8eaa255bda16a45069b.jpg","text":"TemporaryFile(/tmp/multipartBody4682725848775412907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969472881,"filename":"image_04012025_06_43_02_368597_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e47a394806b1d8fae7efd1367f243e8d.jpg","text":"TemporaryFile(/tmp/multipartBody615678264039969860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969472881,"filename":"image_04012025_06_43_02_368597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ef45e59fab6717cadd58a8a6a647018.jpg","text":"TemporaryFile(/tmp/multipartBody2881827864861016307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969472881,"filename":"image_04012025_06_43_02_368597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c94cafaa84b0274973a021103948ce37.jpg","text":"TemporaryFile(/tmp/multipartBody7850113547701640335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969472881,"filename":"image_04012025_06_42_02_825999_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326345611","file1":"1326345608","file0":"1326345605","file3":"1326345621"},"map_files_photo_id_array":[{"photo_id":"1326345611","filename":"file2"},{"photo_id":"1326345608","filename":"file1"},{"photo_id":"1326345605","filename":"file0"},{"photo_id":"1326345621","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326345621":["hashtag1","hashtag2"]},{"1326345611":["hashtag1","hashtag2"]},{"1326345608":["hashtag1","hashtag2"]},{"1326345605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326345621, 1326345611, 1326345608, 1326345605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.273574352264404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:44:22.070541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/43/image_04012025_06_43_02_368597_0003.jpg', '/home/pi/Desktop/images/04012025/06/44/image_04012025_06_44_02_897480_0000.jpg', '/home/pi/Desktop/images/04012025/06/44/image_04012025_06_44_02_897480_0001.jpg', '/home/pi/Desktop/images/04012025/06/44/image_04012025_06_44_02_897480_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/43/image_04012025_06_43_02_368597_0003.jpg
/home/pi/Desktop/images/04012025/06/44/image_04012025_06_44_02_897480_0000.jpg
/home/pi/Desktop/images/04012025/06/44/image_04012025_06_44_02_897480_0001.jpg
/home/pi/Desktop/images/04012025/06/44/image_04012025_06_44_02_897480_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326345971","1326345784","1326346365","1326346188"],"photo_ids_order":["1326345784","1326345971","1326346188","1326346365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/be4e1ec8129ed3109a5c8886cd070839.jpg","text":"TemporaryFile(/tmp/multipartBody1827748857666404162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969532414,"filename":"image_04012025_06_44_02_897480_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/278b313603501952fbfda0c8de98a667.jpg","text":"TemporaryFile(/tmp/multipartBody8410184213518170576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969532414,"filename":"image_04012025_06_43_02_368597_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/91b4a34039c6b689e7e155158777359c.jpg","text":"TemporaryFile(/tmp/multipartBody2646458133269992972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969532414,"filename":"image_04012025_06_44_02_897480_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2c6168e359f45c8775e8bfb2c66c16d3.jpg","text":"TemporaryFile(/tmp/multipartBody4552763700381395362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969532414,"filename":"image_04012025_06_44_02_897480_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326346188","file1":"1326345971","file0":"1326345784","file3":"1326346365"},"map_files_photo_id_array":[{"photo_id":"1326346188","filename":"file2"},{"photo_id":"1326345971","filename":"file1"},{"photo_id":"1326345784","filename":"file0"},{"photo_id":"1326346365","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326345971":["hashtag1","hashtag2"]},{"1326345784":["hashtag1","hashtag2"]},{"1326346365":["hashtag1","hashtag2"]},{"1326346188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326345971, 1326345784, 1326346365, 1326346188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.07019400596619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:45:22.527212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/44/image_04012025_06_44_02_897480_0003.jpg', '/home/pi/Desktop/images/04012025/06/45/image_04012025_06_45_02_404639_0000.jpg', '/home/pi/Desktop/images/04012025/06/45/image_04012025_06_45_02_404639_0001.jpg', '/home/pi/Desktop/images/04012025/06/45/image_04012025_06_45_02_404639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/44/image_04012025_06_44_02_897480_0003.jpg
/home/pi/Desktop/images/04012025/06/45/image_04012025_06_45_02_404639_0000.jpg
/home/pi/Desktop/images/04012025/06/45/image_04012025_06_45_02_404639_0001.jpg
/home/pi/Desktop/images/04012025/06/45/image_04012025_06_45_02_404639_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326347170","1326347117","1326347281","1326347379"],"photo_ids_order":["1326347117","1326347170","1326347281","1326347379"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e4273f08bbe6e2fd77fc0e9d19fcb979.jpg","text":"TemporaryFile(/tmp/multipartBody3063237487475153174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969592832,"filename":"image_04012025_06_45_02_404639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8bbbda7a2b28b1a8106d06530dd67b1e.jpg","text":"TemporaryFile(/tmp/multipartBody8918100617304333404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969592832,"filename":"image_04012025_06_44_02_897480_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/41446bd9a32aa5e6ccf11d0aa87c61a7.jpg","text":"TemporaryFile(/tmp/multipartBody6827238379432610618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969592832,"filename":"image_04012025_06_45_02_404639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7701632a1601f58d823a625c66e82e93.jpg","text":"TemporaryFile(/tmp/multipartBody182901297195138450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969592832,"filename":"image_04012025_06_45_02_404639_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326347281","file1":"1326347170","file0":"1326347117","file3":"1326347379"},"map_files_photo_id_array":[{"photo_id":"1326347281","filename":"file2"},{"photo_id":"1326347170","filename":"file1"},{"photo_id":"1326347117","filename":"file0"},{"photo_id":"1326347379","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326347170":["hashtag1","hashtag2"]},{"1326347117":["hashtag1","hashtag2"]},{"1326347281":["hashtag1","hashtag2"]},{"1326347379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326347170, 1326347117, 1326347281, 1326347379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.099270820617676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:46:22.139536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/45/image_04012025_06_45_02_404639_0003.jpg', '/home/pi/Desktop/images/04012025/06/46/image_04012025_06_46_02_995860_0000.jpg', '/home/pi/Desktop/images/04012025/06/46/image_04012025_06_46_02_995860_0001.jpg', '/home/pi/Desktop/images/04012025/06/46/image_04012025_06_46_02_995860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/45/image_04012025_06_45_02_404639_0003.jpg
/home/pi/Desktop/images/04012025/06/46/image_04012025_06_46_02_995860_0000.jpg
/home/pi/Desktop/images/04012025/06/46/image_04012025_06_46_02_995860_0001.jpg
/home/pi/Desktop/images/04012025/06/46/image_04012025_06_46_02_995860_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326347890","1326347872","1326347941","1326347975"],"photo_ids_order":["1326347872","1326347890","1326347941","1326347975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3cbbdaeb301a6016ef0f2c829884715c.jpg","text":"TemporaryFile(/tmp/multipartBody2385198037579801519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969652543,"filename":"image_04012025_06_46_02_995860_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cff8128e4327b37f1605431d63922841.jpg","text":"TemporaryFile(/tmp/multipartBody7094593365532712368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969652543,"filename":"image_04012025_06_45_02_404639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fdc94023866380eb36102c784e8f43e0.jpg","text":"TemporaryFile(/tmp/multipartBody9117340998419293792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969652543,"filename":"image_04012025_06_46_02_995860_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/679d87e19fd8010b2f3f7f39cb152a49.jpg","text":"TemporaryFile(/tmp/multipartBody6204713219097898307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969652543,"filename":"image_04012025_06_46_02_995860_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326347941","file1":"1326347890","file0":"1326347872","file3":"1326347975"},"map_files_photo_id_array":[{"photo_id":"1326347941","filename":"file2"},{"photo_id":"1326347890","filename":"file1"},{"photo_id":"1326347872","filename":"file0"},{"photo_id":"1326347975","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326347890":["hashtag1","hashtag2"]},{"1326347872":["hashtag1","hashtag2"]},{"1326347941":["hashtag1","hashtag2"]},{"1326347975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326347890, 1326347872, 1326347941, 1326347975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.201398849487305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:47:03.133295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:47:22.585928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/46/image_04012025_06_46_02_995860_0003.jpg', '/home/pi/Desktop/images/04012025/06/47/image_04012025_06_47_02_487246_0000.jpg', '/home/pi/Desktop/images/04012025/06/47/image_04012025_06_47_02_487246_0001.jpg', '/home/pi/Desktop/images/04012025/06/47/image_04012025_06_47_02_487246_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/46/image_04012025_06_46_02_995860_0003.jpg
/home/pi/Desktop/images/04012025/06/47/image_04012025_06_47_02_487246_0000.jpg
/home/pi/Desktop/images/04012025/06/47/image_04012025_06_47_02_487246_0001.jpg
/home/pi/Desktop/images/04012025/06/47/image_04012025_06_47_02_487246_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326347992","1326347989","1326347999","1326347996"],"photo_ids_order":["1326347989","1326347992","1326347996","1326347999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6ff60a96358e21f29b7e37b3f32cb577.jpg","text":"TemporaryFile(/tmp/multipartBody8834873722413308024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969712952,"filename":"image_04012025_06_47_02_487246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/53b9a787ed264c8b076712d13798c420.jpg","text":"TemporaryFile(/tmp/multipartBody8354063050545990000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969712952,"filename":"image_04012025_06_46_02_995860_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/13eab7c4ba2c08d4b221cb30983a3ad2.jpg","text":"TemporaryFile(/tmp/multipartBody2054530784091496358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969712952,"filename":"image_04012025_06_47_02_487246_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/91b57f22c9f9e722a3585572e1fce30f.jpg","text":"TemporaryFile(/tmp/multipartBody3934527451337525235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969712952,"filename":"image_04012025_06_47_02_487246_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326347996","file1":"1326347992","file0":"1326347989","file3":"1326347999"},"map_files_photo_id_array":[{"photo_id":"1326347996","filename":"file2"},{"photo_id":"1326347992","filename":"file1"},{"photo_id":"1326347989","filename":"file0"},{"photo_id":"1326347999","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326347992":["hashtag1","hashtag2"]},{"1326347989":["hashtag1","hashtag2"]},{"1326347999":["hashtag1","hashtag2"]},{"1326347996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326347992, 1326347989, 1326347999, 1326347996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.44342756271362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:48:22.333666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/47/image_04012025_06_47_02_487246_0003.jpg', '/home/pi/Desktop/images/04012025/06/48/image_04012025_06_48_03_041507_0000.jpg', '/home/pi/Desktop/images/04012025/06/48/image_04012025_06_48_03_041507_0001.jpg', '/home/pi/Desktop/images/04012025/06/48/image_04012025_06_48_03_041507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/47/image_04012025_06_47_02_487246_0003.jpg
/home/pi/Desktop/images/04012025/06/48/image_04012025_06_48_03_041507_0000.jpg
/home/pi/Desktop/images/04012025/06/48/image_04012025_06_48_03_041507_0001.jpg
/home/pi/Desktop/images/04012025/06/48/image_04012025_06_48_03_041507_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326348855","1326348858","1326348461","1326348845"],"photo_ids_order":["1326348461","1326348845","1326348855","1326348858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e032c487215c6eacd0aae7fa8303abd2.jpg","text":"TemporaryFile(/tmp/multipartBody1079562273029883019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969772801,"filename":"image_04012025_06_48_03_041507_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aa90ea5881c10b6e6ab84f274cbf541a.jpg","text":"TemporaryFile(/tmp/multipartBody1229974769282876995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969772801,"filename":"image_04012025_06_48_03_041507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/06f1c9e132f4996b96eaa18bcf881684.jpg","text":"TemporaryFile(/tmp/multipartBody2694293778870056893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969772801,"filename":"image_04012025_06_47_02_487246_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f1e97a092a649c66cf04919e7560cfdd.jpg","text":"TemporaryFile(/tmp/multipartBody9053443034307526910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969772801,"filename":"image_04012025_06_48_03_041507_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326348855","file1":"1326348845","file0":"1326348461","file3":"1326348858"},"map_files_photo_id_array":[{"photo_id":"1326348855","filename":"file2"},{"photo_id":"1326348845","filename":"file1"},{"photo_id":"1326348461","filename":"file0"},{"photo_id":"1326348858","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326348855":["hashtag1","hashtag2"]},{"1326348858":["hashtag1","hashtag2"]},{"1326348461":["hashtag1","hashtag2"]},{"1326348845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326348855, 1326348858, 1326348461, 1326348845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.92627787590027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:49:21.798290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/48/image_04012025_06_48_03_041507_0003.jpg', '/home/pi/Desktop/images/04012025/06/49/image_04012025_06_49_02_676422_0000.jpg', '/home/pi/Desktop/images/04012025/06/49/image_04012025_06_49_02_676422_0001.jpg', '/home/pi/Desktop/images/04012025/06/49/image_04012025_06_49_02_676422_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/48/image_04012025_06_48_03_041507_0003.jpg
/home/pi/Desktop/images/04012025/06/49/image_04012025_06_49_02_676422_0000.jpg
/home/pi/Desktop/images/04012025/06/49/image_04012025_06_49_02_676422_0001.jpg
/home/pi/Desktop/images/04012025/06/49/image_04012025_06_49_02_676422_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326350065","1326349941","1326349725","1326350058"],"photo_ids_order":["1326349725","1326349941","1326350058","1326350065"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/adbf020e62e020813974554d65d8b1df.jpg","text":"TemporaryFile(/tmp/multipartBody5539663147956501714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969832269,"filename":"image_04012025_06_49_02_676422_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ccc1e2eebcd8d9999dd41f3c21431fb.jpg","text":"TemporaryFile(/tmp/multipartBody7245842126797076183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969832269,"filename":"image_04012025_06_49_02_676422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/07ec64b122b639f6991b0b92f10fca2a.jpg","text":"TemporaryFile(/tmp/multipartBody2121297432041400677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969832269,"filename":"image_04012025_06_48_03_041507_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/78ca4709111754ffc46ee5b6580737d7.jpg","text":"TemporaryFile(/tmp/multipartBody6412447797843414022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969832269,"filename":"image_04012025_06_49_02_676422_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326350058","file1":"1326349941","file0":"1326349725","file3":"1326350065"},"map_files_photo_id_array":[{"photo_id":"1326350058","filename":"file2"},{"photo_id":"1326349941","filename":"file1"},{"photo_id":"1326349725","filename":"file0"},{"photo_id":"1326350065","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326350065":["hashtag1","hashtag2"]},{"1326349941":["hashtag1","hashtag2"]},{"1326349725":["hashtag1","hashtag2"]},{"1326350058":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326350065, 1326349941, 1326349725, 1326350058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.69270300865173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:50:22.357951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/49/image_04012025_06_49_02_676422_0003.jpg', '/home/pi/Desktop/images/04012025/06/50/image_04012025_06_50_02_192487_0000.jpg', '/home/pi/Desktop/images/04012025/06/50/image_04012025_06_50_02_192487_0001.jpg', '/home/pi/Desktop/images/04012025/06/50/image_04012025_06_50_02_192487_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/49/image_04012025_06_49_02_676422_0003.jpg
/home/pi/Desktop/images/04012025/06/50/image_04012025_06_50_02_192487_0000.jpg
/home/pi/Desktop/images/04012025/06/50/image_04012025_06_50_02_192487_0001.jpg
/home/pi/Desktop/images/04012025/06/50/image_04012025_06_50_02_192487_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.775080919265747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:51:02.386223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/49/image_04012025_06_49_02_676422_0003.jpg', '/home/pi/Desktop/images/04012025/06/50/image_04012025_06_50_02_192487_0000.jpg', '/home/pi/Desktop/images/04012025/06/50/image_04012025_06_50_02_192487_0001.jpg', '/home/pi/Desktop/images/04012025/06/50/image_04012025_06_50_02_192487_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/49/image_04012025_06_49_02_676422_0003.jpg
/home/pi/Desktop/images/04012025/06/50/image_04012025_06_50_02_192487_0000.jpg
/home/pi/Desktop/images/04012025/06/50/image_04012025_06_50_02_192487_0001.jpg
/home/pi/Desktop/images/04012025/06/50/image_04012025_06_50_02_192487_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326350796","1326350793","1326350564","1326350759"],"photo_ids_order":["1326350564","1326350759","1326350793","1326350796"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/07e909039d9941edc4471a57fa37ef9f.jpg","text":"TemporaryFile(/tmp/multipartBody2539839283531358634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969932640,"filename":"image_04012025_06_50_02_192487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0fe686abebdf9378085ba2c94d4e9e1f.jpg","text":"TemporaryFile(/tmp/multipartBody5541736611353443772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969932640,"filename":"image_04012025_06_50_02_192487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/66b78376912713d3905337ed678cf782.jpg","text":"TemporaryFile(/tmp/multipartBody3017031835276901864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969932640,"filename":"image_04012025_06_49_02_676422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4a8bf2c2f485182dd5366ec851281d2e.jpg","text":"TemporaryFile(/tmp/multipartBody3066851714516187409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735969932640,"filename":"image_04012025_06_50_02_192487_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326350793","file1":"1326350759","file0":"1326350564","file3":"1326350796"},"map_files_photo_id_array":[{"photo_id":"1326350793","filename":"file2"},{"photo_id":"1326350759","filename":"file1"},{"photo_id":"1326350564","filename":"file0"},{"photo_id":"1326350796","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326350796":["hashtag1","hashtag2"]},{"1326350793":["hashtag1","hashtag2"]},{"1326350564":["hashtag1","hashtag2"]},{"1326350759":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326350796, 1326350793, 1326350564, 1326350759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.60341191291809 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:52:03.032248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/50/image_04012025_06_50_02_192487_0003.jpg', '/home/pi/Desktop/images/04012025/06/51/image_04012025_06_51_02_692550_0000.jpg', '/home/pi/Desktop/images/04012025/06/51/image_04012025_06_51_02_692550_0001.jpg', '/home/pi/Desktop/images/04012025/06/51/image_04012025_06_51_02_692550_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/50/image_04012025_06_50_02_192487_0003.jpg
/home/pi/Desktop/images/04012025/06/51/image_04012025_06_51_02_692550_0000.jpg
/home/pi/Desktop/images/04012025/06/51/image_04012025_06_51_02_692550_0001.jpg
/home/pi/Desktop/images/04012025/06/51/image_04012025_06_51_02_692550_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.894512176513672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:52:22.505799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/50/image_04012025_06_50_02_192487_0003.jpg', '/home/pi/Desktop/images/04012025/06/51/image_04012025_06_51_02_692550_0000.jpg', '/home/pi/Desktop/images/04012025/06/51/image_04012025_06_51_02_692550_0001.jpg', '/home/pi/Desktop/images/04012025/06/51/image_04012025_06_51_02_692550_0002.jpg', '/home/pi/Desktop/images/04012025/06/51/image_04012025_06_51_02_692550_0003.jpg', '/home/pi/Desktop/images/04012025/06/52/image_04012025_06_52_02_233777_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/50/image_04012025_06_50_02_192487_0003.jpg
/home/pi/Desktop/images/04012025/06/51/image_04012025_06_51_02_692550_0000.jpg
/home/pi/Desktop/images/04012025/06/51/image_04012025_06_51_02_692550_0001.jpg
/home/pi/Desktop/images/04012025/06/51/image_04012025_06_51_02_692550_0002.jpg
/home/pi/Desktop/images/04012025/06/51/image_04012025_06_51_02_692550_0003.jpg
/home/pi/Desktop/images/04012025/06/52/image_04012025_06_52_02_233777_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326351556","1326351550","1326351517","1326351552","1326351546","1326351554"],"photo_ids_order":["1326351517","1326351546","1326351550","1326351552","1326351554","1326351556"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b58b0dc4011ff7b954ce01ccf5d8205e.jpg","text":"TemporaryFile(/tmp/multipartBody8288821341101708781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970017718,"filename":"image_04012025_06_52_02_233777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d34778a2f107077f26fceee723628922.jpg","text":"TemporaryFile(/tmp/multipartBody147600650085696889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970017718,"filename":"image_04012025_06_51_02_692550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9f26cb9460ac1d9b762983465dea6056.jpg","text":"TemporaryFile(/tmp/multipartBody8631043044120735112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970017718,"filename":"image_04012025_06_50_02_192487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d237113c3e3be44cdc380f33bf0f60f2.jpg","text":"TemporaryFile(/tmp/multipartBody5905140604594138646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970017718,"filename":"image_04012025_06_51_02_692550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/788d41321991c22fab0eea7908b8844e.jpg","text":"TemporaryFile(/tmp/multipartBody7072891654523680264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970017718,"filename":"image_04012025_06_51_02_692550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0e79b5e7665ff3967520b12ec6f6085c.jpg","text":"TemporaryFile(/tmp/multipartBody8050851853903866296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970017718,"filename":"image_04012025_06_51_02_692550_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326351550","file1":"1326351546","file0":"1326351517","file4":"1326351554","file5":"1326351556","file3":"1326351552"},"map_files_photo_id_array":[{"photo_id":"1326351556","filename":"file5"},{"photo_id":"1326351550","filename":"file2"},{"photo_id":"1326351554","filename":"file4"},{"photo_id":"1326351546","filename":"file1"},{"photo_id":"1326351517","filename":"file0"},{"photo_id":"1326351552","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326351556":["hashtag1","hashtag2"]},{"1326351550":["hashtag1","hashtag2"]},{"1326351517":["hashtag1","hashtag2"]},{"1326351552":["hashtag1","hashtag2"]},{"1326351546":["hashtag1","hashtag2"]},{"1326351554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326351556, 1326351550, 1326351517, 1326351552, 1326351546, 1326351554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.060556173324585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:53:22.027454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/52/image_04012025_06_52_02_233777_0001.jpg', '/home/pi/Desktop/images/04012025/06/52/image_04012025_06_52_02_233777_0002.jpg', '/home/pi/Desktop/images/04012025/06/52/image_04012025_06_52_02_233777_0003.jpg', '/home/pi/Desktop/images/04012025/06/53/image_04012025_06_53_02_881521_0000.jpg', '/home/pi/Desktop/images/04012025/06/53/image_04012025_06_53_02_881521_0001.jpg', '/home/pi/Desktop/images/04012025/06/53/image_04012025_06_53_02_881521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/52/image_04012025_06_52_02_233777_0001.jpg
/home/pi/Desktop/images/04012025/06/52/image_04012025_06_52_02_233777_0002.jpg
/home/pi/Desktop/images/04012025/06/52/image_04012025_06_52_02_233777_0003.jpg
/home/pi/Desktop/images/04012025/06/53/image_04012025_06_53_02_881521_0000.jpg
/home/pi/Desktop/images/04012025/06/53/image_04012025_06_53_02_881521_0001.jpg
/home/pi/Desktop/images/04012025/06/53/image_04012025_06_53_02_881521_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326352201","1326352068","1326352203","1326352214","1326351920","1326352205"],"photo_ids_order":["1326351920","1326352068","1326352201","1326352203","1326352205","1326352214"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d152abc7f6763b0faa3e9460f2d3a1f9.jpg","text":"TemporaryFile(/tmp/multipartBody6190546984246184197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970077264,"filename":"image_04012025_06_52_02_233777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/88b07d0694d6f933ef4ac3b10ddff581.jpg","text":"TemporaryFile(/tmp/multipartBody2142321541727620232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970077264,"filename":"image_04012025_06_52_02_233777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7d626f4596c00ccaa304ab852fb2b697.jpg","text":"TemporaryFile(/tmp/multipartBody1363098588999987035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970077264,"filename":"image_04012025_06_53_02_881521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/01c46ee6f8ad28e3d248318afe108806.jpg","text":"TemporaryFile(/tmp/multipartBody7060230902288164091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970077264,"filename":"image_04012025_06_53_02_881521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/488c8be4e96a8803e920c25e64b9d00a.jpg","text":"TemporaryFile(/tmp/multipartBody5578362701826630979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970077264,"filename":"image_04012025_06_52_02_233777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b3f78bc39dea373300e01353767b218e.jpg","text":"TemporaryFile(/tmp/multipartBody3570843525560005107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970077264,"filename":"image_04012025_06_53_02_881521_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326352201","file1":"1326352068","file0":"1326351920","file4":"1326352205","file5":"1326352214","file3":"1326352203"},"map_files_photo_id_array":[{"photo_id":"1326352214","filename":"file5"},{"photo_id":"1326352201","filename":"file2"},{"photo_id":"1326352205","filename":"file4"},{"photo_id":"1326352068","filename":"file1"},{"photo_id":"1326351920","filename":"file0"},{"photo_id":"1326352203","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326352201":["hashtag1","hashtag2"]},{"1326352068":["hashtag1","hashtag2"]},{"1326352203":["hashtag1","hashtag2"]},{"1326352214":["hashtag1","hashtag2"]},{"1326351920":["hashtag1","hashtag2"]},{"1326352205":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326352201, 1326352068, 1326352203, 1326352214, 1326351920, 1326352205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.38476061820984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:54:22.559049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/53/image_04012025_06_53_02_881521_0003.jpg', '/home/pi/Desktop/images/04012025/06/54/image_04012025_06_54_02_429329_0000.jpg', '/home/pi/Desktop/images/04012025/06/54/image_04012025_06_54_02_429329_0001.jpg', '/home/pi/Desktop/images/04012025/06/54/image_04012025_06_54_02_429329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/53/image_04012025_06_53_02_881521_0003.jpg
/home/pi/Desktop/images/04012025/06/54/image_04012025_06_54_02_429329_0000.jpg
/home/pi/Desktop/images/04012025/06/54/image_04012025_06_54_02_429329_0001.jpg
/home/pi/Desktop/images/04012025/06/54/image_04012025_06_54_02_429329_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326352519","1326352583","1326352515","1326352511"],"photo_ids_order":["1326352511","1326352515","1326352519","1326352583"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28d4cefd07a484438bfdc1a8d4558864.jpg","text":"TemporaryFile(/tmp/multipartBody8897404317514654473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970132864,"filename":"image_04012025_06_54_02_429329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6b8527bfe9b424002762b28bddeb6b62.jpg","text":"TemporaryFile(/tmp/multipartBody2316256141480009210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970132864,"filename":"image_04012025_06_54_02_429329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/95f69c19c4c1f738c1f312e845b56bd6.jpg","text":"TemporaryFile(/tmp/multipartBody4536162604592126989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970132864,"filename":"image_04012025_06_54_02_429329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e9f54ad36463f217fff10b7592ce24d4.jpg","text":"TemporaryFile(/tmp/multipartBody8446008435970183649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970132864,"filename":"image_04012025_06_53_02_881521_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326352519","file1":"1326352515","file0":"1326352511","file3":"1326352583"},"map_files_photo_id_array":[{"photo_id":"1326352519","filename":"file2"},{"photo_id":"1326352515","filename":"file1"},{"photo_id":"1326352511","filename":"file0"},{"photo_id":"1326352583","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326352519":["hashtag1","hashtag2"]},{"1326352583":["hashtag1","hashtag2"]},{"1326352515":["hashtag1","hashtag2"]},{"1326352511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326352519, 1326352583, 1326352515, 1326352511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14811301231384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:55:22.004977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/54/image_04012025_06_54_02_429329_0003.jpg', '/home/pi/Desktop/images/04012025/06/55/image_04012025_06_55_02_923194_0000.jpg', '/home/pi/Desktop/images/04012025/06/55/image_04012025_06_55_02_923194_0001.jpg', '/home/pi/Desktop/images/04012025/06/55/image_04012025_06_55_02_923194_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/54/image_04012025_06_54_02_429329_0003.jpg
/home/pi/Desktop/images/04012025/06/55/image_04012025_06_55_02_923194_0000.jpg
/home/pi/Desktop/images/04012025/06/55/image_04012025_06_55_02_923194_0001.jpg
/home/pi/Desktop/images/04012025/06/55/image_04012025_06_55_02_923194_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326353541","1326353544","1326353269","1326353490"],"photo_ids_order":["1326353269","1326353490","1326353541","1326353544"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/777e9a32a07d898388fb72c10635d937.jpg","text":"TemporaryFile(/tmp/multipartBody4408197368895774775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970192266,"filename":"image_04012025_06_55_02_923194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3e0bee5093b8292ed469c081e62b2349.jpg","text":"TemporaryFile(/tmp/multipartBody392476351325180833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970192266,"filename":"image_04012025_06_55_02_923194_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/25c1dd191ec9f60044ee790439ca660a.jpg","text":"TemporaryFile(/tmp/multipartBody944544246087605879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970192266,"filename":"image_04012025_06_54_02_429329_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5859040b9e4501ed6ae083b6d843fe9d.jpg","text":"TemporaryFile(/tmp/multipartBody352122462388655497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970192266,"filename":"image_04012025_06_55_02_923194_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326353541","file1":"1326353490","file0":"1326353269","file3":"1326353544"},"map_files_photo_id_array":[{"photo_id":"1326353541","filename":"file2"},{"photo_id":"1326353490","filename":"file1"},{"photo_id":"1326353269","filename":"file0"},{"photo_id":"1326353544","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326353541":["hashtag1","hashtag2"]},{"1326353544":["hashtag1","hashtag2"]},{"1326353269":["hashtag1","hashtag2"]},{"1326353490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326353541, 1326353544, 1326353269, 1326353490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.10560607910156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 06:56:22.598646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/55/image_04012025_06_55_02_923194_0003.jpg', '/home/pi/Desktop/images/04012025/06/56/image_04012025_06_56_02_443923_0000.jpg', '/home/pi/Desktop/images/04012025/06/56/image_04012025_06_56_02_443923_0001.jpg', '/home/pi/Desktop/images/04012025/06/56/image_04012025_06_56_02_443923_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/55/image_04012025_06_55_02_923194_0003.jpg
/home/pi/Desktop/images/04012025/06/56/image_04012025_06_56_02_443923_0000.jpg
/home/pi/Desktop/images/04012025/06/56/image_04012025_06_56_02_443923_0001.jpg
/home/pi/Desktop/images/04012025/06/56/image_04012025_06_56_02_443923_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.854874610900879 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:57:02.711397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/55/image_04012025_06_55_02_923194_0003.jpg', '/home/pi/Desktop/images/04012025/06/56/image_04012025_06_56_02_443923_0000.jpg', '/home/pi/Desktop/images/04012025/06/56/image_04012025_06_56_02_443923_0001.jpg', '/home/pi/Desktop/images/04012025/06/56/image_04012025_06_56_02_443923_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/55/image_04012025_06_55_02_923194_0003.jpg
/home/pi/Desktop/images/04012025/06/56/image_04012025_06_56_02_443923_0000.jpg
/home/pi/Desktop/images/04012025/06/56/image_04012025_06_56_02_443923_0001.jpg
/home/pi/Desktop/images/04012025/06/56/image_04012025_06_56_02_443923_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326355316","1326355585","1326355668","1326355521"],"photo_ids_order":["1326355316","1326355521","1326355585","1326355668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4389964642c34c2565c38af8f9648bfa.jpg","text":"TemporaryFile(/tmp/multipartBody4473163796102050675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970293008,"filename":"image_04012025_06_55_02_923194_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/541ed70fb28667cd1ed3d500e0961fff.jpg","text":"TemporaryFile(/tmp/multipartBody291567414387523714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970293008,"filename":"image_04012025_06_56_02_443923_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d553985d34e7a2528118ddd7a8b25bed.jpg","text":"TemporaryFile(/tmp/multipartBody3735091960056358281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970293008,"filename":"image_04012025_06_56_02_443923_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2434f79b74ff5fae33e94c30da7afb79.jpg","text":"TemporaryFile(/tmp/multipartBody1526127292198995809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970293008,"filename":"image_04012025_06_56_02_443923_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326355585","file1":"1326355521","file0":"1326355316","file3":"1326355668"},"map_files_photo_id_array":[{"photo_id":"1326355585","filename":"file2"},{"photo_id":"1326355521","filename":"file1"},{"photo_id":"1326355316","filename":"file0"},{"photo_id":"1326355668","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326355316":["hashtag1","hashtag2"]},{"1326355585":["hashtag1","hashtag2"]},{"1326355668":["hashtag1","hashtag2"]},{"1326355521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326355316, 1326355585, 1326355668, 1326355521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.94554829597473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 06:59:02.696381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/56/image_04012025_06_56_02_443923_0003.jpg', '/home/pi/Desktop/images/04012025/06/57/image_04012025_06_57_02_989598_0000.jpg', '/home/pi/Desktop/images/04012025/06/57/image_04012025_06_57_02_989598_0001.jpg', '/home/pi/Desktop/images/04012025/06/57/image_04012025_06_57_02_989598_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/56/image_04012025_06_56_02_443923_0003.jpg
/home/pi/Desktop/images/04012025/06/57/image_04012025_06_57_02_989598_0000.jpg
/home/pi/Desktop/images/04012025/06/57/image_04012025_06_57_02_989598_0001.jpg
/home/pi/Desktop/images/04012025/06/57/image_04012025_06_57_02_989598_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326357112","1326357121","1326357125","1326357088"],"photo_ids_order":["1326357088","1326357112","1326357121","1326357125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cf235be1726f6d6437288960da8e6e07.jpg","text":"TemporaryFile(/tmp/multipartBody3433351892587789381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970412971,"filename":"image_04012025_06_57_02_989598_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30211a75ea94c8198d42d30edeb459b9.jpg","text":"TemporaryFile(/tmp/multipartBody467586153328764721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970412971,"filename":"image_04012025_06_57_02_989598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e3d3785e70a1a4407ca1baf990013b32.jpg","text":"TemporaryFile(/tmp/multipartBody3019999358441022509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970412971,"filename":"image_04012025_06_57_02_989598_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/81c7af1bc138b56fcada820d74656c8f.jpg","text":"TemporaryFile(/tmp/multipartBody3530473731084569759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970412971,"filename":"image_04012025_06_56_02_443923_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326357121","file1":"1326357112","file0":"1326357088","file3":"1326357125"},"map_files_photo_id_array":[{"photo_id":"1326357121","filename":"file2"},{"photo_id":"1326357112","filename":"file1"},{"photo_id":"1326357088","filename":"file0"},{"photo_id":"1326357125","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326357112":["hashtag1","hashtag2"]},{"1326357121":["hashtag1","hashtag2"]},{"1326357125":["hashtag1","hashtag2"]},{"1326357088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326357112, 1326357121, 1326357125, 1326357088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.41669774055481 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:00:03.038012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/57/image_04012025_06_57_02_989598_0003.jpg', '/home/pi/Desktop/images/04012025/06/58/image_04012025_06_58_02_488316_0000.jpg', '/home/pi/Desktop/images/04012025/06/58/image_04012025_06_58_02_488316_0001.jpg', '/home/pi/Desktop/images/04012025/06/58/image_04012025_06_58_02_488316_0002.jpg', '/home/pi/Desktop/images/04012025/06/58/image_04012025_06_58_02_488316_0003.jpg', '/home/pi/Desktop/images/04012025/06/59/image_04012025_06_59_02_145362_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/57/image_04012025_06_57_02_989598_0003.jpg
/home/pi/Desktop/images/04012025/06/58/image_04012025_06_58_02_488316_0000.jpg
/home/pi/Desktop/images/04012025/06/58/image_04012025_06_58_02_488316_0001.jpg
/home/pi/Desktop/images/04012025/06/58/image_04012025_06_58_02_488316_0002.jpg
/home/pi/Desktop/images/04012025/06/58/image_04012025_06_58_02_488316_0003.jpg
/home/pi/Desktop/images/04012025/06/59/image_04012025_06_59_02_145362_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.951310873031616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:00:22.633607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/57/image_04012025_06_57_02_989598_0003.jpg', '/home/pi/Desktop/images/04012025/06/58/image_04012025_06_58_02_488316_0000.jpg', '/home/pi/Desktop/images/04012025/06/58/image_04012025_06_58_02_488316_0001.jpg', '/home/pi/Desktop/images/04012025/06/58/image_04012025_06_58_02_488316_0002.jpg', '/home/pi/Desktop/images/04012025/06/58/image_04012025_06_58_02_488316_0003.jpg', '/home/pi/Desktop/images/04012025/06/59/image_04012025_06_59_02_145362_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/57/image_04012025_06_57_02_989598_0003.jpg
/home/pi/Desktop/images/04012025/06/58/image_04012025_06_58_02_488316_0000.jpg
/home/pi/Desktop/images/04012025/06/58/image_04012025_06_58_02_488316_0001.jpg
/home/pi/Desktop/images/04012025/06/58/image_04012025_06_58_02_488316_0002.jpg
/home/pi/Desktop/images/04012025/06/58/image_04012025_06_58_02_488316_0003.jpg
/home/pi/Desktop/images/04012025/06/59/image_04012025_06_59_02_145362_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326357561","1326357501","1326357504","1326357559","1326357844","1326357667"],"photo_ids_order":["1326357501","1326357504","1326357559","1326357561","1326357667","1326357844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2f5176ac28ac2f14d0709c9d0c02949f.jpg","text":"TemporaryFile(/tmp/multipartBody3392959021138774105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970497937,"filename":"image_04012025_06_58_02_488316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e63aa6919a9e977cf5b5d1bf8ceb6e76.jpg","text":"TemporaryFile(/tmp/multipartBody4429277200414748052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970497937,"filename":"image_04012025_06_57_02_989598_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1be5be58c0dfc7910abe617d40556eed.jpg","text":"TemporaryFile(/tmp/multipartBody7886212282379917240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970497937,"filename":"image_04012025_06_58_02_488316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ca825dbedd09bcd1c3338b0a76ea132.jpg","text":"TemporaryFile(/tmp/multipartBody5964049950322226520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970497937,"filename":"image_04012025_06_58_02_488316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5b94d0f4a2ca690056d7e3925af6b97b.jpg","text":"TemporaryFile(/tmp/multipartBody4494105512124607517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970497937,"filename":"image_04012025_06_59_02_145362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49477d0afd406a113ba5b28219f7f358.jpg","text":"TemporaryFile(/tmp/multipartBody7163503983548119858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970497937,"filename":"image_04012025_06_58_02_488316_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326357559","file1":"1326357504","file0":"1326357501","file4":"1326357667","file5":"1326357844","file3":"1326357561"},"map_files_photo_id_array":[{"photo_id":"1326357844","filename":"file5"},{"photo_id":"1326357559","filename":"file2"},{"photo_id":"1326357667","filename":"file4"},{"photo_id":"1326357504","filename":"file1"},{"photo_id":"1326357501","filename":"file0"},{"photo_id":"1326357561","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326357561":["hashtag1","hashtag2"]},{"1326357501":["hashtag1","hashtag2"]},{"1326357504":["hashtag1","hashtag2"]},{"1326357559":["hashtag1","hashtag2"]},{"1326357844":["hashtag1","hashtag2"]},{"1326357667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326357561, 1326357501, 1326357504, 1326357559, 1326357844, 1326357667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.62256860733032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:01:22.156467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/06/59/image_04012025_06_59_02_145362_0001.jpg', '/home/pi/Desktop/images/04012025/06/59/image_04012025_06_59_02_145362_0002.jpg', '/home/pi/Desktop/images/04012025/06/59/image_04012025_06_59_02_145362_0003.jpg', '/home/pi/Desktop/images/04012025/07/00/image_04012025_07_00_02_336048_0000.jpg', '/home/pi/Desktop/images/04012025/07/00/image_04012025_07_00_02_336048_0001.jpg', '/home/pi/Desktop/images/04012025/07/00/image_04012025_07_00_02_336048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/06/59/image_04012025_06_59_02_145362_0001.jpg
/home/pi/Desktop/images/04012025/06/59/image_04012025_06_59_02_145362_0002.jpg
/home/pi/Desktop/images/04012025/06/59/image_04012025_06_59_02_145362_0003.jpg
/home/pi/Desktop/images/04012025/07/00/image_04012025_07_00_02_336048_0000.jpg
/home/pi/Desktop/images/04012025/07/00/image_04012025_07_00_02_336048_0001.jpg
/home/pi/Desktop/images/04012025/07/00/image_04012025_07_00_02_336048_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326357931","1326357919","1326357933","1326357926","1326357929","1326357923"],"photo_ids_order":["1326357919","1326357923","1326357926","1326357929","1326357931","1326357933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9449b528cbc85118d32e8aa3ec506d4c.jpg","text":"TemporaryFile(/tmp/multipartBody9015971008247828409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970557324,"filename":"image_04012025_07_00_02_336048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/46e44c03477b55f30adfc7c89e452f9a.jpg","text":"TemporaryFile(/tmp/multipartBody8588631306342796427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970557324,"filename":"image_04012025_06_59_02_145362_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/82b67be9c525ecd93f42f26d3ea7f1bd.jpg","text":"TemporaryFile(/tmp/multipartBody6587439850372275605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970557324,"filename":"image_04012025_07_00_02_336048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/38359da5d6c0b9381c19171cf81db419.jpg","text":"TemporaryFile(/tmp/multipartBody574635458308619552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970557324,"filename":"image_04012025_06_59_02_145362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f63cd9e420f0c697e5536dc6a06772da.jpg","text":"TemporaryFile(/tmp/multipartBody8213570873785264405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970557324,"filename":"image_04012025_07_00_02_336048_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6d365d0a9f5bc0ec9dd602289f7e06b5.jpg","text":"TemporaryFile(/tmp/multipartBody1426125115109427795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970557324,"filename":"image_04012025_06_59_02_145362_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326357926","file1":"1326357923","file0":"1326357919","file4":"1326357931","file5":"1326357933","file3":"1326357929"},"map_files_photo_id_array":[{"photo_id":"1326357933","filename":"file5"},{"photo_id":"1326357926","filename":"file2"},{"photo_id":"1326357931","filename":"file4"},{"photo_id":"1326357923","filename":"file1"},{"photo_id":"1326357919","filename":"file0"},{"photo_id":"1326357929","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326357931":["hashtag1","hashtag2"]},{"1326357919":["hashtag1","hashtag2"]},{"1326357933":["hashtag1","hashtag2"]},{"1326357926":["hashtag1","hashtag2"]},{"1326357929":["hashtag1","hashtag2"]},{"1326357923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326357931, 1326357919, 1326357933, 1326357926, 1326357929, 1326357923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.87284994125366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:02:22.681595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/00/image_04012025_07_00_02_336048_0003.jpg', '/home/pi/Desktop/images/04012025/07/01/image_04012025_07_01_02_983578_0000.jpg', '/home/pi/Desktop/images/04012025/07/01/image_04012025_07_01_02_983578_0001.jpg', '/home/pi/Desktop/images/04012025/07/01/image_04012025_07_01_02_983578_0002.jpg', '/home/pi/Desktop/images/04012025/07/01/image_04012025_07_01_02_983578_0003.jpg', '/home/pi/Desktop/images/04012025/07/02/image_04012025_07_02_02_561256_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/00/image_04012025_07_00_02_336048_0003.jpg
/home/pi/Desktop/images/04012025/07/01/image_04012025_07_01_02_983578_0000.jpg
/home/pi/Desktop/images/04012025/07/01/image_04012025_07_01_02_983578_0001.jpg
/home/pi/Desktop/images/04012025/07/01/image_04012025_07_01_02_983578_0002.jpg
/home/pi/Desktop/images/04012025/07/01/image_04012025_07_01_02_983578_0003.jpg
/home/pi/Desktop/images/04012025/07/02/image_04012025_07_02_02_561256_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326357950","1326357953","1326357947","1326357938","1326357955","1326357943"],"photo_ids_order":["1326357938","1326357943","1326357947","1326357950","1326357953","1326357955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0faaa32cf8ab8638806788f63f076865.jpg","text":"TemporaryFile(/tmp/multipartBody6066660890255649406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970618087,"filename":"image_04012025_07_01_02_983578_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9dab032ca762131b5ebaaac11f371fa5.jpg","text":"TemporaryFile(/tmp/multipartBody3606794858153143386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970618087,"filename":"image_04012025_07_01_02_983578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/35bb28200a2af3fde230b0fec79c9aae.jpg","text":"TemporaryFile(/tmp/multipartBody7749175447727484646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970618087,"filename":"image_04012025_07_01_02_983578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d3efb439f7e6d57c49439977b2cf6a59.jpg","text":"TemporaryFile(/tmp/multipartBody7252902088297181925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970618087,"filename":"image_04012025_07_00_02_336048_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ee659dfd18946893d5b32c361f41abe5.jpg","text":"TemporaryFile(/tmp/multipartBody297792460676924056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970618087,"filename":"image_04012025_07_02_02_561256_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0695f6342c3a3c7496df438c26db9944.jpg","text":"TemporaryFile(/tmp/multipartBody6096101688666845242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970618087,"filename":"image_04012025_07_01_02_983578_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326357947","file1":"1326357943","file0":"1326357938","file4":"1326357953","file5":"1326357955","file3":"1326357950"},"map_files_photo_id_array":[{"photo_id":"1326357955","filename":"file5"},{"photo_id":"1326357947","filename":"file2"},{"photo_id":"1326357953","filename":"file4"},{"photo_id":"1326357943","filename":"file1"},{"photo_id":"1326357938","filename":"file0"},{"photo_id":"1326357950","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326357950":["hashtag1","hashtag2"]},{"1326357953":["hashtag1","hashtag2"]},{"1326357947":["hashtag1","hashtag2"]},{"1326357938":["hashtag1","hashtag2"]},{"1326357955":["hashtag1","hashtag2"]},{"1326357943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326357950, 1326357953, 1326357947, 1326357938, 1326357955, 1326357943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.780226945877075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:03:22.216893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/02/image_04012025_07_02_02_561256_0001.jpg', '/home/pi/Desktop/images/04012025/07/02/image_04012025_07_02_02_561256_0002.jpg', '/home/pi/Desktop/images/04012025/07/02/image_04012025_07_02_02_561256_0003.jpg', '/home/pi/Desktop/images/04012025/07/03/image_04012025_07_03_03_089357_0000.jpg', '/home/pi/Desktop/images/04012025/07/03/image_04012025_07_03_03_089357_0001.jpg', '/home/pi/Desktop/images/04012025/07/03/image_04012025_07_03_03_089357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/02/image_04012025_07_02_02_561256_0001.jpg
/home/pi/Desktop/images/04012025/07/02/image_04012025_07_02_02_561256_0002.jpg
/home/pi/Desktop/images/04012025/07/02/image_04012025_07_02_02_561256_0003.jpg
/home/pi/Desktop/images/04012025/07/03/image_04012025_07_03_03_089357_0000.jpg
/home/pi/Desktop/images/04012025/07/03/image_04012025_07_03_03_089357_0001.jpg
/home/pi/Desktop/images/04012025/07/03/image_04012025_07_03_03_089357_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326358944","1326359109","1326358953","1326358947","1326358783","1326359079"],"photo_ids_order":["1326358783","1326358944","1326358947","1326358953","1326359079","1326359109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d1f10bdb215a045ced6ae50e653eec74.jpg","text":"TemporaryFile(/tmp/multipartBody6053917308409327535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970677454,"filename":"image_04012025_07_02_02_561256_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6553253907eaadda03e3439b817a7b5f.jpg","text":"TemporaryFile(/tmp/multipartBody8217683826358383525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970677454,"filename":"image_04012025_07_03_03_089357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/07bb205bac5a352f92abaadfa3e820ba.jpg","text":"TemporaryFile(/tmp/multipartBody4758993824263638937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970677454,"filename":"image_04012025_07_03_03_089357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/662d90c6e5c4f70439e3052d45ae3695.jpg","text":"TemporaryFile(/tmp/multipartBody3648137601314967124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970677454,"filename":"image_04012025_07_02_02_561256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/65fd586a3f45bc7de94bac9ce043e568.jpg","text":"TemporaryFile(/tmp/multipartBody8499183408141022716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970677454,"filename":"image_04012025_07_02_02_561256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d96d773fd6c43afeff95c32fa316519.jpg","text":"TemporaryFile(/tmp/multipartBody3790230754554928255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970677454,"filename":"image_04012025_07_03_03_089357_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326358947","file1":"1326358944","file0":"1326358783","file4":"1326359079","file5":"1326359109","file3":"1326358953"},"map_files_photo_id_array":[{"photo_id":"1326359109","filename":"file5"},{"photo_id":"1326358947","filename":"file2"},{"photo_id":"1326359079","filename":"file4"},{"photo_id":"1326358944","filename":"file1"},{"photo_id":"1326358783","filename":"file0"},{"photo_id":"1326358953","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326358944":["hashtag1","hashtag2"]},{"1326359109":["hashtag1","hashtag2"]},{"1326358953":["hashtag1","hashtag2"]},{"1326358947":["hashtag1","hashtag2"]},{"1326358783":["hashtag1","hashtag2"]},{"1326359079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326358944, 1326359109, 1326358953, 1326358947, 1326358783, 1326359079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.27875328063965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:05:02.984937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/03/image_04012025_07_03_03_089357_0003.jpg', '/home/pi/Desktop/images/04012025/07/04/image_04012025_07_04_02_679850_0000.jpg', '/home/pi/Desktop/images/04012025/07/04/image_04012025_07_04_02_679850_0001.jpg', '/home/pi/Desktop/images/04012025/07/04/image_04012025_07_04_02_679850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/03/image_04012025_07_03_03_089357_0003.jpg
/home/pi/Desktop/images/04012025/07/04/image_04012025_07_04_02_679850_0000.jpg
/home/pi/Desktop/images/04012025/07/04/image_04012025_07_04_02_679850_0001.jpg
/home/pi/Desktop/images/04012025/07/04/image_04012025_07_04_02_679850_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.125439643859863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:05:22.345481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/03/image_04012025_07_03_03_089357_0003.jpg', '/home/pi/Desktop/images/04012025/07/04/image_04012025_07_04_02_679850_0000.jpg', '/home/pi/Desktop/images/04012025/07/04/image_04012025_07_04_02_679850_0001.jpg', '/home/pi/Desktop/images/04012025/07/04/image_04012025_07_04_02_679850_0002.jpg', '/home/pi/Desktop/images/04012025/07/04/image_04012025_07_04_02_679850_0003.jpg', '/home/pi/Desktop/images/04012025/07/05/image_04012025_07_05_02_180154_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/03/image_04012025_07_03_03_089357_0003.jpg
/home/pi/Desktop/images/04012025/07/04/image_04012025_07_04_02_679850_0000.jpg
/home/pi/Desktop/images/04012025/07/04/image_04012025_07_04_02_679850_0001.jpg
/home/pi/Desktop/images/04012025/07/04/image_04012025_07_04_02_679850_0002.jpg
/home/pi/Desktop/images/04012025/07/04/image_04012025_07_04_02_679850_0003.jpg
/home/pi/Desktop/images/04012025/07/05/image_04012025_07_05_02_180154_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326359514","1326359511","1326359505","1326359508","1326359516","1326359518"],"photo_ids_order":["1326359505","1326359508","1326359511","1326359514","1326359516","1326359518"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8fd1a57d54d2afe893b43a46ae5257df.jpg","text":"TemporaryFile(/tmp/multipartBody3355771162583244014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970797691,"filename":"image_04012025_07_04_02_679850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/44eb7097f3c3e30fa37f60f490afc221.jpg","text":"TemporaryFile(/tmp/multipartBody5897791512616510689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970797691,"filename":"image_04012025_07_04_02_679850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d3a851af1b285b752ad48a8bfc236b8.jpg","text":"TemporaryFile(/tmp/multipartBody4984538632006255867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970797691,"filename":"image_04012025_07_03_03_089357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6a6ed87beb25e6ddaab5ccc137990c20.jpg","text":"TemporaryFile(/tmp/multipartBody7267968690622152222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970797691,"filename":"image_04012025_07_04_02_679850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/356a9568ce0276376294ebd1480adf62.jpg","text":"TemporaryFile(/tmp/multipartBody8338117760564958906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970797691,"filename":"image_04012025_07_04_02_679850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9c626db7c2d911bbe6436ee41aa6097b.jpg","text":"TemporaryFile(/tmp/multipartBody1180335885936744002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970797691,"filename":"image_04012025_07_05_02_180154_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326359511","file1":"1326359508","file0":"1326359505","file4":"1326359516","file5":"1326359518","file3":"1326359514"},"map_files_photo_id_array":[{"photo_id":"1326359518","filename":"file5"},{"photo_id":"1326359511","filename":"file2"},{"photo_id":"1326359516","filename":"file4"},{"photo_id":"1326359508","filename":"file1"},{"photo_id":"1326359505","filename":"file0"},{"photo_id":"1326359514","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326359514":["hashtag1","hashtag2"]},{"1326359511":["hashtag1","hashtag2"]},{"1326359505":["hashtag1","hashtag2"]},{"1326359508":["hashtag1","hashtag2"]},{"1326359516":["hashtag1","hashtag2"]},{"1326359518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326359514, 1326359511, 1326359505, 1326359508, 1326359516, 1326359518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.044634103775024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:06:21.879078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/05/image_04012025_07_05_02_180154_0001.jpg', '/home/pi/Desktop/images/04012025/07/05/image_04012025_07_05_02_180154_0002.jpg', '/home/pi/Desktop/images/04012025/07/05/image_04012025_07_05_02_180154_0003.jpg', '/home/pi/Desktop/images/04012025/07/06/image_04012025_07_06_02_698071_0000.jpg', '/home/pi/Desktop/images/04012025/07/06/image_04012025_07_06_02_698071_0001.jpg', '/home/pi/Desktop/images/04012025/07/06/image_04012025_07_06_02_698071_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/05/image_04012025_07_05_02_180154_0001.jpg
/home/pi/Desktop/images/04012025/07/05/image_04012025_07_05_02_180154_0002.jpg
/home/pi/Desktop/images/04012025/07/05/image_04012025_07_05_02_180154_0003.jpg
/home/pi/Desktop/images/04012025/07/06/image_04012025_07_06_02_698071_0000.jpg
/home/pi/Desktop/images/04012025/07/06/image_04012025_07_06_02_698071_0001.jpg
/home/pi/Desktop/images/04012025/07/06/image_04012025_07_06_02_698071_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326359786","1326359875","1326359863","1326359857","1326359788","1326359854"],"photo_ids_order":["1326359786","1326359788","1326359854","1326359857","1326359863","1326359875"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2eeea9b3cb918bc5436b739d43c18490.jpg","text":"TemporaryFile(/tmp/multipartBody6670232786161811228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970856971,"filename":"image_04012025_07_05_02_180154_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3d3b288194bc22aacc2d2ea11193587a.jpg","text":"TemporaryFile(/tmp/multipartBody3748085218209345722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970856971,"filename":"image_04012025_07_06_02_698071_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/10b6782276fec57cc09745248b935c8a.jpg","text":"TemporaryFile(/tmp/multipartBody2226970686122116555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970856971,"filename":"image_04012025_07_06_02_698071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2cc5f1e4ee8f1d9521eaf481062ed5fe.jpg","text":"TemporaryFile(/tmp/multipartBody2938031827369890583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970856971,"filename":"image_04012025_07_06_02_698071_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2c22f174881b2ce1ab056b655ca385d7.jpg","text":"TemporaryFile(/tmp/multipartBody7244675355473232786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970856971,"filename":"image_04012025_07_05_02_180154_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7f037927f83df54779e77554e673d39.jpg","text":"TemporaryFile(/tmp/multipartBody2506656505104923581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970856971,"filename":"image_04012025_07_05_02_180154_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326359854","file1":"1326359788","file0":"1326359786","file4":"1326359863","file5":"1326359875","file3":"1326359857"},"map_files_photo_id_array":[{"photo_id":"1326359875","filename":"file5"},{"photo_id":"1326359854","filename":"file2"},{"photo_id":"1326359863","filename":"file4"},{"photo_id":"1326359788","filename":"file1"},{"photo_id":"1326359786","filename":"file0"},{"photo_id":"1326359857","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326359786":["hashtag1","hashtag2"]},{"1326359875":["hashtag1","hashtag2"]},{"1326359863":["hashtag1","hashtag2"]},{"1326359857":["hashtag1","hashtag2"]},{"1326359788":["hashtag1","hashtag2"]},{"1326359854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326359786, 1326359875, 1326359863, 1326359857, 1326359788, 1326359854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.28330421447754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:07:22.407344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/06/image_04012025_07_06_02_698071_0003.jpg', '/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0001.jpg', '/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/06/image_04012025_07_06_02_698071_0003.jpg
/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0001.jpg
/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326359910","1326359908","1326359905"],"photo_ids_order":["1326359905","1326359908","1326359910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aad9ce2f02375f4e1374be4f209ae61c.jpg","text":"TemporaryFile(/tmp/multipartBody7655369523998951402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970910508,"filename":"image_04012025_07_07_02_241903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dd27ce21d7da47cd61c260ec6b64a0ec.jpg","text":"TemporaryFile(/tmp/multipartBody9158321812478018305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970910508,"filename":"image_04012025_07_07_02_241903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c8efb176e94fc3ef479ce2f97aee3259.jpg","text":"TemporaryFile(/tmp/multipartBody2228485354934708048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735970910508,"filename":"image_04012025_07_06_02_698071_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326359910","file1":"1326359908","file0":"1326359905"},"map_files_photo_id_array":[{"photo_id":"1326359910","filename":"file2"},{"photo_id":"1326359908","filename":"file1"},{"photo_id":"1326359905","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326359910":["hashtag1","hashtag2"]},{"1326359908":["hashtag1","hashtag2"]},{"1326359905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326359910, 1326359908, 1326359905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.81652045249939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:08:02.373991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:08:21.960057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0003.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0001.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0003.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0001.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.614143371582031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:09:03.176145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0003.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0001.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0003.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0001.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>883ef5k54</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>883ef5k54</strong>.
uploaded 0 photos
time to upload: 37.63922691345215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:10:02.550586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0003.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0001.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0002.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0003.jpg', '/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0000.jpg', '/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0003.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0001.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0002.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0003.jpg
/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0000.jpg
/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.939244985580444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:10:22.136324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0003.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0001.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0002.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0003.jpg', '/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0000.jpg', '/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0003.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0001.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0002.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0003.jpg
/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0000.jpg
/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0001.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>883efahka</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>883efahka</strong>.
uploaded 0 photos
time to upload: 44.928300857543945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:11:22.656205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0003.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0001.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0002.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0003.jpg', '/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0000.jpg', '/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0003.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0001.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0002.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0003.jpg
/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0000.jpg
/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0001.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>883efe37m</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>883efe37m</strong>.
uploaded 0 photos
time to upload: 44.92107844352722 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:12:22.185147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0003.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0001.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0002.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0003.jpg', '/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0000.jpg', '/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0003.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0001.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0002.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0003.jpg
/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0000.jpg
/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0001.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>883efhd9e</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>883efhd9e</strong>.
uploaded 0 photos
time to upload: 44.92567038536072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:13:22.705431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0003.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0001.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0002.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0003.jpg', '/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0000.jpg', '/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0003.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0001.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0002.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0003.jpg
/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0000.jpg
/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0001.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>883efkoo2</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>883efkoo2</strong>.
uploaded 0 photos
time to upload: 44.94664406776428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:14:22.245209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0003.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0001.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0002.jpg', '/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0003.jpg', '/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0000.jpg', '/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/07/image_04012025_07_07_02_241903_0003.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0001.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0002.jpg
/home/pi/Desktop/images/04012025/07/08/image_04012025_07_08_02_851943_0003.jpg
/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0000.jpg
/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326360782","1326360764","1326360773","1326360776","1326360778","1326360769"],"photo_ids_order":["1326360764","1326360769","1326360773","1326360776","1326360778","1326360782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6f1e472fa6af162dfc186208118eac54.jpg","text":"TemporaryFile(/tmp/multipartBody8236472484060315848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971337573,"filename":"image_04012025_07_09_02_352270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/235387082a829019140c97a9efeae13a.jpg","text":"TemporaryFile(/tmp/multipartBody1600042408423562434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971337573,"filename":"image_04012025_07_07_02_241903_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/54686ba21993db760780502a7136c181.jpg","text":"TemporaryFile(/tmp/multipartBody6075265715427020990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971337573,"filename":"image_04012025_07_08_02_851943_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9bc3091906371e9cfbe6cec345cd9820.jpg","text":"TemporaryFile(/tmp/multipartBody3777187060529987318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971337573,"filename":"image_04012025_07_08_02_851943_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/08f484bc5efd2c356d4788749356a3f1.jpg","text":"TemporaryFile(/tmp/multipartBody4388527542543004343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971337573,"filename":"image_04012025_07_09_02_352270_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db250d45231d5ed76b1ad864475dc5d1.jpg","text":"TemporaryFile(/tmp/multipartBody7329108154010977504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971337573,"filename":"image_04012025_07_08_02_851943_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326360773","file1":"1326360769","file0":"1326360764","file4":"1326360778","file5":"1326360782","file3":"1326360776"},"map_files_photo_id_array":[{"photo_id":"1326360782","filename":"file5"},{"photo_id":"1326360773","filename":"file2"},{"photo_id":"1326360778","filename":"file4"},{"photo_id":"1326360769","filename":"file1"},{"photo_id":"1326360764","filename":"file0"},{"photo_id":"1326360776","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326360782":["hashtag1","hashtag2"]},{"1326360764":["hashtag1","hashtag2"]},{"1326360773":["hashtag1","hashtag2"]},{"1326360776":["hashtag1","hashtag2"]},{"1326360778":["hashtag1","hashtag2"]},{"1326360769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326360782, 1326360764, 1326360773, 1326360776, 1326360778, 1326360769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.0479736328125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:15:21.724316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0002.jpg', '/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0003.jpg', '/home/pi/Desktop/images/04012025/07/10/image_04012025_07_10_02_929827_0000.jpg', '/home/pi/Desktop/images/04012025/07/10/image_04012025_07_10_02_929827_0001.jpg', '/home/pi/Desktop/images/04012025/07/10/image_04012025_07_10_02_929827_0002.jpg', '/home/pi/Desktop/images/04012025/07/10/image_04012025_07_10_02_929827_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0002.jpg
/home/pi/Desktop/images/04012025/07/09/image_04012025_07_09_02_352270_0003.jpg
/home/pi/Desktop/images/04012025/07/10/image_04012025_07_10_02_929827_0000.jpg
/home/pi/Desktop/images/04012025/07/10/image_04012025_07_10_02_929827_0001.jpg
/home/pi/Desktop/images/04012025/07/10/image_04012025_07_10_02_929827_0002.jpg
/home/pi/Desktop/images/04012025/07/10/image_04012025_07_10_02_929827_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326360843","1326360813","1326360797","1326360816","1326360791","1326360794"],"photo_ids_order":["1326360791","1326360794","1326360797","1326360813","1326360816","1326360843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cef6c4c7e6eacd5d3189ef3d63173ed0.jpg","text":"TemporaryFile(/tmp/multipartBody5089116067399098203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971396664,"filename":"image_04012025_07_10_02_929827_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28e37d28ac06ab4880a329df21c45499.jpg","text":"TemporaryFile(/tmp/multipartBody5291726573783234214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971396664,"filename":"image_04012025_07_10_02_929827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4d1549809924044519d10f1fc960360b.jpg","text":"TemporaryFile(/tmp/multipartBody4896406075512759414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971396664,"filename":"image_04012025_07_10_02_929827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0f1f7eb19077a0a312d37f49f9f3c5c1.jpg","text":"TemporaryFile(/tmp/multipartBody7943410423149242562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971396664,"filename":"image_04012025_07_10_02_929827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/08ced979cd0191dbb03efad8b3b84f0a.jpg","text":"TemporaryFile(/tmp/multipartBody2630965639910912307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971396664,"filename":"image_04012025_07_09_02_352270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/05c9dbee5382cda707a82905d233b0cc.jpg","text":"TemporaryFile(/tmp/multipartBody5093035807103226547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971396664,"filename":"image_04012025_07_09_02_352270_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326360797","file1":"1326360794","file0":"1326360791","file4":"1326360816","file5":"1326360843","file3":"1326360813"},"map_files_photo_id_array":[{"photo_id":"1326360843","filename":"file5"},{"photo_id":"1326360797","filename":"file2"},{"photo_id":"1326360816","filename":"file4"},{"photo_id":"1326360794","filename":"file1"},{"photo_id":"1326360791","filename":"file0"},{"photo_id":"1326360813","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326360843":["hashtag1","hashtag2"]},{"1326360813":["hashtag1","hashtag2"]},{"1326360797":["hashtag1","hashtag2"]},{"1326360816":["hashtag1","hashtag2"]},{"1326360791":["hashtag1","hashtag2"]},{"1326360794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326360843, 1326360813, 1326360797, 1326360816, 1326360791, 1326360794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.82585144042969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:16:22.204674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/11/image_04012025_07_11_02_509991_0000.jpg', '/home/pi/Desktop/images/04012025/07/11/image_04012025_07_11_02_509991_0001.jpg', '/home/pi/Desktop/images/04012025/07/11/image_04012025_07_11_02_509991_0002.jpg', '/home/pi/Desktop/images/04012025/07/12/image_04012025_07_12_03_023048_0000.jpg', '/home/pi/Desktop/images/04012025/07/12/image_04012025_07_12_03_023048_0001.jpg', '/home/pi/Desktop/images/04012025/07/12/image_04012025_07_12_03_023048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/11/image_04012025_07_11_02_509991_0000.jpg
/home/pi/Desktop/images/04012025/07/11/image_04012025_07_11_02_509991_0001.jpg
/home/pi/Desktop/images/04012025/07/11/image_04012025_07_11_02_509991_0002.jpg
/home/pi/Desktop/images/04012025/07/12/image_04012025_07_12_03_023048_0000.jpg
/home/pi/Desktop/images/04012025/07/12/image_04012025_07_12_03_023048_0001.jpg
/home/pi/Desktop/images/04012025/07/12/image_04012025_07_12_03_023048_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.266059875488281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:17:03.210702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/11/image_04012025_07_11_02_509991_0000.jpg', '/home/pi/Desktop/images/04012025/07/11/image_04012025_07_11_02_509991_0001.jpg', '/home/pi/Desktop/images/04012025/07/11/image_04012025_07_11_02_509991_0002.jpg', '/home/pi/Desktop/images/04012025/07/12/image_04012025_07_12_03_023048_0000.jpg', '/home/pi/Desktop/images/04012025/07/12/image_04012025_07_12_03_023048_0001.jpg', '/home/pi/Desktop/images/04012025/07/12/image_04012025_07_12_03_023048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/11/image_04012025_07_11_02_509991_0000.jpg
/home/pi/Desktop/images/04012025/07/11/image_04012025_07_11_02_509991_0001.jpg
/home/pi/Desktop/images/04012025/07/11/image_04012025_07_11_02_509991_0002.jpg
/home/pi/Desktop/images/04012025/07/12/image_04012025_07_12_03_023048_0000.jpg
/home/pi/Desktop/images/04012025/07/12/image_04012025_07_12_03_023048_0001.jpg
/home/pi/Desktop/images/04012025/07/12/image_04012025_07_12_03_023048_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326360866","1326360869","1326360880","1326360874","1326360877","1326360871"],"photo_ids_order":["1326360866","1326360869","1326360871","1326360874","1326360877","1326360880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cb3b18a4b0a7bd4ffd0ec74987a2560a.jpg","text":"TemporaryFile(/tmp/multipartBody5982567184261948074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971497970,"filename":"image_04012025_07_11_02_509991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/76f61ea9006d110d604e976e13fea2d6.jpg","text":"TemporaryFile(/tmp/multipartBody4205358189636786514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971497970,"filename":"image_04012025_07_11_02_509991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b069bb15819ab2d45139d51c746d80ce.jpg","text":"TemporaryFile(/tmp/multipartBody4001348374375431663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971497970,"filename":"image_04012025_07_12_03_023048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2cb0a502d3a48ad50b7b9e48f7370fe9.jpg","text":"TemporaryFile(/tmp/multipartBody7209820190359496333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971497970,"filename":"image_04012025_07_12_03_023048_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4b5659e30d95b783e902926d5d29028e.jpg","text":"TemporaryFile(/tmp/multipartBody2847315109752181568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971497970,"filename":"image_04012025_07_12_03_023048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f2934668538df1fd72ead957481d9a1f.jpg","text":"TemporaryFile(/tmp/multipartBody3927467039922482112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971497970,"filename":"image_04012025_07_11_02_509991_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326360871","file1":"1326360869","file0":"1326360866","file4":"1326360877","file5":"1326360880","file3":"1326360874"},"map_files_photo_id_array":[{"photo_id":"1326360880","filename":"file5"},{"photo_id":"1326360871","filename":"file2"},{"photo_id":"1326360877","filename":"file4"},{"photo_id":"1326360869","filename":"file1"},{"photo_id":"1326360866","filename":"file0"},{"photo_id":"1326360874","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326360866":["hashtag1","hashtag2"]},{"1326360869":["hashtag1","hashtag2"]},{"1326360880":["hashtag1","hashtag2"]},{"1326360874":["hashtag1","hashtag2"]},{"1326360877":["hashtag1","hashtag2"]},{"1326360871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326360866, 1326360869, 1326360880, 1326360874, 1326360877, 1326360871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.34497022628784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:18:02.652127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/12/image_04012025_07_12_03_023048_0003.jpg', '/home/pi/Desktop/images/04012025/07/13/image_04012025_07_13_02_522396_0000.jpg', '/home/pi/Desktop/images/04012025/07/13/image_04012025_07_13_02_522396_0001.jpg', '/home/pi/Desktop/images/04012025/07/13/image_04012025_07_13_02_522396_0002.jpg', '/home/pi/Desktop/images/04012025/07/13/image_04012025_07_13_02_522396_0003.jpg', '/home/pi/Desktop/images/04012025/07/14/image_04012025_07_14_03_118078_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/12/image_04012025_07_12_03_023048_0003.jpg
/home/pi/Desktop/images/04012025/07/13/image_04012025_07_13_02_522396_0000.jpg
/home/pi/Desktop/images/04012025/07/13/image_04012025_07_13_02_522396_0001.jpg
/home/pi/Desktop/images/04012025/07/13/image_04012025_07_13_02_522396_0002.jpg
/home/pi/Desktop/images/04012025/07/13/image_04012025_07_13_02_522396_0003.jpg
/home/pi/Desktop/images/04012025/07/14/image_04012025_07_14_03_118078_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":["1326360888","1326360890","1326360893","1326361483","1326361084","1326361287"],"photo_ids_order":["1326360888","1326360890","1326360893","1326361084","1326361287","1326361483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0f1778cd063a55a92f45ef7d6540a92f.jpg","text":"TemporaryFile(/tmp/multipartBody4173857322555752069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971557843,"filename":"image_04012025_07_12_03_023048_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30dbc3655042e4d019e1b2e766f5cc24.jpg","text":"TemporaryFile(/tmp/multipartBody2439433055360660828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971557843,"filename":"image_04012025_07_13_02_522396_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/426b82218aa7ec6a8731fabd12c68929.jpg","text":"TemporaryFile(/tmp/multipartBody7101609478374036299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971557843,"filename":"image_04012025_07_13_02_522396_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/817bdc0542a24590d061b022b9dc546f.jpg","text":"TemporaryFile(/tmp/multipartBody2237791754898652249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971557843,"filename":"image_04012025_07_14_03_118078_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/66e54cd324a1996af02696830f9c75d7.jpg","text":"TemporaryFile(/tmp/multipartBody4607800051489941769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971557843,"filename":"image_04012025_07_13_02_522396_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e783e64a43befad7e6574a0063edff3f.jpg","text":"TemporaryFile(/tmp/multipartBody3559451679942453903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971557843,"filename":"image_04012025_07_13_02_522396_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326360893","file1":"1326360890","file0":"1326360888","file4":"1326361287","file5":"1326361483","file3":"1326361084"},"map_files_photo_id_array":[{"photo_id":"1326361483","filename":"file5"},{"photo_id":"1326360893","filename":"file2"},{"photo_id":"1326361287","filename":"file4"},{"photo_id":"1326360890","filename":"file1"},{"photo_id":"1326360888","filename":"file0"},{"photo_id":"1326361084","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326360888":["hashtag1","hashtag2"]},{"1326360890":["hashtag1","hashtag2"]},{"1326360893":["hashtag1","hashtag2"]},{"1326361483":["hashtag1","hashtag2"]},{"1326361084":["hashtag1","hashtag2"]},{"1326361287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326360888, 1326360890, 1326360893, 1326361483, 1326361084, 1326361287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.08303952217102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:19:21.872470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/14/image_04012025_07_14_03_118078_0001.jpg', '/home/pi/Desktop/images/04012025/07/14/image_04012025_07_14_03_118078_0002.jpg', '/home/pi/Desktop/images/04012025/07/14/image_04012025_07_14_03_118078_0003.jpg', '/home/pi/Desktop/images/04012025/07/15/image_04012025_07_15_02_624974_0000.jpg', '/home/pi/Desktop/images/04012025/07/15/image_04012025_07_15_02_624974_0001.jpg', '/home/pi/Desktop/images/04012025/07/15/image_04012025_07_15_02_624974_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/14/image_04012025_07_14_03_118078_0001.jpg
/home/pi/Desktop/images/04012025/07/14/image_04012025_07_14_03_118078_0002.jpg
/home/pi/Desktop/images/04012025/07/14/image_04012025_07_14_03_118078_0003.jpg
/home/pi/Desktop/images/04012025/07/15/image_04012025_07_15_02_624974_0000.jpg
/home/pi/Desktop/images/04012025/07/15/image_04012025_07_15_02_624974_0001.jpg
/home/pi/Desktop/images/04012025/07/15/image_04012025_07_15_02_624974_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326362192","1326362165","1326362195","1326362048","1326361943","1326362196"],"photo_ids_order":["1326361943","1326362048","1326362165","1326362192","1326362195","1326362196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7359cfe9631d10c31a6b4e82dc60a345.jpg","text":"TemporaryFile(/tmp/multipartBody4288038647894980854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971637249,"filename":"image_04012025_07_15_02_624974_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/534cc13376f86d83d269655997b52023.jpg","text":"TemporaryFile(/tmp/multipartBody4849148015896403069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971637249,"filename":"image_04012025_07_14_03_118078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d623dce9b7bca45c2a88463b72fb377e.jpg","text":"TemporaryFile(/tmp/multipartBody4934135869699762945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971637249,"filename":"image_04012025_07_15_02_624974_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b2ba4369ce29999b611b6a22f1d5b489.jpg","text":"TemporaryFile(/tmp/multipartBody4647232698672866134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971637249,"filename":"image_04012025_07_14_03_118078_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6bd593e9de7b4c059d92109c6331220c.jpg","text":"TemporaryFile(/tmp/multipartBody8922430066330740825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971637249,"filename":"image_04012025_07_14_03_118078_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0981c4c5b58d00412a64d7b05857f7cb.jpg","text":"TemporaryFile(/tmp/multipartBody4786259075918575437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971637249,"filename":"image_04012025_07_15_02_624974_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326362165","file1":"1326362048","file0":"1326361943","file4":"1326362195","file5":"1326362196","file3":"1326362192"},"map_files_photo_id_array":[{"photo_id":"1326362196","filename":"file5"},{"photo_id":"1326362165","filename":"file2"},{"photo_id":"1326362195","filename":"file4"},{"photo_id":"1326362048","filename":"file1"},{"photo_id":"1326361943","filename":"file0"},{"photo_id":"1326362192","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326362192":["hashtag1","hashtag2"]},{"1326362165":["hashtag1","hashtag2"]},{"1326362195":["hashtag1","hashtag2"]},{"1326362048":["hashtag1","hashtag2"]},{"1326361943":["hashtag1","hashtag2"]},{"1326362196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326362192, 1326362165, 1326362195, 1326362048, 1326361943, 1326362196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.706581830978394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:20:22.458426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/15/image_04012025_07_15_02_624974_0003.jpg', '/home/pi/Desktop/images/04012025/07/16/image_04012025_07_16_02_079710_0000.jpg', '/home/pi/Desktop/images/04012025/07/16/image_04012025_07_16_02_079710_0001.jpg', '/home/pi/Desktop/images/04012025/07/16/image_04012025_07_16_02_079710_0002.jpg', '/home/pi/Desktop/images/04012025/07/16/image_04012025_07_16_02_079710_0003.jpg', '/home/pi/Desktop/images/04012025/07/17/image_04012025_07_17_02_535193_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/15/image_04012025_07_15_02_624974_0003.jpg
/home/pi/Desktop/images/04012025/07/16/image_04012025_07_16_02_079710_0000.jpg
/home/pi/Desktop/images/04012025/07/16/image_04012025_07_16_02_079710_0001.jpg
/home/pi/Desktop/images/04012025/07/16/image_04012025_07_16_02_079710_0002.jpg
/home/pi/Desktop/images/04012025/07/16/image_04012025_07_16_02_079710_0003.jpg
/home/pi/Desktop/images/04012025/07/17/image_04012025_07_17_02_535193_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326362351","1326362717","1326362720","1326362200","1326362262","1326362625"],"photo_ids_order":["1326362200","1326362262","1326362351","1326362625","1326362717","1326362720"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/970fbf0711de2a4999e9331df7488227.jpg","text":"TemporaryFile(/tmp/multipartBody2518886196244417765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971697477,"filename":"image_04012025_07_16_02_079710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cc8a152379551a0337afeb5624dd5746.jpg","text":"TemporaryFile(/tmp/multipartBody9136097595727081387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971697477,"filename":"image_04012025_07_16_02_079710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/81754e383cfbc3f261f622774b73c0f1.jpg","text":"TemporaryFile(/tmp/multipartBody1761720429857336108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971697477,"filename":"image_04012025_07_17_02_535193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f8a558543e48bdd34888538fe288cd81.jpg","text":"TemporaryFile(/tmp/multipartBody2701056482138086558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971697477,"filename":"image_04012025_07_15_02_624974_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9930315cf46fe3bcca521392867a1b34.jpg","text":"TemporaryFile(/tmp/multipartBody6439023892568215817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971697477,"filename":"image_04012025_07_16_02_079710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0f85ef56a3fc3f8895048790ce75f89.jpg","text":"TemporaryFile(/tmp/multipartBody7412090276664112980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971697477,"filename":"image_04012025_07_16_02_079710_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326362351","file1":"1326362262","file0":"1326362200","file4":"1326362717","file5":"1326362720","file3":"1326362625"},"map_files_photo_id_array":[{"photo_id":"1326362720","filename":"file5"},{"photo_id":"1326362351","filename":"file2"},{"photo_id":"1326362717","filename":"file4"},{"photo_id":"1326362262","filename":"file1"},{"photo_id":"1326362200","filename":"file0"},{"photo_id":"1326362625","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326362351":["hashtag1","hashtag2"]},{"1326362717":["hashtag1","hashtag2"]},{"1326362720":["hashtag1","hashtag2"]},{"1326362200":["hashtag1","hashtag2"]},{"1326362262":["hashtag1","hashtag2"]},{"1326362625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326362351, 1326362717, 1326362720, 1326362200, 1326362262, 1326362625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.35831379890442 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:21:21.931894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/17/image_04012025_07_17_02_535193_0001.jpg', '/home/pi/Desktop/images/04012025/07/17/image_04012025_07_17_02_535193_0002.jpg', '/home/pi/Desktop/images/04012025/07/17/image_04012025_07_17_02_535193_0003.jpg', '/home/pi/Desktop/images/04012025/07/18/image_04012025_07_18_03_122176_0000.jpg', '/home/pi/Desktop/images/04012025/07/18/image_04012025_07_18_03_122176_0001.jpg', '/home/pi/Desktop/images/04012025/07/18/image_04012025_07_18_03_122176_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/17/image_04012025_07_17_02_535193_0001.jpg
/home/pi/Desktop/images/04012025/07/17/image_04012025_07_17_02_535193_0002.jpg
/home/pi/Desktop/images/04012025/07/17/image_04012025_07_17_02_535193_0003.jpg
/home/pi/Desktop/images/04012025/07/18/image_04012025_07_18_03_122176_0000.jpg
/home/pi/Desktop/images/04012025/07/18/image_04012025_07_18_03_122176_0001.jpg
/home/pi/Desktop/images/04012025/07/18/image_04012025_07_18_03_122176_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326363904","1326362794","1326363802","1326362935","1326363486","1326363854"],"photo_ids_order":["1326362794","1326362935","1326363486","1326363802","1326363854","1326363904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5d4b1c91ac0ef72540c1cc8b62a52798.jpg","text":"TemporaryFile(/tmp/multipartBody2446475576352358829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971757154,"filename":"image_04012025_07_18_03_122176_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c94f330583fe9ca723cb1dc27e1a71e8.jpg","text":"TemporaryFile(/tmp/multipartBody1502194745547048214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971757154,"filename":"image_04012025_07_17_02_535193_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/619f6822ff6fe690e3d290d681640394.jpg","text":"TemporaryFile(/tmp/multipartBody6995635023886629794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971757154,"filename":"image_04012025_07_18_03_122176_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/901fa1e915f135af37b054738ff61fc3.jpg","text":"TemporaryFile(/tmp/multipartBody7364138217208030646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971757154,"filename":"image_04012025_07_17_02_535193_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/534e2fc22d106f476d1a4ece0655ec63.jpg","text":"TemporaryFile(/tmp/multipartBody3875387142656529838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971757154,"filename":"image_04012025_07_17_02_535193_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/800790fd895033bb1a861b80b01370ec.jpg","text":"TemporaryFile(/tmp/multipartBody4531724948392693599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971757154,"filename":"image_04012025_07_18_03_122176_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326363486","file1":"1326362935","file0":"1326362794","file4":"1326363854","file5":"1326363904","file3":"1326363802"},"map_files_photo_id_array":[{"photo_id":"1326363904","filename":"file5"},{"photo_id":"1326363486","filename":"file2"},{"photo_id":"1326363854","filename":"file4"},{"photo_id":"1326362935","filename":"file1"},{"photo_id":"1326362794","filename":"file0"},{"photo_id":"1326363802","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326363904":["hashtag1","hashtag2"]},{"1326362794":["hashtag1","hashtag2"]},{"1326363802":["hashtag1","hashtag2"]},{"1326362935":["hashtag1","hashtag2"]},{"1326363486":["hashtag1","hashtag2"]},{"1326363854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326363904, 1326362794, 1326363802, 1326362935, 1326363486, 1326363854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.50412106513977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:22:22.412394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/18/image_04012025_07_18_03_122176_0003.jpg', '/home/pi/Desktop/images/04012025/07/19/image_04012025_07_19_02_730414_0000.jpg', '/home/pi/Desktop/images/04012025/07/19/image_04012025_07_19_02_730414_0001.jpg', '/home/pi/Desktop/images/04012025/07/19/image_04012025_07_19_02_730414_0002.jpg', '/home/pi/Desktop/images/04012025/07/19/image_04012025_07_19_02_730414_0003.jpg', '/home/pi/Desktop/images/04012025/07/20/image_04012025_07_20_02_277770_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/18/image_04012025_07_18_03_122176_0003.jpg
/home/pi/Desktop/images/04012025/07/19/image_04012025_07_19_02_730414_0000.jpg
/home/pi/Desktop/images/04012025/07/19/image_04012025_07_19_02_730414_0001.jpg
/home/pi/Desktop/images/04012025/07/19/image_04012025_07_19_02_730414_0002.jpg
/home/pi/Desktop/images/04012025/07/19/image_04012025_07_19_02_730414_0003.jpg
/home/pi/Desktop/images/04012025/07/20/image_04012025_07_20_02_277770_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326364447","1326364659","1326364749","1326364691","1326364526","1326364334"],"photo_ids_order":["1326364334","1326364447","1326364526","1326364659","1326364691","1326364749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4194bdac685075d86b89687e2b5299a0.jpg","text":"TemporaryFile(/tmp/multipartBody6064744662872136987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971817410,"filename":"image_04012025_07_19_02_730414_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b0b68e6cb8c9381d9b09dfbdcdeee4d3.jpg","text":"TemporaryFile(/tmp/multipartBody4173185847383532312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971817410,"filename":"image_04012025_07_19_02_730414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d7eefc628543674f65d90bc66ee68943.jpg","text":"TemporaryFile(/tmp/multipartBody2063221893413254722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971817410,"filename":"image_04012025_07_20_02_277770_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2dda3d2707baeaad32232313a2b9d73e.jpg","text":"TemporaryFile(/tmp/multipartBody200874517262556297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971817410,"filename":"image_04012025_07_19_02_730414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/38c698d59062aff03a6fa246842e250a.jpg","text":"TemporaryFile(/tmp/multipartBody7698758478660834978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971817410,"filename":"image_04012025_07_19_02_730414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/46c64ab7342d41cf28eddc8f997711af.jpg","text":"TemporaryFile(/tmp/multipartBody3722332388596489170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971817410,"filename":"image_04012025_07_18_03_122176_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326364526","file1":"1326364447","file0":"1326364334","file4":"1326364691","file5":"1326364749","file3":"1326364659"},"map_files_photo_id_array":[{"photo_id":"1326364749","filename":"file5"},{"photo_id":"1326364526","filename":"file2"},{"photo_id":"1326364691","filename":"file4"},{"photo_id":"1326364447","filename":"file1"},{"photo_id":"1326364334","filename":"file0"},{"photo_id":"1326364659","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326364447":["hashtag1","hashtag2"]},{"1326364659":["hashtag1","hashtag2"]},{"1326364749":["hashtag1","hashtag2"]},{"1326364691":["hashtag1","hashtag2"]},{"1326364526":["hashtag1","hashtag2"]},{"1326364334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326364447, 1326364659, 1326364749, 1326364691, 1326364526, 1326364334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.25541687011719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:23:21.912860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/20/image_04012025_07_20_02_277770_0001.jpg', '/home/pi/Desktop/images/04012025/07/20/image_04012025_07_20_02_277770_0003.jpg', '/home/pi/Desktop/images/04012025/07/21/image_04012025_07_21_02_815532_0000.jpg', '/home/pi/Desktop/images/04012025/07/21/image_04012025_07_21_02_815532_0001.jpg', '/home/pi/Desktop/images/04012025/07/21/image_04012025_07_21_02_815532_0003.jpg', '/home/pi/Desktop/images/04012025/07/22/image_04012025_07_22_02_315350_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/20/image_04012025_07_20_02_277770_0001.jpg
/home/pi/Desktop/images/04012025/07/20/image_04012025_07_20_02_277770_0003.jpg
/home/pi/Desktop/images/04012025/07/21/image_04012025_07_21_02_815532_0000.jpg
/home/pi/Desktop/images/04012025/07/21/image_04012025_07_21_02_815532_0001.jpg
/home/pi/Desktop/images/04012025/07/21/image_04012025_07_21_02_815532_0003.jpg
/home/pi/Desktop/images/04012025/07/22/image_04012025_07_22_02_315350_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326365311","1326365397","1326365391","1326365393","1326365395","1326365383"],"photo_ids_order":["1326365311","1326365383","1326365391","1326365393","1326365395","1326365397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/13aef114c4df2689a33682adc944345b.jpg","text":"TemporaryFile(/tmp/multipartBody1501670720379345082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971876865,"filename":"image_04012025_07_20_02_277770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8b6bcfc7502c61183584ec14f94626dd.jpg","text":"TemporaryFile(/tmp/multipartBody4049956455419008937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971876865,"filename":"image_04012025_07_22_02_315350_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c14cb4e2e277d19883c78d697b9335b3.jpg","text":"TemporaryFile(/tmp/multipartBody8128950330402814525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971876865,"filename":"image_04012025_07_21_02_815532_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ccddb0ca26508f198aef0789c8e38c27.jpg","text":"TemporaryFile(/tmp/multipartBody569028834236892452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971876865,"filename":"image_04012025_07_21_02_815532_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8e4dfd0b602e7a1d2925898d5c344bdc.jpg","text":"TemporaryFile(/tmp/multipartBody2955318099634775383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971876865,"filename":"image_04012025_07_21_02_815532_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/21d73293e10febe82124eecb3fc4c9b4.jpg","text":"TemporaryFile(/tmp/multipartBody7811201035801271921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971876865,"filename":"image_04012025_07_20_02_277770_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326365391","file1":"1326365383","file0":"1326365311","file4":"1326365395","file5":"1326365397","file3":"1326365393"},"map_files_photo_id_array":[{"photo_id":"1326365397","filename":"file5"},{"photo_id":"1326365391","filename":"file2"},{"photo_id":"1326365395","filename":"file4"},{"photo_id":"1326365383","filename":"file1"},{"photo_id":"1326365311","filename":"file0"},{"photo_id":"1326365393","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326365311":["hashtag1","hashtag2"]},{"1326365397":["hashtag1","hashtag2"]},{"1326365391":["hashtag1","hashtag2"]},{"1326365393":["hashtag1","hashtag2"]},{"1326365395":["hashtag1","hashtag2"]},{"1326365383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326365311, 1326365397, 1326365391, 1326365393, 1326365395, 1326365383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.36569094657898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:24:22.455864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/22/image_04012025_07_22_02_315350_0001.jpg', '/home/pi/Desktop/images/04012025/07/22/image_04012025_07_22_02_315350_0002.jpg', '/home/pi/Desktop/images/04012025/07/22/image_04012025_07_22_02_315350_0003.jpg', '/home/pi/Desktop/images/04012025/07/23/image_04012025_07_23_02_804781_0000.jpg', '/home/pi/Desktop/images/04012025/07/23/image_04012025_07_23_02_804781_0001.jpg', '/home/pi/Desktop/images/04012025/07/23/image_04012025_07_23_02_804781_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/22/image_04012025_07_22_02_315350_0001.jpg
/home/pi/Desktop/images/04012025/07/22/image_04012025_07_22_02_315350_0002.jpg
/home/pi/Desktop/images/04012025/07/22/image_04012025_07_22_02_315350_0003.jpg
/home/pi/Desktop/images/04012025/07/23/image_04012025_07_23_02_804781_0000.jpg
/home/pi/Desktop/images/04012025/07/23/image_04012025_07_23_02_804781_0001.jpg
/home/pi/Desktop/images/04012025/07/23/image_04012025_07_23_02_804781_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326365842","1326365628","1326366125","1326366020","1326365525","1326366127"],"photo_ids_order":["1326365525","1326365628","1326365842","1326366020","1326366125","1326366127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ac978c75847086b22108d2263194412f.jpg","text":"TemporaryFile(/tmp/multipartBody6584370356936107466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971937699,"filename":"image_04012025_07_22_02_315350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b9897e6c1e701e3af50de2f1b1869ad6.jpg","text":"TemporaryFile(/tmp/multipartBody408877211996401369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971937699,"filename":"image_04012025_07_22_02_315350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d0f4eb3e6902bab03065703dc1262bc.jpg","text":"TemporaryFile(/tmp/multipartBody7704283555480263587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971937699,"filename":"image_04012025_07_23_02_804781_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/357ee7c398f68cdbb79e69321c23d4bf.jpg","text":"TemporaryFile(/tmp/multipartBody7022940816369404149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971937699,"filename":"image_04012025_07_23_02_804781_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0369d7b7a12a8924aeb9bccb3ed46f3e.jpg","text":"TemporaryFile(/tmp/multipartBody4222566409042988364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971937699,"filename":"image_04012025_07_22_02_315350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4d09db16d717b7c614cdaa863a1f2d49.jpg","text":"TemporaryFile(/tmp/multipartBody2030235065448680811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735971937699,"filename":"image_04012025_07_23_02_804781_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326365842","file1":"1326365628","file0":"1326365525","file4":"1326366125","file5":"1326366127","file3":"1326366020"},"map_files_photo_id_array":[{"photo_id":"1326366127","filename":"file5"},{"photo_id":"1326365842","filename":"file2"},{"photo_id":"1326366125","filename":"file4"},{"photo_id":"1326365628","filename":"file1"},{"photo_id":"1326365525","filename":"file0"},{"photo_id":"1326366020","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326365842":["hashtag1","hashtag2"]},{"1326365628":["hashtag1","hashtag2"]},{"1326366125":["hashtag1","hashtag2"]},{"1326366020":["hashtag1","hashtag2"]},{"1326365525":["hashtag1","hashtag2"]},{"1326366127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326365842, 1326365628, 1326366125, 1326366020, 1326365525, 1326366127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.48080658912659 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:26:02.999645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/23/image_04012025_07_23_02_804781_0003.jpg', '/home/pi/Desktop/images/04012025/07/24/image_04012025_07_24_02_345661_0000.jpg', '/home/pi/Desktop/images/04012025/07/24/image_04012025_07_24_02_345661_0001.jpg', '/home/pi/Desktop/images/04012025/07/24/image_04012025_07_24_02_345661_0002.jpg', '/home/pi/Desktop/images/04012025/07/24/image_04012025_07_24_02_345661_0003.jpg', '/home/pi/Desktop/images/04012025/07/25/image_04012025_07_25_02_873467_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/23/image_04012025_07_23_02_804781_0003.jpg
/home/pi/Desktop/images/04012025/07/24/image_04012025_07_24_02_345661_0000.jpg
/home/pi/Desktop/images/04012025/07/24/image_04012025_07_24_02_345661_0001.jpg
/home/pi/Desktop/images/04012025/07/24/image_04012025_07_24_02_345661_0002.jpg
/home/pi/Desktop/images/04012025/07/24/image_04012025_07_24_02_345661_0003.jpg
/home/pi/Desktop/images/04012025/07/25/image_04012025_07_25_02_873467_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326367320","1326367322","1326367450","1326367327","1326367324","1326367476"],"photo_ids_order":["1326367320","1326367322","1326367324","1326367327","1326367450","1326367476"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0827b2be402c1c9d5650d80d05139b8e.jpg","text":"TemporaryFile(/tmp/multipartBody3374427827551916626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972038226,"filename":"image_04012025_07_23_02_804781_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e76a761a9b6d310cfa3e025118f22fe3.jpg","text":"TemporaryFile(/tmp/multipartBody4418428403599581859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972038226,"filename":"image_04012025_07_24_02_345661_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/32c68529fa77aca866ac582e05916506.jpg","text":"TemporaryFile(/tmp/multipartBody7805744985572132697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972038226,"filename":"image_04012025_07_24_02_345661_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b3d31c01321a42a089463bc52a5e39c9.jpg","text":"TemporaryFile(/tmp/multipartBody1176850186017900928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972038226,"filename":"image_04012025_07_24_02_345661_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/25fa08448c8b4dee198b8c7772fa5e01.jpg","text":"TemporaryFile(/tmp/multipartBody4871750944178905576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972038226,"filename":"image_04012025_07_24_02_345661_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c820a3a9e57f7ec2d08f71c7f3c96a93.jpg","text":"TemporaryFile(/tmp/multipartBody2171677818843015789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972038226,"filename":"image_04012025_07_25_02_873467_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326367324","file1":"1326367322","file0":"1326367320","file4":"1326367450","file5":"1326367476","file3":"1326367327"},"map_files_photo_id_array":[{"photo_id":"1326367476","filename":"file5"},{"photo_id":"1326367324","filename":"file2"},{"photo_id":"1326367450","filename":"file4"},{"photo_id":"1326367322","filename":"file1"},{"photo_id":"1326367320","filename":"file0"},{"photo_id":"1326367327","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326367320":["hashtag1","hashtag2"]},{"1326367322":["hashtag1","hashtag2"]},{"1326367450":["hashtag1","hashtag2"]},{"1326367327":["hashtag1","hashtag2"]},{"1326367324":["hashtag1","hashtag2"]},{"1326367476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326367320, 1326367322, 1326367450, 1326367327, 1326367324, 1326367476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.04750728607178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:27:02.499465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/25/image_04012025_07_25_02_873467_0001.jpg', '/home/pi/Desktop/images/04012025/07/25/image_04012025_07_25_02_873467_0002.jpg', '/home/pi/Desktop/images/04012025/07/25/image_04012025_07_25_02_873467_0003.jpg', '/home/pi/Desktop/images/04012025/07/26/image_04012025_07_26_02_359775_0000.jpg', '/home/pi/Desktop/images/04012025/07/26/image_04012025_07_26_02_359775_0001.jpg', '/home/pi/Desktop/images/04012025/07/26/image_04012025_07_26_02_359775_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/25/image_04012025_07_25_02_873467_0001.jpg
/home/pi/Desktop/images/04012025/07/25/image_04012025_07_25_02_873467_0002.jpg
/home/pi/Desktop/images/04012025/07/25/image_04012025_07_25_02_873467_0003.jpg
/home/pi/Desktop/images/04012025/07/26/image_04012025_07_26_02_359775_0000.jpg
/home/pi/Desktop/images/04012025/07/26/image_04012025_07_26_02_359775_0001.jpg
/home/pi/Desktop/images/04012025/07/26/image_04012025_07_26_02_359775_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326368141","1326368144","1326368102","1326367730","1326368215","1326368203"],"photo_ids_order":["1326367730","1326368102","1326368141","1326368144","1326368203","1326368215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/96017877f61750bb565959c128d74877.jpg","text":"TemporaryFile(/tmp/multipartBody5563686870430785591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972097880,"filename":"image_04012025_07_25_02_873467_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28012c5324e391875931fa06f8aeabf6.jpg","text":"TemporaryFile(/tmp/multipartBody5542633319685802692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972097880,"filename":"image_04012025_07_26_02_359775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8d35f9335968ec3d581c25c3d044c58d.jpg","text":"TemporaryFile(/tmp/multipartBody7662444949992917174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972097880,"filename":"image_04012025_07_25_02_873467_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7278d9bd9be6592e41c6a0fadda6e6e2.jpg","text":"TemporaryFile(/tmp/multipartBody5891920910283656520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972097880,"filename":"image_04012025_07_25_02_873467_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e45052cda82a899df503ac93f0d88518.jpg","text":"TemporaryFile(/tmp/multipartBody880317815873362493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972097880,"filename":"image_04012025_07_26_02_359775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b5fa944ce8a4f910e5f81de69bbf637d.jpg","text":"TemporaryFile(/tmp/multipartBody5693515723012832950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972097880,"filename":"image_04012025_07_26_02_359775_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326368141","file1":"1326368102","file0":"1326367730","file4":"1326368203","file5":"1326368215","file3":"1326368144"},"map_files_photo_id_array":[{"photo_id":"1326368215","filename":"file5"},{"photo_id":"1326368141","filename":"file2"},{"photo_id":"1326368203","filename":"file4"},{"photo_id":"1326368102","filename":"file1"},{"photo_id":"1326367730","filename":"file0"},{"photo_id":"1326368144","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326368141":["hashtag1","hashtag2"]},{"1326368144":["hashtag1","hashtag2"]},{"1326368102":["hashtag1","hashtag2"]},{"1326367730":["hashtag1","hashtag2"]},{"1326368215":["hashtag1","hashtag2"]},{"1326368203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326368141, 1326368144, 1326368102, 1326367730, 1326368215, 1326368203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.03396034240723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:28:22.666197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/26/image_04012025_07_26_02_359775_0003.jpg', '/home/pi/Desktop/images/04012025/07/27/image_04012025_07_27_02_847017_0000.jpg', '/home/pi/Desktop/images/04012025/07/27/image_04012025_07_27_02_847017_0001.jpg', '/home/pi/Desktop/images/04012025/07/27/image_04012025_07_27_02_847017_0002.jpg', '/home/pi/Desktop/images/04012025/07/27/image_04012025_07_27_02_847017_0003.jpg', '/home/pi/Desktop/images/04012025/07/28/image_04012025_07_28_02_343312_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/26/image_04012025_07_26_02_359775_0003.jpg
/home/pi/Desktop/images/04012025/07/27/image_04012025_07_27_02_847017_0000.jpg
/home/pi/Desktop/images/04012025/07/27/image_04012025_07_27_02_847017_0001.jpg
/home/pi/Desktop/images/04012025/07/27/image_04012025_07_27_02_847017_0002.jpg
/home/pi/Desktop/images/04012025/07/27/image_04012025_07_27_02_847017_0003.jpg
/home/pi/Desktop/images/04012025/07/28/image_04012025_07_28_02_343312_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326368582","1326368578","1326368593","1326368592","1326368589","1326368586"],"photo_ids_order":["1326368578","1326368582","1326368586","1326368589","1326368592","1326368593"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4ab1fb560a13c5ac7d8f2459ce1575de.jpg","text":"TemporaryFile(/tmp/multipartBody3638000613049327225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972177682,"filename":"image_04012025_07_27_02_847017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db692b9c42127a87a1cbcd5d301e4e28.jpg","text":"TemporaryFile(/tmp/multipartBody8657571636771921335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972177682,"filename":"image_04012025_07_26_02_359775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/43b96296b81d2b761bac03cf83eb2356.jpg","text":"TemporaryFile(/tmp/multipartBody1255309080240113513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972177682,"filename":"image_04012025_07_28_02_343312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3fa411d18bda8339317efbd2342f1a40.jpg","text":"TemporaryFile(/tmp/multipartBody1839521130211467369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972177682,"filename":"image_04012025_07_27_02_847017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed63c7fd6d649de2e7e929bc57b173ef.jpg","text":"TemporaryFile(/tmp/multipartBody8557783401684284037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972177682,"filename":"image_04012025_07_27_02_847017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f5eeb44fa85ab4ba348524e91693766a.jpg","text":"TemporaryFile(/tmp/multipartBody3567307232442434161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972177682,"filename":"image_04012025_07_27_02_847017_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326368586","file1":"1326368582","file0":"1326368578","file4":"1326368592","file5":"1326368593","file3":"1326368589"},"map_files_photo_id_array":[{"photo_id":"1326368593","filename":"file5"},{"photo_id":"1326368586","filename":"file2"},{"photo_id":"1326368592","filename":"file4"},{"photo_id":"1326368582","filename":"file1"},{"photo_id":"1326368578","filename":"file0"},{"photo_id":"1326368589","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326368582":["hashtag1","hashtag2"]},{"1326368578":["hashtag1","hashtag2"]},{"1326368593":["hashtag1","hashtag2"]},{"1326368592":["hashtag1","hashtag2"]},{"1326368589":["hashtag1","hashtag2"]},{"1326368586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326368582, 1326368578, 1326368593, 1326368592, 1326368589, 1326368586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.15714764595032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:29:22.115291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/28/image_04012025_07_28_02_343312_0001.jpg', '/home/pi/Desktop/images/04012025/07/28/image_04012025_07_28_02_343312_0002.jpg', '/home/pi/Desktop/images/04012025/07/28/image_04012025_07_28_02_343312_0003.jpg', '/home/pi/Desktop/images/04012025/07/29/image_04012025_07_29_02_978432_0000.jpg', '/home/pi/Desktop/images/04012025/07/29/image_04012025_07_29_02_978432_0001.jpg', '/home/pi/Desktop/images/04012025/07/29/image_04012025_07_29_02_978432_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/28/image_04012025_07_28_02_343312_0001.jpg
/home/pi/Desktop/images/04012025/07/28/image_04012025_07_28_02_343312_0002.jpg
/home/pi/Desktop/images/04012025/07/28/image_04012025_07_28_02_343312_0003.jpg
/home/pi/Desktop/images/04012025/07/29/image_04012025_07_29_02_978432_0000.jpg
/home/pi/Desktop/images/04012025/07/29/image_04012025_07_29_02_978432_0001.jpg
/home/pi/Desktop/images/04012025/07/29/image_04012025_07_29_02_978432_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326368927","1326368840","1326368843","1326368929","1326368836","1326368879"],"photo_ids_order":["1326368836","1326368840","1326368843","1326368879","1326368927","1326368929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bd9f838e9c22d4095c8c27fe432b3e41.jpg","text":"TemporaryFile(/tmp/multipartBody3457066212036899941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972237251,"filename":"image_04012025_07_29_02_978432_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f4bedd128fd5c7ffeee46b9771afc0c5.jpg","text":"TemporaryFile(/tmp/multipartBody7094541721544990679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972237251,"filename":"image_04012025_07_28_02_343312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/17f45c11ff0abeba7fd2e894d37b9bf2.jpg","text":"TemporaryFile(/tmp/multipartBody3274635432235157108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972237251,"filename":"image_04012025_07_28_02_343312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f83bda08e0e6c94cb54f36d0097001e9.jpg","text":"TemporaryFile(/tmp/multipartBody7682555073742514626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972237251,"filename":"image_04012025_07_29_02_978432_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/52d856f53e08c8c87db149c7f2739708.jpg","text":"TemporaryFile(/tmp/multipartBody802143618522769807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972237251,"filename":"image_04012025_07_28_02_343312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/84dba06e48dc48f79729e927aafb62cf.jpg","text":"TemporaryFile(/tmp/multipartBody749868966407753359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972237251,"filename":"image_04012025_07_29_02_978432_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326368843","file1":"1326368840","file0":"1326368836","file4":"1326368927","file5":"1326368929","file3":"1326368879"},"map_files_photo_id_array":[{"photo_id":"1326368929","filename":"file5"},{"photo_id":"1326368843","filename":"file2"},{"photo_id":"1326368927","filename":"file4"},{"photo_id":"1326368840","filename":"file1"},{"photo_id":"1326368836","filename":"file0"},{"photo_id":"1326368879","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326368927":["hashtag1","hashtag2"]},{"1326368840":["hashtag1","hashtag2"]},{"1326368843":["hashtag1","hashtag2"]},{"1326368929":["hashtag1","hashtag2"]},{"1326368836":["hashtag1","hashtag2"]},{"1326368879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326368927, 1326368840, 1326368843, 1326368929, 1326368836, 1326368879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.70805287361145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:30:22.587626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/29/image_04012025_07_29_02_978432_0003.jpg', '/home/pi/Desktop/images/04012025/07/30/image_04012025_07_30_02_476716_0000.jpg', '/home/pi/Desktop/images/04012025/07/30/image_04012025_07_30_02_476716_0001.jpg', '/home/pi/Desktop/images/04012025/07/30/image_04012025_07_30_02_476716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/29/image_04012025_07_29_02_978432_0003.jpg
/home/pi/Desktop/images/04012025/07/30/image_04012025_07_30_02_476716_0000.jpg
/home/pi/Desktop/images/04012025/07/30/image_04012025_07_30_02_476716_0001.jpg
/home/pi/Desktop/images/04012025/07/30/image_04012025_07_30_02_476716_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326369002","1326369064","1326369129","1326368952"],"photo_ids_order":["1326368952","1326369002","1326369064","1326369129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8f7cf76ae9b7b74edc281353cf6d654a.jpg","text":"TemporaryFile(/tmp/multipartBody591154047539506363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972292896,"filename":"image_04012025_07_30_02_476716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2a5d2630fe44d37831e84e338c846162.jpg","text":"TemporaryFile(/tmp/multipartBody7385983079345223881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972292896,"filename":"image_04012025_07_30_02_476716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/22d51ea890cbc315c4aec7420ad372d4.jpg","text":"TemporaryFile(/tmp/multipartBody3976880333501160416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972292896,"filename":"image_04012025_07_30_02_476716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7821d39e96cccd1caeff77632b1f28ed.jpg","text":"TemporaryFile(/tmp/multipartBody8283510359373427995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972292896,"filename":"image_04012025_07_29_02_978432_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326369064","file1":"1326369002","file0":"1326368952","file3":"1326369129"},"map_files_photo_id_array":[{"photo_id":"1326369064","filename":"file2"},{"photo_id":"1326369002","filename":"file1"},{"photo_id":"1326368952","filename":"file0"},{"photo_id":"1326369129","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326369002":["hashtag1","hashtag2"]},{"1326369064":["hashtag1","hashtag2"]},{"1326369129":["hashtag1","hashtag2"]},{"1326368952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326369002, 1326369064, 1326369129, 1326368952)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.06768798828125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:31:22.222242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/30/image_04012025_07_30_02_476716_0003.jpg', '/home/pi/Desktop/images/04012025/07/31/image_04012025_07_31_03_044383_0000.jpg', '/home/pi/Desktop/images/04012025/07/31/image_04012025_07_31_03_044383_0001.jpg', '/home/pi/Desktop/images/04012025/07/31/image_04012025_07_31_03_044383_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/30/image_04012025_07_30_02_476716_0003.jpg
/home/pi/Desktop/images/04012025/07/31/image_04012025_07_31_03_044383_0000.jpg
/home/pi/Desktop/images/04012025/07/31/image_04012025_07_31_03_044383_0001.jpg
/home/pi/Desktop/images/04012025/07/31/image_04012025_07_31_03_044383_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326369354","1326369321","1326369650","1326369548"],"photo_ids_order":["1326369321","1326369354","1326369548","1326369650"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3ddbbd5ec77ea4686ee5e01d4715c421.jpg","text":"TemporaryFile(/tmp/multipartBody5725672532060617975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972352522,"filename":"image_04012025_07_31_03_044383_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0866bd71e3d7d11212e8eb4ab3277e71.jpg","text":"TemporaryFile(/tmp/multipartBody2704856091406450792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972352522,"filename":"image_04012025_07_30_02_476716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/74b60cfe17c41dd942ab4db90d72e02e.jpg","text":"TemporaryFile(/tmp/multipartBody3041535454246873851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972352522,"filename":"image_04012025_07_31_03_044383_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/19d428af2d4c433d8bd4b000b120061b.jpg","text":"TemporaryFile(/tmp/multipartBody1590557990605143845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972352522,"filename":"image_04012025_07_31_03_044383_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326369548","file1":"1326369354","file0":"1326369321","file3":"1326369650"},"map_files_photo_id_array":[{"photo_id":"1326369548","filename":"file2"},{"photo_id":"1326369354","filename":"file1"},{"photo_id":"1326369321","filename":"file0"},{"photo_id":"1326369650","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326369354":["hashtag1","hashtag2"]},{"1326369321":["hashtag1","hashtag2"]},{"1326369650":["hashtag1","hashtag2"]},{"1326369548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326369354, 1326369321, 1326369650, 1326369548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.22833609580994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:32:22.645363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/31/image_04012025_07_31_03_044383_0003.jpg', '/home/pi/Desktop/images/04012025/07/32/image_04012025_07_32_02_536718_0000.jpg', '/home/pi/Desktop/images/04012025/07/32/image_04012025_07_32_02_536718_0001.jpg', '/home/pi/Desktop/images/04012025/07/32/image_04012025_07_32_02_536718_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/31/image_04012025_07_31_03_044383_0003.jpg
/home/pi/Desktop/images/04012025/07/32/image_04012025_07_32_02_536718_0000.jpg
/home/pi/Desktop/images/04012025/07/32/image_04012025_07_32_02_536718_0001.jpg
/home/pi/Desktop/images/04012025/07/32/image_04012025_07_32_02_536718_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326370454","1326370363","1326370318","1326370463"],"photo_ids_order":["1326370318","1326370363","1326370454","1326370463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/74714a53a87e5def6300be52c585a33d.jpg","text":"TemporaryFile(/tmp/multipartBody1670399189053684807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972412886,"filename":"image_04012025_07_32_02_536718_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed71730fc7258de8165090aae415a612.jpg","text":"TemporaryFile(/tmp/multipartBody6074366860277033624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972412886,"filename":"image_04012025_07_32_02_536718_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/22461df8342ee593888a3eff33073ea2.jpg","text":"TemporaryFile(/tmp/multipartBody4898565872793463775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972412886,"filename":"image_04012025_07_31_03_044383_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/86f44c1980a28c4a1b99b0a493dd2f95.jpg","text":"TemporaryFile(/tmp/multipartBody5205416928824084623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972412886,"filename":"image_04012025_07_32_02_536718_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326370454","file1":"1326370363","file0":"1326370318","file3":"1326370463"},"map_files_photo_id_array":[{"photo_id":"1326370454","filename":"file2"},{"photo_id":"1326370363","filename":"file1"},{"photo_id":"1326370318","filename":"file0"},{"photo_id":"1326370463","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326370454":["hashtag1","hashtag2"]},{"1326370363":["hashtag1","hashtag2"]},{"1326370318":["hashtag1","hashtag2"]},{"1326370463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326370454, 1326370363, 1326370318, 1326370463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.70166993141174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:33:02.715880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:33:22.075852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/32/image_04012025_07_32_02_536718_0003.jpg', '/home/pi/Desktop/images/04012025/07/33/image_04012025_07_33_03_002518_0000.jpg', '/home/pi/Desktop/images/04012025/07/33/image_04012025_07_33_03_002518_0001.jpg', '/home/pi/Desktop/images/04012025/07/33/image_04012025_07_33_03_002518_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/32/image_04012025_07_32_02_536718_0003.jpg
/home/pi/Desktop/images/04012025/07/33/image_04012025_07_33_03_002518_0000.jpg
/home/pi/Desktop/images/04012025/07/33/image_04012025_07_33_03_002518_0001.jpg
/home/pi/Desktop/images/04012025/07/33/image_04012025_07_33_03_002518_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326370690","1326370684","1326370692","1326370688"],"photo_ids_order":["1326370684","1326370688","1326370690","1326370692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d8554733a241350db7bef020f95cec7.jpg","text":"TemporaryFile(/tmp/multipartBody5964815279559934415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972472527,"filename":"image_04012025_07_33_03_002518_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e57630d5e515437573ee817cd44e93e2.jpg","text":"TemporaryFile(/tmp/multipartBody6839478014446758803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972472527,"filename":"image_04012025_07_32_02_536718_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2b63047b71d24d863938b28a524ccbeb.jpg","text":"TemporaryFile(/tmp/multipartBody5315785629326050941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972472527,"filename":"image_04012025_07_33_03_002518_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/01fac5bb2f35cfd4cd3d44b069b71303.jpg","text":"TemporaryFile(/tmp/multipartBody6418067542218822810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972472527,"filename":"image_04012025_07_33_03_002518_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326370690","file1":"1326370688","file0":"1326370684","file3":"1326370692"},"map_files_photo_id_array":[{"photo_id":"1326370690","filename":"file2"},{"photo_id":"1326370688","filename":"file1"},{"photo_id":"1326370684","filename":"file0"},{"photo_id":"1326370692","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326370690":["hashtag1","hashtag2"]},{"1326370684":["hashtag1","hashtag2"]},{"1326370692":["hashtag1","hashtag2"]},{"1326370688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326370690, 1326370684, 1326370692, 1326370688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.961435317993164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:34:03.139096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:34:22.704395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/33/image_04012025_07_33_03_002518_0003.jpg', '/home/pi/Desktop/images/04012025/07/34/image_04012025_07_34_02_528024_0000.jpg', '/home/pi/Desktop/images/04012025/07/34/image_04012025_07_34_02_528024_0001.jpg', '/home/pi/Desktop/images/04012025/07/34/image_04012025_07_34_02_528024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/33/image_04012025_07_33_03_002518_0003.jpg
/home/pi/Desktop/images/04012025/07/34/image_04012025_07_34_02_528024_0000.jpg
/home/pi/Desktop/images/04012025/07/34/image_04012025_07_34_02_528024_0001.jpg
/home/pi/Desktop/images/04012025/07/34/image_04012025_07_34_02_528024_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326371073","1326371067","1326371070","1326371064"],"photo_ids_order":["1326371064","1326371067","1326371070","1326371073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7309fce22912cf2b2144e05a069d00a.jpg","text":"TemporaryFile(/tmp/multipartBody5924703443862488210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972533107,"filename":"image_04012025_07_34_02_528024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6ce579b81e3105a65e3b3348aa1cb1cc.jpg","text":"TemporaryFile(/tmp/multipartBody4656713282750505537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972533107,"filename":"image_04012025_07_34_02_528024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30315f958b6ce00a126539ff7541057b.jpg","text":"TemporaryFile(/tmp/multipartBody1558256041081006424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972533107,"filename":"image_04012025_07_34_02_528024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/15b4b4134fb8798c58aa4b803cbb7f35.jpg","text":"TemporaryFile(/tmp/multipartBody282170518286021666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972533107,"filename":"image_04012025_07_33_03_002518_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326371070","file1":"1326371067","file0":"1326371064","file3":"1326371073"},"map_files_photo_id_array":[{"photo_id":"1326371070","filename":"file2"},{"photo_id":"1326371067","filename":"file1"},{"photo_id":"1326371064","filename":"file0"},{"photo_id":"1326371073","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326371073":["hashtag1","hashtag2"]},{"1326371067":["hashtag1","hashtag2"]},{"1326371070":["hashtag1","hashtag2"]},{"1326371064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326371073, 1326371067, 1326371070, 1326371064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.436110496520996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:35:02.900137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:35:22.279089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/34/image_04012025_07_34_02_528024_0003.jpg', '/home/pi/Desktop/images/04012025/07/35/image_04012025_07_35_03_241008_0000.jpg', '/home/pi/Desktop/images/04012025/07/35/image_04012025_07_35_03_241008_0001.jpg', '/home/pi/Desktop/images/04012025/07/35/image_04012025_07_35_03_241008_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/34/image_04012025_07_34_02_528024_0003.jpg
/home/pi/Desktop/images/04012025/07/35/image_04012025_07_35_03_241008_0000.jpg
/home/pi/Desktop/images/04012025/07/35/image_04012025_07_35_03_241008_0001.jpg
/home/pi/Desktop/images/04012025/07/35/image_04012025_07_35_03_241008_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326371293","1326371353","1326371286","1326371291"],"photo_ids_order":["1326371286","1326371291","1326371293","1326371353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a1e3fc74d3ab9122a9cdc0072971b57f.jpg","text":"TemporaryFile(/tmp/multipartBody6326159078152771641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972592509,"filename":"image_04012025_07_35_03_241008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/31fa42ac5f0b73100a2d67e72f111b49.jpg","text":"TemporaryFile(/tmp/multipartBody4083028744221014714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972592509,"filename":"image_04012025_07_35_03_241008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/00fa3c82dce4a880b8c118afd6ecc735.jpg","text":"TemporaryFile(/tmp/multipartBody6113225190082825920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972592509,"filename":"image_04012025_07_34_02_528024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4d5b93614c0e83973e2ce92bed523661.jpg","text":"TemporaryFile(/tmp/multipartBody1404564804472242657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972592509,"filename":"image_04012025_07_35_03_241008_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326371293","file1":"1326371291","file0":"1326371286","file3":"1326371353"},"map_files_photo_id_array":[{"photo_id":"1326371293","filename":"file2"},{"photo_id":"1326371291","filename":"file1"},{"photo_id":"1326371286","filename":"file0"},{"photo_id":"1326371353","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326371293":["hashtag1","hashtag2"]},{"1326371353":["hashtag1","hashtag2"]},{"1326371286":["hashtag1","hashtag2"]},{"1326371291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326371293, 1326371353, 1326371286, 1326371291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.611053466796875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:36:21.973556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/35/image_04012025_07_35_03_241008_0003.jpg', '/home/pi/Desktop/images/04012025/07/36/image_04012025_07_36_02_697112_0000.jpg', '/home/pi/Desktop/images/04012025/07/36/image_04012025_07_36_02_697112_0001.jpg', '/home/pi/Desktop/images/04012025/07/36/image_04012025_07_36_02_697112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/35/image_04012025_07_35_03_241008_0003.jpg
/home/pi/Desktop/images/04012025/07/36/image_04012025_07_36_02_697112_0000.jpg
/home/pi/Desktop/images/04012025/07/36/image_04012025_07_36_02_697112_0001.jpg
/home/pi/Desktop/images/04012025/07/36/image_04012025_07_36_02_697112_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326371612","1326371609","1326371619","1326371616"],"photo_ids_order":["1326371609","1326371612","1326371616","1326371619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/69a8474dd95eae8535f61e53590986c4.jpg","text":"TemporaryFile(/tmp/multipartBody2608548076250950535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972652225,"filename":"image_04012025_07_36_02_697112_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/72928bc647f72e410435c414adc6d3ff.jpg","text":"TemporaryFile(/tmp/multipartBody4827229236742279006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972652225,"filename":"image_04012025_07_35_03_241008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8c6a9871d4fe828814c16431e5fa9c58.jpg","text":"TemporaryFile(/tmp/multipartBody5059827875963672115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972652225,"filename":"image_04012025_07_36_02_697112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a673a6158be3eb21d09aad4d6d89a5f9.jpg","text":"TemporaryFile(/tmp/multipartBody3503325401081603074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972652225,"filename":"image_04012025_07_36_02_697112_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326371616","file1":"1326371612","file0":"1326371609","file3":"1326371619"},"map_files_photo_id_array":[{"photo_id":"1326371616","filename":"file2"},{"photo_id":"1326371612","filename":"file1"},{"photo_id":"1326371609","filename":"file0"},{"photo_id":"1326371619","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326371612":["hashtag1","hashtag2"]},{"1326371609":["hashtag1","hashtag2"]},{"1326371619":["hashtag1","hashtag2"]},{"1326371616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326371612, 1326371609, 1326371619, 1326371616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.616586446762085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:37:03.106578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:37:22.377599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/36/image_04012025_07_36_02_697112_0003.jpg', '/home/pi/Desktop/images/04012025/07/37/image_04012025_07_37_02_329952_0000.jpg', '/home/pi/Desktop/images/04012025/07/37/image_04012025_07_37_02_329952_0001.jpg', '/home/pi/Desktop/images/04012025/07/37/image_04012025_07_37_02_329952_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/36/image_04012025_07_36_02_697112_0003.jpg
/home/pi/Desktop/images/04012025/07/37/image_04012025_07_37_02_329952_0000.jpg
/home/pi/Desktop/images/04012025/07/37/image_04012025_07_37_02_329952_0001.jpg
/home/pi/Desktop/images/04012025/07/37/image_04012025_07_37_02_329952_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326372046","1326371886","1326371951","1326371948"],"photo_ids_order":["1326371886","1326371948","1326371951","1326372046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9df1e1fd75a91a41bb29d71e9ff7fd12.jpg","text":"TemporaryFile(/tmp/multipartBody3924902518227850818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972712630,"filename":"image_04012025_07_37_02_329952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/34e5a2654e7055e46ba1157d3bdb024a.jpg","text":"TemporaryFile(/tmp/multipartBody1477341390201853425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972712630,"filename":"image_04012025_07_36_02_697112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/03b36f0236c8f444e26b4c6aca031427.jpg","text":"TemporaryFile(/tmp/multipartBody4798225841282894208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972712630,"filename":"image_04012025_07_37_02_329952_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/99add448acbac26bdf2f33420d4b4f50.jpg","text":"TemporaryFile(/tmp/multipartBody3761072207158579526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972712630,"filename":"image_04012025_07_37_02_329952_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326371951","file1":"1326371948","file0":"1326371886","file3":"1326372046"},"map_files_photo_id_array":[{"photo_id":"1326371951","filename":"file2"},{"photo_id":"1326371948","filename":"file1"},{"photo_id":"1326371886","filename":"file0"},{"photo_id":"1326372046","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326372046":["hashtag1","hashtag2"]},{"1326371886":["hashtag1","hashtag2"]},{"1326371951":["hashtag1","hashtag2"]},{"1326371948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326372046, 1326371886, 1326371951, 1326371948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.91875219345093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:38:02.565353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:38:21.968771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/37/image_04012025_07_37_02_329952_0003.jpg', '/home/pi/Desktop/images/04012025/07/38/image_04012025_07_38_02_893170_0000.jpg', '/home/pi/Desktop/images/04012025/07/38/image_04012025_07_38_02_893170_0001.jpg', '/home/pi/Desktop/images/04012025/07/38/image_04012025_07_38_02_893170_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/37/image_04012025_07_37_02_329952_0003.jpg
/home/pi/Desktop/images/04012025/07/38/image_04012025_07_38_02_893170_0000.jpg
/home/pi/Desktop/images/04012025/07/38/image_04012025_07_38_02_893170_0001.jpg
/home/pi/Desktop/images/04012025/07/38/image_04012025_07_38_02_893170_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326372535","1326373035","1326372998","1326372554"],"photo_ids_order":["1326372535","1326372554","1326372998","1326373035"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/237f63b006f4b4d9e38138a83b51d520.jpg","text":"TemporaryFile(/tmp/multipartBody940688215468000448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972772333,"filename":"image_04012025_07_37_02_329952_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/84670416e1e6784b3832603301d720ef.jpg","text":"TemporaryFile(/tmp/multipartBody2111777790515039398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972772333,"filename":"image_04012025_07_38_02_893170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8bc848361cf94cb0a95059971109c51e.jpg","text":"TemporaryFile(/tmp/multipartBody8010301322238111001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972772333,"filename":"image_04012025_07_38_02_893170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/33038f8e7443dbe9fe191c8519bd79cf.jpg","text":"TemporaryFile(/tmp/multipartBody1316997807592916784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972772333,"filename":"image_04012025_07_38_02_893170_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326372998","file1":"1326372554","file0":"1326372535","file3":"1326373035"},"map_files_photo_id_array":[{"photo_id":"1326372998","filename":"file2"},{"photo_id":"1326372554","filename":"file1"},{"photo_id":"1326372535","filename":"file0"},{"photo_id":"1326373035","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326372535":["hashtag1","hashtag2"]},{"1326373035":["hashtag1","hashtag2"]},{"1326372998":["hashtag1","hashtag2"]},{"1326372554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326372535, 1326373035, 1326372998, 1326372554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.04669499397278 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-04 07:39:22.574358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/38/image_04012025_07_38_02_893170_0003.jpg', '/home/pi/Desktop/images/04012025/07/39/image_04012025_07_39_02_457165_0000.jpg', '/home/pi/Desktop/images/04012025/07/39/image_04012025_07_39_02_457165_0001.jpg', '/home/pi/Desktop/images/04012025/07/39/image_04012025_07_39_02_457165_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/38/image_04012025_07_38_02_893170_0003.jpg
/home/pi/Desktop/images/04012025/07/39/image_04012025_07_39_02_457165_0000.jpg
/home/pi/Desktop/images/04012025/07/39/image_04012025_07_39_02_457165_0001.jpg
/home/pi/Desktop/images/04012025/07/39/image_04012025_07_39_02_457165_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326373368","1326373329","1326373364","1326373366"],"photo_ids_order":["1326373329","1326373364","1326373366","1326373368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/03c02f62e9bbe861855f8bb576f8d901.jpg","text":"TemporaryFile(/tmp/multipartBody7906272112546200586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972832969,"filename":"image_04012025_07_39_02_457165_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/501eac8788215c9fe27850dbc07ff535.jpg","text":"TemporaryFile(/tmp/multipartBody6039365823990807465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972832969,"filename":"image_04012025_07_38_02_893170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a4cbbf6e1220a57ee213b2cd9bcc61fc.jpg","text":"TemporaryFile(/tmp/multipartBody8250188932056306963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972832969,"filename":"image_04012025_07_39_02_457165_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3efc1b304513628eaf7306a0a647b051.jpg","text":"TemporaryFile(/tmp/multipartBody1738566363409560874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972832969,"filename":"image_04012025_07_39_02_457165_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326373366","file1":"1326373364","file0":"1326373329","file3":"1326373368"},"map_files_photo_id_array":[{"photo_id":"1326373366","filename":"file2"},{"photo_id":"1326373364","filename":"file1"},{"photo_id":"1326373329","filename":"file0"},{"photo_id":"1326373368","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326373368":["hashtag1","hashtag2"]},{"1326373329":["hashtag1","hashtag2"]},{"1326373364":["hashtag1","hashtag2"]},{"1326373366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326373368, 1326373329, 1326373364, 1326373366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.385077714920044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:40:02.467522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:40:22.097342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/39/image_04012025_07_39_02_457165_0003.jpg', '/home/pi/Desktop/images/04012025/07/40/image_04012025_07_40_03_011858_0000.jpg', '/home/pi/Desktop/images/04012025/07/40/image_04012025_07_40_03_011858_0001.jpg', '/home/pi/Desktop/images/04012025/07/40/image_04012025_07_40_03_011858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/39/image_04012025_07_39_02_457165_0003.jpg
/home/pi/Desktop/images/04012025/07/40/image_04012025_07_40_03_011858_0000.jpg
/home/pi/Desktop/images/04012025/07/40/image_04012025_07_40_03_011858_0001.jpg
/home/pi/Desktop/images/04012025/07/40/image_04012025_07_40_03_011858_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326373408","1326373415","1326373412","1326373405"],"photo_ids_order":["1326373405","1326373408","1326373412","1326373415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/01669b97dc9ee48c6f8b6c2130c797c1.jpg","text":"TemporaryFile(/tmp/multipartBody7062097215843804220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972892545,"filename":"image_04012025_07_40_03_011858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aad2fe5d217d37e23376db3589ef0e87.jpg","text":"TemporaryFile(/tmp/multipartBody1640061231477640830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972892545,"filename":"image_04012025_07_40_03_011858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0b9358e434edafd070f84955e22b5b72.jpg","text":"TemporaryFile(/tmp/multipartBody5456871901056759445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972892545,"filename":"image_04012025_07_40_03_011858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/483ab03edecfc2e6f2e314b4ab494718.jpg","text":"TemporaryFile(/tmp/multipartBody8132705971337751743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972892545,"filename":"image_04012025_07_39_02_457165_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326373412","file1":"1326373408","file0":"1326373405","file3":"1326373415"},"map_files_photo_id_array":[{"photo_id":"1326373412","filename":"file2"},{"photo_id":"1326373408","filename":"file1"},{"photo_id":"1326373405","filename":"file0"},{"photo_id":"1326373415","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326373408":["hashtag1","hashtag2"]},{"1326373415":["hashtag1","hashtag2"]},{"1326373412":["hashtag1","hashtag2"]},{"1326373405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326373408, 1326373415, 1326373412, 1326373405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.06715703010559 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:41:22.559267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/40/image_04012025_07_40_03_011858_0003.jpg', '/home/pi/Desktop/images/04012025/07/41/image_04012025_07_41_02_447330_0000.jpg', '/home/pi/Desktop/images/04012025/07/41/image_04012025_07_41_02_447330_0001.jpg', '/home/pi/Desktop/images/04012025/07/41/image_04012025_07_41_02_447330_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/40/image_04012025_07_40_03_011858_0003.jpg
/home/pi/Desktop/images/04012025/07/41/image_04012025_07_41_02_447330_0000.jpg
/home/pi/Desktop/images/04012025/07/41/image_04012025_07_41_02_447330_0001.jpg
/home/pi/Desktop/images/04012025/07/41/image_04012025_07_41_02_447330_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326373713","1326373724","1326373721","1326373657"],"photo_ids_order":["1326373657","1326373713","1326373721","1326373724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4755a9571def5dcea0309d5bd658161f.jpg","text":"TemporaryFile(/tmp/multipartBody4066961969978057007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972953004,"filename":"image_04012025_07_41_02_447330_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/efc3f10da690fcc3be12c4fdcc213a2e.jpg","text":"TemporaryFile(/tmp/multipartBody4658676498585238067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972953004,"filename":"image_04012025_07_41_02_447330_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1e513690ce19e0ba2f316f9b49ca878a.jpg","text":"TemporaryFile(/tmp/multipartBody1646053017479108957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972953004,"filename":"image_04012025_07_41_02_447330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b719724bba0b4710657a5e5f37b5dd5c.jpg","text":"TemporaryFile(/tmp/multipartBody367820922268735806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735972953004,"filename":"image_04012025_07_40_03_011858_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326373721","file1":"1326373713","file0":"1326373657","file3":"1326373724"},"map_files_photo_id_array":[{"photo_id":"1326373721","filename":"file2"},{"photo_id":"1326373713","filename":"file1"},{"photo_id":"1326373657","filename":"file0"},{"photo_id":"1326373724","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326373713":["hashtag1","hashtag2"]},{"1326373724":["hashtag1","hashtag2"]},{"1326373721":["hashtag1","hashtag2"]},{"1326373657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326373713, 1326373724, 1326373721, 1326373657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.494739294052124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:42:22.055964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/41/image_04012025_07_41_02_447330_0003.jpg', '/home/pi/Desktop/images/04012025/07/42/image_04012025_07_42_02_948312_0000.jpg', '/home/pi/Desktop/images/04012025/07/42/image_04012025_07_42_02_948312_0001.jpg', '/home/pi/Desktop/images/04012025/07/42/image_04012025_07_42_02_948312_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/41/image_04012025_07_41_02_447330_0003.jpg
/home/pi/Desktop/images/04012025/07/42/image_04012025_07_42_02_948312_0000.jpg
/home/pi/Desktop/images/04012025/07/42/image_04012025_07_42_02_948312_0001.jpg
/home/pi/Desktop/images/04012025/07/42/image_04012025_07_42_02_948312_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326373962","1326373842","1326374184","1326374088"],"photo_ids_order":["1326373842","1326373962","1326374088","1326374184"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7fbb6f5dbfdb3ef066fd4a2b17978751.jpg","text":"TemporaryFile(/tmp/multipartBody7859326030476142837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973012370,"filename":"image_04012025_07_42_02_948312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4dc243e03e29b3649c777dacc233e1b3.jpg","text":"TemporaryFile(/tmp/multipartBody6749101753752315322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973012370,"filename":"image_04012025_07_41_02_447330_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6f71f93697b089fdf30fe07c5b8994c8.jpg","text":"TemporaryFile(/tmp/multipartBody2132641717837367546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973012370,"filename":"image_04012025_07_42_02_948312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/907d3e3616f15ba0c1199e2472c18b3a.jpg","text":"TemporaryFile(/tmp/multipartBody4341985807773754727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973012370,"filename":"image_04012025_07_42_02_948312_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326374088","file1":"1326373962","file0":"1326373842","file3":"1326374184"},"map_files_photo_id_array":[{"photo_id":"1326374088","filename":"file2"},{"photo_id":"1326373962","filename":"file1"},{"photo_id":"1326373842","filename":"file0"},{"photo_id":"1326374184","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326373962":["hashtag1","hashtag2"]},{"1326373842":["hashtag1","hashtag2"]},{"1326374184":["hashtag1","hashtag2"]},{"1326374088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326373962, 1326373842, 1326374184, 1326374088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.01481914520264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:43:22.529033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/42/image_04012025_07_42_02_948312_0003.jpg', '/home/pi/Desktop/images/04012025/07/43/image_04012025_07_43_02_428394_0000.jpg', '/home/pi/Desktop/images/04012025/07/43/image_04012025_07_43_02_428394_0001.jpg', '/home/pi/Desktop/images/04012025/07/43/image_04012025_07_43_02_428394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/42/image_04012025_07_42_02_948312_0003.jpg
/home/pi/Desktop/images/04012025/07/43/image_04012025_07_43_02_428394_0000.jpg
/home/pi/Desktop/images/04012025/07/43/image_04012025_07_43_02_428394_0001.jpg
/home/pi/Desktop/images/04012025/07/43/image_04012025_07_43_02_428394_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326374876","1326374729","1326374782","1326374839"],"photo_ids_order":["1326374729","1326374782","1326374839","1326374876"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7c6c523201afeca3475cf202653329f0.jpg","text":"TemporaryFile(/tmp/multipartBody5945473863496633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973072872,"filename":"image_04012025_07_43_02_428394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af9ddc417cd6aa839873c6334daa1546.jpg","text":"TemporaryFile(/tmp/multipartBody8726169327968233185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973072872,"filename":"image_04012025_07_42_02_948312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4490c98219b1dc847c9aab302a4616ba.jpg","text":"TemporaryFile(/tmp/multipartBody1779546958541144071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973072872,"filename":"image_04012025_07_43_02_428394_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0f176f99b51e3000a5c093e443860d23.jpg","text":"TemporaryFile(/tmp/multipartBody2789666796709520207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973072872,"filename":"image_04012025_07_43_02_428394_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326374839","file1":"1326374782","file0":"1326374729","file3":"1326374876"},"map_files_photo_id_array":[{"photo_id":"1326374839","filename":"file2"},{"photo_id":"1326374782","filename":"file1"},{"photo_id":"1326374729","filename":"file0"},{"photo_id":"1326374876","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326374876":["hashtag1","hashtag2"]},{"1326374729":["hashtag1","hashtag2"]},{"1326374782":["hashtag1","hashtag2"]},{"1326374839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326374876, 1326374729, 1326374782, 1326374839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.305728912353516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:44:02.335256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:44:22.036551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/43/image_04012025_07_43_02_428394_0003.jpg', '/home/pi/Desktop/images/04012025/07/44/image_04012025_07_44_02_934526_0000.jpg', '/home/pi/Desktop/images/04012025/07/44/image_04012025_07_44_02_934526_0001.jpg', '/home/pi/Desktop/images/04012025/07/44/image_04012025_07_44_02_934526_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/43/image_04012025_07_43_02_428394_0003.jpg
/home/pi/Desktop/images/04012025/07/44/image_04012025_07_44_02_934526_0000.jpg
/home/pi/Desktop/images/04012025/07/44/image_04012025_07_44_02_934526_0001.jpg
/home/pi/Desktop/images/04012025/07/44/image_04012025_07_44_02_934526_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326375237","1326375317","1326375233","1326375241"],"photo_ids_order":["1326375233","1326375237","1326375241","1326375317"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/455c83cdedbee530f8c3db51e9f36f53.jpg","text":"TemporaryFile(/tmp/multipartBody45324825695101940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973132502,"filename":"image_04012025_07_44_02_934526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/387b8214845994046cbb698d61fcecfd.jpg","text":"TemporaryFile(/tmp/multipartBody8842640417405560841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973132502,"filename":"image_04012025_07_44_02_934526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0f34caed57c2d758fb00b4b63e0d97e8.jpg","text":"TemporaryFile(/tmp/multipartBody5281098627618044801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973132502,"filename":"image_04012025_07_43_02_428394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/24c68806b6622b5e630d9bd3621624e0.jpg","text":"TemporaryFile(/tmp/multipartBody1871507156950991389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973132502,"filename":"image_04012025_07_44_02_934526_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326375241","file1":"1326375237","file0":"1326375233","file3":"1326375317"},"map_files_photo_id_array":[{"photo_id":"1326375241","filename":"file2"},{"photo_id":"1326375237","filename":"file1"},{"photo_id":"1326375233","filename":"file0"},{"photo_id":"1326375317","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326375237":["hashtag1","hashtag2"]},{"1326375317":["hashtag1","hashtag2"]},{"1326375233":["hashtag1","hashtag2"]},{"1326375241":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326375237, 1326375317, 1326375233, 1326375241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.93866586685181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:45:22.481463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/44/image_04012025_07_44_02_934526_0003.jpg', '/home/pi/Desktop/images/04012025/07/45/image_04012025_07_45_02_362066_0000.jpg', '/home/pi/Desktop/images/04012025/07/45/image_04012025_07_45_02_362066_0001.jpg', '/home/pi/Desktop/images/04012025/07/45/image_04012025_07_45_02_362066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/44/image_04012025_07_44_02_934526_0003.jpg
/home/pi/Desktop/images/04012025/07/45/image_04012025_07_45_02_362066_0000.jpg
/home/pi/Desktop/images/04012025/07/45/image_04012025_07_45_02_362066_0001.jpg
/home/pi/Desktop/images/04012025/07/45/image_04012025_07_45_02_362066_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326375825","1326375692","1326375815","1326375768"],"photo_ids_order":["1326375692","1326375768","1326375815","1326375825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cf4af5e882cb57d973e8056e48ba94c8.jpg","text":"TemporaryFile(/tmp/multipartBody8851942368769721486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973192880,"filename":"image_04012025_07_45_02_362066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3a406caacd079e3f7aa652c881cec892.jpg","text":"TemporaryFile(/tmp/multipartBody1807615603632702455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973192880,"filename":"image_04012025_07_44_02_934526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/175b1d7ea6d49b2fa3402254dae7544c.jpg","text":"TemporaryFile(/tmp/multipartBody5225267708896579878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973192880,"filename":"image_04012025_07_45_02_362066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9f11581068fe677cd2e88db465463637.jpg","text":"TemporaryFile(/tmp/multipartBody7655448401844367820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973192880,"filename":"image_04012025_07_45_02_362066_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326375815","file1":"1326375768","file0":"1326375692","file3":"1326375825"},"map_files_photo_id_array":[{"photo_id":"1326375815","filename":"file2"},{"photo_id":"1326375768","filename":"file1"},{"photo_id":"1326375692","filename":"file0"},{"photo_id":"1326375825","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326375825":["hashtag1","hashtag2"]},{"1326375692":["hashtag1","hashtag2"]},{"1326375815":["hashtag1","hashtag2"]},{"1326375768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326375825, 1326375692, 1326375815, 1326375768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.82759404182434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:46:02.566745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:46:22.152571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/45/image_04012025_07_45_02_362066_0003.jpg', '/home/pi/Desktop/images/04012025/07/46/image_04012025_07_46_02_919623_0000.jpg', '/home/pi/Desktop/images/04012025/07/46/image_04012025_07_46_02_919623_0001.jpg', '/home/pi/Desktop/images/04012025/07/46/image_04012025_07_46_02_919623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/45/image_04012025_07_45_02_362066_0003.jpg
/home/pi/Desktop/images/04012025/07/46/image_04012025_07_46_02_919623_0000.jpg
/home/pi/Desktop/images/04012025/07/46/image_04012025_07_46_02_919623_0001.jpg
/home/pi/Desktop/images/04012025/07/46/image_04012025_07_46_02_919623_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326376507","1326376491","1326376155","1326376557"],"photo_ids_order":["1326376155","1326376491","1326376507","1326376557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0c509b2d3e42284747ab943d8cf87d4.jpg","text":"TemporaryFile(/tmp/multipartBody3861721753976953727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973252607,"filename":"image_04012025_07_46_02_919623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4ff44f16e23a224f217819b7798e272d.jpg","text":"TemporaryFile(/tmp/multipartBody1179112467566621427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973252607,"filename":"image_04012025_07_46_02_919623_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5059f6135b1cd52cea9c82cf6d11af1d.jpg","text":"TemporaryFile(/tmp/multipartBody5539088536018863438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973252607,"filename":"image_04012025_07_45_02_362066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d6ef3c418eb4714d4669a609c37b23f5.jpg","text":"TemporaryFile(/tmp/multipartBody6415079517517270149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973252607,"filename":"image_04012025_07_46_02_919623_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326376507","file1":"1326376491","file0":"1326376155","file3":"1326376557"},"map_files_photo_id_array":[{"photo_id":"1326376507","filename":"file2"},{"photo_id":"1326376491","filename":"file1"},{"photo_id":"1326376155","filename":"file0"},{"photo_id":"1326376557","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326376507":["hashtag1","hashtag2"]},{"1326376491":["hashtag1","hashtag2"]},{"1326376155":["hashtag1","hashtag2"]},{"1326376557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326376507, 1326376491, 1326376155, 1326376557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05732035636902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:47:03.204892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:47:22.536455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/46/image_04012025_07_46_02_919623_0003.jpg', '/home/pi/Desktop/images/04012025/07/47/image_04012025_07_47_02_505607_0000.jpg', '/home/pi/Desktop/images/04012025/07/47/image_04012025_07_47_02_505607_0001.jpg', '/home/pi/Desktop/images/04012025/07/47/image_04012025_07_47_02_505607_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/46/image_04012025_07_46_02_919623_0003.jpg
/home/pi/Desktop/images/04012025/07/47/image_04012025_07_47_02_505607_0000.jpg
/home/pi/Desktop/images/04012025/07/47/image_04012025_07_47_02_505607_0001.jpg
/home/pi/Desktop/images/04012025/07/47/image_04012025_07_47_02_505607_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326377067","1326377064","1326377022","1326377238"],"photo_ids_order":["1326377022","1326377064","1326377067","1326377238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8acd48640e17461de0670e470d6a3231.jpg","text":"TemporaryFile(/tmp/multipartBody6628447096779280907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973313117,"filename":"image_04012025_07_47_02_505607_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e4ff716a2c014d457ec196e323b2a239.jpg","text":"TemporaryFile(/tmp/multipartBody3605743435686455263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973313117,"filename":"image_04012025_07_47_02_505607_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e6b93bb4140a3001ffbaac39769ff76c.jpg","text":"TemporaryFile(/tmp/multipartBody6087549310797017507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973313117,"filename":"image_04012025_07_46_02_919623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2cd7cd4b4bcad9a85bdcccc77afe3b1f.jpg","text":"TemporaryFile(/tmp/multipartBody7646392526596965998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973313117,"filename":"image_04012025_07_47_02_505607_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326377067","file1":"1326377064","file0":"1326377022","file3":"1326377238"},"map_files_photo_id_array":[{"photo_id":"1326377067","filename":"file2"},{"photo_id":"1326377064","filename":"file1"},{"photo_id":"1326377022","filename":"file0"},{"photo_id":"1326377238","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326377067":["hashtag1","hashtag2"]},{"1326377064":["hashtag1","hashtag2"]},{"1326377022":["hashtag1","hashtag2"]},{"1326377238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326377067, 1326377064, 1326377022, 1326377238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.08926701545715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:48:22.264675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/47/image_04012025_07_47_02_505607_0003.jpg', '/home/pi/Desktop/images/04012025/07/48/image_04012025_07_48_02_978254_0000.jpg', '/home/pi/Desktop/images/04012025/07/48/image_04012025_07_48_02_978254_0001.jpg', '/home/pi/Desktop/images/04012025/07/48/image_04012025_07_48_02_978254_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/47/image_04012025_07_47_02_505607_0003.jpg
/home/pi/Desktop/images/04012025/07/48/image_04012025_07_48_02_978254_0000.jpg
/home/pi/Desktop/images/04012025/07/48/image_04012025_07_48_02_978254_0001.jpg
/home/pi/Desktop/images/04012025/07/48/image_04012025_07_48_02_978254_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326377861","1326377858","1326377855","1326377837"],"photo_ids_order":["1326377837","1326377855","1326377858","1326377861"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a2cd0e3ef3c0f99a5993f44df5d18184.jpg","text":"TemporaryFile(/tmp/multipartBody3234399443902286554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973372718,"filename":"image_04012025_07_48_02_978254_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba178bb2a22c0e7660c77312bb9f347c.jpg","text":"TemporaryFile(/tmp/multipartBody3026600315626654842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973372718,"filename":"image_04012025_07_48_02_978254_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/38bd660e5e98d75c6f32d80873edfe80.jpg","text":"TemporaryFile(/tmp/multipartBody5430385800566625601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973372718,"filename":"image_04012025_07_48_02_978254_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8d2e25e8fa5535dd26c120f85a11aaf2.jpg","text":"TemporaryFile(/tmp/multipartBody3387244235333431510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973372718,"filename":"image_04012025_07_47_02_505607_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326377858","file1":"1326377855","file0":"1326377837","file3":"1326377861"},"map_files_photo_id_array":[{"photo_id":"1326377858","filename":"file2"},{"photo_id":"1326377855","filename":"file1"},{"photo_id":"1326377837","filename":"file0"},{"photo_id":"1326377861","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326377861":["hashtag1","hashtag2"]},{"1326377858":["hashtag1","hashtag2"]},{"1326377855":["hashtag1","hashtag2"]},{"1326377837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326377861, 1326377858, 1326377855, 1326377837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.06812524795532 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-04 07:49:21.797935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/48/image_04012025_07_48_02_978254_0003.jpg', '/home/pi/Desktop/images/04012025/07/49/image_04012025_07_49_02_683249_0000.jpg', '/home/pi/Desktop/images/04012025/07/49/image_04012025_07_49_02_683249_0001.jpg', '/home/pi/Desktop/images/04012025/07/49/image_04012025_07_49_02_683249_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/48/image_04012025_07_48_02_978254_0003.jpg
/home/pi/Desktop/images/04012025/07/49/image_04012025_07_49_02_683249_0000.jpg
/home/pi/Desktop/images/04012025/07/49/image_04012025_07_49_02_683249_0001.jpg
/home/pi/Desktop/images/04012025/07/49/image_04012025_07_49_02_683249_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326377995","1326378001","1326377991","1326377998"],"photo_ids_order":["1326377991","1326377995","1326377998","1326378001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b543f769d7a3fbdf4abdbe096a0e5c35.jpg","text":"TemporaryFile(/tmp/multipartBody4867018384125421874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973432298,"filename":"image_04012025_07_49_02_683249_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/351fccb0b43b3acc0de05497c2d9cb2a.jpg","text":"TemporaryFile(/tmp/multipartBody6810649170609642460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973432298,"filename":"image_04012025_07_49_02_683249_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85bfa9d39727a6238452a00712099e5d.jpg","text":"TemporaryFile(/tmp/multipartBody603589763263245447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973432298,"filename":"image_04012025_07_48_02_978254_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d638cdbb6363db7a3e202a5e960516a5.jpg","text":"TemporaryFile(/tmp/multipartBody3249476035015995634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973432298,"filename":"image_04012025_07_49_02_683249_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326377998","file1":"1326377995","file0":"1326377991","file3":"1326378001"},"map_files_photo_id_array":[{"photo_id":"1326377998","filename":"file2"},{"photo_id":"1326377995","filename":"file1"},{"photo_id":"1326377991","filename":"file0"},{"photo_id":"1326378001","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326377995":["hashtag1","hashtag2"]},{"1326378001":["hashtag1","hashtag2"]},{"1326377991":["hashtag1","hashtag2"]},{"1326377998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326377995, 1326378001, 1326377991, 1326377998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.22956299781799 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:50:02.805508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:50:22.336223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/49/image_04012025_07_49_02_683249_0003.jpg', '/home/pi/Desktop/images/04012025/07/50/image_04012025_07_50_02_209072_0000.jpg', '/home/pi/Desktop/images/04012025/07/50/image_04012025_07_50_02_209072_0001.jpg', '/home/pi/Desktop/images/04012025/07/50/image_04012025_07_50_02_209072_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/49/image_04012025_07_49_02_683249_0003.jpg
/home/pi/Desktop/images/04012025/07/50/image_04012025_07_50_02_209072_0000.jpg
/home/pi/Desktop/images/04012025/07/50/image_04012025_07_50_02_209072_0001.jpg
/home/pi/Desktop/images/04012025/07/50/image_04012025_07_50_02_209072_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326378613","1326378337","1326378359","1326378362"],"photo_ids_order":["1326378337","1326378359","1326378362","1326378613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8e4b2d4fbe5b0aa7da101a90bdadc4c5.jpg","text":"TemporaryFile(/tmp/multipartBody5378018935657978883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973492709,"filename":"image_04012025_07_50_02_209072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8b12a7a2e445000557578c9ad7773b28.jpg","text":"TemporaryFile(/tmp/multipartBody6728845709793058162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973492709,"filename":"image_04012025_07_49_02_683249_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c90ef3ed91acdd235c161051f4207ecd.jpg","text":"TemporaryFile(/tmp/multipartBody7297092462704491282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973492709,"filename":"image_04012025_07_50_02_209072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/11ece809a431410c1018645341c580a8.jpg","text":"TemporaryFile(/tmp/multipartBody8562561040733000703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973492709,"filename":"image_04012025_07_50_02_209072_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326378362","file1":"1326378359","file0":"1326378337","file3":"1326378613"},"map_files_photo_id_array":[{"photo_id":"1326378362","filename":"file2"},{"photo_id":"1326378359","filename":"file1"},{"photo_id":"1326378337","filename":"file0"},{"photo_id":"1326378613","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326378613":["hashtag1","hashtag2"]},{"1326378337":["hashtag1","hashtag2"]},{"1326378359":["hashtag1","hashtag2"]},{"1326378362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326378613, 1326378337, 1326378359, 1326378362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.32467198371887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:51:02.260628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:51:21.767009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/50/image_04012025_07_50_02_209072_0003.jpg', '/home/pi/Desktop/images/04012025/07/51/image_04012025_07_51_02_714296_0000.jpg', '/home/pi/Desktop/images/04012025/07/51/image_04012025_07_51_02_714296_0001.jpg', '/home/pi/Desktop/images/04012025/07/51/image_04012025_07_51_02_714296_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/50/image_04012025_07_50_02_209072_0003.jpg
/home/pi/Desktop/images/04012025/07/51/image_04012025_07_51_02_714296_0000.jpg
/home/pi/Desktop/images/04012025/07/51/image_04012025_07_51_02_714296_0001.jpg
/home/pi/Desktop/images/04012025/07/51/image_04012025_07_51_02_714296_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326379161","1326379136","1326379159","1326378892"],"photo_ids_order":["1326378892","1326379136","1326379159","1326379161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af0a5963bb4366d35545f14497bad69f.jpg","text":"TemporaryFile(/tmp/multipartBody6433148766430476143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973552180,"filename":"image_04012025_07_51_02_714296_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9d8df53644d0691a8a740843aa4217c0.jpg","text":"TemporaryFile(/tmp/multipartBody7391847564151122305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973552180,"filename":"image_04012025_07_51_02_714296_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d69ead0742f31dee8e1356ccf08f56ef.jpg","text":"TemporaryFile(/tmp/multipartBody4101045232154476920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973552180,"filename":"image_04012025_07_51_02_714296_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/43523e29bd90edd6d80532a6014b9be1.jpg","text":"TemporaryFile(/tmp/multipartBody968994290242455536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973552180,"filename":"image_04012025_07_50_02_209072_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326379159","file1":"1326379136","file0":"1326378892","file3":"1326379161"},"map_files_photo_id_array":[{"photo_id":"1326379159","filename":"file2"},{"photo_id":"1326379136","filename":"file1"},{"photo_id":"1326378892","filename":"file0"},{"photo_id":"1326379161","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326379161":["hashtag1","hashtag2"]},{"1326379136":["hashtag1","hashtag2"]},{"1326379159":["hashtag1","hashtag2"]},{"1326378892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326379161, 1326379136, 1326379159, 1326378892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.392852544784546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:52:02.801056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:52:22.364438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/51/image_04012025_07_51_02_714296_0003.jpg', '/home/pi/Desktop/images/04012025/07/52/image_04012025_07_52_02_267123_0000.jpg', '/home/pi/Desktop/images/04012025/07/52/image_04012025_07_52_02_267123_0001.jpg', '/home/pi/Desktop/images/04012025/07/52/image_04012025_07_52_02_267123_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/51/image_04012025_07_51_02_714296_0003.jpg
/home/pi/Desktop/images/04012025/07/52/image_04012025_07_52_02_267123_0000.jpg
/home/pi/Desktop/images/04012025/07/52/image_04012025_07_52_02_267123_0001.jpg
/home/pi/Desktop/images/04012025/07/52/image_04012025_07_52_02_267123_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326379303","1326379598","1326379580","1326379429"],"photo_ids_order":["1326379303","1326379429","1326379580","1326379598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f0cf4cdfa52b0dd0407f52d41213ae56.jpg","text":"TemporaryFile(/tmp/multipartBody3401430554035612629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973612812,"filename":"image_04012025_07_51_02_714296_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3f6d1d862eab60c2b31dc3bded07b7f1.jpg","text":"TemporaryFile(/tmp/multipartBody2401073938089371323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973612812,"filename":"image_04012025_07_52_02_267123_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9bb8de43086dca72f58c4c97a136199a.jpg","text":"TemporaryFile(/tmp/multipartBody1450467926664497131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973612812,"filename":"image_04012025_07_52_02_267123_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7d69d6724f0bad02263f5c907ad4e789.jpg","text":"TemporaryFile(/tmp/multipartBody519961485080419313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973612812,"filename":"image_04012025_07_52_02_267123_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326379580","file1":"1326379429","file0":"1326379303","file3":"1326379598"},"map_files_photo_id_array":[{"photo_id":"1326379580","filename":"file2"},{"photo_id":"1326379429","filename":"file1"},{"photo_id":"1326379303","filename":"file0"},{"photo_id":"1326379598","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326379303":["hashtag1","hashtag2"]},{"1326379598":["hashtag1","hashtag2"]},{"1326379580":["hashtag1","hashtag2"]},{"1326379429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326379303, 1326379598, 1326379580, 1326379429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44140028953552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:53:21.870612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/52/image_04012025_07_52_02_267123_0003.jpg', '/home/pi/Desktop/images/04012025/07/53/image_04012025_07_53_02_770915_0000.jpg', '/home/pi/Desktop/images/04012025/07/53/image_04012025_07_53_02_770915_0001.jpg', '/home/pi/Desktop/images/04012025/07/53/image_04012025_07_53_02_770915_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/52/image_04012025_07_52_02_267123_0003.jpg
/home/pi/Desktop/images/04012025/07/53/image_04012025_07_53_02_770915_0000.jpg
/home/pi/Desktop/images/04012025/07/53/image_04012025_07_53_02_770915_0001.jpg
/home/pi/Desktop/images/04012025/07/53/image_04012025_07_53_02_770915_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326379989","1326379982","1326379985","1326379979"],"photo_ids_order":["1326379979","1326379982","1326379985","1326379989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e317d7ba29028b0ff5ad6a7d89f45d1c.jpg","text":"TemporaryFile(/tmp/multipartBody7884808515261937937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973672406,"filename":"image_04012025_07_53_02_770915_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2399285f8aa5dffafdd4cbc79eb10528.jpg","text":"TemporaryFile(/tmp/multipartBody2955770668196031306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973672406,"filename":"image_04012025_07_53_02_770915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b0e8f6a77f7c9570997fe8b9a83477a0.jpg","text":"TemporaryFile(/tmp/multipartBody7623146747448577863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973672406,"filename":"image_04012025_07_53_02_770915_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/19f3fa3a94a5d30e673eae8ca187f0e8.jpg","text":"TemporaryFile(/tmp/multipartBody7577072320888299116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973672406,"filename":"image_04012025_07_52_02_267123_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326379985","file1":"1326379982","file0":"1326379979","file3":"1326379989"},"map_files_photo_id_array":[{"photo_id":"1326379985","filename":"file2"},{"photo_id":"1326379982","filename":"file1"},{"photo_id":"1326379979","filename":"file0"},{"photo_id":"1326379989","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326379989":["hashtag1","hashtag2"]},{"1326379982":["hashtag1","hashtag2"]},{"1326379985":["hashtag1","hashtag2"]},{"1326379979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326379989, 1326379982, 1326379985, 1326379979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3982892036438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:54:02.754377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:54:22.332020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/53/image_04012025_07_53_02_770915_0003.jpg', '/home/pi/Desktop/images/04012025/07/54/image_04012025_07_54_02_266086_0000.jpg', '/home/pi/Desktop/images/04012025/07/54/image_04012025_07_54_02_266086_0001.jpg', '/home/pi/Desktop/images/04012025/07/54/image_04012025_07_54_02_266086_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/53/image_04012025_07_53_02_770915_0003.jpg
/home/pi/Desktop/images/04012025/07/54/image_04012025_07_54_02_266086_0000.jpg
/home/pi/Desktop/images/04012025/07/54/image_04012025_07_54_02_266086_0001.jpg
/home/pi/Desktop/images/04012025/07/54/image_04012025_07_54_02_266086_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326380329","1326380257","1326380264","1326380260"],"photo_ids_order":["1326380257","1326380260","1326380264","1326380329"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/212e68de6f9a4d947454fb1c7245a8d1.jpg","text":"TemporaryFile(/tmp/multipartBody986834968716257979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973732722,"filename":"image_04012025_07_54_02_266086_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2844ad30778ba06230d01fb84f799705.jpg","text":"TemporaryFile(/tmp/multipartBody1015255191930334317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973732722,"filename":"image_04012025_07_53_02_770915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/827ed6167402830955a65357f05b7b6f.jpg","text":"TemporaryFile(/tmp/multipartBody900980475613220827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973732722,"filename":"image_04012025_07_54_02_266086_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a4c03fd995567f143d9a21ef3dbfc323.jpg","text":"TemporaryFile(/tmp/multipartBody2004979445749380284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973732722,"filename":"image_04012025_07_54_02_266086_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326380264","file1":"1326380260","file0":"1326380257","file3":"1326380329"},"map_files_photo_id_array":[{"photo_id":"1326380264","filename":"file2"},{"photo_id":"1326380260","filename":"file1"},{"photo_id":"1326380257","filename":"file0"},{"photo_id":"1326380329","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326380329":["hashtag1","hashtag2"]},{"1326380257":["hashtag1","hashtag2"]},{"1326380264":["hashtag1","hashtag2"]},{"1326380260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326380329, 1326380257, 1326380264, 1326380260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.305264711380005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:55:21.797081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/54/image_04012025_07_54_02_266086_0003.jpg', '/home/pi/Desktop/images/04012025/07/55/image_04012025_07_55_02_693685_0001.jpg', '/home/pi/Desktop/images/04012025/07/55/image_04012025_07_55_02_693685_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/54/image_04012025_07_54_02_266086_0003.jpg
/home/pi/Desktop/images/04012025/07/55/image_04012025_07_55_02_693685_0001.jpg
/home/pi/Desktop/images/04012025/07/55/image_04012025_07_55_02_693685_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326380668","1326380634","1326380671"],"photo_ids_order":["1326380634","1326380668","1326380671"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bcc03b02689491d0ad18ff8076b751a8.jpg","text":"TemporaryFile(/tmp/multipartBody6564296164650471742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973789664,"filename":"image_04012025_07_55_02_693685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f0fe5f8c08feabb6e3a1d90348a6e54d.jpg","text":"TemporaryFile(/tmp/multipartBody8987980513149947278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973789664,"filename":"image_04012025_07_54_02_266086_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7e5d803dd480d302417bd98b21c75db5.jpg","text":"TemporaryFile(/tmp/multipartBody9164155969817076913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973789664,"filename":"image_04012025_07_55_02_693685_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326380671","file1":"1326380668","file0":"1326380634"},"map_files_photo_id_array":[{"photo_id":"1326380671","filename":"file2"},{"photo_id":"1326380668","filename":"file1"},{"photo_id":"1326380634","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326380668":["hashtag1","hashtag2"]},{"1326380634":["hashtag1","hashtag2"]},{"1326380671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326380668, 1326380634, 1326380671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.575865745544434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:56:02.885217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:56:22.342216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/55/image_04012025_07_55_02_693685_0003.jpg', '/home/pi/Desktop/images/04012025/07/56/image_04012025_07_56_02_226369_0000.jpg', '/home/pi/Desktop/images/04012025/07/56/image_04012025_07_56_02_226369_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/55/image_04012025_07_55_02_693685_0003.jpg
/home/pi/Desktop/images/04012025/07/56/image_04012025_07_56_02_226369_0000.jpg
/home/pi/Desktop/images/04012025/07/56/image_04012025_07_56_02_226369_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326381038","1326380992","1326380995"],"photo_ids_order":["1326380992","1326380995","1326381038"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b5435151f004af597c705ab0e37f92f1.jpg","text":"TemporaryFile(/tmp/multipartBody1550496852624636298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973850250,"filename":"image_04012025_07_56_02_226369_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dea6edf8bbde8260af70718fba14bba7.jpg","text":"TemporaryFile(/tmp/multipartBody2518471799770655066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973850250,"filename":"image_04012025_07_55_02_693685_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dae0f42a2c1ec737e6cae63974dc070a.jpg","text":"TemporaryFile(/tmp/multipartBody2262773102092151678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973850250,"filename":"image_04012025_07_56_02_226369_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326381038","file1":"1326380995","file0":"1326380992"},"map_files_photo_id_array":[{"photo_id":"1326381038","filename":"file2"},{"photo_id":"1326380995","filename":"file1"},{"photo_id":"1326380992","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326381038":["hashtag1","hashtag2"]},{"1326380992":["hashtag1","hashtag2"]},{"1326380995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326381038, 1326380992, 1326380995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.85215139389038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:57:02.467714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 07:57:21.859281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/56/image_04012025_07_56_02_226369_0003.jpg', '/home/pi/Desktop/images/04012025/07/57/image_04012025_07_57_02_748913_0000.jpg', '/home/pi/Desktop/images/04012025/07/57/image_04012025_07_57_02_748913_0001.jpg', '/home/pi/Desktop/images/04012025/07/57/image_04012025_07_57_02_748913_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/56/image_04012025_07_56_02_226369_0003.jpg
/home/pi/Desktop/images/04012025/07/57/image_04012025_07_57_02_748913_0000.jpg
/home/pi/Desktop/images/04012025/07/57/image_04012025_07_57_02_748913_0001.jpg
/home/pi/Desktop/images/04012025/07/57/image_04012025_07_57_02_748913_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326381573","1326381548","1326381628","1326381597"],"photo_ids_order":["1326381548","1326381573","1326381597","1326381628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/93aab90513943b18679ebe637711a77b.jpg","text":"TemporaryFile(/tmp/multipartBody4196219606980920326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973912215,"filename":"image_04012025_07_57_02_748913_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a055112f08451a83c9394eb6a676f952.jpg","text":"TemporaryFile(/tmp/multipartBody1080322573422810000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973912215,"filename":"image_04012025_07_56_02_226369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8b987f4608c89940aa2c40b797866d44.jpg","text":"TemporaryFile(/tmp/multipartBody1375299488359103229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973912215,"filename":"image_04012025_07_57_02_748913_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6a5b795beaffa945a3d8d8c78b5eac7d.jpg","text":"TemporaryFile(/tmp/multipartBody2777511086618958324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735973912215,"filename":"image_04012025_07_57_02_748913_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326381597","file1":"1326381573","file0":"1326381548","file3":"1326381628"},"map_files_photo_id_array":[{"photo_id":"1326381597","filename":"file2"},{"photo_id":"1326381573","filename":"file1"},{"photo_id":"1326381548","filename":"file0"},{"photo_id":"1326381628","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326381573":["hashtag1","hashtag2"]},{"1326381548":["hashtag1","hashtag2"]},{"1326381628":["hashtag1","hashtag2"]},{"1326381597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326381573, 1326381548, 1326381628, 1326381597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.972716331481934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 07:59:03.351332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 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-04 07:59:22.710681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/57/image_04012025_07_57_02_748913_0003.jpg', '/home/pi/Desktop/images/04012025/07/58/image_04012025_07_58_02_286715_0001.jpg', '/home/pi/Desktop/images/04012025/07/58/image_04012025_07_58_02_286715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/57/image_04012025_07_57_02_748913_0003.jpg
/home/pi/Desktop/images/04012025/07/58/image_04012025_07_58_02_286715_0001.jpg
/home/pi/Desktop/images/04012025/07/58/image_04012025_07_58_02_286715_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326383471","1326383480","1326383476"],"photo_ids_order":["1326383471","1326383476","1326383480"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a13d0abf1a6bb6f0c516df6e646a0799.jpg","text":"TemporaryFile(/tmp/multipartBody7622640724453943885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974030686,"filename":"image_04012025_07_57_02_748913_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2f7613ae45cfe3f8b65a19f0d0065dcd.jpg","text":"TemporaryFile(/tmp/multipartBody6020696338914324813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974030686,"filename":"image_04012025_07_58_02_286715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6fdac1b280009fcb08e4ec27b8746aa2.jpg","text":"TemporaryFile(/tmp/multipartBody748373754740227579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974030686,"filename":"image_04012025_07_58_02_286715_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326383480","file1":"1326383476","file0":"1326383471"},"map_files_photo_id_array":[{"photo_id":"1326383480","filename":"file2"},{"photo_id":"1326383476","filename":"file1"},{"photo_id":"1326383471","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326383471":["hashtag1","hashtag2"]},{"1326383480":["hashtag1","hashtag2"]},{"1326383476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326383471, 1326383480, 1326383476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.958873987197876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:00:02.874306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:00:22.361468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/07/58/image_04012025_07_58_02_286715_0003.jpg', '/home/pi/Desktop/images/04012025/07/59/image_04012025_07_59_02_935846_0000.jpg', '/home/pi/Desktop/images/04012025/07/59/image_04012025_07_59_02_935846_0001.jpg', '/home/pi/Desktop/images/04012025/07/59/image_04012025_07_59_02_935846_0002.jpg', '/home/pi/Desktop/images/04012025/07/59/image_04012025_07_59_02_935846_0003.jpg', '/home/pi/Desktop/images/04012025/08/00/image_04012025_08_00_03_203040_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/07/58/image_04012025_07_58_02_286715_0003.jpg
/home/pi/Desktop/images/04012025/07/59/image_04012025_07_59_02_935846_0000.jpg
/home/pi/Desktop/images/04012025/07/59/image_04012025_07_59_02_935846_0001.jpg
/home/pi/Desktop/images/04012025/07/59/image_04012025_07_59_02_935846_0002.jpg
/home/pi/Desktop/images/04012025/07/59/image_04012025_07_59_02_935846_0003.jpg
/home/pi/Desktop/images/04012025/08/00/image_04012025_08_00_03_203040_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326383891","1326383906","1326383840","1326383839","1326383908","1326383910"],"photo_ids_order":["1326383839","1326383840","1326383891","1326383906","1326383908","1326383910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9c2093aa218ca5794e04457d6cf99120.jpg","text":"TemporaryFile(/tmp/multipartBody5653610143599945361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974097512,"filename":"image_04012025_07_59_02_935846_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b9316d4bdaf25ac9a7df02b88ee7b27f.jpg","text":"TemporaryFile(/tmp/multipartBody977303412929365444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974097512,"filename":"image_04012025_07_59_02_935846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0f3a7d8d21e5a64da130d235df9eb83b.jpg","text":"TemporaryFile(/tmp/multipartBody5524091232829652086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974097512,"filename":"image_04012025_07_59_02_935846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/009f735c0504240b3d86fd45e66e8e1a.jpg","text":"TemporaryFile(/tmp/multipartBody718537377910106307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974097512,"filename":"image_04012025_07_58_02_286715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2bec93ca0a2f85859542c829da0d4d88.jpg","text":"TemporaryFile(/tmp/multipartBody1574955141498556229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974097512,"filename":"image_04012025_07_59_02_935846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bfc05fbbe96ce612b48a7a3a505b6d95.jpg","text":"TemporaryFile(/tmp/multipartBody6871767492439875891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974097512,"filename":"image_04012025_08_00_03_203040_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326383891","file1":"1326383840","file0":"1326383839","file4":"1326383908","file5":"1326383910","file3":"1326383906"},"map_files_photo_id_array":[{"photo_id":"1326383910","filename":"file5"},{"photo_id":"1326383891","filename":"file2"},{"photo_id":"1326383908","filename":"file4"},{"photo_id":"1326383840","filename":"file1"},{"photo_id":"1326383839","filename":"file0"},{"photo_id":"1326383906","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326383891":["hashtag1","hashtag2"]},{"1326383906":["hashtag1","hashtag2"]},{"1326383840":["hashtag1","hashtag2"]},{"1326383839":["hashtag1","hashtag2"]},{"1326383908":["hashtag1","hashtag2"]},{"1326383910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326383891, 1326383906, 1326383840, 1326383839, 1326383908, 1326383910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.06981134414673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:01:21.814296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/00/image_04012025_08_00_03_203040_0001.jpg', '/home/pi/Desktop/images/04012025/08/00/image_04012025_08_00_03_203040_0002.jpg', '/home/pi/Desktop/images/04012025/08/00/image_04012025_08_00_03_203040_0003.jpg', '/home/pi/Desktop/images/04012025/08/01/image_04012025_08_01_02_672953_0000.jpg', '/home/pi/Desktop/images/04012025/08/01/image_04012025_08_01_02_672953_0001.jpg', '/home/pi/Desktop/images/04012025/08/01/image_04012025_08_01_02_672953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/00/image_04012025_08_00_03_203040_0001.jpg
/home/pi/Desktop/images/04012025/08/00/image_04012025_08_00_03_203040_0002.jpg
/home/pi/Desktop/images/04012025/08/00/image_04012025_08_00_03_203040_0003.jpg
/home/pi/Desktop/images/04012025/08/01/image_04012025_08_01_02_672953_0000.jpg
/home/pi/Desktop/images/04012025/08/01/image_04012025_08_01_02_672953_0001.jpg
/home/pi/Desktop/images/04012025/08/01/image_04012025_08_01_02_672953_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326384521","1326383948","1326383953","1326383950","1326384147","1326384365"],"photo_ids_order":["1326383948","1326383950","1326383953","1326384147","1326384365","1326384521"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1f1171734bd8a923c1c97272d092967e.jpg","text":"TemporaryFile(/tmp/multipartBody3171660624282374953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974156835,"filename":"image_04012025_08_01_02_672953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c4a4d1f28946391c64a4485ea1007f58.jpg","text":"TemporaryFile(/tmp/multipartBody2287096063689703558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974156835,"filename":"image_04012025_08_00_03_203040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eb41152fe1894721f61dce3b34b36b97.jpg","text":"TemporaryFile(/tmp/multipartBody2468593442461362008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974156835,"filename":"image_04012025_08_00_03_203040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/901b517b9df88988b95faa079ac1ff71.jpg","text":"TemporaryFile(/tmp/multipartBody7973032055452098058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974156835,"filename":"image_04012025_08_00_03_203040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c6478d489f9d1d103f82042b286f5e3e.jpg","text":"TemporaryFile(/tmp/multipartBody7181882492136706435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974156835,"filename":"image_04012025_08_01_02_672953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f18e8185386f93197e7d46c02bd20b6.jpg","text":"TemporaryFile(/tmp/multipartBody4544798401309344493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974156835,"filename":"image_04012025_08_01_02_672953_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326383953","file1":"1326383950","file0":"1326383948","file4":"1326384365","file5":"1326384521","file3":"1326384147"},"map_files_photo_id_array":[{"photo_id":"1326384521","filename":"file5"},{"photo_id":"1326383953","filename":"file2"},{"photo_id":"1326384365","filename":"file4"},{"photo_id":"1326383950","filename":"file1"},{"photo_id":"1326383948","filename":"file0"},{"photo_id":"1326384147","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326384521":["hashtag1","hashtag2"]},{"1326383948":["hashtag1","hashtag2"]},{"1326383953":["hashtag1","hashtag2"]},{"1326383950":["hashtag1","hashtag2"]},{"1326384147":["hashtag1","hashtag2"]},{"1326384365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326384521, 1326383948, 1326383953, 1326383950, 1326384147, 1326384365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.51027321815491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:02:22.317286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/01/image_04012025_08_01_02_672953_0003.jpg', '/home/pi/Desktop/images/04012025/08/02/image_04012025_08_02_02_190342_0000.jpg', '/home/pi/Desktop/images/04012025/08/02/image_04012025_08_02_02_190342_0001.jpg', '/home/pi/Desktop/images/04012025/08/02/image_04012025_08_02_02_190342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/01/image_04012025_08_01_02_672953_0003.jpg
/home/pi/Desktop/images/04012025/08/02/image_04012025_08_02_02_190342_0000.jpg
/home/pi/Desktop/images/04012025/08/02/image_04012025_08_02_02_190342_0001.jpg
/home/pi/Desktop/images/04012025/08/02/image_04012025_08_02_02_190342_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326384725","1326384701","1326384780","1326384968"],"photo_ids_order":["1326384701","1326384725","1326384780","1326384968"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0cb9f99226f29bb2f5310582603014c.jpg","text":"TemporaryFile(/tmp/multipartBody3936465882761644508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974212750,"filename":"image_04012025_08_02_02_190342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3b69b22efe742f8c6b3250ed5fcfa6c3.jpg","text":"TemporaryFile(/tmp/multipartBody1828194028870735052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974212750,"filename":"image_04012025_08_01_02_672953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b9ed3e78ab6e471eb9c407ca2fcc2990.jpg","text":"TemporaryFile(/tmp/multipartBody1830014301279301857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974212750,"filename":"image_04012025_08_02_02_190342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1c53897b078cc4510bd26c5a40620ceb.jpg","text":"TemporaryFile(/tmp/multipartBody927309638284373472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974212750,"filename":"image_04012025_08_02_02_190342_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326384780","file1":"1326384725","file0":"1326384701","file3":"1326384968"},"map_files_photo_id_array":[{"photo_id":"1326384780","filename":"file2"},{"photo_id":"1326384725","filename":"file1"},{"photo_id":"1326384701","filename":"file0"},{"photo_id":"1326384968","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326384725":["hashtag1","hashtag2"]},{"1326384701":["hashtag1","hashtag2"]},{"1326384780":["hashtag1","hashtag2"]},{"1326384968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326384725, 1326384701, 1326384780, 1326384968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.876203536987305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:03:21.820919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/02/image_04012025_08_02_02_190342_0003.jpg', '/home/pi/Desktop/images/04012025/08/03/image_04012025_08_03_02_675260_0000.jpg', '/home/pi/Desktop/images/04012025/08/03/image_04012025_08_03_02_675260_0001.jpg', '/home/pi/Desktop/images/04012025/08/03/image_04012025_08_03_02_675260_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/02/image_04012025_08_02_02_190342_0003.jpg
/home/pi/Desktop/images/04012025/08/03/image_04012025_08_03_02_675260_0000.jpg
/home/pi/Desktop/images/04012025/08/03/image_04012025_08_03_02_675260_0001.jpg
/home/pi/Desktop/images/04012025/08/03/image_04012025_08_03_02_675260_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326385373","1326385376","1326385145","1326385409"],"photo_ids_order":["1326385145","1326385373","1326385376","1326385409"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f01612bc347811a0b173efa109efaecd.jpg","text":"TemporaryFile(/tmp/multipartBody6550739213538443994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974272243,"filename":"image_04012025_08_03_02_675260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e8c3c0b625c60ac16a026b40c3639bf9.jpg","text":"TemporaryFile(/tmp/multipartBody7249366820357546332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974272243,"filename":"image_04012025_08_03_02_675260_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bc4fd1946622cb3548ddd54cf342b8fc.jpg","text":"TemporaryFile(/tmp/multipartBody7740211229402613833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974272243,"filename":"image_04012025_08_02_02_190342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1e33feabebae5e5a29a2cdddd28c03fb.jpg","text":"TemporaryFile(/tmp/multipartBody4587703028678696062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974272243,"filename":"image_04012025_08_03_02_675260_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326385376","file1":"1326385373","file0":"1326385145","file3":"1326385409"},"map_files_photo_id_array":[{"photo_id":"1326385376","filename":"file2"},{"photo_id":"1326385373","filename":"file1"},{"photo_id":"1326385145","filename":"file0"},{"photo_id":"1326385409","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326385373":["hashtag1","hashtag2"]},{"1326385376":["hashtag1","hashtag2"]},{"1326385145":["hashtag1","hashtag2"]},{"1326385409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326385373, 1326385376, 1326385145, 1326385409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.31420040130615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:04:22.255232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/03/image_04012025_08_03_02_675260_0003.jpg', '/home/pi/Desktop/images/04012025/08/04/image_04012025_08_04_02_149222_0000.jpg', '/home/pi/Desktop/images/04012025/08/04/image_04012025_08_04_02_149222_0001.jpg', '/home/pi/Desktop/images/04012025/08/04/image_04012025_08_04_02_149222_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/03/image_04012025_08_03_02_675260_0003.jpg
/home/pi/Desktop/images/04012025/08/04/image_04012025_08_04_02_149222_0000.jpg
/home/pi/Desktop/images/04012025/08/04/image_04012025_08_04_02_149222_0001.jpg
/home/pi/Desktop/images/04012025/08/04/image_04012025_08_04_02_149222_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.86132287979126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:05:03.286805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/03/image_04012025_08_03_02_675260_0003.jpg', '/home/pi/Desktop/images/04012025/08/04/image_04012025_08_04_02_149222_0000.jpg', '/home/pi/Desktop/images/04012025/08/04/image_04012025_08_04_02_149222_0001.jpg', '/home/pi/Desktop/images/04012025/08/04/image_04012025_08_04_02_149222_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/03/image_04012025_08_03_02_675260_0003.jpg
/home/pi/Desktop/images/04012025/08/04/image_04012025_08_04_02_149222_0000.jpg
/home/pi/Desktop/images/04012025/08/04/image_04012025_08_04_02_149222_0001.jpg
/home/pi/Desktop/images/04012025/08/04/image_04012025_08_04_02_149222_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326385867","1326386121","1326385857","1326385859"],"photo_ids_order":["1326385857","1326385859","1326385867","1326386121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e7592509742f41e1b18c1e6d9c1eea4a.jpg","text":"TemporaryFile(/tmp/multipartBody4579376532249390190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974373613,"filename":"image_04012025_08_04_02_149222_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/67fa7de5e04e1f1903c997e086bc89d0.jpg","text":"TemporaryFile(/tmp/multipartBody6169934727619205338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974373613,"filename":"image_04012025_08_04_02_149222_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c50973beb4a1d5760d6be390155ed5e0.jpg","text":"TemporaryFile(/tmp/multipartBody4175993257679307837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974373613,"filename":"image_04012025_08_03_02_675260_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6e7a61863d7d20bc8d09e53f3c2e9097.jpg","text":"TemporaryFile(/tmp/multipartBody2742837062045680625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974373613,"filename":"image_04012025_08_04_02_149222_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326385867","file1":"1326385859","file0":"1326385857","file3":"1326386121"},"map_files_photo_id_array":[{"photo_id":"1326385867","filename":"file2"},{"photo_id":"1326385859","filename":"file1"},{"photo_id":"1326385857","filename":"file0"},{"photo_id":"1326386121","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326385867":["hashtag1","hashtag2"]},{"1326386121":["hashtag1","hashtag2"]},{"1326385857":["hashtag1","hashtag2"]},{"1326385859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326385867, 1326386121, 1326385857, 1326385859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.240580797195435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:06:02.902543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/04/image_04012025_08_04_02_149222_0003.jpg', '/home/pi/Desktop/images/04012025/08/05/image_04012025_08_05_02_610551_0000.jpg', '/home/pi/Desktop/images/04012025/08/05/image_04012025_08_05_02_610551_0001.jpg', '/home/pi/Desktop/images/04012025/08/05/image_04012025_08_05_02_610551_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/04/image_04012025_08_04_02_149222_0003.jpg
/home/pi/Desktop/images/04012025/08/05/image_04012025_08_05_02_610551_0000.jpg
/home/pi/Desktop/images/04012025/08/05/image_04012025_08_05_02_610551_0001.jpg
/home/pi/Desktop/images/04012025/08/05/image_04012025_08_05_02_610551_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326386250","1326386249","1326386252","1326386254"],"photo_ids_order":["1326386249","1326386250","1326386252","1326386254"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/23eacd186fd63a5d1d4053f34e6b1fc5.jpg","text":"TemporaryFile(/tmp/multipartBody721899274365979579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974433039,"filename":"image_04012025_08_05_02_610551_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/877729945cf4c089a8262a50c6302722.jpg","text":"TemporaryFile(/tmp/multipartBody1004026455181854328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974433039,"filename":"image_04012025_08_04_02_149222_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/306608373deeb625992f9a22471cc0ca.jpg","text":"TemporaryFile(/tmp/multipartBody136512813864216132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974433039,"filename":"image_04012025_08_05_02_610551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4b7887cf044c89af672c0a648e7e3d0d.jpg","text":"TemporaryFile(/tmp/multipartBody8594354765926848523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974433039,"filename":"image_04012025_08_05_02_610551_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326386252","file1":"1326386250","file0":"1326386249","file3":"1326386254"},"map_files_photo_id_array":[{"photo_id":"1326386252","filename":"file2"},{"photo_id":"1326386250","filename":"file1"},{"photo_id":"1326386249","filename":"file0"},{"photo_id":"1326386254","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326386250":["hashtag1","hashtag2"]},{"1326386249":["hashtag1","hashtag2"]},{"1326386252":["hashtag1","hashtag2"]},{"1326386254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326386250, 1326386249, 1326386252, 1326386254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.69728922843933 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:07:02.512341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/05/image_04012025_08_05_02_610551_0003.jpg', '/home/pi/Desktop/images/04012025/08/06/image_04012025_08_06_03_125140_0000.jpg', '/home/pi/Desktop/images/04012025/08/06/image_04012025_08_06_03_125140_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/05/image_04012025_08_05_02_610551_0003.jpg
/home/pi/Desktop/images/04012025/08/06/image_04012025_08_06_03_125140_0000.jpg
/home/pi/Desktop/images/04012025/08/06/image_04012025_08_06_03_125140_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.561506271362305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:07:21.961424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/05/image_04012025_08_05_02_610551_0003.jpg', '/home/pi/Desktop/images/04012025/08/06/image_04012025_08_06_03_125140_0000.jpg', '/home/pi/Desktop/images/04012025/08/06/image_04012025_08_06_03_125140_0001.jpg', '/home/pi/Desktop/images/04012025/08/06/image_04012025_08_06_03_125140_0002.jpg', '/home/pi/Desktop/images/04012025/08/07/image_04012025_08_07_02_827546_0000.jpg', '/home/pi/Desktop/images/04012025/08/07/image_04012025_08_07_02_827546_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/05/image_04012025_08_05_02_610551_0003.jpg
/home/pi/Desktop/images/04012025/08/06/image_04012025_08_06_03_125140_0000.jpg
/home/pi/Desktop/images/04012025/08/06/image_04012025_08_06_03_125140_0001.jpg
/home/pi/Desktop/images/04012025/08/06/image_04012025_08_06_03_125140_0002.jpg
/home/pi/Desktop/images/04012025/08/07/image_04012025_08_07_02_827546_0000.jpg
/home/pi/Desktop/images/04012025/08/07/image_04012025_08_07_02_827546_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326387204","1326387207","1326387284","1326387254","1326387107","1326387157"],"photo_ids_order":["1326387107","1326387157","1326387204","1326387207","1326387254","1326387284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30317c6ac0cea76d1688cd4e4854f4ee.jpg","text":"TemporaryFile(/tmp/multipartBody2026679320066592353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974516861,"filename":"image_04012025_08_06_03_125140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/96a6a8e1418ed77958a907a5f755765a.jpg","text":"TemporaryFile(/tmp/multipartBody5596621378645294951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974516861,"filename":"image_04012025_08_06_03_125140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0f1037bd55a3b950e5237474f1816b9d.jpg","text":"TemporaryFile(/tmp/multipartBody810724499183741492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974516861,"filename":"image_04012025_08_07_02_827546_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4b05a7b6909062436008b15a9057eb0a.jpg","text":"TemporaryFile(/tmp/multipartBody3513474196441238181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974516861,"filename":"image_04012025_08_07_02_827546_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fafb2a9628041f2aaf25e53f54e68fe2.jpg","text":"TemporaryFile(/tmp/multipartBody5213429683499674883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974516861,"filename":"image_04012025_08_05_02_610551_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/08bb1404a91cef5e20e9d06d5ad4b367.jpg","text":"TemporaryFile(/tmp/multipartBody7317172285697956824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974516861,"filename":"image_04012025_08_06_03_125140_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326387204","file1":"1326387157","file0":"1326387107","file4":"1326387254","file5":"1326387284","file3":"1326387207"},"map_files_photo_id_array":[{"photo_id":"1326387284","filename":"file5"},{"photo_id":"1326387204","filename":"file2"},{"photo_id":"1326387254","filename":"file4"},{"photo_id":"1326387157","filename":"file1"},{"photo_id":"1326387107","filename":"file0"},{"photo_id":"1326387207","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326387204":["hashtag1","hashtag2"]},{"1326387207":["hashtag1","hashtag2"]},{"1326387284":["hashtag1","hashtag2"]},{"1326387254":["hashtag1","hashtag2"]},{"1326387107":["hashtag1","hashtag2"]},{"1326387157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326387204, 1326387207, 1326387284, 1326387254, 1326387107, 1326387157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.64582347869873 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:08:22.639167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/07/image_04012025_08_07_02_827546_0002.jpg', '/home/pi/Desktop/images/04012025/08/07/image_04012025_08_07_02_827546_0003.jpg', '/home/pi/Desktop/images/04012025/08/08/image_04012025_08_08_02_296396_0000.jpg', '/home/pi/Desktop/images/04012025/08/08/image_04012025_08_08_02_296396_0001.jpg', '/home/pi/Desktop/images/04012025/08/08/image_04012025_08_08_02_296396_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/07/image_04012025_08_07_02_827546_0002.jpg
/home/pi/Desktop/images/04012025/08/07/image_04012025_08_07_02_827546_0003.jpg
/home/pi/Desktop/images/04012025/08/08/image_04012025_08_08_02_296396_0000.jpg
/home/pi/Desktop/images/04012025/08/08/image_04012025_08_08_02_296396_0001.jpg
/home/pi/Desktop/images/04012025/08/08/image_04012025_08_08_02_296396_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326387639","1326387749","1326387641","1326387926","1326387613"],"photo_ids_order":["1326387613","1326387639","1326387641","1326387749","1326387926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/95341eb2025a29c3a38f5bba183ffd7c.jpg","text":"TemporaryFile(/tmp/multipartBody1008287288225271181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974574848,"filename":"image_04012025_08_07_02_827546_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0c694c635906c93684ef77b8bda3130c.jpg","text":"TemporaryFile(/tmp/multipartBody660741245055227394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974574848,"filename":"image_04012025_08_08_02_296396_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/466bcb163dd35c9d150140bc2c338127.jpg","text":"TemporaryFile(/tmp/multipartBody7948404273537766644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974574848,"filename":"image_04012025_08_08_02_296396_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f6ebb1009a08f4e2691636858db3d07b.jpg","text":"TemporaryFile(/tmp/multipartBody8243171934307958422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974574848,"filename":"image_04012025_08_08_02_296396_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/32038eecdd0cd8e874c92b1dd646df5f.jpg","text":"TemporaryFile(/tmp/multipartBody5173520687790940339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974574848,"filename":"image_04012025_08_07_02_827546_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326387641","file1":"1326387639","file0":"1326387613","file4":"1326387926","file3":"1326387749"},"map_files_photo_id_array":[{"photo_id":"1326387641","filename":"file2"},{"photo_id":"1326387926","filename":"file4"},{"photo_id":"1326387639","filename":"file1"},{"photo_id":"1326387613","filename":"file0"},{"photo_id":"1326387749","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326387639":["hashtag1","hashtag2"]},{"1326387749":["hashtag1","hashtag2"]},{"1326387641":["hashtag1","hashtag2"]},{"1326387926":["hashtag1","hashtag2"]},{"1326387613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326387639, 1326387749, 1326387641, 1326387926, 1326387613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.342469215393066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:09:22.133272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/08/image_04012025_08_08_02_296396_0003.jpg', '/home/pi/Desktop/images/04012025/08/09/image_04012025_08_09_02_979425_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/08/image_04012025_08_08_02_296396_0003.jpg
/home/pi/Desktop/images/04012025/08/09/image_04012025_08_09_02_979425_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326388055","1326388109"],"photo_ids_order":["1326388055","1326388109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1c06dae08de60be1c7593ba09936d038.jpg","text":"TemporaryFile(/tmp/multipartBody8364741151030464286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974627365,"filename":"image_04012025_08_08_02_296396_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/37308f638fde296699ed26dd0bc7df3f.jpg","text":"TemporaryFile(/tmp/multipartBody5881304461082542929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974627365,"filename":"image_04012025_08_09_02_979425_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326388109","file0":"1326388055"},"map_files_photo_id_array":[{"photo_id":"1326388109","filename":"file1"},{"photo_id":"1326388055","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326388055":["hashtag1","hashtag2"]},{"1326388109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326388055, 1326388109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.0043683052063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:10:02.938628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:10:22.573461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/09/image_04012025_08_09_02_979425_0003.jpg', '/home/pi/Desktop/images/04012025/08/10/image_04012025_08_10_02_445516_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/09/image_04012025_08_09_02_979425_0003.jpg
/home/pi/Desktop/images/04012025/08/10/image_04012025_08_10_02_445516_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326388573","1326388575"],"photo_ids_order":["1326388573","1326388575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/824708a5ea6c93ef5baf8053d00bf540.jpg","text":"TemporaryFile(/tmp/multipartBody1292243371713955370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974687898,"filename":"image_04012025_08_09_02_979425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9653a2c30e9355f8b227480af9158e2a.jpg","text":"TemporaryFile(/tmp/multipartBody4593280850529551086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974687898,"filename":"image_04012025_08_10_02_445516_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326388575","file0":"1326388573"},"map_files_photo_id_array":[{"photo_id":"1326388575","filename":"file1"},{"photo_id":"1326388573","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326388573":["hashtag1","hashtag2"]},{"1326388575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326388573, 1326388575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.87100124359131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:11:02.667780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:11:22.056776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/10/image_04012025_08_10_02_445516_0002.jpg', '/home/pi/Desktop/images/04012025/08/11/image_04012025_08_11_02_918835_0000.jpg', '/home/pi/Desktop/images/04012025/08/11/image_04012025_08_11_02_918835_0001.jpg', '/home/pi/Desktop/images/04012025/08/11/image_04012025_08_11_02_918835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/10/image_04012025_08_10_02_445516_0002.jpg
/home/pi/Desktop/images/04012025/08/11/image_04012025_08_11_02_918835_0000.jpg
/home/pi/Desktop/images/04012025/08/11/image_04012025_08_11_02_918835_0001.jpg
/home/pi/Desktop/images/04012025/08/11/image_04012025_08_11_02_918835_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326389320","1326389323","1326389310","1326389291"],"photo_ids_order":["1326389291","1326389310","1326389320","1326389323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f9ebc2be1f190583af9722eef046ccb1.jpg","text":"TemporaryFile(/tmp/multipartBody7198417353015921012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974752113,"filename":"image_04012025_08_11_02_918835_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f8c41a0456c7afd8e88602e9430e3a28.jpg","text":"TemporaryFile(/tmp/multipartBody8297061695146216742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974752113,"filename":"image_04012025_08_11_02_918835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f76bce1b77327feaa3772a9921e899da.jpg","text":"TemporaryFile(/tmp/multipartBody4597830354266354807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974752113,"filename":"image_04012025_08_11_02_918835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e062683f711be73b6ff663ab979c8396.jpg","text":"TemporaryFile(/tmp/multipartBody5274064485796737533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974752113,"filename":"image_04012025_08_10_02_445516_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326389320","file1":"1326389310","file0":"1326389291","file3":"1326389323"},"map_files_photo_id_array":[{"photo_id":"1326389320","filename":"file2"},{"photo_id":"1326389310","filename":"file1"},{"photo_id":"1326389291","filename":"file0"},{"photo_id":"1326389323","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326389320":["hashtag1","hashtag2"]},{"1326389323":["hashtag1","hashtag2"]},{"1326389310":["hashtag1","hashtag2"]},{"1326389291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326389320, 1326389323, 1326389310, 1326389291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.56142807006836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:12:03.163998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:12:22.705183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/11/image_04012025_08_11_02_918835_0003.jpg', '/home/pi/Desktop/images/04012025/08/12/image_04012025_08_12_02_407568_0000.jpg', '/home/pi/Desktop/images/04012025/08/12/image_04012025_08_12_02_407568_0001.jpg', '/home/pi/Desktop/images/04012025/08/12/image_04012025_08_12_02_407568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/11/image_04012025_08_11_02_918835_0003.jpg
/home/pi/Desktop/images/04012025/08/12/image_04012025_08_12_02_407568_0000.jpg
/home/pi/Desktop/images/04012025/08/12/image_04012025_08_12_02_407568_0001.jpg
/home/pi/Desktop/images/04012025/08/12/image_04012025_08_12_02_407568_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.751924514770508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:13:02.864532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/11/image_04012025_08_11_02_918835_0003.jpg', '/home/pi/Desktop/images/04012025/08/12/image_04012025_08_12_02_407568_0000.jpg', '/home/pi/Desktop/images/04012025/08/12/image_04012025_08_12_02_407568_0001.jpg', '/home/pi/Desktop/images/04012025/08/12/image_04012025_08_12_02_407568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/11/image_04012025_08_11_02_918835_0003.jpg
/home/pi/Desktop/images/04012025/08/12/image_04012025_08_12_02_407568_0000.jpg
/home/pi/Desktop/images/04012025/08/12/image_04012025_08_12_02_407568_0001.jpg
/home/pi/Desktop/images/04012025/08/12/image_04012025_08_12_02_407568_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326390306","1326390302","1326390280","1326390304"],"photo_ids_order":["1326390280","1326390302","1326390304","1326390306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/47ba693fb57a2eac923b39318077c9c9.jpg","text":"TemporaryFile(/tmp/multipartBody3685709380552730949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974853045,"filename":"image_04012025_08_12_02_407568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5f44c36c282c8c1333a271f8c0f21993.jpg","text":"TemporaryFile(/tmp/multipartBody5571761026458616477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974853045,"filename":"image_04012025_08_12_02_407568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fa20f6f9193583ea7b4156e564847687.jpg","text":"TemporaryFile(/tmp/multipartBody7863149602395664354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974853045,"filename":"image_04012025_08_11_02_918835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e2a9682830b7996d49b81a58c7c80a75.jpg","text":"TemporaryFile(/tmp/multipartBody4563843661419702863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974853045,"filename":"image_04012025_08_12_02_407568_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326390304","file1":"1326390302","file0":"1326390280","file3":"1326390306"},"map_files_photo_id_array":[{"photo_id":"1326390304","filename":"file2"},{"photo_id":"1326390302","filename":"file1"},{"photo_id":"1326390280","filename":"file0"},{"photo_id":"1326390306","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326390306":["hashtag1","hashtag2"]},{"1326390302":["hashtag1","hashtag2"]},{"1326390280":["hashtag1","hashtag2"]},{"1326390304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326390306, 1326390302, 1326390280, 1326390304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.52684044837952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:14:03.222891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/12/image_04012025_08_12_02_407568_0003.jpg', '/home/pi/Desktop/images/04012025/08/13/image_04012025_08_13_03_039652_0000.jpg', '/home/pi/Desktop/images/04012025/08/13/image_04012025_08_13_03_039652_0001.jpg', '/home/pi/Desktop/images/04012025/08/13/image_04012025_08_13_03_039652_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/12/image_04012025_08_12_02_407568_0003.jpg
/home/pi/Desktop/images/04012025/08/13/image_04012025_08_13_03_039652_0000.jpg
/home/pi/Desktop/images/04012025/08/13/image_04012025_08_13_03_039652_0001.jpg
/home/pi/Desktop/images/04012025/08/13/image_04012025_08_13_03_039652_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326390781","1326390778","1326390643","1326390645"],"photo_ids_order":["1326390643","1326390645","1326390778","1326390781"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4d06621eb0f98af9c5259b30801650ca.jpg","text":"TemporaryFile(/tmp/multipartBody6409714569729257130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974913380,"filename":"image_04012025_08_13_03_039652_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8d4ac9cae86a698525a3bb3e6e32ffae.jpg","text":"TemporaryFile(/tmp/multipartBody4788331933192925867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974913380,"filename":"image_04012025_08_13_03_039652_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a7a428ab3e321e742df2e6c0d0217167.jpg","text":"TemporaryFile(/tmp/multipartBody3450055251255253735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974913380,"filename":"image_04012025_08_12_02_407568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af5b718d5cda79b5e404864e5850dec6.jpg","text":"TemporaryFile(/tmp/multipartBody8916993656932512086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974913380,"filename":"image_04012025_08_13_03_039652_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326390778","file1":"1326390645","file0":"1326390643","file3":"1326390781"},"map_files_photo_id_array":[{"photo_id":"1326390778","filename":"file2"},{"photo_id":"1326390645","filename":"file1"},{"photo_id":"1326390643","filename":"file0"},{"photo_id":"1326390781","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326390781":["hashtag1","hashtag2"]},{"1326390778":["hashtag1","hashtag2"]},{"1326390643":["hashtag1","hashtag2"]},{"1326390645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326390781, 1326390778, 1326390643, 1326390645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.21984791755676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:15:02.710579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/13/image_04012025_08_13_03_039652_0003.jpg', '/home/pi/Desktop/images/04012025/08/14/image_04012025_08_14_02_548150_0000.jpg', '/home/pi/Desktop/images/04012025/08/14/image_04012025_08_14_02_548150_0001.jpg', '/home/pi/Desktop/images/04012025/08/14/image_04012025_08_14_02_548150_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/13/image_04012025_08_13_03_039652_0003.jpg
/home/pi/Desktop/images/04012025/08/14/image_04012025_08_14_02_548150_0000.jpg
/home/pi/Desktop/images/04012025/08/14/image_04012025_08_14_02_548150_0001.jpg
/home/pi/Desktop/images/04012025/08/14/image_04012025_08_14_02_548150_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326391199","1326391223","1326391225","1326391221"],"photo_ids_order":["1326391199","1326391221","1326391223","1326391225"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5652362c5ee750985912675d0ab56ee1.jpg","text":"TemporaryFile(/tmp/multipartBody803820744772435549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974973142,"filename":"image_04012025_08_13_03_039652_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6e4a7398b073d72adbe2cc7ab488be7b.jpg","text":"TemporaryFile(/tmp/multipartBody3941164310747956019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974973142,"filename":"image_04012025_08_14_02_548150_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6b3cee459d5c6513f98b27c5eb0aa927.jpg","text":"TemporaryFile(/tmp/multipartBody6157898347656125719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974973142,"filename":"image_04012025_08_14_02_548150_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ff435371b57847ecd10e7352f3db913c.jpg","text":"TemporaryFile(/tmp/multipartBody1945765403383865755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735974973142,"filename":"image_04012025_08_14_02_548150_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326391223","file1":"1326391221","file0":"1326391199","file3":"1326391225"},"map_files_photo_id_array":[{"photo_id":"1326391223","filename":"file2"},{"photo_id":"1326391221","filename":"file1"},{"photo_id":"1326391199","filename":"file0"},{"photo_id":"1326391225","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326391199":["hashtag1","hashtag2"]},{"1326391223":["hashtag1","hashtag2"]},{"1326391225":["hashtag1","hashtag2"]},{"1326391221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326391199, 1326391223, 1326391225, 1326391221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32836413383484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:16:02.272571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/14/image_04012025_08_14_02_548150_0003.jpg', '/home/pi/Desktop/images/04012025/08/15/image_04012025_08_15_03_015544_0000.jpg', '/home/pi/Desktop/images/04012025/08/15/image_04012025_08_15_03_015544_0001.jpg', '/home/pi/Desktop/images/04012025/08/15/image_04012025_08_15_03_015544_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/14/image_04012025_08_14_02_548150_0003.jpg
/home/pi/Desktop/images/04012025/08/15/image_04012025_08_15_03_015544_0000.jpg
/home/pi/Desktop/images/04012025/08/15/image_04012025_08_15_03_015544_0001.jpg
/home/pi/Desktop/images/04012025/08/15/image_04012025_08_15_03_015544_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326391577","1326391582","1326391609","1326391611"],"photo_ids_order":["1326391577","1326391582","1326391609","1326391611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0a9dfdaf92589c13411c3af48f9a4fe2.jpg","text":"TemporaryFile(/tmp/multipartBody4100981611458296860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975032558,"filename":"image_04012025_08_14_02_548150_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/36c33e11e634c6924b36e1f6b4ff7c1d.jpg","text":"TemporaryFile(/tmp/multipartBody5978057013879134056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975032558,"filename":"image_04012025_08_15_03_015544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db362b1186c3280822f291d0e6dda896.jpg","text":"TemporaryFile(/tmp/multipartBody8929180732532237349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975032558,"filename":"image_04012025_08_15_03_015544_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4ed047319ff89f2b9615f29b32b52560.jpg","text":"TemporaryFile(/tmp/multipartBody5647213876125327707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975032558,"filename":"image_04012025_08_15_03_015544_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326391609","file1":"1326391582","file0":"1326391577","file3":"1326391611"},"map_files_photo_id_array":[{"photo_id":"1326391609","filename":"file2"},{"photo_id":"1326391582","filename":"file1"},{"photo_id":"1326391577","filename":"file0"},{"photo_id":"1326391611","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326391577":["hashtag1","hashtag2"]},{"1326391582":["hashtag1","hashtag2"]},{"1326391609":["hashtag1","hashtag2"]},{"1326391611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326391577, 1326391582, 1326391609, 1326391611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.87925124168396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:17:02.972077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/15/image_04012025_08_15_03_015544_0003.jpg', '/home/pi/Desktop/images/04012025/08/16/image_04012025_08_16_02_554150_0000.jpg', '/home/pi/Desktop/images/04012025/08/16/image_04012025_08_16_02_554150_0001.jpg', '/home/pi/Desktop/images/04012025/08/16/image_04012025_08_16_02_554150_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/15/image_04012025_08_15_03_015544_0003.jpg
/home/pi/Desktop/images/04012025/08/16/image_04012025_08_16_02_554150_0000.jpg
/home/pi/Desktop/images/04012025/08/16/image_04012025_08_16_02_554150_0001.jpg
/home/pi/Desktop/images/04012025/08/16/image_04012025_08_16_02_554150_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326392504","1326392523","1326392520","1326392465"],"photo_ids_order":["1326392465","1326392504","1326392520","1326392523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b225e759b3b71f92ef24e1ee3c065358.jpg","text":"TemporaryFile(/tmp/multipartBody8306852032479658242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975093294,"filename":"image_04012025_08_16_02_554150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/83d6f9832367b2a1f0ae2b81facbd992.jpg","text":"TemporaryFile(/tmp/multipartBody3714784970511758973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975093294,"filename":"image_04012025_08_16_02_554150_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba8b292cf9c26e8e33ece9cdd0b23e61.jpg","text":"TemporaryFile(/tmp/multipartBody9067380616331379288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975093294,"filename":"image_04012025_08_16_02_554150_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ff624c7bcb8948884f0b913d5ab36ecb.jpg","text":"TemporaryFile(/tmp/multipartBody3747133856756104428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975093294,"filename":"image_04012025_08_15_03_015544_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326392520","file1":"1326392504","file0":"1326392465","file3":"1326392523"},"map_files_photo_id_array":[{"photo_id":"1326392520","filename":"file2"},{"photo_id":"1326392504","filename":"file1"},{"photo_id":"1326392465","filename":"file0"},{"photo_id":"1326392523","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326392504":["hashtag1","hashtag2"]},{"1326392523":["hashtag1","hashtag2"]},{"1326392520":["hashtag1","hashtag2"]},{"1326392465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326392504, 1326392523, 1326392520, 1326392465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.99550151824951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:18:02.380736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/16/image_04012025_08_16_02_554150_0003.jpg', '/home/pi/Desktop/images/04012025/08/17/image_04012025_08_17_02_258616_0000.jpg', '/home/pi/Desktop/images/04012025/08/17/image_04012025_08_17_02_258616_0001.jpg', '/home/pi/Desktop/images/04012025/08/17/image_04012025_08_17_02_258616_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/16/image_04012025_08_16_02_554150_0003.jpg
/home/pi/Desktop/images/04012025/08/17/image_04012025_08_17_02_258616_0000.jpg
/home/pi/Desktop/images/04012025/08/17/image_04012025_08_17_02_258616_0001.jpg
/home/pi/Desktop/images/04012025/08/17/image_04012025_08_17_02_258616_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326393037","1326393033","1326393035","1326393032"],"photo_ids_order":["1326393032","1326393033","1326393035","1326393037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ddbf6a201557382eaf463f01c519144b.jpg","text":"TemporaryFile(/tmp/multipartBody1098783029568630747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975152802,"filename":"image_04012025_08_17_02_258616_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/98774325e1597ff203377e77d8bfa199.jpg","text":"TemporaryFile(/tmp/multipartBody6117086511161199404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975152802,"filename":"image_04012025_08_17_02_258616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6f1e5a4a5b9e19b463d7e643088a0f38.jpg","text":"TemporaryFile(/tmp/multipartBody4599542567052088636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975152802,"filename":"image_04012025_08_17_02_258616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c973cb1e735a1b7541d5c79e7d079970.jpg","text":"TemporaryFile(/tmp/multipartBody7269271536549881099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975152802,"filename":"image_04012025_08_16_02_554150_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326393035","file1":"1326393033","file0":"1326393032","file3":"1326393037"},"map_files_photo_id_array":[{"photo_id":"1326393035","filename":"file2"},{"photo_id":"1326393033","filename":"file1"},{"photo_id":"1326393032","filename":"file0"},{"photo_id":"1326393037","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326393037":["hashtag1","hashtag2"]},{"1326393033":["hashtag1","hashtag2"]},{"1326393035":["hashtag1","hashtag2"]},{"1326393032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326393037, 1326393033, 1326393035, 1326393032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.05278658866882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:19:03.223480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/17/image_04012025_08_17_02_258616_0003.jpg', '/home/pi/Desktop/images/04012025/08/18/image_04012025_08_18_02_822268_0000.jpg', '/home/pi/Desktop/images/04012025/08/18/image_04012025_08_18_02_822268_0001.jpg', '/home/pi/Desktop/images/04012025/08/18/image_04012025_08_18_02_822268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/17/image_04012025_08_17_02_258616_0003.jpg
/home/pi/Desktop/images/04012025/08/18/image_04012025_08_18_02_822268_0000.jpg
/home/pi/Desktop/images/04012025/08/18/image_04012025_08_18_02_822268_0001.jpg
/home/pi/Desktop/images/04012025/08/18/image_04012025_08_18_02_822268_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326393577","1326393567","1326393819","1326393735"],"photo_ids_order":["1326393567","1326393577","1326393735","1326393819"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f8d8b44db43b524404a688468e2c8a88.jpg","text":"TemporaryFile(/tmp/multipartBody1584723216670561527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975213715,"filename":"image_04012025_08_18_02_822268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/720fed53c552b024cb21160ae3271de9.jpg","text":"TemporaryFile(/tmp/multipartBody3747555571209365255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975213715,"filename":"image_04012025_08_17_02_258616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e53b3560103a2641dce7b29e5caa51e5.jpg","text":"TemporaryFile(/tmp/multipartBody63806605116030402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975213715,"filename":"image_04012025_08_18_02_822268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0e7f42e05d425304ba758991a0cf7ae5.jpg","text":"TemporaryFile(/tmp/multipartBody8580207306763784670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975213715,"filename":"image_04012025_08_18_02_822268_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326393735","file1":"1326393577","file0":"1326393567","file3":"1326393819"},"map_files_photo_id_array":[{"photo_id":"1326393735","filename":"file2"},{"photo_id":"1326393577","filename":"file1"},{"photo_id":"1326393567","filename":"file0"},{"photo_id":"1326393819","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326393577":["hashtag1","hashtag2"]},{"1326393567":["hashtag1","hashtag2"]},{"1326393819":["hashtag1","hashtag2"]},{"1326393735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326393577, 1326393567, 1326393819, 1326393735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.90504741668701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:20:02.655554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/18/image_04012025_08_18_02_822268_0003.jpg', '/home/pi/Desktop/images/04012025/08/19/image_04012025_08_19_02_437263_0000.jpg', '/home/pi/Desktop/images/04012025/08/19/image_04012025_08_19_02_437263_0001.jpg', '/home/pi/Desktop/images/04012025/08/19/image_04012025_08_19_02_437263_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/18/image_04012025_08_18_02_822268_0003.jpg
/home/pi/Desktop/images/04012025/08/19/image_04012025_08_19_02_437263_0000.jpg
/home/pi/Desktop/images/04012025/08/19/image_04012025_08_19_02_437263_0001.jpg
/home/pi/Desktop/images/04012025/08/19/image_04012025_08_19_02_437263_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326394140","1326394137","1326394142","1326394138"],"photo_ids_order":["1326394137","1326394138","1326394140","1326394142"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/39abe6384236c1dcd2d79c903f5e2be9.jpg","text":"TemporaryFile(/tmp/multipartBody480726016572005991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975273058,"filename":"image_04012025_08_19_02_437263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8fb29a967bbee0b24822e6e77ee9bbf0.jpg","text":"TemporaryFile(/tmp/multipartBody8737454495502418258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975273058,"filename":"image_04012025_08_18_02_822268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c77a4fba7179ca5a088985aff8a15951.jpg","text":"TemporaryFile(/tmp/multipartBody8406255695263960609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975273058,"filename":"image_04012025_08_19_02_437263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f2746f32725045e8a45a72ecac13e406.jpg","text":"TemporaryFile(/tmp/multipartBody6192910597096155846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975273058,"filename":"image_04012025_08_19_02_437263_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326394140","file1":"1326394138","file0":"1326394137","file3":"1326394142"},"map_files_photo_id_array":[{"photo_id":"1326394140","filename":"file2"},{"photo_id":"1326394138","filename":"file1"},{"photo_id":"1326394137","filename":"file0"},{"photo_id":"1326394142","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326394140":["hashtag1","hashtag2"]},{"1326394137":["hashtag1","hashtag2"]},{"1326394142":["hashtag1","hashtag2"]},{"1326394138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326394140, 1326394137, 1326394142, 1326394138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79173183441162 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:21:03.395720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/19/image_04012025_08_19_02_437263_0003.jpg', '/home/pi/Desktop/images/04012025/08/20/image_04012025_08_20_02_936888_0000.jpg', '/home/pi/Desktop/images/04012025/08/20/image_04012025_08_20_02_936888_0001.jpg', '/home/pi/Desktop/images/04012025/08/20/image_04012025_08_20_02_936888_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/19/image_04012025_08_19_02_437263_0003.jpg
/home/pi/Desktop/images/04012025/08/20/image_04012025_08_20_02_936888_0000.jpg
/home/pi/Desktop/images/04012025/08/20/image_04012025_08_20_02_936888_0001.jpg
/home/pi/Desktop/images/04012025/08/20/image_04012025_08_20_02_936888_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326394717","1326395087","1326395025","1326394936"],"photo_ids_order":["1326394717","1326394936","1326395025","1326395087"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8136a4a3f904cddc95302b692bc6df09.jpg","text":"TemporaryFile(/tmp/multipartBody7903948481051971095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975333563,"filename":"image_04012025_08_19_02_437263_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ee087525b39112712e6367c6304f75a.jpg","text":"TemporaryFile(/tmp/multipartBody678458284438850003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975333563,"filename":"image_04012025_08_20_02_936888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bae704d0aa02a36222f63aba306ec583.jpg","text":"TemporaryFile(/tmp/multipartBody5261315391598098158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975333563,"filename":"image_04012025_08_20_02_936888_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8036b2e9363ab22ef035b264d4447ee7.jpg","text":"TemporaryFile(/tmp/multipartBody8848915201883137578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975333563,"filename":"image_04012025_08_20_02_936888_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326395025","file1":"1326394936","file0":"1326394717","file3":"1326395087"},"map_files_photo_id_array":[{"photo_id":"1326395025","filename":"file2"},{"photo_id":"1326394936","filename":"file1"},{"photo_id":"1326394717","filename":"file0"},{"photo_id":"1326395087","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326394717":["hashtag1","hashtag2"]},{"1326395087":["hashtag1","hashtag2"]},{"1326395025":["hashtag1","hashtag2"]},{"1326394936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326394717, 1326395087, 1326395025, 1326394936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.54918956756592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:22:02.748374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/20/image_04012025_08_20_02_936888_0003.jpg', '/home/pi/Desktop/images/04012025/08/21/image_04012025_08_21_02_538394_0000.jpg', '/home/pi/Desktop/images/04012025/08/21/image_04012025_08_21_02_538394_0001.jpg', '/home/pi/Desktop/images/04012025/08/21/image_04012025_08_21_02_538394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/20/image_04012025_08_20_02_936888_0003.jpg
/home/pi/Desktop/images/04012025/08/21/image_04012025_08_21_02_538394_0000.jpg
/home/pi/Desktop/images/04012025/08/21/image_04012025_08_21_02_538394_0001.jpg
/home/pi/Desktop/images/04012025/08/21/image_04012025_08_21_02_538394_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326395262","1326395291","1326395293","1326395266"],"photo_ids_order":["1326395262","1326395266","1326395291","1326395293"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b2025da797f0ec5a037e3b9843e83981.jpg","text":"TemporaryFile(/tmp/multipartBody2996081179965243031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975393246,"filename":"image_04012025_08_20_02_936888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4bbcfeed957c617eecf99d84b4026acf.jpg","text":"TemporaryFile(/tmp/multipartBody7148469296156044950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975393246,"filename":"image_04012025_08_21_02_538394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a566918b1a9e33ddb49cc0fa8428fcd5.jpg","text":"TemporaryFile(/tmp/multipartBody7821973188481056590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975393246,"filename":"image_04012025_08_21_02_538394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1390c8ff4fbc8922f18190d5a3efaf82.jpg","text":"TemporaryFile(/tmp/multipartBody2692605993272925659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975393246,"filename":"image_04012025_08_21_02_538394_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326395291","file1":"1326395266","file0":"1326395262","file3":"1326395293"},"map_files_photo_id_array":[{"photo_id":"1326395291","filename":"file2"},{"photo_id":"1326395266","filename":"file1"},{"photo_id":"1326395262","filename":"file0"},{"photo_id":"1326395293","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326395262":["hashtag1","hashtag2"]},{"1326395291":["hashtag1","hashtag2"]},{"1326395293":["hashtag1","hashtag2"]},{"1326395266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326395262, 1326395291, 1326395293, 1326395266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.822007179260254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:23:02.366016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/21/image_04012025_08_21_02_538394_0003.jpg', '/home/pi/Desktop/images/04012025/08/22/image_04012025_08_22_03_052150_0000.jpg', '/home/pi/Desktop/images/04012025/08/22/image_04012025_08_22_03_052150_0001.jpg', '/home/pi/Desktop/images/04012025/08/22/image_04012025_08_22_03_052150_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/21/image_04012025_08_21_02_538394_0003.jpg
/home/pi/Desktop/images/04012025/08/22/image_04012025_08_22_03_052150_0000.jpg
/home/pi/Desktop/images/04012025/08/22/image_04012025_08_22_03_052150_0001.jpg
/home/pi/Desktop/images/04012025/08/22/image_04012025_08_22_03_052150_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.900990724563599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:23:21.873722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/21/image_04012025_08_21_02_538394_0003.jpg', '/home/pi/Desktop/images/04012025/08/22/image_04012025_08_22_03_052150_0000.jpg', '/home/pi/Desktop/images/04012025/08/22/image_04012025_08_22_03_052150_0001.jpg', '/home/pi/Desktop/images/04012025/08/22/image_04012025_08_22_03_052150_0002.jpg', '/home/pi/Desktop/images/04012025/08/22/image_04012025_08_22_03_052150_0003.jpg', '/home/pi/Desktop/images/04012025/08/23/image_04012025_08_23_02_724881_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/21/image_04012025_08_21_02_538394_0003.jpg
/home/pi/Desktop/images/04012025/08/22/image_04012025_08_22_03_052150_0000.jpg
/home/pi/Desktop/images/04012025/08/22/image_04012025_08_22_03_052150_0001.jpg
/home/pi/Desktop/images/04012025/08/22/image_04012025_08_22_03_052150_0002.jpg
/home/pi/Desktop/images/04012025/08/22/image_04012025_08_22_03_052150_0003.jpg
/home/pi/Desktop/images/04012025/08/23/image_04012025_08_23_02_724881_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326395802","1326395805","1326395807","1326395866","1326395809","1326395799"],"photo_ids_order":["1326395799","1326395802","1326395805","1326395807","1326395809","1326395866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8b9eccf9dd202f520aca9db3c527fdd1.jpg","text":"TemporaryFile(/tmp/multipartBody2281610704654804919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975476977,"filename":"image_04012025_08_22_03_052150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e5e9d5e99528cf6e977914f8e7b0abc3.jpg","text":"TemporaryFile(/tmp/multipartBody6353423341038031687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975476977,"filename":"image_04012025_08_22_03_052150_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a73348ebc651d61e079379158d1797d7.jpg","text":"TemporaryFile(/tmp/multipartBody7898591636248566404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975476977,"filename":"image_04012025_08_22_03_052150_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5cbce29a38b5c04ac027380471597288.jpg","text":"TemporaryFile(/tmp/multipartBody4284004842919786449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975476977,"filename":"image_04012025_08_23_02_724881_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca35750a953dde32e2b9e52d7a654c2d.jpg","text":"TemporaryFile(/tmp/multipartBody5581965303281911315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975476977,"filename":"image_04012025_08_22_03_052150_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b3ca17c11d4b1b97a62c26dc7ad0ae39.jpg","text":"TemporaryFile(/tmp/multipartBody4731873843477003745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975476977,"filename":"image_04012025_08_21_02_538394_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326395805","file1":"1326395802","file0":"1326395799","file4":"1326395809","file5":"1326395866","file3":"1326395807"},"map_files_photo_id_array":[{"photo_id":"1326395866","filename":"file5"},{"photo_id":"1326395805","filename":"file2"},{"photo_id":"1326395809","filename":"file4"},{"photo_id":"1326395802","filename":"file1"},{"photo_id":"1326395799","filename":"file0"},{"photo_id":"1326395807","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326395802":["hashtag1","hashtag2"]},{"1326395805":["hashtag1","hashtag2"]},{"1326395807":["hashtag1","hashtag2"]},{"1326395866":["hashtag1","hashtag2"]},{"1326395809":["hashtag1","hashtag2"]},{"1326395799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326395802, 1326395805, 1326395807, 1326395866, 1326395809, 1326395799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.4292528629303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:24:22.426605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/23/image_04012025_08_23_02_724881_0001.jpg', '/home/pi/Desktop/images/04012025/08/23/image_04012025_08_23_02_724881_0002.jpg', '/home/pi/Desktop/images/04012025/08/23/image_04012025_08_23_02_724881_0003.jpg', '/home/pi/Desktop/images/04012025/08/24/image_04012025_08_24_02_218096_0000.jpg', '/home/pi/Desktop/images/04012025/08/24/image_04012025_08_24_02_218096_0001.jpg', '/home/pi/Desktop/images/04012025/08/24/image_04012025_08_24_02_218096_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/23/image_04012025_08_23_02_724881_0001.jpg
/home/pi/Desktop/images/04012025/08/23/image_04012025_08_23_02_724881_0002.jpg
/home/pi/Desktop/images/04012025/08/23/image_04012025_08_23_02_724881_0003.jpg
/home/pi/Desktop/images/04012025/08/24/image_04012025_08_24_02_218096_0000.jpg
/home/pi/Desktop/images/04012025/08/24/image_04012025_08_24_02_218096_0001.jpg
/home/pi/Desktop/images/04012025/08/24/image_04012025_08_24_02_218096_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.940056562423706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:25:02.541936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/23/image_04012025_08_23_02_724881_0001.jpg', '/home/pi/Desktop/images/04012025/08/23/image_04012025_08_23_02_724881_0002.jpg', '/home/pi/Desktop/images/04012025/08/23/image_04012025_08_23_02_724881_0003.jpg', '/home/pi/Desktop/images/04012025/08/24/image_04012025_08_24_02_218096_0000.jpg', '/home/pi/Desktop/images/04012025/08/24/image_04012025_08_24_02_218096_0001.jpg', '/home/pi/Desktop/images/04012025/08/24/image_04012025_08_24_02_218096_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/23/image_04012025_08_23_02_724881_0001.jpg
/home/pi/Desktop/images/04012025/08/23/image_04012025_08_23_02_724881_0002.jpg
/home/pi/Desktop/images/04012025/08/23/image_04012025_08_23_02_724881_0003.jpg
/home/pi/Desktop/images/04012025/08/24/image_04012025_08_24_02_218096_0000.jpg
/home/pi/Desktop/images/04012025/08/24/image_04012025_08_24_02_218096_0001.jpg
/home/pi/Desktop/images/04012025/08/24/image_04012025_08_24_02_218096_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326396884","1326396801","1326396880","1326396877","1326396783","1326396804"],"photo_ids_order":["1326396783","1326396801","1326396804","1326396877","1326396880","1326396884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1653e7225c15be0c74116040e3661c08.jpg","text":"TemporaryFile(/tmp/multipartBody7022259477185102048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975577909,"filename":"image_04012025_08_24_02_218096_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/064565c30b8b775d1411bb68f97cc261.jpg","text":"TemporaryFile(/tmp/multipartBody7872757512506042071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975577909,"filename":"image_04012025_08_23_02_724881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b374524064441b1611aa4378633d26c6.jpg","text":"TemporaryFile(/tmp/multipartBody7876242212516338016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975577909,"filename":"image_04012025_08_24_02_218096_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/48870c06def3c9f66fb28136828c998b.jpg","text":"TemporaryFile(/tmp/multipartBody3746343172893558101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975577909,"filename":"image_04012025_08_24_02_218096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6426a485c8f923f3236669e2e636dad3.jpg","text":"TemporaryFile(/tmp/multipartBody3780636478113075893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975577909,"filename":"image_04012025_08_23_02_724881_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f8fe79896446c74fc341f819c0ee9026.jpg","text":"TemporaryFile(/tmp/multipartBody3147759279433844531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975577909,"filename":"image_04012025_08_23_02_724881_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326396804","file1":"1326396801","file0":"1326396783","file4":"1326396880","file5":"1326396884","file3":"1326396877"},"map_files_photo_id_array":[{"photo_id":"1326396884","filename":"file5"},{"photo_id":"1326396804","filename":"file2"},{"photo_id":"1326396880","filename":"file4"},{"photo_id":"1326396801","filename":"file1"},{"photo_id":"1326396783","filename":"file0"},{"photo_id":"1326396877","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326396884":["hashtag1","hashtag2"]},{"1326396801":["hashtag1","hashtag2"]},{"1326396880":["hashtag1","hashtag2"]},{"1326396877":["hashtag1","hashtag2"]},{"1326396783":["hashtag1","hashtag2"]},{"1326396804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326396884, 1326396801, 1326396880, 1326396877, 1326396783, 1326396804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.1601927280426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:26:02.993406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/24/image_04012025_08_24_02_218096_0003.jpg', '/home/pi/Desktop/images/04012025/08/25/image_04012025_08_25_02_778630_0000.jpg', '/home/pi/Desktop/images/04012025/08/25/image_04012025_08_25_02_778630_0001.jpg', '/home/pi/Desktop/images/04012025/08/25/image_04012025_08_25_02_778630_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/24/image_04012025_08_24_02_218096_0003.jpg
/home/pi/Desktop/images/04012025/08/25/image_04012025_08_25_02_778630_0000.jpg
/home/pi/Desktop/images/04012025/08/25/image_04012025_08_25_02_778630_0001.jpg
/home/pi/Desktop/images/04012025/08/25/image_04012025_08_25_02_778630_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326397491","1326397417","1326397496","1326397493"],"photo_ids_order":["1326397417","1326397491","1326397493","1326397496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4aa49e24ebe9d969661cf703c8893b27.jpg","text":"TemporaryFile(/tmp/multipartBody5198800128661945081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975633621,"filename":"image_04012025_08_25_02_778630_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e8b95eadf22cd342e978b1987bf8ca78.jpg","text":"TemporaryFile(/tmp/multipartBody8314893060099163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975633621,"filename":"image_04012025_08_24_02_218096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1c41fea835b6baaa8e5a5f46e6b8f592.jpg","text":"TemporaryFile(/tmp/multipartBody4927980091865701732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975633621,"filename":"image_04012025_08_25_02_778630_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7d6717475a05942effb918375bb6dcdc.jpg","text":"TemporaryFile(/tmp/multipartBody8623377462017984678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975633621,"filename":"image_04012025_08_25_02_778630_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326397493","file1":"1326397491","file0":"1326397417","file3":"1326397496"},"map_files_photo_id_array":[{"photo_id":"1326397493","filename":"file2"},{"photo_id":"1326397491","filename":"file1"},{"photo_id":"1326397417","filename":"file0"},{"photo_id":"1326397496","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326397491":["hashtag1","hashtag2"]},{"1326397417":["hashtag1","hashtag2"]},{"1326397496":["hashtag1","hashtag2"]},{"1326397493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326397491, 1326397417, 1326397496, 1326397493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.08295655250549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:27:02.717523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/25/image_04012025_08_25_02_778630_0003.jpg', '/home/pi/Desktop/images/04012025/08/26/image_04012025_08_26_02_271144_0000.jpg', '/home/pi/Desktop/images/04012025/08/26/image_04012025_08_26_02_271144_0001.jpg', '/home/pi/Desktop/images/04012025/08/26/image_04012025_08_26_02_271144_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/25/image_04012025_08_25_02_778630_0003.jpg
/home/pi/Desktop/images/04012025/08/26/image_04012025_08_26_02_271144_0000.jpg
/home/pi/Desktop/images/04012025/08/26/image_04012025_08_26_02_271144_0001.jpg
/home/pi/Desktop/images/04012025/08/26/image_04012025_08_26_02_271144_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.980412244796753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:27:22.083150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/25/image_04012025_08_25_02_778630_0003.jpg', '/home/pi/Desktop/images/04012025/08/26/image_04012025_08_26_02_271144_0000.jpg', '/home/pi/Desktop/images/04012025/08/26/image_04012025_08_26_02_271144_0001.jpg', '/home/pi/Desktop/images/04012025/08/26/image_04012025_08_26_02_271144_0002.jpg', '/home/pi/Desktop/images/04012025/08/26/image_04012025_08_26_02_271144_0003.jpg', '/home/pi/Desktop/images/04012025/08/27/image_04012025_08_27_02_905891_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/25/image_04012025_08_25_02_778630_0003.jpg
/home/pi/Desktop/images/04012025/08/26/image_04012025_08_26_02_271144_0000.jpg
/home/pi/Desktop/images/04012025/08/26/image_04012025_08_26_02_271144_0001.jpg
/home/pi/Desktop/images/04012025/08/26/image_04012025_08_26_02_271144_0002.jpg
/home/pi/Desktop/images/04012025/08/26/image_04012025_08_26_02_271144_0003.jpg
/home/pi/Desktop/images/04012025/08/27/image_04012025_08_27_02_905891_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326398487","1326398160","1326398163","1326398165","1326398153","1326398201"],"photo_ids_order":["1326398153","1326398160","1326398163","1326398165","1326398201","1326398487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b1d77d6e47fd0d6489443e4656f83808.jpg","text":"TemporaryFile(/tmp/multipartBody4288998830194272671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975717245,"filename":"image_04012025_08_27_02_905891_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2ecb0127f63b7536b2948b3dcf3e1976.jpg","text":"TemporaryFile(/tmp/multipartBody7855502866541311569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975717245,"filename":"image_04012025_08_26_02_271144_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c928cfe00706437246ff34485366130f.jpg","text":"TemporaryFile(/tmp/multipartBody6597916219254257718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975717245,"filename":"image_04012025_08_26_02_271144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/20bb33c71f3bd8981ae42692ab09b9c2.jpg","text":"TemporaryFile(/tmp/multipartBody1168902918788070171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975717245,"filename":"image_04012025_08_26_02_271144_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0c160d56121b93ed69107c0945c4c0f6.jpg","text":"TemporaryFile(/tmp/multipartBody446179115267792742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975717245,"filename":"image_04012025_08_25_02_778630_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0c8e66ab9b5cec04cc39006b7a9f731c.jpg","text":"TemporaryFile(/tmp/multipartBody8427232476046072644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975717245,"filename":"image_04012025_08_26_02_271144_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326398163","file1":"1326398160","file0":"1326398153","file4":"1326398201","file5":"1326398487","file3":"1326398165"},"map_files_photo_id_array":[{"photo_id":"1326398487","filename":"file5"},{"photo_id":"1326398163","filename":"file2"},{"photo_id":"1326398201","filename":"file4"},{"photo_id":"1326398160","filename":"file1"},{"photo_id":"1326398153","filename":"file0"},{"photo_id":"1326398165","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326398487":["hashtag1","hashtag2"]},{"1326398160":["hashtag1","hashtag2"]},{"1326398163":["hashtag1","hashtag2"]},{"1326398165":["hashtag1","hashtag2"]},{"1326398153":["hashtag1","hashtag2"]},{"1326398201":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326398487, 1326398160, 1326398163, 1326398165, 1326398153, 1326398201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.64224720001221 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:28:22.696627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/27/image_04012025_08_27_02_905891_0002.jpg', '/home/pi/Desktop/images/04012025/08/28/image_04012025_08_28_02_409664_0000.jpg', '/home/pi/Desktop/images/04012025/08/28/image_04012025_08_28_02_409664_0001.jpg', '/home/pi/Desktop/images/04012025/08/28/image_04012025_08_28_02_409664_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/27/image_04012025_08_27_02_905891_0002.jpg
/home/pi/Desktop/images/04012025/08/28/image_04012025_08_28_02_409664_0000.jpg
/home/pi/Desktop/images/04012025/08/28/image_04012025_08_28_02_409664_0001.jpg
/home/pi/Desktop/images/04012025/08/28/image_04012025_08_28_02_409664_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326398896","1326398900","1326398892","1326398839"],"photo_ids_order":["1326398839","1326398892","1326398896","1326398900"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/627a042c50027054f14b3dd77b61aeb9.jpg","text":"TemporaryFile(/tmp/multipartBody7358783104937756493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975772972,"filename":"image_04012025_08_28_02_409664_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a6fef7101dacf0ab7662470ad317998f.jpg","text":"TemporaryFile(/tmp/multipartBody7354925045512903187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975772972,"filename":"image_04012025_08_28_02_409664_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d051703eba734ab159984744e7c44dd4.jpg","text":"TemporaryFile(/tmp/multipartBody882904888589834009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975772972,"filename":"image_04012025_08_28_02_409664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85eac3d4c0b390e2c63b7af82344ef7d.jpg","text":"TemporaryFile(/tmp/multipartBody5192257206927277707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975772972,"filename":"image_04012025_08_27_02_905891_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326398896","file1":"1326398892","file0":"1326398839","file3":"1326398900"},"map_files_photo_id_array":[{"photo_id":"1326398896","filename":"file2"},{"photo_id":"1326398892","filename":"file1"},{"photo_id":"1326398839","filename":"file0"},{"photo_id":"1326398900","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326398896":["hashtag1","hashtag2"]},{"1326398900":["hashtag1","hashtag2"]},{"1326398892":["hashtag1","hashtag2"]},{"1326398839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326398896, 1326398900, 1326398892, 1326398839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.178875207901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:29:02.832088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:29:22.141488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/28/image_04012025_08_28_02_409664_0003.jpg', '/home/pi/Desktop/images/04012025/08/29/image_04012025_08_29_03_016689_0000.jpg', '/home/pi/Desktop/images/04012025/08/29/image_04012025_08_29_03_016689_0001.jpg', '/home/pi/Desktop/images/04012025/08/29/image_04012025_08_29_03_016689_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/28/image_04012025_08_28_02_409664_0003.jpg
/home/pi/Desktop/images/04012025/08/29/image_04012025_08_29_03_016689_0000.jpg
/home/pi/Desktop/images/04012025/08/29/image_04012025_08_29_03_016689_0001.jpg
/home/pi/Desktop/images/04012025/08/29/image_04012025_08_29_03_016689_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326399553","1326399496","1326399614","1326399500"],"photo_ids_order":["1326399496","1326399500","1326399553","1326399614"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c603ac5ad1a19f1a7367829cbe0af9fd.jpg","text":"TemporaryFile(/tmp/multipartBody5469153251535811331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975832513,"filename":"image_04012025_08_29_03_016689_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3d47ab3b0d7e8f4d3bffd05277598cdf.jpg","text":"TemporaryFile(/tmp/multipartBody5452114442344147910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975832513,"filename":"image_04012025_08_28_02_409664_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/26156f0954aea49637586adc5cec7dc3.jpg","text":"TemporaryFile(/tmp/multipartBody7467748351934348754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975832513,"filename":"image_04012025_08_29_03_016689_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b575255f019bf206b65ca706a6cbaef5.jpg","text":"TemporaryFile(/tmp/multipartBody83016287023176423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975832513,"filename":"image_04012025_08_29_03_016689_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326399553","file1":"1326399500","file0":"1326399496","file3":"1326399614"},"map_files_photo_id_array":[{"photo_id":"1326399553","filename":"file2"},{"photo_id":"1326399500","filename":"file1"},{"photo_id":"1326399496","filename":"file0"},{"photo_id":"1326399614","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326399553":["hashtag1","hashtag2"]},{"1326399496":["hashtag1","hashtag2"]},{"1326399614":["hashtag1","hashtag2"]},{"1326399500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326399553, 1326399496, 1326399614, 1326399500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.33412456512451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:30:21.819138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/29/image_04012025_08_29_03_016689_0003.jpg', '/home/pi/Desktop/images/04012025/08/30/image_04012025_08_30_02_552064_0000.jpg', '/home/pi/Desktop/images/04012025/08/30/image_04012025_08_30_02_552064_0001.jpg', '/home/pi/Desktop/images/04012025/08/30/image_04012025_08_30_02_552064_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/29/image_04012025_08_29_03_016689_0003.jpg
/home/pi/Desktop/images/04012025/08/30/image_04012025_08_30_02_552064_0000.jpg
/home/pi/Desktop/images/04012025/08/30/image_04012025_08_30_02_552064_0001.jpg
/home/pi/Desktop/images/04012025/08/30/image_04012025_08_30_02_552064_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326400180","1326400282","1326400285","1326400231"],"photo_ids_order":["1326400180","1326400231","1326400282","1326400285"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0ea1a0fbec250baa8f43edf472a8bd4.jpg","text":"TemporaryFile(/tmp/multipartBody870706200436035874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975892228,"filename":"image_04012025_08_29_03_016689_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d3f4081d076a9b2ff9cc98f9851642f5.jpg","text":"TemporaryFile(/tmp/multipartBody8717727305627684194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975892228,"filename":"image_04012025_08_30_02_552064_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8654df5024a68449f68280fae36cd116.jpg","text":"TemporaryFile(/tmp/multipartBody3413805461748679666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975892228,"filename":"image_04012025_08_30_02_552064_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9c12d6aa27ad190807ece25dcd6a5913.jpg","text":"TemporaryFile(/tmp/multipartBody595649132939159793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975892228,"filename":"image_04012025_08_30_02_552064_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326400282","file1":"1326400231","file0":"1326400180","file3":"1326400285"},"map_files_photo_id_array":[{"photo_id":"1326400282","filename":"file2"},{"photo_id":"1326400231","filename":"file1"},{"photo_id":"1326400180","filename":"file0"},{"photo_id":"1326400285","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326400180":["hashtag1","hashtag2"]},{"1326400282":["hashtag1","hashtag2"]},{"1326400285":["hashtag1","hashtag2"]},{"1326400231":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326400180, 1326400282, 1326400285, 1326400231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.83755707740784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:31:02.842570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:31:22.355150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/30/image_04012025_08_30_02_552064_0003.jpg', '/home/pi/Desktop/images/04012025/08/31/image_04012025_08_31_02_217854_0000.jpg', '/home/pi/Desktop/images/04012025/08/31/image_04012025_08_31_02_217854_0001.jpg', '/home/pi/Desktop/images/04012025/08/31/image_04012025_08_31_02_217854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/30/image_04012025_08_30_02_552064_0003.jpg
/home/pi/Desktop/images/04012025/08/31/image_04012025_08_31_02_217854_0000.jpg
/home/pi/Desktop/images/04012025/08/31/image_04012025_08_31_02_217854_0001.jpg
/home/pi/Desktop/images/04012025/08/31/image_04012025_08_31_02_217854_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326401246","1326401225","1326401249","1326401012"],"photo_ids_order":["1326401012","1326401225","1326401246","1326401249"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e2975068d586667fb61e3107b2c5caae.jpg","text":"TemporaryFile(/tmp/multipartBody8795791326324550818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975952528,"filename":"image_04012025_08_31_02_217854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0fdfeb3a09a596c14b9b9d6ca2f3d44.jpg","text":"TemporaryFile(/tmp/multipartBody5332480930534108451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975952528,"filename":"image_04012025_08_31_02_217854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/12e6c6b571961272c47a920e1eb61741.jpg","text":"TemporaryFile(/tmp/multipartBody8347791637948048159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975952528,"filename":"image_04012025_08_31_02_217854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f86549dc136a4c447e59eb6443986a17.jpg","text":"TemporaryFile(/tmp/multipartBody212118822191881291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735975952528,"filename":"image_04012025_08_30_02_552064_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326401246","file1":"1326401225","file0":"1326401012","file3":"1326401249"},"map_files_photo_id_array":[{"photo_id":"1326401246","filename":"file2"},{"photo_id":"1326401225","filename":"file1"},{"photo_id":"1326401012","filename":"file0"},{"photo_id":"1326401249","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326401246":["hashtag1","hashtag2"]},{"1326401225":["hashtag1","hashtag2"]},{"1326401249":["hashtag1","hashtag2"]},{"1326401012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326401246, 1326401225, 1326401249, 1326401012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7529513835907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:32:02.455172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:32:22.017544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/31/image_04012025_08_31_02_217854_0003.jpg', '/home/pi/Desktop/images/04012025/08/32/image_04012025_08_32_02_738426_0000.jpg', '/home/pi/Desktop/images/04012025/08/32/image_04012025_08_32_02_738426_0001.jpg', '/home/pi/Desktop/images/04012025/08/32/image_04012025_08_32_02_738426_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/31/image_04012025_08_31_02_217854_0003.jpg
/home/pi/Desktop/images/04012025/08/32/image_04012025_08_32_02_738426_0000.jpg
/home/pi/Desktop/images/04012025/08/32/image_04012025_08_32_02_738426_0001.jpg
/home/pi/Desktop/images/04012025/08/32/image_04012025_08_32_02_738426_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326402263","1326402310","1326402294","1326402087"],"photo_ids_order":["1326402087","1326402263","1326402294","1326402310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c9e80032d4ee5e9e5e5792235337b40a.jpg","text":"TemporaryFile(/tmp/multipartBody5427078954816226249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976012404,"filename":"image_04012025_08_32_02_738426_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/908d62dec839430d1026438e3c8df8f6.jpg","text":"TemporaryFile(/tmp/multipartBody1410347928683129754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976012404,"filename":"image_04012025_08_32_02_738426_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5b825e3c6eb07bbaedc2f0adcf484a21.jpg","text":"TemporaryFile(/tmp/multipartBody7947988906662904805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976012404,"filename":"image_04012025_08_32_02_738426_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b9d6a5444ea6869a63432b6dd06a6607.jpg","text":"TemporaryFile(/tmp/multipartBody8274352323499982378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976012404,"filename":"image_04012025_08_31_02_217854_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326402294","file1":"1326402263","file0":"1326402087","file3":"1326402310"},"map_files_photo_id_array":[{"photo_id":"1326402294","filename":"file2"},{"photo_id":"1326402263","filename":"file1"},{"photo_id":"1326402087","filename":"file0"},{"photo_id":"1326402310","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326402263":["hashtag1","hashtag2"]},{"1326402310":["hashtag1","hashtag2"]},{"1326402294":["hashtag1","hashtag2"]},{"1326402087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326402263, 1326402310, 1326402294, 1326402087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.73204517364502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:33:22.586281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/32/image_04012025_08_32_02_738426_0003.jpg', '/home/pi/Desktop/images/04012025/08/33/image_04012025_08_33_02_430353_0000.jpg', '/home/pi/Desktop/images/04012025/08/33/image_04012025_08_33_02_430353_0001.jpg', '/home/pi/Desktop/images/04012025/08/33/image_04012025_08_33_02_430353_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/32/image_04012025_08_32_02_738426_0003.jpg
/home/pi/Desktop/images/04012025/08/33/image_04012025_08_33_02_430353_0000.jpg
/home/pi/Desktop/images/04012025/08/33/image_04012025_08_33_02_430353_0001.jpg
/home/pi/Desktop/images/04012025/08/33/image_04012025_08_33_02_430353_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326402487","1326402481","1326402484","1326402478"],"photo_ids_order":["1326402478","1326402481","1326402484","1326402487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e052f1bd3bf7027901945fb400049a7f.jpg","text":"TemporaryFile(/tmp/multipartBody3308974260839443145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976072871,"filename":"image_04012025_08_33_02_430353_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/04de6eeeb0b68b9f29fbb722ea5ca1f3.jpg","text":"TemporaryFile(/tmp/multipartBody880690273499677046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976072871,"filename":"image_04012025_08_33_02_430353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/29e2744b33411645c47a81a41bd645d9.jpg","text":"TemporaryFile(/tmp/multipartBody6060145726997662565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976072871,"filename":"image_04012025_08_33_02_430353_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3afbb0cb72e0c311a4c67272c5887fbd.jpg","text":"TemporaryFile(/tmp/multipartBody1516942754316617842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976072871,"filename":"image_04012025_08_32_02_738426_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326402484","file1":"1326402481","file0":"1326402478","file3":"1326402487"},"map_files_photo_id_array":[{"photo_id":"1326402484","filename":"file2"},{"photo_id":"1326402481","filename":"file1"},{"photo_id":"1326402478","filename":"file0"},{"photo_id":"1326402487","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326402487":["hashtag1","hashtag2"]},{"1326402481":["hashtag1","hashtag2"]},{"1326402484":["hashtag1","hashtag2"]},{"1326402478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326402487, 1326402481, 1326402484, 1326402478)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.01817035675049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:34:22.117662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/33/image_04012025_08_33_02_430353_0003.jpg', '/home/pi/Desktop/images/04012025/08/34/image_04012025_08_34_02_927630_0000.jpg', '/home/pi/Desktop/images/04012025/08/34/image_04012025_08_34_02_927630_0001.jpg', '/home/pi/Desktop/images/04012025/08/34/image_04012025_08_34_02_927630_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/33/image_04012025_08_33_02_430353_0003.jpg
/home/pi/Desktop/images/04012025/08/34/image_04012025_08_34_02_927630_0000.jpg
/home/pi/Desktop/images/04012025/08/34/image_04012025_08_34_02_927630_0001.jpg
/home/pi/Desktop/images/04012025/08/34/image_04012025_08_34_02_927630_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.00496244430542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:35:03.203870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/33/image_04012025_08_33_02_430353_0003.jpg', '/home/pi/Desktop/images/04012025/08/34/image_04012025_08_34_02_927630_0000.jpg', '/home/pi/Desktop/images/04012025/08/34/image_04012025_08_34_02_927630_0001.jpg', '/home/pi/Desktop/images/04012025/08/34/image_04012025_08_34_02_927630_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/33/image_04012025_08_33_02_430353_0003.jpg
/home/pi/Desktop/images/04012025/08/34/image_04012025_08_34_02_927630_0000.jpg
/home/pi/Desktop/images/04012025/08/34/image_04012025_08_34_02_927630_0001.jpg
/home/pi/Desktop/images/04012025/08/34/image_04012025_08_34_02_927630_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326403681","1326403948","1326403950","1326403952"],"photo_ids_order":["1326403681","1326403948","1326403950","1326403952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2ec3e6ddcb821c643f5c67618a4bc851.jpg","text":"TemporaryFile(/tmp/multipartBody2041688772151206318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976173644,"filename":"image_04012025_08_33_02_430353_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ea3d2d06e3c334ff5c7e8ddff03ef8a.jpg","text":"TemporaryFile(/tmp/multipartBody8767187373675315438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976173644,"filename":"image_04012025_08_34_02_927630_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/598e34890a133802510ec03d3b5f5308.jpg","text":"TemporaryFile(/tmp/multipartBody8294092201964174597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976173644,"filename":"image_04012025_08_34_02_927630_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a1abe1877cc351b3f0d78633dcf6675d.jpg","text":"TemporaryFile(/tmp/multipartBody1776991618751640913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976173644,"filename":"image_04012025_08_34_02_927630_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326403950","file1":"1326403948","file0":"1326403681","file3":"1326403952"},"map_files_photo_id_array":[{"photo_id":"1326403950","filename":"file2"},{"photo_id":"1326403948","filename":"file1"},{"photo_id":"1326403681","filename":"file0"},{"photo_id":"1326403952","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326403681":["hashtag1","hashtag2"]},{"1326403948":["hashtag1","hashtag2"]},{"1326403950":["hashtag1","hashtag2"]},{"1326403952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326403681, 1326403948, 1326403950, 1326403952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09858465194702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:36:02.613102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/34/image_04012025_08_34_02_927630_0003.jpg', '/home/pi/Desktop/images/04012025/08/35/image_04012025_08_35_02_430515_0001.jpg', '/home/pi/Desktop/images/04012025/08/35/image_04012025_08_35_02_430515_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/34/image_04012025_08_34_02_927630_0003.jpg
/home/pi/Desktop/images/04012025/08/35/image_04012025_08_35_02_430515_0001.jpg
/home/pi/Desktop/images/04012025/08/35/image_04012025_08_35_02_430515_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326404158","1326404159","1326404147"],"photo_ids_order":["1326404147","1326404158","1326404159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6ac4b8cea16c90e7ec0b108bccb42113.jpg","text":"TemporaryFile(/tmp/multipartBody4340269215046363368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976230555,"filename":"image_04012025_08_35_02_430515_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ef0bae8c4e7248aa0d0ea9ff8825f5c0.jpg","text":"TemporaryFile(/tmp/multipartBody4368619108089736130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976230555,"filename":"image_04012025_08_35_02_430515_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/99577d01f5d909a92442f8be364c0c10.jpg","text":"TemporaryFile(/tmp/multipartBody1329642407749421889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976230555,"filename":"image_04012025_08_34_02_927630_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326404159","file1":"1326404158","file0":"1326404147"},"map_files_photo_id_array":[{"photo_id":"1326404159","filename":"file2"},{"photo_id":"1326404158","filename":"file1"},{"photo_id":"1326404147","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326404158":["hashtag1","hashtag2"]},{"1326404159":["hashtag1","hashtag2"]},{"1326404147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326404158, 1326404159, 1326404147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.51450514793396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:37:03.397250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/35/image_04012025_08_35_02_430515_0003.jpg', '/home/pi/Desktop/images/04012025/08/36/image_04012025_08_36_02_932024_0000.jpg', '/home/pi/Desktop/images/04012025/08/36/image_04012025_08_36_02_932024_0001.jpg', '/home/pi/Desktop/images/04012025/08/36/image_04012025_08_36_02_932024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/35/image_04012025_08_35_02_430515_0003.jpg
/home/pi/Desktop/images/04012025/08/36/image_04012025_08_36_02_932024_0000.jpg
/home/pi/Desktop/images/04012025/08/36/image_04012025_08_36_02_932024_0001.jpg
/home/pi/Desktop/images/04012025/08/36/image_04012025_08_36_02_932024_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326404999","1326405041","1326405014","1326405016"],"photo_ids_order":["1326404999","1326405014","1326405016","1326405041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b13e5de00b3bc5c590cd5acd8a7dc84b.jpg","text":"TemporaryFile(/tmp/multipartBody1986731882729148897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976293638,"filename":"image_04012025_08_35_02_430515_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0d7588d91e7f9976b4a758b609756204.jpg","text":"TemporaryFile(/tmp/multipartBody1060030260163027528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976293638,"filename":"image_04012025_08_36_02_932024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/91050acf2a1d88f8e9813564c516acca.jpg","text":"TemporaryFile(/tmp/multipartBody6164274519230893818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976293638,"filename":"image_04012025_08_36_02_932024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/656221e6276569f764d2f5702f46e647.jpg","text":"TemporaryFile(/tmp/multipartBody2980362616831408739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976293638,"filename":"image_04012025_08_36_02_932024_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326405016","file1":"1326405014","file0":"1326404999","file3":"1326405041"},"map_files_photo_id_array":[{"photo_id":"1326405016","filename":"file2"},{"photo_id":"1326405014","filename":"file1"},{"photo_id":"1326404999","filename":"file0"},{"photo_id":"1326405041","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326404999":["hashtag1","hashtag2"]},{"1326405041":["hashtag1","hashtag2"]},{"1326405014":["hashtag1","hashtag2"]},{"1326405016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326404999, 1326405041, 1326405014, 1326405016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60395836830139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:38:02.574898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/36/image_04012025_08_36_02_932024_0003.jpg', '/home/pi/Desktop/images/04012025/08/37/image_04012025_08_37_02_543961_0000.jpg', '/home/pi/Desktop/images/04012025/08/37/image_04012025_08_37_02_543961_0001.jpg', '/home/pi/Desktop/images/04012025/08/37/image_04012025_08_37_02_543961_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/36/image_04012025_08_36_02_932024_0003.jpg
/home/pi/Desktop/images/04012025/08/37/image_04012025_08_37_02_543961_0000.jpg
/home/pi/Desktop/images/04012025/08/37/image_04012025_08_37_02_543961_0001.jpg
/home/pi/Desktop/images/04012025/08/37/image_04012025_08_37_02_543961_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.906627655029297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:38:22.248690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/36/image_04012025_08_36_02_932024_0003.jpg', '/home/pi/Desktop/images/04012025/08/37/image_04012025_08_37_02_543961_0000.jpg', '/home/pi/Desktop/images/04012025/08/37/image_04012025_08_37_02_543961_0001.jpg', '/home/pi/Desktop/images/04012025/08/37/image_04012025_08_37_02_543961_0002.jpg', '/home/pi/Desktop/images/04012025/08/37/image_04012025_08_37_02_543961_0003.jpg', '/home/pi/Desktop/images/04012025/08/38/image_04012025_08_38_02_991861_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/36/image_04012025_08_36_02_932024_0003.jpg
/home/pi/Desktop/images/04012025/08/37/image_04012025_08_37_02_543961_0000.jpg
/home/pi/Desktop/images/04012025/08/37/image_04012025_08_37_02_543961_0001.jpg
/home/pi/Desktop/images/04012025/08/37/image_04012025_08_37_02_543961_0002.jpg
/home/pi/Desktop/images/04012025/08/37/image_04012025_08_37_02_543961_0003.jpg
/home/pi/Desktop/images/04012025/08/38/image_04012025_08_38_02_991861_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326405520","1326405756","1326405647","1326405574","1326405523","1326405517"],"photo_ids_order":["1326405517","1326405520","1326405523","1326405574","1326405647","1326405756"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ef5bc40f894724b1696213f345676f3.jpg","text":"TemporaryFile(/tmp/multipartBody6486332271278493668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976377242,"filename":"image_04012025_08_37_02_543961_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/23c30cc43e6a53dd3895755655a48b46.jpg","text":"TemporaryFile(/tmp/multipartBody6915723491172954257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976377242,"filename":"image_04012025_08_38_02_991861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8504ebf093541b95fad8236bece02645.jpg","text":"TemporaryFile(/tmp/multipartBody2553316048280118845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976377242,"filename":"image_04012025_08_37_02_543961_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fab67d118c1350a679da3b63628e92fe.jpg","text":"TemporaryFile(/tmp/multipartBody921061429742805904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976377242,"filename":"image_04012025_08_37_02_543961_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b49f34150644f1a1b29f4ca5f485e590.jpg","text":"TemporaryFile(/tmp/multipartBody3575671651306150861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976377242,"filename":"image_04012025_08_37_02_543961_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/39ff87e850a7d31a56cc46e99cb8f5ad.jpg","text":"TemporaryFile(/tmp/multipartBody7536643155161230351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976377242,"filename":"image_04012025_08_36_02_932024_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326405523","file1":"1326405520","file0":"1326405517","file4":"1326405647","file5":"1326405756","file3":"1326405574"},"map_files_photo_id_array":[{"photo_id":"1326405756","filename":"file5"},{"photo_id":"1326405523","filename":"file2"},{"photo_id":"1326405647","filename":"file4"},{"photo_id":"1326405520","filename":"file1"},{"photo_id":"1326405517","filename":"file0"},{"photo_id":"1326405574","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326405520":["hashtag1","hashtag2"]},{"1326405756":["hashtag1","hashtag2"]},{"1326405647":["hashtag1","hashtag2"]},{"1326405574":["hashtag1","hashtag2"]},{"1326405523":["hashtag1","hashtag2"]},{"1326405517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326405520, 1326405756, 1326405647, 1326405574, 1326405523, 1326405517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.476937770843506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:39:22.749401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/38/image_04012025_08_38_02_991861_0001.jpg', '/home/pi/Desktop/images/04012025/08/38/image_04012025_08_38_02_991861_0002.jpg', '/home/pi/Desktop/images/04012025/08/38/image_04012025_08_38_02_991861_0003.jpg', '/home/pi/Desktop/images/04012025/08/39/image_04012025_08_39_02_611462_0000.jpg', '/home/pi/Desktop/images/04012025/08/39/image_04012025_08_39_02_611462_0001.jpg', '/home/pi/Desktop/images/04012025/08/39/image_04012025_08_39_02_611462_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/38/image_04012025_08_38_02_991861_0001.jpg
/home/pi/Desktop/images/04012025/08/38/image_04012025_08_38_02_991861_0002.jpg
/home/pi/Desktop/images/04012025/08/38/image_04012025_08_38_02_991861_0003.jpg
/home/pi/Desktop/images/04012025/08/39/image_04012025_08_39_02_611462_0000.jpg
/home/pi/Desktop/images/04012025/08/39/image_04012025_08_39_02_611462_0001.jpg
/home/pi/Desktop/images/04012025/08/39/image_04012025_08_39_02_611462_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326406190","1326406193","1326406187","1326406319","1326406591","1326406195"],"photo_ids_order":["1326406187","1326406190","1326406193","1326406195","1326406319","1326406591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/474d9ac960bfa8f9a66be74a4eae1c2e.jpg","text":"TemporaryFile(/tmp/multipartBody6901554923334685199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976437826,"filename":"image_04012025_08_38_02_991861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/285480f69dd469419a0363d434431d79.jpg","text":"TemporaryFile(/tmp/multipartBody5630350746176908461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976437826,"filename":"image_04012025_08_38_02_991861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3e8a77dea8f83de7fa508b04520cbab9.jpg","text":"TemporaryFile(/tmp/multipartBody1828377075047867419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976437826,"filename":"image_04012025_08_38_02_991861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1ce88b999ec95c8d8ab046d1031097d9.jpg","text":"TemporaryFile(/tmp/multipartBody3273368635210674258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976437826,"filename":"image_04012025_08_39_02_611462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cf7241bd5a206644156dea5192c96c8b.jpg","text":"TemporaryFile(/tmp/multipartBody3807947805576474347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976437826,"filename":"image_04012025_08_39_02_611462_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4707be7413dbbffa5cfef8dbef951528.jpg","text":"TemporaryFile(/tmp/multipartBody7226419005904906695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976437826,"filename":"image_04012025_08_39_02_611462_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326406193","file1":"1326406190","file0":"1326406187","file4":"1326406319","file5":"1326406591","file3":"1326406195"},"map_files_photo_id_array":[{"photo_id":"1326406591","filename":"file5"},{"photo_id":"1326406193","filename":"file2"},{"photo_id":"1326406319","filename":"file4"},{"photo_id":"1326406190","filename":"file1"},{"photo_id":"1326406187","filename":"file0"},{"photo_id":"1326406195","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326406190":["hashtag1","hashtag2"]},{"1326406193":["hashtag1","hashtag2"]},{"1326406187":["hashtag1","hashtag2"]},{"1326406319":["hashtag1","hashtag2"]},{"1326406591":["hashtag1","hashtag2"]},{"1326406195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326406190, 1326406193, 1326406187, 1326406319, 1326406591, 1326406195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.75684452056885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:40:22.318816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/39/image_04012025_08_39_02_611462_0003.jpg', '/home/pi/Desktop/images/04012025/08/40/image_04012025_08_40_03_169951_0001.jpg', '/home/pi/Desktop/images/04012025/08/40/image_04012025_08_40_03_169951_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/39/image_04012025_08_39_02_611462_0003.jpg
/home/pi/Desktop/images/04012025/08/40/image_04012025_08_40_03_169951_0001.jpg
/home/pi/Desktop/images/04012025/08/40/image_04012025_08_40_03_169951_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326406920","1326406943","1326406946"],"photo_ids_order":["1326406920","1326406943","1326406946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/00fad3b880205e97a5ac2a3b0aeadfae.jpg","text":"TemporaryFile(/tmp/multipartBody2575968757356925378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976490056,"filename":"image_04012025_08_39_02_611462_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4998dea4026b186e16fd25037ddc749e.jpg","text":"TemporaryFile(/tmp/multipartBody297491649294836260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976490056,"filename":"image_04012025_08_40_03_169951_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7002d90704b7a86985813f5ba64a62c5.jpg","text":"TemporaryFile(/tmp/multipartBody6393761704731492676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976490056,"filename":"image_04012025_08_40_03_169951_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326406946","file1":"1326406943","file0":"1326406920"},"map_files_photo_id_array":[{"photo_id":"1326406946","filename":"file2"},{"photo_id":"1326406943","filename":"file1"},{"photo_id":"1326406920","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326406920":["hashtag1","hashtag2"]},{"1326406943":["hashtag1","hashtag2"]},{"1326406946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326406920, 1326406943, 1326406946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.954821586608887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:41:02.599765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:41:21.938057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/40/image_04012025_08_40_03_169951_0003.jpg', '/home/pi/Desktop/images/04012025/08/41/image_04012025_08_41_02_779374_0000.jpg', '/home/pi/Desktop/images/04012025/08/41/image_04012025_08_41_02_779374_0001.jpg', '/home/pi/Desktop/images/04012025/08/41/image_04012025_08_41_02_779374_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/40/image_04012025_08_40_03_169951_0003.jpg
/home/pi/Desktop/images/04012025/08/41/image_04012025_08_41_02_779374_0000.jpg
/home/pi/Desktop/images/04012025/08/41/image_04012025_08_41_02_779374_0001.jpg
/home/pi/Desktop/images/04012025/08/41/image_04012025_08_41_02_779374_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326407807","1326407976","1326407772","1326407769"],"photo_ids_order":["1326407769","1326407772","1326407807","1326407976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eb83d17176105110da32fdc1502119a4.jpg","text":"TemporaryFile(/tmp/multipartBody7271729160619895132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976552149,"filename":"image_04012025_08_41_02_779374_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8a09a74238b2a2cb83458651e9d12dc5.jpg","text":"TemporaryFile(/tmp/multipartBody7144901314344679332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976552149,"filename":"image_04012025_08_41_02_779374_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3c76f7b36b4df03051fe8d73ad7c95ce.jpg","text":"TemporaryFile(/tmp/multipartBody2177533803365124426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976552149,"filename":"image_04012025_08_41_02_779374_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2ac7b6be7e86f9afa55889fcc96c570c.jpg","text":"TemporaryFile(/tmp/multipartBody281358862418575671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976552149,"filename":"image_04012025_08_40_03_169951_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326407807","file1":"1326407772","file0":"1326407769","file3":"1326407976"},"map_files_photo_id_array":[{"photo_id":"1326407807","filename":"file2"},{"photo_id":"1326407772","filename":"file1"},{"photo_id":"1326407769","filename":"file0"},{"photo_id":"1326407976","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326407807":["hashtag1","hashtag2"]},{"1326407976":["hashtag1","hashtag2"]},{"1326407772":["hashtag1","hashtag2"]},{"1326407769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326407807, 1326407976, 1326407772, 1326407769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.78179144859314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:42:02.976419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:42:22.638438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/41/image_04012025_08_41_02_779374_0003.jpg', '/home/pi/Desktop/images/04012025/08/42/image_04012025_08_42_02_301565_0000.jpg', '/home/pi/Desktop/images/04012025/08/42/image_04012025_08_42_02_301565_0001.jpg', '/home/pi/Desktop/images/04012025/08/42/image_04012025_08_42_02_301565_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/41/image_04012025_08_41_02_779374_0003.jpg
/home/pi/Desktop/images/04012025/08/42/image_04012025_08_42_02_301565_0000.jpg
/home/pi/Desktop/images/04012025/08/42/image_04012025_08_42_02_301565_0001.jpg
/home/pi/Desktop/images/04012025/08/42/image_04012025_08_42_02_301565_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326408302","1326408292","1326408375","1326408299"],"photo_ids_order":["1326408292","1326408299","1326408302","1326408375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/20bee38b69913fd721c1b616fa4d47e2.jpg","text":"TemporaryFile(/tmp/multipartBody1107208383408623747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976613014,"filename":"image_04012025_08_42_02_301565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/123c32e9982b20479e0690b4df254e7c.jpg","text":"TemporaryFile(/tmp/multipartBody3776021402696907506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976613014,"filename":"image_04012025_08_41_02_779374_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ccbf9eaeb444fe2270a5af64f8fc7fea.jpg","text":"TemporaryFile(/tmp/multipartBody8090785195994609454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976613014,"filename":"image_04012025_08_42_02_301565_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c50ffbfc13d9217741d28d3050ea052f.jpg","text":"TemporaryFile(/tmp/multipartBody4521272346378762680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976613014,"filename":"image_04012025_08_42_02_301565_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326408302","file1":"1326408299","file0":"1326408292","file3":"1326408375"},"map_files_photo_id_array":[{"photo_id":"1326408302","filename":"file2"},{"photo_id":"1326408299","filename":"file1"},{"photo_id":"1326408292","filename":"file0"},{"photo_id":"1326408375","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326408302":["hashtag1","hashtag2"]},{"1326408292":["hashtag1","hashtag2"]},{"1326408375":["hashtag1","hashtag2"]},{"1326408299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326408302, 1326408292, 1326408375, 1326408299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.77225708961487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:43:02.669311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:43:22.084942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/42/image_04012025_08_42_02_301565_0003.jpg', '/home/pi/Desktop/images/04012025/08/43/image_04012025_08_43_02_928394_0000.jpg', '/home/pi/Desktop/images/04012025/08/43/image_04012025_08_43_02_928394_0001.jpg', '/home/pi/Desktop/images/04012025/08/43/image_04012025_08_43_02_928394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/42/image_04012025_08_42_02_301565_0003.jpg
/home/pi/Desktop/images/04012025/08/43/image_04012025_08_43_02_928394_0000.jpg
/home/pi/Desktop/images/04012025/08/43/image_04012025_08_43_02_928394_0001.jpg
/home/pi/Desktop/images/04012025/08/43/image_04012025_08_43_02_928394_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326408394","1326408397","1326408411","1326408405"],"photo_ids_order":["1326408394","1326408397","1326408405","1326408411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1360b80ceb6697e9ddb346df309871b4.jpg","text":"TemporaryFile(/tmp/multipartBody2865691394825582364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976672403,"filename":"image_04012025_08_42_02_301565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/55bc999361b544fe5cc11607c16f0a35.jpg","text":"TemporaryFile(/tmp/multipartBody2055448937121129906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976672403,"filename":"image_04012025_08_43_02_928394_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/16854c2047e79a6228c354ba6a3c3346.jpg","text":"TemporaryFile(/tmp/multipartBody1697144396632416870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976672403,"filename":"image_04012025_08_43_02_928394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1400f76288250ad2988c7fd7d4ae56fd.jpg","text":"TemporaryFile(/tmp/multipartBody6655568725511643647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976672403,"filename":"image_04012025_08_43_02_928394_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326408405","file1":"1326408397","file0":"1326408394","file3":"1326408411"},"map_files_photo_id_array":[{"photo_id":"1326408405","filename":"file2"},{"photo_id":"1326408397","filename":"file1"},{"photo_id":"1326408394","filename":"file0"},{"photo_id":"1326408411","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326408394":["hashtag1","hashtag2"]},{"1326408397":["hashtag1","hashtag2"]},{"1326408411":["hashtag1","hashtag2"]},{"1326408405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326408394, 1326408397, 1326408411, 1326408405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.044553995132446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:44:03.243158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:44:22.762303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/43/image_04012025_08_43_02_928394_0003.jpg', '/home/pi/Desktop/images/04012025/08/44/image_04012025_08_44_02_414029_0000.jpg', '/home/pi/Desktop/images/04012025/08/44/image_04012025_08_44_02_414029_0001.jpg', '/home/pi/Desktop/images/04012025/08/44/image_04012025_08_44_02_414029_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/43/image_04012025_08_43_02_928394_0003.jpg
/home/pi/Desktop/images/04012025/08/44/image_04012025_08_44_02_414029_0000.jpg
/home/pi/Desktop/images/04012025/08/44/image_04012025_08_44_02_414029_0001.jpg
/home/pi/Desktop/images/04012025/08/44/image_04012025_08_44_02_414029_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326408938","1326409261","1326409042","1326409258"],"photo_ids_order":["1326408938","1326409042","1326409258","1326409261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3ca8aa94ab0b48db8c16ff1a6c4f29d3.jpg","text":"TemporaryFile(/tmp/multipartBody7333422782676888718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976733167,"filename":"image_04012025_08_43_02_928394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/811432ebba91ed7ffefbc070f939eea5.jpg","text":"TemporaryFile(/tmp/multipartBody6681889091907766008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976733167,"filename":"image_04012025_08_44_02_414029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/06642f8622893eba50db47192f888808.jpg","text":"TemporaryFile(/tmp/multipartBody1084657862793442010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976733167,"filename":"image_04012025_08_44_02_414029_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2fffb68a81a8d23332c24bcac785d977.jpg","text":"TemporaryFile(/tmp/multipartBody8848895077438000985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976733167,"filename":"image_04012025_08_44_02_414029_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326409258","file1":"1326409042","file0":"1326408938","file3":"1326409261"},"map_files_photo_id_array":[{"photo_id":"1326409258","filename":"file2"},{"photo_id":"1326409042","filename":"file1"},{"photo_id":"1326408938","filename":"file0"},{"photo_id":"1326409261","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326408938":["hashtag1","hashtag2"]},{"1326409261":["hashtag1","hashtag2"]},{"1326409042":["hashtag1","hashtag2"]},{"1326409258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326408938, 1326409261, 1326409042, 1326409258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60106015205383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:45:02.587326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:45:22.228383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/44/image_04012025_08_44_02_414029_0003.jpg', '/home/pi/Desktop/images/04012025/08/45/image_04012025_08_45_03_104044_0000.jpg', '/home/pi/Desktop/images/04012025/08/45/image_04012025_08_45_03_104044_0001.jpg', '/home/pi/Desktop/images/04012025/08/45/image_04012025_08_45_03_104044_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/44/image_04012025_08_44_02_414029_0003.jpg
/home/pi/Desktop/images/04012025/08/45/image_04012025_08_45_03_104044_0000.jpg
/home/pi/Desktop/images/04012025/08/45/image_04012025_08_45_03_104044_0001.jpg
/home/pi/Desktop/images/04012025/08/45/image_04012025_08_45_03_104044_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326409764","1326409713","1326409760","1326409754"],"photo_ids_order":["1326409713","1326409754","1326409760","1326409764"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2ce4e164b6d0de61ab13eeb31a1f76a7.jpg","text":"TemporaryFile(/tmp/multipartBody101129519165359254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976792634,"filename":"image_04012025_08_45_03_104044_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/87c81ae2a75bc731325d28941a328e81.jpg","text":"TemporaryFile(/tmp/multipartBody1048870757926619425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976792634,"filename":"image_04012025_08_44_02_414029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1da93c04f02cd4a7e63fa554c9c4ab42.jpg","text":"TemporaryFile(/tmp/multipartBody917011570949612203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976792634,"filename":"image_04012025_08_45_03_104044_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c8f16343895a45fdbc9f2ad15ac3d08b.jpg","text":"TemporaryFile(/tmp/multipartBody5350339509202009833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976792634,"filename":"image_04012025_08_45_03_104044_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326409760","file1":"1326409754","file0":"1326409713","file3":"1326409764"},"map_files_photo_id_array":[{"photo_id":"1326409760","filename":"file2"},{"photo_id":"1326409754","filename":"file1"},{"photo_id":"1326409713","filename":"file0"},{"photo_id":"1326409764","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326409764":["hashtag1","hashtag2"]},{"1326409713":["hashtag1","hashtag2"]},{"1326409760":["hashtag1","hashtag2"]},{"1326409754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326409764, 1326409713, 1326409760, 1326409754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01488018035889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:46:02.408769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:46:21.942618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/45/image_04012025_08_45_03_104044_0003.jpg', '/home/pi/Desktop/images/04012025/08/46/image_04012025_08_46_02_658242_0000.jpg', '/home/pi/Desktop/images/04012025/08/46/image_04012025_08_46_02_658242_0001.jpg', '/home/pi/Desktop/images/04012025/08/46/image_04012025_08_46_02_658242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/45/image_04012025_08_45_03_104044_0003.jpg
/home/pi/Desktop/images/04012025/08/46/image_04012025_08_46_02_658242_0000.jpg
/home/pi/Desktop/images/04012025/08/46/image_04012025_08_46_02_658242_0001.jpg
/home/pi/Desktop/images/04012025/08/46/image_04012025_08_46_02_658242_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326409906","1326410286","1326410390","1326410168"],"photo_ids_order":["1326409906","1326410168","1326410286","1326410390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/65fa4e13a250f332c2db0c26b5124ff3.jpg","text":"TemporaryFile(/tmp/multipartBody2922236053426248749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976852459,"filename":"image_04012025_08_45_03_104044_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/23a4660103805fbff1bdf26d005bbe4a.jpg","text":"TemporaryFile(/tmp/multipartBody3040285250842740257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976852459,"filename":"image_04012025_08_46_02_658242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/740e0c0472e9036de4d1fbf0da93b7af.jpg","text":"TemporaryFile(/tmp/multipartBody8887641112856663425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976852459,"filename":"image_04012025_08_46_02_658242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d037c5abf9216bd6fcedf552cbe17bef.jpg","text":"TemporaryFile(/tmp/multipartBody4071296748651036229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976852459,"filename":"image_04012025_08_46_02_658242_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326410286","file1":"1326410168","file0":"1326409906","file3":"1326410390"},"map_files_photo_id_array":[{"photo_id":"1326410286","filename":"file2"},{"photo_id":"1326410168","filename":"file1"},{"photo_id":"1326409906","filename":"file0"},{"photo_id":"1326410390","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326409906":["hashtag1","hashtag2"]},{"1326410286":["hashtag1","hashtag2"]},{"1326410390":["hashtag1","hashtag2"]},{"1326410168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326409906, 1326410286, 1326410390, 1326410168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.195700883865356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:47:22.445226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/46/image_04012025_08_46_02_658242_0003.jpg', '/home/pi/Desktop/images/04012025/08/47/image_04012025_08_47_02_295496_0000.jpg', '/home/pi/Desktop/images/04012025/08/47/image_04012025_08_47_02_295496_0001.jpg', '/home/pi/Desktop/images/04012025/08/47/image_04012025_08_47_02_295496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/46/image_04012025_08_46_02_658242_0003.jpg
/home/pi/Desktop/images/04012025/08/47/image_04012025_08_47_02_295496_0000.jpg
/home/pi/Desktop/images/04012025/08/47/image_04012025_08_47_02_295496_0001.jpg
/home/pi/Desktop/images/04012025/08/47/image_04012025_08_47_02_295496_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326410787","1326410814","1326411137","1326411017"],"photo_ids_order":["1326410787","1326410814","1326411017","1326411137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/08733abc96d6c82eb666eba89dfd8488.jpg","text":"TemporaryFile(/tmp/multipartBody1750061104604622591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976912894,"filename":"image_04012025_08_46_02_658242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3f0c4c8ffbca4c6542491719a8f80cd6.jpg","text":"TemporaryFile(/tmp/multipartBody7879237257203897959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976912894,"filename":"image_04012025_08_47_02_295496_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ac11f604a36d95bf4929eec30720b08c.jpg","text":"TemporaryFile(/tmp/multipartBody4209226572707451393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976912894,"filename":"image_04012025_08_47_02_295496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3270505e2f548ee4a4c3765e8b879dd1.jpg","text":"TemporaryFile(/tmp/multipartBody5937326341448409890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976912894,"filename":"image_04012025_08_47_02_295496_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326411017","file1":"1326410814","file0":"1326410787","file3":"1326411137"},"map_files_photo_id_array":[{"photo_id":"1326411017","filename":"file2"},{"photo_id":"1326410814","filename":"file1"},{"photo_id":"1326410787","filename":"file0"},{"photo_id":"1326411137","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326410787":["hashtag1","hashtag2"]},{"1326410814":["hashtag1","hashtag2"]},{"1326411137":["hashtag1","hashtag2"]},{"1326411017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326410787, 1326410814, 1326411137, 1326411017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.20448350906372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:48:02.274911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:48:21.865977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/47/image_04012025_08_47_02_295496_0003.jpg', '/home/pi/Desktop/images/04012025/08/48/image_04012025_08_48_02_772777_0000.jpg', '/home/pi/Desktop/images/04012025/08/48/image_04012025_08_48_02_772777_0001.jpg', '/home/pi/Desktop/images/04012025/08/48/image_04012025_08_48_02_772777_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/47/image_04012025_08_47_02_295496_0003.jpg
/home/pi/Desktop/images/04012025/08/48/image_04012025_08_48_02_772777_0000.jpg
/home/pi/Desktop/images/04012025/08/48/image_04012025_08_48_02_772777_0001.jpg
/home/pi/Desktop/images/04012025/08/48/image_04012025_08_48_02_772777_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326411664","1326411316","1326411636","1326411437"],"photo_ids_order":["1326411316","1326411437","1326411636","1326411664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7be5fb88332bbc6a863b31868d3e393.jpg","text":"TemporaryFile(/tmp/multipartBody440234709957317763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976972229,"filename":"image_04012025_08_48_02_772777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/20422148004b62f47e100acf7d01030c.jpg","text":"TemporaryFile(/tmp/multipartBody1665373128510769790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976972229,"filename":"image_04012025_08_47_02_295496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3d0afd2201d2ae087445dea28e7e9429.jpg","text":"TemporaryFile(/tmp/multipartBody230845957427354709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976972229,"filename":"image_04012025_08_48_02_772777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a7948b922b28baa5267d8274d25df5ae.jpg","text":"TemporaryFile(/tmp/multipartBody994405359372343737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735976972229,"filename":"image_04012025_08_48_02_772777_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326411636","file1":"1326411437","file0":"1326411316","file3":"1326411664"},"map_files_photo_id_array":[{"photo_id":"1326411636","filename":"file2"},{"photo_id":"1326411437","filename":"file1"},{"photo_id":"1326411316","filename":"file0"},{"photo_id":"1326411664","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326411664":["hashtag1","hashtag2"]},{"1326411316":["hashtag1","hashtag2"]},{"1326411636":["hashtag1","hashtag2"]},{"1326411437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326411664, 1326411316, 1326411636, 1326411437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.45545721054077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:49:22.428943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/48/image_04012025_08_48_02_772777_0003.jpg', '/home/pi/Desktop/images/04012025/08/49/image_04012025_08_49_02_259392_0000.jpg', '/home/pi/Desktop/images/04012025/08/49/image_04012025_08_49_02_259392_0001.jpg', '/home/pi/Desktop/images/04012025/08/49/image_04012025_08_49_02_259392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/48/image_04012025_08_48_02_772777_0003.jpg
/home/pi/Desktop/images/04012025/08/49/image_04012025_08_49_02_259392_0000.jpg
/home/pi/Desktop/images/04012025/08/49/image_04012025_08_49_02_259392_0001.jpg
/home/pi/Desktop/images/04012025/08/49/image_04012025_08_49_02_259392_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326412095","1326412140","1326412143","1326412146"],"photo_ids_order":["1326412095","1326412140","1326412143","1326412146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/86c9005e5406a47b71322161868b2681.jpg","text":"TemporaryFile(/tmp/multipartBody5346145653268920982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977032862,"filename":"image_04012025_08_48_02_772777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3c84ea06feee6b11a75e7cfeaefbb7ea.jpg","text":"TemporaryFile(/tmp/multipartBody441128923554949501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977032862,"filename":"image_04012025_08_49_02_259392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d0aebdc0ed7c3c9318f1aa50df5bc29.jpg","text":"TemporaryFile(/tmp/multipartBody4658088566825337541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977032862,"filename":"image_04012025_08_49_02_259392_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/68ed6c6a0fcdea7330a479e39a5bbef3.jpg","text":"TemporaryFile(/tmp/multipartBody3642079051582123433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977032862,"filename":"image_04012025_08_49_02_259392_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326412143","file1":"1326412140","file0":"1326412095","file3":"1326412146"},"map_files_photo_id_array":[{"photo_id":"1326412143","filename":"file2"},{"photo_id":"1326412140","filename":"file1"},{"photo_id":"1326412095","filename":"file0"},{"photo_id":"1326412146","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326412095":["hashtag1","hashtag2"]},{"1326412140":["hashtag1","hashtag2"]},{"1326412143":["hashtag1","hashtag2"]},{"1326412146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326412095, 1326412140, 1326412143, 1326412146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.80925965309143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:50:02.343707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:50:21.895994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/49/image_04012025_08_49_02_259392_0003.jpg', '/home/pi/Desktop/images/04012025/08/50/image_04012025_08_50_02_776182_0000.jpg', '/home/pi/Desktop/images/04012025/08/50/image_04012025_08_50_02_776182_0001.jpg', '/home/pi/Desktop/images/04012025/08/50/image_04012025_08_50_02_776182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/49/image_04012025_08_49_02_259392_0003.jpg
/home/pi/Desktop/images/04012025/08/50/image_04012025_08_50_02_776182_0000.jpg
/home/pi/Desktop/images/04012025/08/50/image_04012025_08_50_02_776182_0001.jpg
/home/pi/Desktop/images/04012025/08/50/image_04012025_08_50_02_776182_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326412278","1326412274","1326412271","1326412282"],"photo_ids_order":["1326412271","1326412274","1326412278","1326412282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b4da9bbe5af045896aa3d7f2f35b44fa.jpg","text":"TemporaryFile(/tmp/multipartBody1502027977783092898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977092378,"filename":"image_04012025_08_50_02_776182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6902e3320161a1ba79f0588e7ba40d51.jpg","text":"TemporaryFile(/tmp/multipartBody8520970112567118830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977092378,"filename":"image_04012025_08_50_02_776182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/378f9dbfcd30e195fd8566c68de154e8.jpg","text":"TemporaryFile(/tmp/multipartBody4405602429524374667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977092378,"filename":"image_04012025_08_49_02_259392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4c9446edce7667859d95b502c325010f.jpg","text":"TemporaryFile(/tmp/multipartBody9059957403381118389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977092378,"filename":"image_04012025_08_50_02_776182_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326412278","file1":"1326412274","file0":"1326412271","file3":"1326412282"},"map_files_photo_id_array":[{"photo_id":"1326412278","filename":"file2"},{"photo_id":"1326412274","filename":"file1"},{"photo_id":"1326412271","filename":"file0"},{"photo_id":"1326412282","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326412278":["hashtag1","hashtag2"]},{"1326412274":["hashtag1","hashtag2"]},{"1326412271":["hashtag1","hashtag2"]},{"1326412282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326412278, 1326412274, 1326412271, 1326412282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.012932538986206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:51:03.160317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:51:22.463122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/50/image_04012025_08_50_02_776182_0003.jpg', '/home/pi/Desktop/images/04012025/08/51/image_04012025_08_51_02_317517_0000.jpg', '/home/pi/Desktop/images/04012025/08/51/image_04012025_08_51_02_317517_0001.jpg', '/home/pi/Desktop/images/04012025/08/51/image_04012025_08_51_02_317517_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/50/image_04012025_08_50_02_776182_0003.jpg
/home/pi/Desktop/images/04012025/08/51/image_04012025_08_51_02_317517_0000.jpg
/home/pi/Desktop/images/04012025/08/51/image_04012025_08_51_02_317517_0001.jpg
/home/pi/Desktop/images/04012025/08/51/image_04012025_08_51_02_317517_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326412997","1326413012","1326413117","1326413401"],"photo_ids_order":["1326412997","1326413012","1326413117","1326413401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3a7015494169fae082a1f618a0bb1ef6.jpg","text":"TemporaryFile(/tmp/multipartBody3121250757920587911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977153010,"filename":"image_04012025_08_50_02_776182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dd4933209bfe2992e454ab1d7a423c04.jpg","text":"TemporaryFile(/tmp/multipartBody4167712600092647637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977153010,"filename":"image_04012025_08_51_02_317517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e373d5cc67cc963b7945c436128bfb6d.jpg","text":"TemporaryFile(/tmp/multipartBody7489442708633426254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977153010,"filename":"image_04012025_08_51_02_317517_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/00e0c198645a4c2c7b70e38e952f362d.jpg","text":"TemporaryFile(/tmp/multipartBody4910977978229124331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977153010,"filename":"image_04012025_08_51_02_317517_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326413117","file1":"1326413012","file0":"1326412997","file3":"1326413401"},"map_files_photo_id_array":[{"photo_id":"1326413117","filename":"file2"},{"photo_id":"1326413012","filename":"file1"},{"photo_id":"1326412997","filename":"file0"},{"photo_id":"1326413401","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326412997":["hashtag1","hashtag2"]},{"1326413012":["hashtag1","hashtag2"]},{"1326413117":["hashtag1","hashtag2"]},{"1326413401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326412997, 1326413012, 1326413117, 1326413401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.269821643829346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:52:22.024772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/51/image_04012025_08_51_02_317517_0003.jpg', '/home/pi/Desktop/images/04012025/08/52/image_04012025_08_52_02_834075_0000.jpg', '/home/pi/Desktop/images/04012025/08/52/image_04012025_08_52_02_834075_0001.jpg', '/home/pi/Desktop/images/04012025/08/52/image_04012025_08_52_02_834075_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/51/image_04012025_08_51_02_317517_0003.jpg
/home/pi/Desktop/images/04012025/08/52/image_04012025_08_52_02_834075_0000.jpg
/home/pi/Desktop/images/04012025/08/52/image_04012025_08_52_02_834075_0001.jpg
/home/pi/Desktop/images/04012025/08/52/image_04012025_08_52_02_834075_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326413891","1326413585","1326413801","1326413566"],"photo_ids_order":["1326413566","1326413585","1326413801","1326413891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bbbe78b35d8e19cefe0be6e0e1f8fbb1.jpg","text":"TemporaryFile(/tmp/multipartBody751965851983593917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977212504,"filename":"image_04012025_08_52_02_834075_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a418f46ed5fc41e6e36df843f122c11a.jpg","text":"TemporaryFile(/tmp/multipartBody2753032041154032481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977212504,"filename":"image_04012025_08_52_02_834075_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/df191123845a6fd3392ddc4f9312a68e.jpg","text":"TemporaryFile(/tmp/multipartBody7359188419262246721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977212504,"filename":"image_04012025_08_52_02_834075_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c45a3fc6dcc41fc9018821d7d5c3dee3.jpg","text":"TemporaryFile(/tmp/multipartBody6976514979007052679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977212504,"filename":"image_04012025_08_51_02_317517_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326413801","file1":"1326413585","file0":"1326413566","file3":"1326413891"},"map_files_photo_id_array":[{"photo_id":"1326413801","filename":"file2"},{"photo_id":"1326413585","filename":"file1"},{"photo_id":"1326413566","filename":"file0"},{"photo_id":"1326413891","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326413891":["hashtag1","hashtag2"]},{"1326413585":["hashtag1","hashtag2"]},{"1326413801":["hashtag1","hashtag2"]},{"1326413566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326413891, 1326413585, 1326413801, 1326413566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.75196671485901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:53:03.129765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:53:22.481734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/52/image_04012025_08_52_02_834075_0003.jpg', '/home/pi/Desktop/images/04012025/08/53/image_04012025_08_53_02_380376_0000.jpg', '/home/pi/Desktop/images/04012025/08/53/image_04012025_08_53_02_380376_0001.jpg', '/home/pi/Desktop/images/04012025/08/53/image_04012025_08_53_02_380376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/52/image_04012025_08_52_02_834075_0003.jpg
/home/pi/Desktop/images/04012025/08/53/image_04012025_08_53_02_380376_0000.jpg
/home/pi/Desktop/images/04012025/08/53/image_04012025_08_53_02_380376_0001.jpg
/home/pi/Desktop/images/04012025/08/53/image_04012025_08_53_02_380376_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326414609","1326414539","1326414611","1326414481"],"photo_ids_order":["1326414481","1326414539","1326414609","1326414611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/80e30f8f35134bcae23a8e4373d30a58.jpg","text":"TemporaryFile(/tmp/multipartBody6039294529727048840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977272820,"filename":"image_04012025_08_53_02_380376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9d240fac61d3da169e7d027ed276d22a.jpg","text":"TemporaryFile(/tmp/multipartBody5684343923506150911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977272820,"filename":"image_04012025_08_53_02_380376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f0ab7614245ac2fd875ced1fa3aeed1.jpg","text":"TemporaryFile(/tmp/multipartBody3544078501758157275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977272820,"filename":"image_04012025_08_53_02_380376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8afcfe7d563a16a2192d9f495fec4bef.jpg","text":"TemporaryFile(/tmp/multipartBody3600212834053173160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977272820,"filename":"image_04012025_08_52_02_834075_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326414609","file1":"1326414539","file0":"1326414481","file3":"1326414611"},"map_files_photo_id_array":[{"photo_id":"1326414609","filename":"file2"},{"photo_id":"1326414539","filename":"file1"},{"photo_id":"1326414481","filename":"file0"},{"photo_id":"1326414611","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326414609":["hashtag1","hashtag2"]},{"1326414539":["hashtag1","hashtag2"]},{"1326414611":["hashtag1","hashtag2"]},{"1326414481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326414609, 1326414539, 1326414611, 1326414481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.7837290763855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:54:22.174578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/53/image_04012025_08_53_02_380376_0003.jpg', '/home/pi/Desktop/images/04012025/08/54/image_04012025_08_54_02_899306_0000.jpg', '/home/pi/Desktop/images/04012025/08/54/image_04012025_08_54_02_899306_0001.jpg', '/home/pi/Desktop/images/04012025/08/54/image_04012025_08_54_02_899306_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/53/image_04012025_08_53_02_380376_0003.jpg
/home/pi/Desktop/images/04012025/08/54/image_04012025_08_54_02_899306_0000.jpg
/home/pi/Desktop/images/04012025/08/54/image_04012025_08_54_02_899306_0001.jpg
/home/pi/Desktop/images/04012025/08/54/image_04012025_08_54_02_899306_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326414628","1326414622","1326414631","1326414625"],"photo_ids_order":["1326414622","1326414625","1326414628","1326414631"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49fc8fd84fb861b310a934b60aed0473.jpg","text":"TemporaryFile(/tmp/multipartBody2431092956726192480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977332533,"filename":"image_04012025_08_54_02_899306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/62ec0cb1070f6b9430bab42fcb6f555b.jpg","text":"TemporaryFile(/tmp/multipartBody6838928828768340890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977332533,"filename":"image_04012025_08_53_02_380376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dfc1681627c2c9ce8b0c51f27c0a2bfd.jpg","text":"TemporaryFile(/tmp/multipartBody8043968286458907886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977332533,"filename":"image_04012025_08_54_02_899306_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b269a8822118e3b7b5c3d0aee3f1cd8c.jpg","text":"TemporaryFile(/tmp/multipartBody7851213038834445397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977332533,"filename":"image_04012025_08_54_02_899306_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326414628","file1":"1326414625","file0":"1326414622","file3":"1326414631"},"map_files_photo_id_array":[{"photo_id":"1326414628","filename":"file2"},{"photo_id":"1326414625","filename":"file1"},{"photo_id":"1326414622","filename":"file0"},{"photo_id":"1326414631","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326414628":["hashtag1","hashtag2"]},{"1326414622":["hashtag1","hashtag2"]},{"1326414631":["hashtag1","hashtag2"]},{"1326414625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326414628, 1326414622, 1326414631, 1326414625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.556334257125854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:55:03.195560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 08:55:22.694425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/54/image_04012025_08_54_02_899306_0003.jpg', '/home/pi/Desktop/images/04012025/08/55/image_04012025_08_55_02_531328_0000.jpg', '/home/pi/Desktop/images/04012025/08/55/image_04012025_08_55_02_531328_0001.jpg', '/home/pi/Desktop/images/04012025/08/55/image_04012025_08_55_02_531328_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/54/image_04012025_08_54_02_899306_0003.jpg
/home/pi/Desktop/images/04012025/08/55/image_04012025_08_55_02_531328_0000.jpg
/home/pi/Desktop/images/04012025/08/55/image_04012025_08_55_02_531328_0001.jpg
/home/pi/Desktop/images/04012025/08/55/image_04012025_08_55_02_531328_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.779224395751953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:56:02.694467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/54/image_04012025_08_54_02_899306_0003.jpg', '/home/pi/Desktop/images/04012025/08/55/image_04012025_08_55_02_531328_0000.jpg', '/home/pi/Desktop/images/04012025/08/55/image_04012025_08_55_02_531328_0001.jpg', '/home/pi/Desktop/images/04012025/08/55/image_04012025_08_55_02_531328_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/54/image_04012025_08_54_02_899306_0003.jpg
/home/pi/Desktop/images/04012025/08/55/image_04012025_08_55_02_531328_0000.jpg
/home/pi/Desktop/images/04012025/08/55/image_04012025_08_55_02_531328_0001.jpg
/home/pi/Desktop/images/04012025/08/55/image_04012025_08_55_02_531328_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326415355","1326415340","1326415342","1326415339"],"photo_ids_order":["1326415339","1326415340","1326415342","1326415355"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/14f060f672f92dbd62fafbded5729f8a.jpg","text":"TemporaryFile(/tmp/multipartBody3649306480869370214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977432912,"filename":"image_04012025_08_55_02_531328_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4299e88ba89ea7616184259571567d6a.jpg","text":"TemporaryFile(/tmp/multipartBody3676377622386410214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977432912,"filename":"image_04012025_08_55_02_531328_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cc14ab7fc27324f8cc4132dae13bf03b.jpg","text":"TemporaryFile(/tmp/multipartBody18141273980028682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977432912,"filename":"image_04012025_08_55_02_531328_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/abdf87cd6758275b06ad1e79ca827d16.jpg","text":"TemporaryFile(/tmp/multipartBody4090549474348768594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977432912,"filename":"image_04012025_08_54_02_899306_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326415342","file1":"1326415340","file0":"1326415339","file3":"1326415355"},"map_files_photo_id_array":[{"photo_id":"1326415342","filename":"file2"},{"photo_id":"1326415340","filename":"file1"},{"photo_id":"1326415339","filename":"file0"},{"photo_id":"1326415355","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326415355":["hashtag1","hashtag2"]},{"1326415340":["hashtag1","hashtag2"]},{"1326415342":["hashtag1","hashtag2"]},{"1326415339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326415355, 1326415340, 1326415342, 1326415339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68253827095032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:57:02.353699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/55/image_04012025_08_55_02_531328_0003.jpg', '/home/pi/Desktop/images/04012025/08/56/image_04012025_08_56_03_038619_0000.jpg', '/home/pi/Desktop/images/04012025/08/56/image_04012025_08_56_03_038619_0001.jpg', '/home/pi/Desktop/images/04012025/08/56/image_04012025_08_56_03_038619_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/55/image_04012025_08_55_02_531328_0003.jpg
/home/pi/Desktop/images/04012025/08/56/image_04012025_08_56_03_038619_0000.jpg
/home/pi/Desktop/images/04012025/08/56/image_04012025_08_56_03_038619_0001.jpg
/home/pi/Desktop/images/04012025/08/56/image_04012025_08_56_03_038619_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326415982","1326415936","1326415935","1326415988"],"photo_ids_order":["1326415935","1326415936","1326415982","1326415988"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/31addfaca060870a46808ca1fc1f86c2.jpg","text":"TemporaryFile(/tmp/multipartBody8000857597867179229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977492748,"filename":"image_04012025_08_56_03_038619_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2a4d0b7bfa5b88238f5cbf2b4bbaf654.jpg","text":"TemporaryFile(/tmp/multipartBody2055719335369027244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977492748,"filename":"image_04012025_08_56_03_038619_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aaf81654943197356a544bce16507d46.jpg","text":"TemporaryFile(/tmp/multipartBody6189946957085667293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977492748,"filename":"image_04012025_08_55_02_531328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e938855e04aae14dee1d54b51f0fb173.jpg","text":"TemporaryFile(/tmp/multipartBody4641639466776532740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977492748,"filename":"image_04012025_08_56_03_038619_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326415982","file1":"1326415936","file0":"1326415935","file3":"1326415988"},"map_files_photo_id_array":[{"photo_id":"1326415982","filename":"file2"},{"photo_id":"1326415936","filename":"file1"},{"photo_id":"1326415935","filename":"file0"},{"photo_id":"1326415988","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326415982":["hashtag1","hashtag2"]},{"1326415936":["hashtag1","hashtag2"]},{"1326415935":["hashtag1","hashtag2"]},{"1326415988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326415982, 1326415936, 1326415935, 1326415988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.476104736328125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 08:59:03.003170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/56/image_04012025_08_56_03_038619_0003.jpg', '/home/pi/Desktop/images/04012025/08/57/image_04012025_08_57_02_669714_0000.jpg', '/home/pi/Desktop/images/04012025/08/57/image_04012025_08_57_02_669714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/56/image_04012025_08_56_03_038619_0003.jpg
/home/pi/Desktop/images/04012025/08/57/image_04012025_08_57_02_669714_0000.jpg
/home/pi/Desktop/images/04012025/08/57/image_04012025_08_57_02_669714_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326417282","1326417330","1326417254"],"photo_ids_order":["1326417254","1326417282","1326417330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d9b1d222a90c66db4190a20cbef04de.jpg","text":"TemporaryFile(/tmp/multipartBody5973064550745862335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977611020,"filename":"image_04012025_08_57_02_669714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/71c4f8a77ed62477f5ebfd11b10f4cf9.jpg","text":"TemporaryFile(/tmp/multipartBody123061447249601716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977611020,"filename":"image_04012025_08_57_02_669714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ccc8a7cf2a7c990387b5954eb6d30d92.jpg","text":"TemporaryFile(/tmp/multipartBody4449483309847689781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977611020,"filename":"image_04012025_08_56_03_038619_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326417330","file1":"1326417282","file0":"1326417254"},"map_files_photo_id_array":[{"photo_id":"1326417330","filename":"file2"},{"photo_id":"1326417282","filename":"file1"},{"photo_id":"1326417254","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326417282":["hashtag1","hashtag2"]},{"1326417330":["hashtag1","hashtag2"]},{"1326417254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326417282, 1326417330, 1326417254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.952742099761963 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:00:02.516679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/57/image_04012025_08_57_02_669714_0003.jpg', '/home/pi/Desktop/images/04012025/08/58/image_04012025_08_58_02_171612_0000.jpg', '/home/pi/Desktop/images/04012025/08/58/image_04012025_08_58_02_171612_0001.jpg', '/home/pi/Desktop/images/04012025/08/58/image_04012025_08_58_02_171612_0002.jpg', '/home/pi/Desktop/images/04012025/08/58/image_04012025_08_58_02_171612_0003.jpg', '/home/pi/Desktop/images/04012025/08/59/image_04012025_08_59_02_697820_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/57/image_04012025_08_57_02_669714_0003.jpg
/home/pi/Desktop/images/04012025/08/58/image_04012025_08_58_02_171612_0000.jpg
/home/pi/Desktop/images/04012025/08/58/image_04012025_08_58_02_171612_0001.jpg
/home/pi/Desktop/images/04012025/08/58/image_04012025_08_58_02_171612_0002.jpg
/home/pi/Desktop/images/04012025/08/58/image_04012025_08_58_02_171612_0003.jpg
/home/pi/Desktop/images/04012025/08/59/image_04012025_08_59_02_697820_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326417393","1326417825","1326417398","1326417386","1326417518","1326417379"],"photo_ids_order":["1326417379","1326417386","1326417393","1326417398","1326417518","1326417825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bb75f85e53f5c47ce4663b834605b49f.jpg","text":"TemporaryFile(/tmp/multipartBody8895452133787104703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977677772,"filename":"image_04012025_08_58_02_171612_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a602e1e35320e3df8bbe23eb16c61162.jpg","text":"TemporaryFile(/tmp/multipartBody3798090268966022404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977677772,"filename":"image_04012025_08_59_02_697820_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d64dcaddb09a23ec2c7384b5315c3ca7.jpg","text":"TemporaryFile(/tmp/multipartBody7867590291211406288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977677772,"filename":"image_04012025_08_58_02_171612_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3855a05f5ad4657f1af91da90ac67890.jpg","text":"TemporaryFile(/tmp/multipartBody3297482070076603813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977677772,"filename":"image_04012025_08_58_02_171612_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/115ff046e6caee2bf9fe74300878feca.jpg","text":"TemporaryFile(/tmp/multipartBody1060449435006795248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977677772,"filename":"image_04012025_08_58_02_171612_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7fcb089e19f1a87eed8ff0db95a4af8f.jpg","text":"TemporaryFile(/tmp/multipartBody1548747921948305970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977677772,"filename":"image_04012025_08_57_02_669714_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326417393","file1":"1326417386","file0":"1326417379","file4":"1326417518","file5":"1326417825","file3":"1326417398"},"map_files_photo_id_array":[{"photo_id":"1326417825","filename":"file5"},{"photo_id":"1326417393","filename":"file2"},{"photo_id":"1326417518","filename":"file4"},{"photo_id":"1326417386","filename":"file1"},{"photo_id":"1326417379","filename":"file0"},{"photo_id":"1326417398","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326417393":["hashtag1","hashtag2"]},{"1326417825":["hashtag1","hashtag2"]},{"1326417398":["hashtag1","hashtag2"]},{"1326417386":["hashtag1","hashtag2"]},{"1326417518":["hashtag1","hashtag2"]},{"1326417379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326417393, 1326417825, 1326417398, 1326417386, 1326417518, 1326417379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.22584652900696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:01:03.229043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/59/image_04012025_08_59_02_697820_0001.jpg', '/home/pi/Desktop/images/04012025/08/59/image_04012025_08_59_02_697820_0002.jpg', '/home/pi/Desktop/images/04012025/08/59/image_04012025_08_59_02_697820_0003.jpg', '/home/pi/Desktop/images/04012025/09/00/image_04012025_09_00_02_875749_0001.jpg', '/home/pi/Desktop/images/04012025/09/00/image_04012025_09_00_02_875749_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/59/image_04012025_08_59_02_697820_0001.jpg
/home/pi/Desktop/images/04012025/08/59/image_04012025_08_59_02_697820_0002.jpg
/home/pi/Desktop/images/04012025/08/59/image_04012025_08_59_02_697820_0003.jpg
/home/pi/Desktop/images/04012025/09/00/image_04012025_09_00_02_875749_0001.jpg
/home/pi/Desktop/images/04012025/09/00/image_04012025_09_00_02_875749_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 12.366512060165405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:01:22.682459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/08/59/image_04012025_08_59_02_697820_0001.jpg', '/home/pi/Desktop/images/04012025/08/59/image_04012025_08_59_02_697820_0002.jpg', '/home/pi/Desktop/images/04012025/08/59/image_04012025_08_59_02_697820_0003.jpg', '/home/pi/Desktop/images/04012025/09/00/image_04012025_09_00_02_875749_0001.jpg', '/home/pi/Desktop/images/04012025/09/00/image_04012025_09_00_02_875749_0002.jpg', '/home/pi/Desktop/images/04012025/09/00/image_04012025_09_00_02_875749_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/08/59/image_04012025_08_59_02_697820_0001.jpg
/home/pi/Desktop/images/04012025/08/59/image_04012025_08_59_02_697820_0002.jpg
/home/pi/Desktop/images/04012025/08/59/image_04012025_08_59_02_697820_0003.jpg
/home/pi/Desktop/images/04012025/09/00/image_04012025_09_00_02_875749_0001.jpg
/home/pi/Desktop/images/04012025/09/00/image_04012025_09_00_02_875749_0002.jpg
/home/pi/Desktop/images/04012025/09/00/image_04012025_09_00_02_875749_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326418472","1326418466","1326418394","1326418469","1326418409","1326418447"],"photo_ids_order":["1326418394","1326418409","1326418447","1326418466","1326418469","1326418472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fbaceac4371dfe3f61ec2b963a3a37a1.jpg","text":"TemporaryFile(/tmp/multipartBody2790497977347109416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977757797,"filename":"image_04012025_09_00_02_875749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/011cc29df6f04ae314735c7ff7cc5c18.jpg","text":"TemporaryFile(/tmp/multipartBody2022654855126714920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977757797,"filename":"image_04012025_09_00_02_875749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7757398b78dd94011cda2f813fda2f45.jpg","text":"TemporaryFile(/tmp/multipartBody8796651410486482874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977757797,"filename":"image_04012025_08_59_02_697820_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2b04dc1b9f7db6827b3f51ece53c6f22.jpg","text":"TemporaryFile(/tmp/multipartBody8359397870823604677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977757797,"filename":"image_04012025_09_00_02_875749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce1bb762d43feab755d1850f8b36062f.jpg","text":"TemporaryFile(/tmp/multipartBody4301325287641440468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977757797,"filename":"image_04012025_08_59_02_697820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e117d07c37adc8a0d3e98c3947334095.jpg","text":"TemporaryFile(/tmp/multipartBody461569552240295610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977757797,"filename":"image_04012025_08_59_02_697820_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326418447","file1":"1326418409","file0":"1326418394","file4":"1326418469","file5":"1326418472","file3":"1326418466"},"map_files_photo_id_array":[{"photo_id":"1326418472","filename":"file5"},{"photo_id":"1326418447","filename":"file2"},{"photo_id":"1326418469","filename":"file4"},{"photo_id":"1326418409","filename":"file1"},{"photo_id":"1326418394","filename":"file0"},{"photo_id":"1326418466","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326418472":["hashtag1","hashtag2"]},{"1326418466":["hashtag1","hashtag2"]},{"1326418394":["hashtag1","hashtag2"]},{"1326418469":["hashtag1","hashtag2"]},{"1326418409":["hashtag1","hashtag2"]},{"1326418447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326418472, 1326418466, 1326418394, 1326418469, 1326418409, 1326418447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.44879913330078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:02:22.173939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/01/image_04012025_09_01_02_520787_0000.jpg', '/home/pi/Desktop/images/04012025/09/01/image_04012025_09_01_02_520787_0001.jpg', '/home/pi/Desktop/images/04012025/09/01/image_04012025_09_01_02_520787_0002.jpg', '/home/pi/Desktop/images/04012025/09/01/image_04012025_09_01_02_520787_0003.jpg', '/home/pi/Desktop/images/04012025/09/02/image_04012025_09_02_03_002335_0001.jpg', '/home/pi/Desktop/images/04012025/09/02/image_04012025_09_02_03_002335_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/01/image_04012025_09_01_02_520787_0000.jpg
/home/pi/Desktop/images/04012025/09/01/image_04012025_09_01_02_520787_0001.jpg
/home/pi/Desktop/images/04012025/09/01/image_04012025_09_01_02_520787_0002.jpg
/home/pi/Desktop/images/04012025/09/01/image_04012025_09_01_02_520787_0003.jpg
/home/pi/Desktop/images/04012025/09/02/image_04012025_09_02_03_002335_0001.jpg
/home/pi/Desktop/images/04012025/09/02/image_04012025_09_02_03_002335_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326418807","1326418702","1326418800","1326418803","1326418796","1326418765"],"photo_ids_order":["1326418702","1326418765","1326418796","1326418800","1326418803","1326418807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d06fa476ca43351a86d9a670138dc91.jpg","text":"TemporaryFile(/tmp/multipartBody7259441444961113338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977817334,"filename":"image_04012025_09_02_03_002335_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f165c1866db109463067c4d9b0b28b83.jpg","text":"TemporaryFile(/tmp/multipartBody7530774236204072201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977817334,"filename":"image_04012025_09_01_02_520787_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d3859091725fb6d10fc5c8d1aab40fa.jpg","text":"TemporaryFile(/tmp/multipartBody9058592476543425054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977817334,"filename":"image_04012025_09_01_02_520787_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/74739c94593f4fd22c837c0eb601b13e.jpg","text":"TemporaryFile(/tmp/multipartBody6734838631273928550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977817334,"filename":"image_04012025_09_02_03_002335_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3f81b4ffe562621cbf146f7c6dabde23.jpg","text":"TemporaryFile(/tmp/multipartBody5146696068491659567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977817334,"filename":"image_04012025_09_01_02_520787_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ed17aa2c1f5d71d4972d80be7040313.jpg","text":"TemporaryFile(/tmp/multipartBody8098203612588727119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977817334,"filename":"image_04012025_09_01_02_520787_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326418796","file1":"1326418765","file0":"1326418702","file4":"1326418803","file5":"1326418807","file3":"1326418800"},"map_files_photo_id_array":[{"photo_id":"1326418807","filename":"file5"},{"photo_id":"1326418796","filename":"file2"},{"photo_id":"1326418803","filename":"file4"},{"photo_id":"1326418765","filename":"file1"},{"photo_id":"1326418702","filename":"file0"},{"photo_id":"1326418800","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326418807":["hashtag1","hashtag2"]},{"1326418702":["hashtag1","hashtag2"]},{"1326418800":["hashtag1","hashtag2"]},{"1326418803":["hashtag1","hashtag2"]},{"1326418796":["hashtag1","hashtag2"]},{"1326418765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326418807, 1326418702, 1326418800, 1326418803, 1326418796, 1326418765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.082306146621704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:03:22.684991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/02/image_04012025_09_02_03_002335_0003.jpg', '/home/pi/Desktop/images/04012025/09/03/image_04012025_09_03_02_536722_0000.jpg', '/home/pi/Desktop/images/04012025/09/03/image_04012025_09_03_02_536722_0001.jpg', '/home/pi/Desktop/images/04012025/09/03/image_04012025_09_03_02_536722_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/02/image_04012025_09_02_03_002335_0003.jpg
/home/pi/Desktop/images/04012025/09/03/image_04012025_09_03_02_536722_0000.jpg
/home/pi/Desktop/images/04012025/09/03/image_04012025_09_03_02_536722_0001.jpg
/home/pi/Desktop/images/04012025/09/03/image_04012025_09_03_02_536722_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326418929","1326418938","1326418943","1326418933"],"photo_ids_order":["1326418929","1326418933","1326418938","1326418943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/90c7523e532410ec67ab725762255f10.jpg","text":"TemporaryFile(/tmp/multipartBody690006162735667989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977872991,"filename":"image_04012025_09_02_03_002335_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7bd3a7e0a30c85c8796f55ecb3b1e52b.jpg","text":"TemporaryFile(/tmp/multipartBody6194560939666594176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977872991,"filename":"image_04012025_09_03_02_536722_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/00aaaa0a33137e4355d4620eefa3bec7.jpg","text":"TemporaryFile(/tmp/multipartBody7717765515494620216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977872991,"filename":"image_04012025_09_03_02_536722_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a919e7dc701cb67a484695240ce19aad.jpg","text":"TemporaryFile(/tmp/multipartBody3638316917879942789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977872991,"filename":"image_04012025_09_03_02_536722_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326418938","file1":"1326418933","file0":"1326418929","file3":"1326418943"},"map_files_photo_id_array":[{"photo_id":"1326418938","filename":"file2"},{"photo_id":"1326418933","filename":"file1"},{"photo_id":"1326418929","filename":"file0"},{"photo_id":"1326418943","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326418929":["hashtag1","hashtag2"]},{"1326418938":["hashtag1","hashtag2"]},{"1326418943":["hashtag1","hashtag2"]},{"1326418933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326418929, 1326418938, 1326418943, 1326418933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.983200788497925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:04:02.499377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:04:22.125777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/03/image_04012025_09_03_02_536722_0003.jpg', '/home/pi/Desktop/images/04012025/09/04/image_04012025_09_04_03_021249_0000.jpg', '/home/pi/Desktop/images/04012025/09/04/image_04012025_09_04_03_021249_0001.jpg', '/home/pi/Desktop/images/04012025/09/04/image_04012025_09_04_03_021249_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/03/image_04012025_09_03_02_536722_0003.jpg
/home/pi/Desktop/images/04012025/09/04/image_04012025_09_04_03_021249_0000.jpg
/home/pi/Desktop/images/04012025/09/04/image_04012025_09_04_03_021249_0001.jpg
/home/pi/Desktop/images/04012025/09/04/image_04012025_09_04_03_021249_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326419336","1326419339","1326419668","1326419413"],"photo_ids_order":["1326419336","1326419339","1326419413","1326419668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9454d96162903227c44601cc1e1e15c4.jpg","text":"TemporaryFile(/tmp/multipartBody1656728133565704620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977932468,"filename":"image_04012025_09_03_02_536722_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/57c8e18979d605b15ba26b483627c5e5.jpg","text":"TemporaryFile(/tmp/multipartBody1288939369545243376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977932468,"filename":"image_04012025_09_04_03_021249_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2a6a5d2aa4f089815da9f20b53140677.jpg","text":"TemporaryFile(/tmp/multipartBody2817713207907335640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977932468,"filename":"image_04012025_09_04_03_021249_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d1fc70a640702dd77c73e61dcc5d1e06.jpg","text":"TemporaryFile(/tmp/multipartBody4780359991995825504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977932468,"filename":"image_04012025_09_04_03_021249_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326419413","file1":"1326419339","file0":"1326419336","file3":"1326419668"},"map_files_photo_id_array":[{"photo_id":"1326419413","filename":"file2"},{"photo_id":"1326419339","filename":"file1"},{"photo_id":"1326419336","filename":"file0"},{"photo_id":"1326419668","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326419336":["hashtag1","hashtag2"]},{"1326419339":["hashtag1","hashtag2"]},{"1326419668":["hashtag1","hashtag2"]},{"1326419413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326419336, 1326419339, 1326419668, 1326419413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.11664056777954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:05:22.746896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/04/image_04012025_09_04_03_021249_0003.jpg', '/home/pi/Desktop/images/04012025/09/05/image_04012025_09_05_02_566616_0000.jpg', '/home/pi/Desktop/images/04012025/09/05/image_04012025_09_05_02_566616_0001.jpg', '/home/pi/Desktop/images/04012025/09/05/image_04012025_09_05_02_566616_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/04/image_04012025_09_04_03_021249_0003.jpg
/home/pi/Desktop/images/04012025/09/05/image_04012025_09_05_02_566616_0000.jpg
/home/pi/Desktop/images/04012025/09/05/image_04012025_09_05_02_566616_0001.jpg
/home/pi/Desktop/images/04012025/09/05/image_04012025_09_05_02_566616_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326420180","1326420210","1326420207","1326419963"],"photo_ids_order":["1326419963","1326420180","1326420207","1326420210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bffddefe97642769ccac53a125e76cba.jpg","text":"TemporaryFile(/tmp/multipartBody6359787315744430662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977993150,"filename":"image_04012025_09_05_02_566616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d589c24a5c87563f2f83176a878d7b53.jpg","text":"TemporaryFile(/tmp/multipartBody7958687416764806534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977993150,"filename":"image_04012025_09_05_02_566616_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c6fd6770bf6c5cfcc3f66a1b45ee9103.jpg","text":"TemporaryFile(/tmp/multipartBody5484857702723450630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977993150,"filename":"image_04012025_09_05_02_566616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8bd475e36f3a779ccf1efa1751d04f00.jpg","text":"TemporaryFile(/tmp/multipartBody5045468031043576318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735977993150,"filename":"image_04012025_09_04_03_021249_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326420207","file1":"1326420180","file0":"1326419963","file3":"1326420210"},"map_files_photo_id_array":[{"photo_id":"1326420207","filename":"file2"},{"photo_id":"1326420180","filename":"file1"},{"photo_id":"1326419963","filename":"file0"},{"photo_id":"1326420210","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326420180":["hashtag1","hashtag2"]},{"1326420210":["hashtag1","hashtag2"]},{"1326420207":["hashtag1","hashtag2"]},{"1326419963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326420180, 1326420210, 1326420207, 1326419963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.311898708343506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:06:22.269827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/05/image_04012025_09_05_02_566616_0003.jpg', '/home/pi/Desktop/images/04012025/09/06/image_04012025_09_06_03_144510_0000.jpg', '/home/pi/Desktop/images/04012025/09/06/image_04012025_09_06_03_144510_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/05/image_04012025_09_05_02_566616_0003.jpg
/home/pi/Desktop/images/04012025/09/06/image_04012025_09_06_03_144510_0000.jpg
/home/pi/Desktop/images/04012025/09/06/image_04012025_09_06_03_144510_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.516600847244263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:07:02.294231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/05/image_04012025_09_05_02_566616_0003.jpg', '/home/pi/Desktop/images/04012025/09/06/image_04012025_09_06_03_144510_0000.jpg', '/home/pi/Desktop/images/04012025/09/06/image_04012025_09_06_03_144510_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/05/image_04012025_09_05_02_566616_0003.jpg
/home/pi/Desktop/images/04012025/09/06/image_04012025_09_06_03_144510_0000.jpg
/home/pi/Desktop/images/04012025/09/06/image_04012025_09_06_03_144510_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326421154","1326421087","1326421189"],"photo_ids_order":["1326421087","1326421154","1326421189"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/61389bd7f94f7ddf097b6566e1897230.jpg","text":"TemporaryFile(/tmp/multipartBody1501313268273241815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978090576,"filename":"image_04012025_09_06_03_144510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d27f571ef21a414d6c80916febf16b1b.jpg","text":"TemporaryFile(/tmp/multipartBody8879132470344974258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978090576,"filename":"image_04012025_09_05_02_566616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6fb528141ca8156bdbb16a8bc201ba5a.jpg","text":"TemporaryFile(/tmp/multipartBody7669824846550399852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978090576,"filename":"image_04012025_09_06_03_144510_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326421189","file1":"1326421154","file0":"1326421087"},"map_files_photo_id_array":[{"photo_id":"1326421189","filename":"file2"},{"photo_id":"1326421154","filename":"file1"},{"photo_id":"1326421087","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326421154":["hashtag1","hashtag2"]},{"1326421087":["hashtag1","hashtag2"]},{"1326421189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326421154, 1326421087, 1326421189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.499080419540405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:08:02.960963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/06/image_04012025_09_06_03_144510_0003.jpg', '/home/pi/Desktop/images/04012025/09/07/image_04012025_09_07_02_712207_0000.jpg', '/home/pi/Desktop/images/04012025/09/07/image_04012025_09_07_02_712207_0001.jpg', '/home/pi/Desktop/images/04012025/09/07/image_04012025_09_07_02_712207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/06/image_04012025_09_06_03_144510_0003.jpg
/home/pi/Desktop/images/04012025/09/07/image_04012025_09_07_02_712207_0000.jpg
/home/pi/Desktop/images/04012025/09/07/image_04012025_09_07_02_712207_0001.jpg
/home/pi/Desktop/images/04012025/09/07/image_04012025_09_07_02_712207_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326421452","1326421460","1326421450","1326421456"],"photo_ids_order":["1326421450","1326421452","1326421456","1326421460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/545724f9c6d879b03483098fa3aced3b.jpg","text":"TemporaryFile(/tmp/multipartBody7294419319464741581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978153297,"filename":"image_04012025_09_07_02_712207_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8af7560f3eadcb7326ab1afc20236681.jpg","text":"TemporaryFile(/tmp/multipartBody7288553780000088648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978153297,"filename":"image_04012025_09_07_02_712207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6111d48515e716cfd7f08fdabcd0eec1.jpg","text":"TemporaryFile(/tmp/multipartBody828021510651355175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978153297,"filename":"image_04012025_09_06_03_144510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba88e3cfc67e6977974af3ad978d3379.jpg","text":"TemporaryFile(/tmp/multipartBody8109892653489809305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978153297,"filename":"image_04012025_09_07_02_712207_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326421456","file1":"1326421452","file0":"1326421450","file3":"1326421460"},"map_files_photo_id_array":[{"photo_id":"1326421456","filename":"file2"},{"photo_id":"1326421452","filename":"file1"},{"photo_id":"1326421450","filename":"file0"},{"photo_id":"1326421460","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326421452":["hashtag1","hashtag2"]},{"1326421460":["hashtag1","hashtag2"]},{"1326421450":["hashtag1","hashtag2"]},{"1326421456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326421452, 1326421460, 1326421450, 1326421456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.29537582397461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:09:02.459929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/07/image_04012025_09_07_02_712207_0003.jpg', '/home/pi/Desktop/images/04012025/09/08/image_04012025_09_08_02_200874_0000.jpg', '/home/pi/Desktop/images/04012025/09/08/image_04012025_09_08_02_200874_0001.jpg', '/home/pi/Desktop/images/04012025/09/08/image_04012025_09_08_02_200874_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/07/image_04012025_09_07_02_712207_0003.jpg
/home/pi/Desktop/images/04012025/09/08/image_04012025_09_08_02_200874_0000.jpg
/home/pi/Desktop/images/04012025/09/08/image_04012025_09_08_02_200874_0001.jpg
/home/pi/Desktop/images/04012025/09/08/image_04012025_09_08_02_200874_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.9824960231781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:09:22.043162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/07/image_04012025_09_07_02_712207_0003.jpg', '/home/pi/Desktop/images/04012025/09/08/image_04012025_09_08_02_200874_0000.jpg', '/home/pi/Desktop/images/04012025/09/08/image_04012025_09_08_02_200874_0001.jpg', '/home/pi/Desktop/images/04012025/09/08/image_04012025_09_08_02_200874_0002.jpg', '/home/pi/Desktop/images/04012025/09/08/image_04012025_09_08_02_200874_0003.jpg', '/home/pi/Desktop/images/04012025/09/09/image_04012025_09_09_02_878548_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/07/image_04012025_09_07_02_712207_0003.jpg
/home/pi/Desktop/images/04012025/09/08/image_04012025_09_08_02_200874_0000.jpg
/home/pi/Desktop/images/04012025/09/08/image_04012025_09_08_02_200874_0001.jpg
/home/pi/Desktop/images/04012025/09/08/image_04012025_09_08_02_200874_0002.jpg
/home/pi/Desktop/images/04012025/09/08/image_04012025_09_08_02_200874_0003.jpg
/home/pi/Desktop/images/04012025/09/09/image_04012025_09_09_02_878548_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326421833","1326421821","1326421829","1326421817","1326421825","1326421828"],"photo_ids_order":["1326421817","1326421821","1326421825","1326421828","1326421829","1326421833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6622670b0f8e24cb77bf90d840082ef8.jpg","text":"TemporaryFile(/tmp/multipartBody179975930224709910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978237165,"filename":"image_04012025_09_09_02_878548_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9c440c31ff1b485aa582293ebd255c8f.jpg","text":"TemporaryFile(/tmp/multipartBody6319463352845243436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978237165,"filename":"image_04012025_09_08_02_200874_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4bdf4638ab2420d932713c15df6a1854.jpg","text":"TemporaryFile(/tmp/multipartBody6698978987741622631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978237165,"filename":"image_04012025_09_08_02_200874_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e8d4bb8e63ffa35da9c1149efba00293.jpg","text":"TemporaryFile(/tmp/multipartBody490924435110590466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978237165,"filename":"image_04012025_09_07_02_712207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c834719ea5f10193f7fc1cadebbe38b0.jpg","text":"TemporaryFile(/tmp/multipartBody3184256540137478050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978237165,"filename":"image_04012025_09_08_02_200874_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0cc64309f6c773985a6710cca2fbff29.jpg","text":"TemporaryFile(/tmp/multipartBody4706644682919550169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978237165,"filename":"image_04012025_09_08_02_200874_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326421825","file1":"1326421821","file0":"1326421817","file4":"1326421829","file5":"1326421833","file3":"1326421828"},"map_files_photo_id_array":[{"photo_id":"1326421833","filename":"file5"},{"photo_id":"1326421825","filename":"file2"},{"photo_id":"1326421829","filename":"file4"},{"photo_id":"1326421821","filename":"file1"},{"photo_id":"1326421817","filename":"file0"},{"photo_id":"1326421828","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326421833":["hashtag1","hashtag2"]},{"1326421821":["hashtag1","hashtag2"]},{"1326421829":["hashtag1","hashtag2"]},{"1326421817":["hashtag1","hashtag2"]},{"1326421825":["hashtag1","hashtag2"]},{"1326421828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326421833, 1326421821, 1326421829, 1326421817, 1326421825, 1326421828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.45070552825928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:10:22.601927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/09/image_04012025_09_09_02_878548_0001.jpg', '/home/pi/Desktop/images/04012025/09/09/image_04012025_09_09_02_878548_0002.jpg', '/home/pi/Desktop/images/04012025/09/09/image_04012025_09_09_02_878548_0003.jpg', '/home/pi/Desktop/images/04012025/09/10/image_04012025_09_10_02_441087_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/09/image_04012025_09_09_02_878548_0001.jpg
/home/pi/Desktop/images/04012025/09/09/image_04012025_09_09_02_878548_0002.jpg
/home/pi/Desktop/images/04012025/09/09/image_04012025_09_09_02_878548_0003.jpg
/home/pi/Desktop/images/04012025/09/10/image_04012025_09_10_02_441087_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.947266340255737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:11:02.684448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/09/image_04012025_09_09_02_878548_0001.jpg', '/home/pi/Desktop/images/04012025/09/09/image_04012025_09_09_02_878548_0002.jpg', '/home/pi/Desktop/images/04012025/09/09/image_04012025_09_09_02_878548_0003.jpg', '/home/pi/Desktop/images/04012025/09/10/image_04012025_09_10_02_441087_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/09/image_04012025_09_09_02_878548_0001.jpg
/home/pi/Desktop/images/04012025/09/09/image_04012025_09_09_02_878548_0002.jpg
/home/pi/Desktop/images/04012025/09/09/image_04012025_09_09_02_878548_0003.jpg
/home/pi/Desktop/images/04012025/09/10/image_04012025_09_10_02_441087_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326422429","1326422357","1326422437","1326422355"],"photo_ids_order":["1326422355","1326422357","1326422429","1326422437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d8be903d43376f8cac1cf69af117581b.jpg","text":"TemporaryFile(/tmp/multipartBody6345883687046820697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978333097,"filename":"image_04012025_09_09_02_878548_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fa18d27c5d872e9eaef2f21768bc3bde.jpg","text":"TemporaryFile(/tmp/multipartBody4428911918403426308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978333097,"filename":"image_04012025_09_09_02_878548_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3c13400f3e10dcd4f1f992a756514580.jpg","text":"TemporaryFile(/tmp/multipartBody947144808287867334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978333097,"filename":"image_04012025_09_10_02_441087_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c913bd3ddf657d3893ff7d7dac4c0d44.jpg","text":"TemporaryFile(/tmp/multipartBody5053856774920714502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978333097,"filename":"image_04012025_09_09_02_878548_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326422429","file1":"1326422357","file0":"1326422355","file3":"1326422437"},"map_files_photo_id_array":[{"photo_id":"1326422429","filename":"file2"},{"photo_id":"1326422357","filename":"file1"},{"photo_id":"1326422355","filename":"file0"},{"photo_id":"1326422437","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326422429":["hashtag1","hashtag2"]},{"1326422357":["hashtag1","hashtag2"]},{"1326422437":["hashtag1","hashtag2"]},{"1326422355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326422429, 1326422357, 1326422437, 1326422355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13550138473511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:12:02.341850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/10/image_04012025_09_10_02_441087_0003.jpg', '/home/pi/Desktop/images/04012025/09/11/image_04012025_09_11_03_030739_0000.jpg', '/home/pi/Desktop/images/04012025/09/11/image_04012025_09_11_03_030739_0001.jpg', '/home/pi/Desktop/images/04012025/09/11/image_04012025_09_11_03_030739_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/10/image_04012025_09_10_02_441087_0003.jpg
/home/pi/Desktop/images/04012025/09/11/image_04012025_09_11_03_030739_0000.jpg
/home/pi/Desktop/images/04012025/09/11/image_04012025_09_11_03_030739_0001.jpg
/home/pi/Desktop/images/04012025/09/11/image_04012025_09_11_03_030739_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326423050","1326422833","1326423141","1326423138"],"photo_ids_order":["1326422833","1326423050","1326423138","1326423141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1dc7783a7068186cedfb7f651764d4c2.jpg","text":"TemporaryFile(/tmp/multipartBody9088455292905652919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978392710,"filename":"image_04012025_09_11_03_030739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d6fcbd850c3e1fee3506b7c00a21fcf1.jpg","text":"TemporaryFile(/tmp/multipartBody8560609359927790792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978392710,"filename":"image_04012025_09_10_02_441087_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b4752c1a822f3bc9ac88d8d8eadcd0e.jpg","text":"TemporaryFile(/tmp/multipartBody2352144461379355732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978392710,"filename":"image_04012025_09_11_03_030739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2eed33887a07df97eb44176feffd6b9d.jpg","text":"TemporaryFile(/tmp/multipartBody4755931883369808479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978392710,"filename":"image_04012025_09_11_03_030739_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326423138","file1":"1326423050","file0":"1326422833","file3":"1326423141"},"map_files_photo_id_array":[{"photo_id":"1326423138","filename":"file2"},{"photo_id":"1326423050","filename":"file1"},{"photo_id":"1326422833","filename":"file0"},{"photo_id":"1326423141","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326423050":["hashtag1","hashtag2"]},{"1326422833":["hashtag1","hashtag2"]},{"1326423141":["hashtag1","hashtag2"]},{"1326423138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326423050, 1326422833, 1326423141, 1326423138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.853265047073364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:13:02.960021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/11/image_04012025_09_11_03_030739_0003.jpg', '/home/pi/Desktop/images/04012025/09/12/image_04012025_09_12_02_537297_0000.jpg', '/home/pi/Desktop/images/04012025/09/12/image_04012025_09_12_02_537297_0001.jpg', '/home/pi/Desktop/images/04012025/09/12/image_04012025_09_12_02_537297_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/11/image_04012025_09_11_03_030739_0003.jpg
/home/pi/Desktop/images/04012025/09/12/image_04012025_09_12_02_537297_0000.jpg
/home/pi/Desktop/images/04012025/09/12/image_04012025_09_12_02_537297_0001.jpg
/home/pi/Desktop/images/04012025/09/12/image_04012025_09_12_02_537297_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326423356","1326423371","1326423359","1326423354"],"photo_ids_order":["1326423354","1326423356","1326423359","1326423371"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c1bb1049ee025583d57e87ea3dbb4ba7.jpg","text":"TemporaryFile(/tmp/multipartBody6530228937127661325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978453303,"filename":"image_04012025_09_12_02_537297_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db927aad16bdb9311d2e1b838c4b2975.jpg","text":"TemporaryFile(/tmp/multipartBody6126492017705760231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978453303,"filename":"image_04012025_09_12_02_537297_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0b4173cd1dba6d45fcb2073b891fb714.jpg","text":"TemporaryFile(/tmp/multipartBody446403221911912360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978453303,"filename":"image_04012025_09_12_02_537297_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/896a66590c52cc7406b34f1e56870f6a.jpg","text":"TemporaryFile(/tmp/multipartBody3616994355911174577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978453303,"filename":"image_04012025_09_11_03_030739_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326423359","file1":"1326423356","file0":"1326423354","file3":"1326423371"},"map_files_photo_id_array":[{"photo_id":"1326423359","filename":"file2"},{"photo_id":"1326423356","filename":"file1"},{"photo_id":"1326423354","filename":"file0"},{"photo_id":"1326423371","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326423356":["hashtag1","hashtag2"]},{"1326423371":["hashtag1","hashtag2"]},{"1326423359":["hashtag1","hashtag2"]},{"1326423354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326423356, 1326423371, 1326423359, 1326423354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.1703200340271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:14:02.443594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/12/image_04012025_09_12_02_537297_0003.jpg', '/home/pi/Desktop/images/04012025/09/13/image_04012025_09_13_02_181836_0000.jpg', '/home/pi/Desktop/images/04012025/09/13/image_04012025_09_13_02_181836_0001.jpg', '/home/pi/Desktop/images/04012025/09/13/image_04012025_09_13_02_181836_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/12/image_04012025_09_12_02_537297_0003.jpg
/home/pi/Desktop/images/04012025/09/13/image_04012025_09_13_02_181836_0000.jpg
/home/pi/Desktop/images/04012025/09/13/image_04012025_09_13_02_181836_0001.jpg
/home/pi/Desktop/images/04012025/09/13/image_04012025_09_13_02_181836_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326423833","1326423830","1326423825","1326423732"],"photo_ids_order":["1326423732","1326423825","1326423830","1326423833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5cde6b25b9f29fe6de859be5d7c611ab.jpg","text":"TemporaryFile(/tmp/multipartBody4395767039374243385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978512790,"filename":"image_04012025_09_13_02_181836_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/18ccc4b013eb751317bb2a2a0bec9d1f.jpg","text":"TemporaryFile(/tmp/multipartBody4884935642263854758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978512790,"filename":"image_04012025_09_13_02_181836_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a85eccbcbf7b57927075f4ab0c5aee06.jpg","text":"TemporaryFile(/tmp/multipartBody169627635405911512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978512790,"filename":"image_04012025_09_13_02_181836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1bf929f060ddbd023110f2c67dc92a20.jpg","text":"TemporaryFile(/tmp/multipartBody6073065197228057783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978512790,"filename":"image_04012025_09_12_02_537297_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326423830","file1":"1326423825","file0":"1326423732","file3":"1326423833"},"map_files_photo_id_array":[{"photo_id":"1326423830","filename":"file2"},{"photo_id":"1326423825","filename":"file1"},{"photo_id":"1326423732","filename":"file0"},{"photo_id":"1326423833","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326423833":["hashtag1","hashtag2"]},{"1326423830":["hashtag1","hashtag2"]},{"1326423825":["hashtag1","hashtag2"]},{"1326423732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326423833, 1326423830, 1326423825, 1326423732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.913057804107666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:15:03.120469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/13/image_04012025_09_13_02_181836_0003.jpg', '/home/pi/Desktop/images/04012025/09/14/image_04012025_09_14_02_758578_0001.jpg', '/home/pi/Desktop/images/04012025/09/14/image_04012025_09_14_02_758578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/13/image_04012025_09_13_02_181836_0003.jpg
/home/pi/Desktop/images/04012025/09/14/image_04012025_09_14_02_758578_0001.jpg
/home/pi/Desktop/images/04012025/09/14/image_04012025_09_14_02_758578_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326424226","1326424333","1326424609"],"photo_ids_order":["1326424226","1326424333","1326424609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f43ba68c2a815c80e8aa4816858115a.jpg","text":"TemporaryFile(/tmp/multipartBody4467089376107304823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978571077,"filename":"image_04012025_09_13_02_181836_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b0008967ff6d79336d713e792981ec08.jpg","text":"TemporaryFile(/tmp/multipartBody1893829245432359162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978571077,"filename":"image_04012025_09_14_02_758578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f891788ee612c4596ae4344c9f335b40.jpg","text":"TemporaryFile(/tmp/multipartBody953950725662164406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978571077,"filename":"image_04012025_09_14_02_758578_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326424609","file1":"1326424333","file0":"1326424226"},"map_files_photo_id_array":[{"photo_id":"1326424609","filename":"file2"},{"photo_id":"1326424333","filename":"file1"},{"photo_id":"1326424226","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326424226":["hashtag1","hashtag2"]},{"1326424333":["hashtag1","hashtag2"]},{"1326424609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326424226, 1326424333, 1326424609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.709762573242188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:16:02.593934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/14/image_04012025_09_14_02_758578_0003.jpg', '/home/pi/Desktop/images/04012025/09/15/image_04012025_09_15_02_374504_0000.jpg', '/home/pi/Desktop/images/04012025/09/15/image_04012025_09_15_02_374504_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/14/image_04012025_09_14_02_758578_0003.jpg
/home/pi/Desktop/images/04012025/09/15/image_04012025_09_15_02_374504_0000.jpg
/home/pi/Desktop/images/04012025/09/15/image_04012025_09_15_02_374504_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.532578229904175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:16:22.245361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/14/image_04012025_09_14_02_758578_0003.jpg', '/home/pi/Desktop/images/04012025/09/15/image_04012025_09_15_02_374504_0000.jpg', '/home/pi/Desktop/images/04012025/09/15/image_04012025_09_15_02_374504_0001.jpg', '/home/pi/Desktop/images/04012025/09/15/image_04012025_09_15_02_374504_0003.jpg', '/home/pi/Desktop/images/04012025/09/16/image_04012025_09_16_02_883995_0000.jpg', '/home/pi/Desktop/images/04012025/09/16/image_04012025_09_16_02_883995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/14/image_04012025_09_14_02_758578_0003.jpg
/home/pi/Desktop/images/04012025/09/15/image_04012025_09_15_02_374504_0000.jpg
/home/pi/Desktop/images/04012025/09/15/image_04012025_09_15_02_374504_0001.jpg
/home/pi/Desktop/images/04012025/09/15/image_04012025_09_15_02_374504_0003.jpg
/home/pi/Desktop/images/04012025/09/16/image_04012025_09_16_02_883995_0000.jpg
/home/pi/Desktop/images/04012025/09/16/image_04012025_09_16_02_883995_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326424819","1326424821","1326424809","1326424803","1326424964","1326424823"],"photo_ids_order":["1326424803","1326424809","1326424819","1326424821","1326424823","1326424964"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7562d388e92b7c7ab8f1ad66588e398a.jpg","text":"TemporaryFile(/tmp/multipartBody8793610189660313990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978657379,"filename":"image_04012025_09_15_02_374504_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f9baf913b9423a5cb316cd8ec0d73de.jpg","text":"TemporaryFile(/tmp/multipartBody7447475586238866923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978657379,"filename":"image_04012025_09_15_02_374504_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/449bd45c0a3e1589a8d4eb6a653cb519.jpg","text":"TemporaryFile(/tmp/multipartBody1609513091867058832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978657379,"filename":"image_04012025_09_15_02_374504_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/180253bc582d97174ff3a42ffc526645.jpg","text":"TemporaryFile(/tmp/multipartBody6931255858604025812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978657379,"filename":"image_04012025_09_14_02_758578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/77396cbaab503de967fc513620b9ed42.jpg","text":"TemporaryFile(/tmp/multipartBody5669734382030897215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978657379,"filename":"image_04012025_09_16_02_883995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5f07c0e9498d99f8347800d753ad0801.jpg","text":"TemporaryFile(/tmp/multipartBody3882587431015745163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978657379,"filename":"image_04012025_09_16_02_883995_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326424819","file1":"1326424809","file0":"1326424803","file4":"1326424823","file5":"1326424964","file3":"1326424821"},"map_files_photo_id_array":[{"photo_id":"1326424964","filename":"file5"},{"photo_id":"1326424819","filename":"file2"},{"photo_id":"1326424823","filename":"file4"},{"photo_id":"1326424809","filename":"file1"},{"photo_id":"1326424803","filename":"file0"},{"photo_id":"1326424821","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326424819":["hashtag1","hashtag2"]},{"1326424821":["hashtag1","hashtag2"]},{"1326424809":["hashtag1","hashtag2"]},{"1326424803":["hashtag1","hashtag2"]},{"1326424964":["hashtag1","hashtag2"]},{"1326424823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326424819, 1326424821, 1326424809, 1326424803, 1326424964, 1326424823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.89084768295288 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:17:22.636622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/16/image_04012025_09_16_02_883995_0003.jpg', '/home/pi/Desktop/images/04012025/09/17/image_04012025_09_17_02_490622_0001.jpg', '/home/pi/Desktop/images/04012025/09/17/image_04012025_09_17_02_490622_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/16/image_04012025_09_16_02_883995_0003.jpg
/home/pi/Desktop/images/04012025/09/17/image_04012025_09_17_02_490622_0001.jpg
/home/pi/Desktop/images/04012025/09/17/image_04012025_09_17_02_490622_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326425570","1326425726","1326425243"],"photo_ids_order":["1326425243","1326425570","1326425726"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/741fa0b0df3a7ce9472c8e7a6a58edf0.jpg","text":"TemporaryFile(/tmp/multipartBody8791850831745236539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978710521,"filename":"image_04012025_09_17_02_490622_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c2412a2517669b02e92adac444149a68.jpg","text":"TemporaryFile(/tmp/multipartBody9101281721116536566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978710521,"filename":"image_04012025_09_17_02_490622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/359e750b58824da7b21dc22d2428cb84.jpg","text":"TemporaryFile(/tmp/multipartBody6012921876674106112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978710521,"filename":"image_04012025_09_16_02_883995_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326425726","file1":"1326425570","file0":"1326425243"},"map_files_photo_id_array":[{"photo_id":"1326425726","filename":"file2"},{"photo_id":"1326425570","filename":"file1"},{"photo_id":"1326425243","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326425570":["hashtag1","hashtag2"]},{"1326425726":["hashtag1","hashtag2"]},{"1326425243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326425570, 1326425726, 1326425243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.32318377494812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:18:02.520650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:18:22.217240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/17/image_04012025_09_17_02_490622_0003.jpg', '/home/pi/Desktop/images/04012025/09/18/image_04012025_09_18_03_036640_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/17/image_04012025_09_17_02_490622_0003.jpg
/home/pi/Desktop/images/04012025/09/18/image_04012025_09_18_03_036640_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.10943078994751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:19:03.242731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/17/image_04012025_09_17_02_490622_0003.jpg', '/home/pi/Desktop/images/04012025/09/18/image_04012025_09_18_03_036640_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/17/image_04012025_09_17_02_490622_0003.jpg
/home/pi/Desktop/images/04012025/09/18/image_04012025_09_18_03_036640_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326427050","1326426985"],"photo_ids_order":["1326426985","1326427050"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85b3de64b1fc1e77b75ea00856207d80.jpg","text":"TemporaryFile(/tmp/multipartBody2890761894979800122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978808843,"filename":"image_04012025_09_18_03_036640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c743babb272e8feeae603e20a6ee536e.jpg","text":"TemporaryFile(/tmp/multipartBody8268662504717106504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978808843,"filename":"image_04012025_09_17_02_490622_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326427050","file0":"1326426985"},"map_files_photo_id_array":[{"photo_id":"1326427050","filename":"file1"},{"photo_id":"1326426985","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326427050":["hashtag1","hashtag2"]},{"1326426985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326427050, 1326426985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.55257534980774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:20:02.621447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/18/image_04012025_09_18_03_036640_0003.jpg', '/home/pi/Desktop/images/04012025/09/19/image_04012025_09_19_02_513593_0000.jpg', '/home/pi/Desktop/images/04012025/09/19/image_04012025_09_19_02_513593_0001.jpg', '/home/pi/Desktop/images/04012025/09/19/image_04012025_09_19_02_513593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/18/image_04012025_09_18_03_036640_0003.jpg
/home/pi/Desktop/images/04012025/09/19/image_04012025_09_19_02_513593_0000.jpg
/home/pi/Desktop/images/04012025/09/19/image_04012025_09_19_02_513593_0001.jpg
/home/pi/Desktop/images/04012025/09/19/image_04012025_09_19_02_513593_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326427554","1326427227","1326427231","1326427228"],"photo_ids_order":["1326427227","1326427228","1326427231","1326427554"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d520754d3920ca6afcb0f10775a5109d.jpg","text":"TemporaryFile(/tmp/multipartBody7900395161035933904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978873007,"filename":"image_04012025_09_19_02_513593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3bb1d0a0eebf8e8758d473d244ba5215.jpg","text":"TemporaryFile(/tmp/multipartBody6542708931664466205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978873007,"filename":"image_04012025_09_18_03_036640_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cfd1070893ebf1f746ca96c4923aa07e.jpg","text":"TemporaryFile(/tmp/multipartBody2233545059746524307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978873007,"filename":"image_04012025_09_19_02_513593_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a577505f592cc64d44476b9659252d13.jpg","text":"TemporaryFile(/tmp/multipartBody9031574520920287572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978873007,"filename":"image_04012025_09_19_02_513593_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326427231","file1":"1326427228","file0":"1326427227","file3":"1326427554"},"map_files_photo_id_array":[{"photo_id":"1326427231","filename":"file2"},{"photo_id":"1326427228","filename":"file1"},{"photo_id":"1326427227","filename":"file0"},{"photo_id":"1326427554","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326427554":["hashtag1","hashtag2"]},{"1326427227":["hashtag1","hashtag2"]},{"1326427231":["hashtag1","hashtag2"]},{"1326427228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326427554, 1326427227, 1326427231, 1326427228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.80116891860962 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:21:02.450499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/19/image_04012025_09_19_02_513593_0003.jpg', '/home/pi/Desktop/images/04012025/09/20/image_04012025_09_20_03_027755_0000.jpg', '/home/pi/Desktop/images/04012025/09/20/image_04012025_09_20_03_027755_0001.jpg', '/home/pi/Desktop/images/04012025/09/20/image_04012025_09_20_03_027755_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/19/image_04012025_09_19_02_513593_0003.jpg
/home/pi/Desktop/images/04012025/09/20/image_04012025_09_20_03_027755_0000.jpg
/home/pi/Desktop/images/04012025/09/20/image_04012025_09_20_03_027755_0001.jpg
/home/pi/Desktop/images/04012025/09/20/image_04012025_09_20_03_027755_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326428129","1326428126","1326428098","1326428394"],"photo_ids_order":["1326428098","1326428126","1326428129","1326428394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ac172304fc487b885e2a4dd5b6d005c3.jpg","text":"TemporaryFile(/tmp/multipartBody1704637859218886952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978932845,"filename":"image_04012025_09_20_03_027755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/823f14429a57ca9b238bf8a509a87818.jpg","text":"TemporaryFile(/tmp/multipartBody3058871018861111500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978932845,"filename":"image_04012025_09_20_03_027755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a540425e0c61f3df42104069a3af8157.jpg","text":"TemporaryFile(/tmp/multipartBody6863244873148944776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978932845,"filename":"image_04012025_09_19_02_513593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/39c51a7a3cdd9a25e158b6d2468ae160.jpg","text":"TemporaryFile(/tmp/multipartBody638020661394816288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978932845,"filename":"image_04012025_09_20_03_027755_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326428129","file1":"1326428126","file0":"1326428098","file3":"1326428394"},"map_files_photo_id_array":[{"photo_id":"1326428129","filename":"file2"},{"photo_id":"1326428126","filename":"file1"},{"photo_id":"1326428098","filename":"file0"},{"photo_id":"1326428394","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326428129":["hashtag1","hashtag2"]},{"1326428126":["hashtag1","hashtag2"]},{"1326428098":["hashtag1","hashtag2"]},{"1326428394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326428129, 1326428126, 1326428098, 1326428394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.670087814331055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:22:02.940533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/20/image_04012025_09_20_03_027755_0003.jpg', '/home/pi/Desktop/images/04012025/09/21/image_04012025_09_21_02_630517_0000.jpg', '/home/pi/Desktop/images/04012025/09/21/image_04012025_09_21_02_630517_0001.jpg', '/home/pi/Desktop/images/04012025/09/21/image_04012025_09_21_02_630517_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/20/image_04012025_09_20_03_027755_0003.jpg
/home/pi/Desktop/images/04012025/09/21/image_04012025_09_21_02_630517_0000.jpg
/home/pi/Desktop/images/04012025/09/21/image_04012025_09_21_02_630517_0001.jpg
/home/pi/Desktop/images/04012025/09/21/image_04012025_09_21_02_630517_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326428573","1326428540","1326428542","1326428679"],"photo_ids_order":["1326428540","1326428542","1326428573","1326428679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9b84ceb59adbb310c6019c9efbb582b7.jpg","text":"TemporaryFile(/tmp/multipartBody7582034527891866890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978993304,"filename":"image_04012025_09_21_02_630517_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fa6e0c13184849a4cd76dbebf45f26cb.jpg","text":"TemporaryFile(/tmp/multipartBody7814497705970258451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978993304,"filename":"image_04012025_09_20_03_027755_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/404c5c3884a745f4129a032dad17eaa8.jpg","text":"TemporaryFile(/tmp/multipartBody5856851004972702115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978993304,"filename":"image_04012025_09_21_02_630517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2a0fcc75aaec7ee32081ab94f535ef32.jpg","text":"TemporaryFile(/tmp/multipartBody2094420049756542330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735978993304,"filename":"image_04012025_09_21_02_630517_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326428573","file1":"1326428542","file0":"1326428540","file3":"1326428679"},"map_files_photo_id_array":[{"photo_id":"1326428573","filename":"file2"},{"photo_id":"1326428542","filename":"file1"},{"photo_id":"1326428540","filename":"file0"},{"photo_id":"1326428679","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326428573":["hashtag1","hashtag2"]},{"1326428540":["hashtag1","hashtag2"]},{"1326428542":["hashtag1","hashtag2"]},{"1326428679":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326428573, 1326428540, 1326428542, 1326428679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.73084998130798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:23:02.719073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/21/image_04012025_09_21_02_630517_0003.jpg', '/home/pi/Desktop/images/04012025/09/22/image_04012025_09_22_02_287397_0001.jpg', '/home/pi/Desktop/images/04012025/09/22/image_04012025_09_22_02_287397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/21/image_04012025_09_21_02_630517_0003.jpg
/home/pi/Desktop/images/04012025/09/22/image_04012025_09_22_02_287397_0001.jpg
/home/pi/Desktop/images/04012025/09/22/image_04012025_09_22_02_287397_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326429218","1326429505","1326429390"],"photo_ids_order":["1326429218","1326429390","1326429505"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/acb04b3fa716df6cde362f075444227b.jpg","text":"TemporaryFile(/tmp/multipartBody6643193976051026128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979050664,"filename":"image_04012025_09_21_02_630517_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8792f51c9999905d3b0d6e696ffe5b70.jpg","text":"TemporaryFile(/tmp/multipartBody3624272446296224111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979050664,"filename":"image_04012025_09_22_02_287397_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4bae73d4b069aa077ba0e2466c87c3db.jpg","text":"TemporaryFile(/tmp/multipartBody7035679499967515234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979050664,"filename":"image_04012025_09_22_02_287397_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326429505","file1":"1326429390","file0":"1326429218"},"map_files_photo_id_array":[{"photo_id":"1326429505","filename":"file2"},{"photo_id":"1326429390","filename":"file1"},{"photo_id":"1326429218","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326429218":["hashtag1","hashtag2"]},{"1326429505":["hashtag1","hashtag2"]},{"1326429390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326429218, 1326429505, 1326429390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.393423080444336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:24:03.235165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/22/image_04012025_09_22_02_287397_0003.jpg', '/home/pi/Desktop/images/04012025/09/23/image_04012025_09_23_02_978441_0000.jpg', '/home/pi/Desktop/images/04012025/09/23/image_04012025_09_23_02_978441_0001.jpg', '/home/pi/Desktop/images/04012025/09/23/image_04012025_09_23_02_978441_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/22/image_04012025_09_22_02_287397_0003.jpg
/home/pi/Desktop/images/04012025/09/23/image_04012025_09_23_02_978441_0000.jpg
/home/pi/Desktop/images/04012025/09/23/image_04012025_09_23_02_978441_0001.jpg
/home/pi/Desktop/images/04012025/09/23/image_04012025_09_23_02_978441_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326430101","1326430198","1326430201","1326430204"],"photo_ids_order":["1326430101","1326430198","1326430201","1326430204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6a27542e811f7fa9fa5a0027aeff2a31.jpg","text":"TemporaryFile(/tmp/multipartBody4808856667143001798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979113588,"filename":"image_04012025_09_22_02_287397_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/972016e394c7c2e4a9ed82e557a6f8ea.jpg","text":"TemporaryFile(/tmp/multipartBody1721074018651545002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979113588,"filename":"image_04012025_09_23_02_978441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b01c5482021fa6c0d0addc8e06b8d324.jpg","text":"TemporaryFile(/tmp/multipartBody1850068580814480767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979113588,"filename":"image_04012025_09_23_02_978441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2be2c93d79f1f5f97469725f378380f8.jpg","text":"TemporaryFile(/tmp/multipartBody5840005608090271746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979113588,"filename":"image_04012025_09_23_02_978441_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326430201","file1":"1326430198","file0":"1326430101","file3":"1326430204"},"map_files_photo_id_array":[{"photo_id":"1326430201","filename":"file2"},{"photo_id":"1326430198","filename":"file1"},{"photo_id":"1326430101","filename":"file0"},{"photo_id":"1326430204","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326430101":["hashtag1","hashtag2"]},{"1326430198":["hashtag1","hashtag2"]},{"1326430201":["hashtag1","hashtag2"]},{"1326430204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326430101, 1326430198, 1326430201, 1326430204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.267722606658936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:25:02.662315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/23/image_04012025_09_23_02_978441_0003.jpg', '/home/pi/Desktop/images/04012025/09/24/image_04012025_09_24_02_457842_0000.jpg', '/home/pi/Desktop/images/04012025/09/24/image_04012025_09_24_02_457842_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/23/image_04012025_09_23_02_978441_0003.jpg
/home/pi/Desktop/images/04012025/09/24/image_04012025_09_24_02_457842_0000.jpg
/home/pi/Desktop/images/04012025/09/24/image_04012025_09_24_02_457842_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326430378","1326430944","1326430761"],"photo_ids_order":["1326430378","1326430761","1326430944"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3fdc9a2c1b2e9bccaf694a0ccb7d5ac2.jpg","text":"TemporaryFile(/tmp/multipartBody5048205221847618445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979170632,"filename":"image_04012025_09_23_02_978441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ff716081e96e9d63c7d1a9bb2e3fc747.jpg","text":"TemporaryFile(/tmp/multipartBody4864248594157084907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979170632,"filename":"image_04012025_09_24_02_457842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/582281b91484f661c8a2e9c147225bd0.jpg","text":"TemporaryFile(/tmp/multipartBody5851531682870069423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979170632,"filename":"image_04012025_09_24_02_457842_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326430944","file1":"1326430761","file0":"1326430378"},"map_files_photo_id_array":[{"photo_id":"1326430944","filename":"file2"},{"photo_id":"1326430761","filename":"file1"},{"photo_id":"1326430378","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326430378":["hashtag1","hashtag2"]},{"1326430944":["hashtag1","hashtag2"]},{"1326430761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326430378, 1326430944, 1326430761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.598843336105347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:26:02.210796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/24/image_04012025_09_24_02_457842_0003.jpg', '/home/pi/Desktop/images/04012025/09/25/image_04012025_09_25_03_070303_0000.jpg', '/home/pi/Desktop/images/04012025/09/25/image_04012025_09_25_03_070303_0001.jpg', '/home/pi/Desktop/images/04012025/09/25/image_04012025_09_25_03_070303_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/24/image_04012025_09_24_02_457842_0003.jpg
/home/pi/Desktop/images/04012025/09/25/image_04012025_09_25_03_070303_0000.jpg
/home/pi/Desktop/images/04012025/09/25/image_04012025_09_25_03_070303_0001.jpg
/home/pi/Desktop/images/04012025/09/25/image_04012025_09_25_03_070303_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326431246","1326431249","1326431251","1326431221"],"photo_ids_order":["1326431221","1326431246","1326431249","1326431251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a417bd23ab01e8993a565c5d7d811b82.jpg","text":"TemporaryFile(/tmp/multipartBody855504658034169980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979232565,"filename":"image_04012025_09_25_03_070303_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ef7373c42f38fce2a83b5f55cb604c17.jpg","text":"TemporaryFile(/tmp/multipartBody4048295598466796437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979232565,"filename":"image_04012025_09_25_03_070303_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e31737e1456179c0530288f6f94341c7.jpg","text":"TemporaryFile(/tmp/multipartBody7415194731523567530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979232565,"filename":"image_04012025_09_25_03_070303_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8c3677681103f16341960a539c2fa90d.jpg","text":"TemporaryFile(/tmp/multipartBody1305842081628233110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979232565,"filename":"image_04012025_09_24_02_457842_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326431249","file1":"1326431246","file0":"1326431221","file3":"1326431251"},"map_files_photo_id_array":[{"photo_id":"1326431249","filename":"file2"},{"photo_id":"1326431246","filename":"file1"},{"photo_id":"1326431221","filename":"file0"},{"photo_id":"1326431251","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326431246":["hashtag1","hashtag2"]},{"1326431249":["hashtag1","hashtag2"]},{"1326431251":["hashtag1","hashtag2"]},{"1326431221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326431246, 1326431249, 1326431251, 1326431221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.67770791053772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:27:02.970681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/25/image_04012025_09_25_03_070303_0003.jpg', '/home/pi/Desktop/images/04012025/09/26/image_04012025_09_26_02_579112_0000.jpg', '/home/pi/Desktop/images/04012025/09/26/image_04012025_09_26_02_579112_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/25/image_04012025_09_25_03_070303_0003.jpg
/home/pi/Desktop/images/04012025/09/26/image_04012025_09_26_02_579112_0000.jpg
/home/pi/Desktop/images/04012025/09/26/image_04012025_09_26_02_579112_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326432433","1326432069","1326432108"],"photo_ids_order":["1326432069","1326432108","1326432433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8648c2d0316cded72db672a5f96e23a0.jpg","text":"TemporaryFile(/tmp/multipartBody5722044604055821133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979290944,"filename":"image_04012025_09_26_02_579112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fb253d48dd161f0b2d96eb14bb4504cd.jpg","text":"TemporaryFile(/tmp/multipartBody76583162379302691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979290944,"filename":"image_04012025_09_25_03_070303_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3780502bc47ffa2fda1599b75d21ddca.jpg","text":"TemporaryFile(/tmp/multipartBody3514798793078683052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979290944,"filename":"image_04012025_09_26_02_579112_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326432433","file1":"1326432108","file0":"1326432069"},"map_files_photo_id_array":[{"photo_id":"1326432433","filename":"file2"},{"photo_id":"1326432108","filename":"file1"},{"photo_id":"1326432069","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326432433":["hashtag1","hashtag2"]},{"1326432069":["hashtag1","hashtag2"]},{"1326432108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326432433, 1326432069, 1326432108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.520633220672607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:28:02.565988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/26/image_04012025_09_26_02_579112_0002.jpg', '/home/pi/Desktop/images/04012025/09/27/image_04012025_09_27_02_290736_0000.jpg', '/home/pi/Desktop/images/04012025/09/27/image_04012025_09_27_02_290736_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/26/image_04012025_09_26_02_579112_0002.jpg
/home/pi/Desktop/images/04012025/09/27/image_04012025_09_27_02_290736_0000.jpg
/home/pi/Desktop/images/04012025/09/27/image_04012025_09_27_02_290736_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326433438","1326433012","1326433077"],"photo_ids_order":["1326433012","1326433077","1326433438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b514b104bfb54ca543182a00fdd9faf4.jpg","text":"TemporaryFile(/tmp/multipartBody4346676043770200152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979350558,"filename":"image_04012025_09_27_02_290736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2cf87077dda3081395357c9cecdef0f8.jpg","text":"TemporaryFile(/tmp/multipartBody704857899729001122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979350558,"filename":"image_04012025_09_26_02_579112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3e70cd65be4ac8e2b2ff29a4afec422b.jpg","text":"TemporaryFile(/tmp/multipartBody3146635247544943368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979350558,"filename":"image_04012025_09_27_02_290736_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326433438","file1":"1326433077","file0":"1326433012"},"map_files_photo_id_array":[{"photo_id":"1326433438","filename":"file2"},{"photo_id":"1326433077","filename":"file1"},{"photo_id":"1326433012","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326433438":["hashtag1","hashtag2"]},{"1326433012":["hashtag1","hashtag2"]},{"1326433077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326433438, 1326433012, 1326433077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.13906192779541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:29:03.369964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/27/image_04012025_09_27_02_290736_0003.jpg', '/home/pi/Desktop/images/04012025/09/28/image_04012025_09_28_02_864708_0000.jpg', '/home/pi/Desktop/images/04012025/09/28/image_04012025_09_28_02_864708_0001.jpg', '/home/pi/Desktop/images/04012025/09/28/image_04012025_09_28_02_864708_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/27/image_04012025_09_27_02_290736_0003.jpg
/home/pi/Desktop/images/04012025/09/28/image_04012025_09_28_02_864708_0000.jpg
/home/pi/Desktop/images/04012025/09/28/image_04012025_09_28_02_864708_0001.jpg
/home/pi/Desktop/images/04012025/09/28/image_04012025_09_28_02_864708_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326434190","1326434343","1326434335","1326433789"],"photo_ids_order":["1326433789","1326434190","1326434335","1326434343"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ef3e0400939de16b1e0821918e5c07fc.jpg","text":"TemporaryFile(/tmp/multipartBody4279699520445027325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979413544,"filename":"image_04012025_09_28_02_864708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cc5facf188c3c7a7633bc4f1ed80b6a1.jpg","text":"TemporaryFile(/tmp/multipartBody1353137191798131779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979413544,"filename":"image_04012025_09_28_02_864708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/efad96de3ce52333eb6662479c464221.jpg","text":"TemporaryFile(/tmp/multipartBody1004336908810067073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979413544,"filename":"image_04012025_09_28_02_864708_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e949e66d6d786cfb9eff426b30bee952.jpg","text":"TemporaryFile(/tmp/multipartBody5019188552358637221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979413544,"filename":"image_04012025_09_27_02_290736_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326434335","file1":"1326434190","file0":"1326433789","file3":"1326434343"},"map_files_photo_id_array":[{"photo_id":"1326434335","filename":"file2"},{"photo_id":"1326434190","filename":"file1"},{"photo_id":"1326433789","filename":"file0"},{"photo_id":"1326434343","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326434190":["hashtag1","hashtag2"]},{"1326434343":["hashtag1","hashtag2"]},{"1326434335":["hashtag1","hashtag2"]},{"1326433789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326434190, 1326434343, 1326434335, 1326433789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.318828105926514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:30:02.694089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/28/image_04012025_09_28_02_864708_0003.jpg', '/home/pi/Desktop/images/04012025/09/29/image_04012025_09_29_02_533708_0000.jpg', '/home/pi/Desktop/images/04012025/09/29/image_04012025_09_29_02_533708_0001.jpg', '/home/pi/Desktop/images/04012025/09/29/image_04012025_09_29_02_533708_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/28/image_04012025_09_28_02_864708_0003.jpg
/home/pi/Desktop/images/04012025/09/29/image_04012025_09_29_02_533708_0000.jpg
/home/pi/Desktop/images/04012025/09/29/image_04012025_09_29_02_533708_0001.jpg
/home/pi/Desktop/images/04012025/09/29/image_04012025_09_29_02_533708_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326435054","1326434850","1326435085","1326434954"],"photo_ids_order":["1326434850","1326434954","1326435054","1326435085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30a183fb419d95744a94f27665ff7a2c.jpg","text":"TemporaryFile(/tmp/multipartBody1880749796495085726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979472903,"filename":"image_04012025_09_29_02_533708_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b32dc78e282eb8019334c3a289f143d.jpg","text":"TemporaryFile(/tmp/multipartBody5884321532182874145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979472903,"filename":"image_04012025_09_28_02_864708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dd2d0e040b8949532ec38d8f1056b5f2.jpg","text":"TemporaryFile(/tmp/multipartBody2619380927934323847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979472903,"filename":"image_04012025_09_29_02_533708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/246eb2e87d56706940a846452d6830ab.jpg","text":"TemporaryFile(/tmp/multipartBody4834749873929029432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979472903,"filename":"image_04012025_09_29_02_533708_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326435054","file1":"1326434954","file0":"1326434850","file3":"1326435085"},"map_files_photo_id_array":[{"photo_id":"1326435054","filename":"file2"},{"photo_id":"1326434954","filename":"file1"},{"photo_id":"1326434850","filename":"file0"},{"photo_id":"1326435085","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326435054":["hashtag1","hashtag2"]},{"1326434850":["hashtag1","hashtag2"]},{"1326435085":["hashtag1","hashtag2"]},{"1326434954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326435054, 1326434850, 1326435085, 1326434954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.46956992149353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:31:02.283070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/29/image_04012025_09_29_02_533708_0003.jpg', '/home/pi/Desktop/images/04012025/09/30/image_04012025_09_30_03_014836_0000.jpg', '/home/pi/Desktop/images/04012025/09/30/image_04012025_09_30_03_014836_0001.jpg', '/home/pi/Desktop/images/04012025/09/30/image_04012025_09_30_03_014836_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/29/image_04012025_09_29_02_533708_0003.jpg
/home/pi/Desktop/images/04012025/09/30/image_04012025_09_30_03_014836_0000.jpg
/home/pi/Desktop/images/04012025/09/30/image_04012025_09_30_03_014836_0001.jpg
/home/pi/Desktop/images/04012025/09/30/image_04012025_09_30_03_014836_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326435717","1326435713","1326435410","1326435226"],"photo_ids_order":["1326435226","1326435410","1326435713","1326435717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9161e859f6b13330ef328676b37a7d80.jpg","text":"TemporaryFile(/tmp/multipartBody4746116693780400573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979532684,"filename":"image_04012025_09_30_03_014836_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/19b8625ce706366fcb9abad04d377b34.jpg","text":"TemporaryFile(/tmp/multipartBody3818267689289415362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979532684,"filename":"image_04012025_09_30_03_014836_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/07aa256c059459058b12bf424cc5b822.jpg","text":"TemporaryFile(/tmp/multipartBody3968169536817622876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979532684,"filename":"image_04012025_09_30_03_014836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2913415a59d0016d5662f3cf283817aa.jpg","text":"TemporaryFile(/tmp/multipartBody8980161082528072898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979532684,"filename":"image_04012025_09_29_02_533708_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326435713","file1":"1326435410","file0":"1326435226","file3":"1326435717"},"map_files_photo_id_array":[{"photo_id":"1326435713","filename":"file2"},{"photo_id":"1326435410","filename":"file1"},{"photo_id":"1326435226","filename":"file0"},{"photo_id":"1326435717","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326435717":["hashtag1","hashtag2"]},{"1326435713":["hashtag1","hashtag2"]},{"1326435410":["hashtag1","hashtag2"]},{"1326435226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326435717, 1326435713, 1326435410, 1326435226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47872829437256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:32:02.791005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/30/image_04012025_09_30_03_014836_0003.jpg', '/home/pi/Desktop/images/04012025/09/31/image_04012025_09_31_02_644612_0000.jpg', '/home/pi/Desktop/images/04012025/09/31/image_04012025_09_31_02_644612_0001.jpg', '/home/pi/Desktop/images/04012025/09/31/image_04012025_09_31_02_644612_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/30/image_04012025_09_30_03_014836_0003.jpg
/home/pi/Desktop/images/04012025/09/31/image_04012025_09_31_02_644612_0000.jpg
/home/pi/Desktop/images/04012025/09/31/image_04012025_09_31_02_644612_0001.jpg
/home/pi/Desktop/images/04012025/09/31/image_04012025_09_31_02_644612_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326436197","1326436224","1326436617","1326436332"],"photo_ids_order":["1326436197","1326436224","1326436332","1326436617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8254fadf9a25f1be729ee61e9c2222ea.jpg","text":"TemporaryFile(/tmp/multipartBody347375371868456510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979593254,"filename":"image_04012025_09_30_03_014836_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6ffb79aedb1ba5e5e208b02abffd5c58.jpg","text":"TemporaryFile(/tmp/multipartBody1844845625464465461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979593254,"filename":"image_04012025_09_31_02_644612_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c99904594f9daf735feb8f3cc758c2ed.jpg","text":"TemporaryFile(/tmp/multipartBody6485255824414827504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979593254,"filename":"image_04012025_09_31_02_644612_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ae071b452c55ed5cb6036647091fa37.jpg","text":"TemporaryFile(/tmp/multipartBody6595748387118421585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979593254,"filename":"image_04012025_09_31_02_644612_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326436332","file1":"1326436224","file0":"1326436197","file3":"1326436617"},"map_files_photo_id_array":[{"photo_id":"1326436332","filename":"file2"},{"photo_id":"1326436224","filename":"file1"},{"photo_id":"1326436197","filename":"file0"},{"photo_id":"1326436617","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326436197":["hashtag1","hashtag2"]},{"1326436224":["hashtag1","hashtag2"]},{"1326436617":["hashtag1","hashtag2"]},{"1326436332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326436197, 1326436224, 1326436617, 1326436332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.13387131690979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:33:02.637275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/31/image_04012025_09_31_02_644612_0003.jpg', '/home/pi/Desktop/images/04012025/09/32/image_04012025_09_32_02_240130_0000.jpg', '/home/pi/Desktop/images/04012025/09/32/image_04012025_09_32_02_240130_0001.jpg', '/home/pi/Desktop/images/04012025/09/32/image_04012025_09_32_02_240130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/31/image_04012025_09_31_02_644612_0003.jpg
/home/pi/Desktop/images/04012025/09/32/image_04012025_09_32_02_240130_0000.jpg
/home/pi/Desktop/images/04012025/09/32/image_04012025_09_32_02_240130_0001.jpg
/home/pi/Desktop/images/04012025/09/32/image_04012025_09_32_02_240130_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.871137380599976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:33:22.047878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/31/image_04012025_09_31_02_644612_0003.jpg', '/home/pi/Desktop/images/04012025/09/32/image_04012025_09_32_02_240130_0000.jpg', '/home/pi/Desktop/images/04012025/09/32/image_04012025_09_32_02_240130_0001.jpg', '/home/pi/Desktop/images/04012025/09/32/image_04012025_09_32_02_240130_0002.jpg', '/home/pi/Desktop/images/04012025/09/32/image_04012025_09_32_02_240130_0003.jpg', '/home/pi/Desktop/images/04012025/09/33/image_04012025_09_33_02_824795_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/31/image_04012025_09_31_02_644612_0003.jpg
/home/pi/Desktop/images/04012025/09/32/image_04012025_09_32_02_240130_0000.jpg
/home/pi/Desktop/images/04012025/09/32/image_04012025_09_32_02_240130_0001.jpg
/home/pi/Desktop/images/04012025/09/32/image_04012025_09_32_02_240130_0002.jpg
/home/pi/Desktop/images/04012025/09/32/image_04012025_09_32_02_240130_0003.jpg
/home/pi/Desktop/images/04012025/09/33/image_04012025_09_33_02_824795_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326437714","1326438268","1326437680","1326437914","1326437712","1326437594"],"photo_ids_order":["1326437594","1326437680","1326437712","1326437714","1326437914","1326438268"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/18c2b07afa622eab587ea3223e32fcfb.jpg","text":"TemporaryFile(/tmp/multipartBody3239868359926968753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979677060,"filename":"image_04012025_09_32_02_240130_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/944354bf4bbcbc1e84d15c1c8455b9f9.jpg","text":"TemporaryFile(/tmp/multipartBody9147551709033338103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979677060,"filename":"image_04012025_09_33_02_824795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8a5bbb78282cff12cedec1636d0d8be9.jpg","text":"TemporaryFile(/tmp/multipartBody5450872909956042690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979677060,"filename":"image_04012025_09_32_02_240130_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/00b09a201459954fa1f0c1e832e8f315.jpg","text":"TemporaryFile(/tmp/multipartBody5818874112016730050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979677060,"filename":"image_04012025_09_32_02_240130_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6a812369e2990263c78726f34dce61f7.jpg","text":"TemporaryFile(/tmp/multipartBody2458734582942551656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979677060,"filename":"image_04012025_09_32_02_240130_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/be0dc44e1c00f8b747609deb49aa4d8b.jpg","text":"TemporaryFile(/tmp/multipartBody676255337311986621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979677060,"filename":"image_04012025_09_31_02_644612_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326437712","file1":"1326437680","file0":"1326437594","file4":"1326437914","file5":"1326438268","file3":"1326437714"},"map_files_photo_id_array":[{"photo_id":"1326438268","filename":"file5"},{"photo_id":"1326437712","filename":"file2"},{"photo_id":"1326437914","filename":"file4"},{"photo_id":"1326437680","filename":"file1"},{"photo_id":"1326437594","filename":"file0"},{"photo_id":"1326437714","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326437714":["hashtag1","hashtag2"]},{"1326438268":["hashtag1","hashtag2"]},{"1326437680":["hashtag1","hashtag2"]},{"1326437914":["hashtag1","hashtag2"]},{"1326437712":["hashtag1","hashtag2"]},{"1326437594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326437714, 1326438268, 1326437680, 1326437914, 1326437712, 1326437594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.504294633865356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:34:22.641806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/33/image_04012025_09_33_02_824795_0001.jpg', '/home/pi/Desktop/images/04012025/09/33/image_04012025_09_33_02_824795_0002.jpg', '/home/pi/Desktop/images/04012025/09/33/image_04012025_09_33_02_824795_0003.jpg', '/home/pi/Desktop/images/04012025/09/34/image_04012025_09_34_02_367605_0000.jpg', '/home/pi/Desktop/images/04012025/09/34/image_04012025_09_34_02_367605_0001.jpg', '/home/pi/Desktop/images/04012025/09/34/image_04012025_09_34_02_367605_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/33/image_04012025_09_33_02_824795_0001.jpg
/home/pi/Desktop/images/04012025/09/33/image_04012025_09_33_02_824795_0002.jpg
/home/pi/Desktop/images/04012025/09/33/image_04012025_09_33_02_824795_0003.jpg
/home/pi/Desktop/images/04012025/09/34/image_04012025_09_34_02_367605_0000.jpg
/home/pi/Desktop/images/04012025/09/34/image_04012025_09_34_02_367605_0001.jpg
/home/pi/Desktop/images/04012025/09/34/image_04012025_09_34_02_367605_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326438451","1326438610","1326438624","1326438627","1326438620","1326438614"],"photo_ids_order":["1326438451","1326438610","1326438614","1326438620","1326438624","1326438627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8be63924926b320847544a836d99d54c.jpg","text":"TemporaryFile(/tmp/multipartBody4379060371040233489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979737819,"filename":"image_04012025_09_33_02_824795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8826306c2a22deb291fa81855e66ff4e.jpg","text":"TemporaryFile(/tmp/multipartBody5279193045935171040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979737819,"filename":"image_04012025_09_33_02_824795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b6a36669198a3575ac436365d824da47.jpg","text":"TemporaryFile(/tmp/multipartBody9026772899490236897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979737819,"filename":"image_04012025_09_34_02_367605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2f35686f62d8325aab603d88b9ac97c4.jpg","text":"TemporaryFile(/tmp/multipartBody696301440494400013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979737819,"filename":"image_04012025_09_34_02_367605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0b41988bfd664ce14f399c107ec9590a.jpg","text":"TemporaryFile(/tmp/multipartBody6683615247745770890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979737819,"filename":"image_04012025_09_34_02_367605_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/44f309628bbb7f13f23ae0af1ddbf4fb.jpg","text":"TemporaryFile(/tmp/multipartBody7767405267300436450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979737819,"filename":"image_04012025_09_33_02_824795_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326438614","file1":"1326438610","file0":"1326438451","file4":"1326438624","file5":"1326438627","file3":"1326438620"},"map_files_photo_id_array":[{"photo_id":"1326438627","filename":"file5"},{"photo_id":"1326438614","filename":"file2"},{"photo_id":"1326438624","filename":"file4"},{"photo_id":"1326438610","filename":"file1"},{"photo_id":"1326438451","filename":"file0"},{"photo_id":"1326438620","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326438451":["hashtag1","hashtag2"]},{"1326438610":["hashtag1","hashtag2"]},{"1326438624":["hashtag1","hashtag2"]},{"1326438627":["hashtag1","hashtag2"]},{"1326438620":["hashtag1","hashtag2"]},{"1326438614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326438451, 1326438610, 1326438624, 1326438627, 1326438620, 1326438614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.446850061416626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:35:22.103810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/34/image_04012025_09_34_02_367605_0003.jpg', '/home/pi/Desktop/images/04012025/09/35/image_04012025_09_35_02_969060_0000.jpg', '/home/pi/Desktop/images/04012025/09/35/image_04012025_09_35_02_969060_0001.jpg', '/home/pi/Desktop/images/04012025/09/35/image_04012025_09_35_02_969060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/34/image_04012025_09_34_02_367605_0003.jpg
/home/pi/Desktop/images/04012025/09/35/image_04012025_09_35_02_969060_0000.jpg
/home/pi/Desktop/images/04012025/09/35/image_04012025_09_35_02_969060_0001.jpg
/home/pi/Desktop/images/04012025/09/35/image_04012025_09_35_02_969060_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326439213","1326439140","1326439209","1326439205"],"photo_ids_order":["1326439140","1326439205","1326439209","1326439213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0321530336511494177b8a07263ad30c.jpg","text":"TemporaryFile(/tmp/multipartBody8022518033458592092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979792329,"filename":"image_04012025_09_35_02_969060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4fc0b666abbc58b2c5a01b6ee8bfb4e2.jpg","text":"TemporaryFile(/tmp/multipartBody4273835881572407603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979792329,"filename":"image_04012025_09_34_02_367605_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/88a1488b1c4ffe7f738762b17e6de34c.jpg","text":"TemporaryFile(/tmp/multipartBody2796147387893105750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979792329,"filename":"image_04012025_09_35_02_969060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/877eb2fcddee3c2cf6438e828a3fc507.jpg","text":"TemporaryFile(/tmp/multipartBody2360565352903988551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979792329,"filename":"image_04012025_09_35_02_969060_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326439209","file1":"1326439205","file0":"1326439140","file3":"1326439213"},"map_files_photo_id_array":[{"photo_id":"1326439209","filename":"file2"},{"photo_id":"1326439205","filename":"file1"},{"photo_id":"1326439140","filename":"file0"},{"photo_id":"1326439213","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326439213":["hashtag1","hashtag2"]},{"1326439140":["hashtag1","hashtag2"]},{"1326439209":["hashtag1","hashtag2"]},{"1326439205":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326439213, 1326439140, 1326439209, 1326439205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.492409229278564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:36:03.039712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:36:22.619202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/35/image_04012025_09_35_02_969060_0003.jpg', '/home/pi/Desktop/images/04012025/09/36/image_04012025_09_36_02_462284_0000.jpg', '/home/pi/Desktop/images/04012025/09/36/image_04012025_09_36_02_462284_0001.jpg', '/home/pi/Desktop/images/04012025/09/36/image_04012025_09_36_02_462284_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/35/image_04012025_09_35_02_969060_0003.jpg
/home/pi/Desktop/images/04012025/09/36/image_04012025_09_36_02_462284_0000.jpg
/home/pi/Desktop/images/04012025/09/36/image_04012025_09_36_02_462284_0001.jpg
/home/pi/Desktop/images/04012025/09/36/image_04012025_09_36_02_462284_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326439849","1326440189","1326440258","1326440225"],"photo_ids_order":["1326439849","1326440189","1326440225","1326440258"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fa6e7be8dae650ef1d3232f63061c6d2.jpg","text":"TemporaryFile(/tmp/multipartBody387979265651808814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979852830,"filename":"image_04012025_09_35_02_969060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f570cb4912a1ecd536b32bde579574bd.jpg","text":"TemporaryFile(/tmp/multipartBody4469452068993597232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979852830,"filename":"image_04012025_09_36_02_462284_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8bb86b00a210531769e7051d36bcafbc.jpg","text":"TemporaryFile(/tmp/multipartBody342102847647598973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979852830,"filename":"image_04012025_09_36_02_462284_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6cdf8c91b716b9a864ed25d9026708b2.jpg","text":"TemporaryFile(/tmp/multipartBody6547381707236808930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979852830,"filename":"image_04012025_09_36_02_462284_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326440225","file1":"1326440189","file0":"1326439849","file3":"1326440258"},"map_files_photo_id_array":[{"photo_id":"1326440225","filename":"file2"},{"photo_id":"1326440189","filename":"file1"},{"photo_id":"1326439849","filename":"file0"},{"photo_id":"1326440258","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326439849":["hashtag1","hashtag2"]},{"1326440189":["hashtag1","hashtag2"]},{"1326440258":["hashtag1","hashtag2"]},{"1326440225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326439849, 1326440189, 1326440258, 1326440225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.655497550964355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:37:02.644129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:37:22.170051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/36/image_04012025_09_36_02_462284_0003.jpg', '/home/pi/Desktop/images/04012025/09/37/image_04012025_09_37_02_952275_0000.jpg', '/home/pi/Desktop/images/04012025/09/37/image_04012025_09_37_02_952275_0001.jpg', '/home/pi/Desktop/images/04012025/09/37/image_04012025_09_37_02_952275_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/36/image_04012025_09_36_02_462284_0003.jpg
/home/pi/Desktop/images/04012025/09/37/image_04012025_09_37_02_952275_0000.jpg
/home/pi/Desktop/images/04012025/09/37/image_04012025_09_37_02_952275_0001.jpg
/home/pi/Desktop/images/04012025/09/37/image_04012025_09_37_02_952275_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326441031","1326441028","1326441170","1326441035"],"photo_ids_order":["1326441028","1326441031","1326441035","1326441170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2e54f91bca74169f4637f1a9b4bae1a9.jpg","text":"TemporaryFile(/tmp/multipartBody1591804904975593013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979912637,"filename":"image_04012025_09_37_02_952275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28c52bd12986d718b551a23e05aa567d.jpg","text":"TemporaryFile(/tmp/multipartBody7351481283143891897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979912637,"filename":"image_04012025_09_36_02_462284_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2047592c2c9b5ae4cc15b147b6357863.jpg","text":"TemporaryFile(/tmp/multipartBody8734408375339627649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979912637,"filename":"image_04012025_09_37_02_952275_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ad482968351ea8ee0aa10456d600960e.jpg","text":"TemporaryFile(/tmp/multipartBody5879461821426555174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979912637,"filename":"image_04012025_09_37_02_952275_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326441035","file1":"1326441031","file0":"1326441028","file3":"1326441170"},"map_files_photo_id_array":[{"photo_id":"1326441035","filename":"file2"},{"photo_id":"1326441031","filename":"file1"},{"photo_id":"1326441028","filename":"file0"},{"photo_id":"1326441170","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326441031":["hashtag1","hashtag2"]},{"1326441028":["hashtag1","hashtag2"]},{"1326441170":["hashtag1","hashtag2"]},{"1326441035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326441031, 1326441028, 1326441170, 1326441035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.72670817375183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:38:21.790229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/37/image_04012025_09_37_02_952275_0003.jpg', '/home/pi/Desktop/images/04012025/09/38/image_04012025_09_38_02_456585_0000.jpg', '/home/pi/Desktop/images/04012025/09/38/image_04012025_09_38_02_456585_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/37/image_04012025_09_37_02_952275_0003.jpg
/home/pi/Desktop/images/04012025/09/38/image_04012025_09_38_02_456585_0000.jpg
/home/pi/Desktop/images/04012025/09/38/image_04012025_09_38_02_456585_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326441878","1326441908","1326442030"],"photo_ids_order":["1326441878","1326441908","1326442030"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d8a830abbfc2af8a7df5bfcabc22004f.jpg","text":"TemporaryFile(/tmp/multipartBody8533518915707548333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979969636,"filename":"image_04012025_09_37_02_952275_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3ea3e78aba5ba664d83c8490ce22e15c.jpg","text":"TemporaryFile(/tmp/multipartBody4416158055944756582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979969636,"filename":"image_04012025_09_38_02_456585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1576ad8a32fb759a0d86b275e7e09463.jpg","text":"TemporaryFile(/tmp/multipartBody2771079303707448493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735979969636,"filename":"image_04012025_09_38_02_456585_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326442030","file1":"1326441908","file0":"1326441878"},"map_files_photo_id_array":[{"photo_id":"1326442030","filename":"file2"},{"photo_id":"1326441908","filename":"file1"},{"photo_id":"1326441878","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326441878":["hashtag1","hashtag2"]},{"1326441908":["hashtag1","hashtag2"]},{"1326442030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326441878, 1326441908, 1326442030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.449357986450195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:39:02.710025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:39:22.299272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/38/image_04012025_09_38_02_456585_0003.jpg', '/home/pi/Desktop/images/04012025/09/39/image_04012025_09_39_02_145242_0000.jpg', '/home/pi/Desktop/images/04012025/09/39/image_04012025_09_39_02_145242_0001.jpg', '/home/pi/Desktop/images/04012025/09/39/image_04012025_09_39_02_145242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/38/image_04012025_09_38_02_456585_0003.jpg
/home/pi/Desktop/images/04012025/09/39/image_04012025_09_39_02_145242_0000.jpg
/home/pi/Desktop/images/04012025/09/39/image_04012025_09_39_02_145242_0001.jpg
/home/pi/Desktop/images/04012025/09/39/image_04012025_09_39_02_145242_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.134506225585938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:40:02.296478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/38/image_04012025_09_38_02_456585_0003.jpg', '/home/pi/Desktop/images/04012025/09/39/image_04012025_09_39_02_145242_0000.jpg', '/home/pi/Desktop/images/04012025/09/39/image_04012025_09_39_02_145242_0001.jpg', '/home/pi/Desktop/images/04012025/09/39/image_04012025_09_39_02_145242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/38/image_04012025_09_38_02_456585_0003.jpg
/home/pi/Desktop/images/04012025/09/39/image_04012025_09_39_02_145242_0000.jpg
/home/pi/Desktop/images/04012025/09/39/image_04012025_09_39_02_145242_0001.jpg
/home/pi/Desktop/images/04012025/09/39/image_04012025_09_39_02_145242_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326442701","1326442704","1326442708","1326442348"],"photo_ids_order":["1326442348","1326442701","1326442704","1326442708"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7dee0b06996d15571e902f39285a8ee.jpg","text":"TemporaryFile(/tmp/multipartBody4633737785496754251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980072831,"filename":"image_04012025_09_39_02_145242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8ccc3a7786f5776facefaa5f9d9b8694.jpg","text":"TemporaryFile(/tmp/multipartBody9005850908266253296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980072831,"filename":"image_04012025_09_39_02_145242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/73205a95b50e65631b8cee90ac054b31.jpg","text":"TemporaryFile(/tmp/multipartBody4848973199978982752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980072831,"filename":"image_04012025_09_39_02_145242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af7a67ffe2debe7517660e1bac7f438f.jpg","text":"TemporaryFile(/tmp/multipartBody8335871232519610503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980072831,"filename":"image_04012025_09_38_02_456585_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326442704","file1":"1326442701","file0":"1326442348","file3":"1326442708"},"map_files_photo_id_array":[{"photo_id":"1326442704","filename":"file2"},{"photo_id":"1326442701","filename":"file1"},{"photo_id":"1326442348","filename":"file0"},{"photo_id":"1326442708","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326442701":["hashtag1","hashtag2"]},{"1326442704":["hashtag1","hashtag2"]},{"1326442708":["hashtag1","hashtag2"]},{"1326442348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326442701, 1326442704, 1326442708, 1326442348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.17243409156799 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:41:03.076693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/39/image_04012025_09_39_02_145242_0003.jpg', '/home/pi/Desktop/images/04012025/09/40/image_04012025_09_40_02_700575_0000.jpg', '/home/pi/Desktop/images/04012025/09/40/image_04012025_09_40_02_700575_0001.jpg', '/home/pi/Desktop/images/04012025/09/40/image_04012025_09_40_02_700575_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/39/image_04012025_09_39_02_145242_0003.jpg
/home/pi/Desktop/images/04012025/09/40/image_04012025_09_40_02_700575_0000.jpg
/home/pi/Desktop/images/04012025/09/40/image_04012025_09_40_02_700575_0001.jpg
/home/pi/Desktop/images/04012025/09/40/image_04012025_09_40_02_700575_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326443022","1326443380","1326442990","1326442872"],"photo_ids_order":["1326442872","1326442990","1326443022","1326443380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f6b87198828490ce2d38515b82f920f3.jpg","text":"TemporaryFile(/tmp/multipartBody5337795096509928568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980133409,"filename":"image_04012025_09_40_02_700575_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f4aec2e9f11aad527eecf3d54e426412.jpg","text":"TemporaryFile(/tmp/multipartBody6429107163161715554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980133409,"filename":"image_04012025_09_40_02_700575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b01d413fb78102a6baf4359a6d9ad78d.jpg","text":"TemporaryFile(/tmp/multipartBody1421158170710231122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980133409,"filename":"image_04012025_09_40_02_700575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/954f48049d6baa8378a3433886640bcd.jpg","text":"TemporaryFile(/tmp/multipartBody1100682353503642106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980133409,"filename":"image_04012025_09_39_02_145242_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326443022","file1":"1326442990","file0":"1326442872","file3":"1326443380"},"map_files_photo_id_array":[{"photo_id":"1326443022","filename":"file2"},{"photo_id":"1326442990","filename":"file1"},{"photo_id":"1326442872","filename":"file0"},{"photo_id":"1326443380","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326443022":["hashtag1","hashtag2"]},{"1326443380":["hashtag1","hashtag2"]},{"1326442990":["hashtag1","hashtag2"]},{"1326442872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326443022, 1326443380, 1326442990, 1326442872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.519267082214355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:42:02.535327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/40/image_04012025_09_40_02_700575_0003.jpg', '/home/pi/Desktop/images/04012025/09/41/image_04012025_09_41_02_340318_0000.jpg', '/home/pi/Desktop/images/04012025/09/41/image_04012025_09_41_02_340318_0001.jpg', '/home/pi/Desktop/images/04012025/09/41/image_04012025_09_41_02_340318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/40/image_04012025_09_40_02_700575_0003.jpg
/home/pi/Desktop/images/04012025/09/41/image_04012025_09_41_02_340318_0000.jpg
/home/pi/Desktop/images/04012025/09/41/image_04012025_09_41_02_340318_0001.jpg
/home/pi/Desktop/images/04012025/09/41/image_04012025_09_41_02_340318_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326444362","1326444521","1326444524","1326444503"],"photo_ids_order":["1326444362","1326444503","1326444521","1326444524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/36966ddc1fbd97c09b5f66e5b9971a09.jpg","text":"TemporaryFile(/tmp/multipartBody8209948330168233174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980193010,"filename":"image_04012025_09_40_02_700575_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3b02590131d3454848cc021001b50c64.jpg","text":"TemporaryFile(/tmp/multipartBody3343857407048114309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980193010,"filename":"image_04012025_09_41_02_340318_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c8bd55da50420c204afd5c023f7561bd.jpg","text":"TemporaryFile(/tmp/multipartBody4842228666569357639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980193010,"filename":"image_04012025_09_41_02_340318_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e199825c5226299b0688175a9d1da0f1.jpg","text":"TemporaryFile(/tmp/multipartBody2566298129010728095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980193010,"filename":"image_04012025_09_41_02_340318_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326444521","file1":"1326444503","file0":"1326444362","file3":"1326444524"},"map_files_photo_id_array":[{"photo_id":"1326444521","filename":"file2"},{"photo_id":"1326444503","filename":"file1"},{"photo_id":"1326444362","filename":"file0"},{"photo_id":"1326444524","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326444362":["hashtag1","hashtag2"]},{"1326444521":["hashtag1","hashtag2"]},{"1326444524":["hashtag1","hashtag2"]},{"1326444503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326444362, 1326444521, 1326444524, 1326444503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.878352880477905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:43:03.371774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/41/image_04012025_09_41_02_340318_0003.jpg', '/home/pi/Desktop/images/04012025/09/42/image_04012025_09_42_02_814100_0000.jpg', '/home/pi/Desktop/images/04012025/09/42/image_04012025_09_42_02_814100_0001.jpg', '/home/pi/Desktop/images/04012025/09/42/image_04012025_09_42_02_814100_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/41/image_04012025_09_41_02_340318_0003.jpg
/home/pi/Desktop/images/04012025/09/42/image_04012025_09_42_02_814100_0000.jpg
/home/pi/Desktop/images/04012025/09/42/image_04012025_09_42_02_814100_0001.jpg
/home/pi/Desktop/images/04012025/09/42/image_04012025_09_42_02_814100_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.010018348693848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:43:22.636148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/41/image_04012025_09_41_02_340318_0003.jpg', '/home/pi/Desktop/images/04012025/09/42/image_04012025_09_42_02_814100_0000.jpg', '/home/pi/Desktop/images/04012025/09/42/image_04012025_09_42_02_814100_0001.jpg', '/home/pi/Desktop/images/04012025/09/42/image_04012025_09_42_02_814100_0002.jpg', '/home/pi/Desktop/images/04012025/09/42/image_04012025_09_42_02_814100_0003.jpg', '/home/pi/Desktop/images/04012025/09/43/image_04012025_09_43_02_520185_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/41/image_04012025_09_41_02_340318_0003.jpg
/home/pi/Desktop/images/04012025/09/42/image_04012025_09_42_02_814100_0000.jpg
/home/pi/Desktop/images/04012025/09/42/image_04012025_09_42_02_814100_0001.jpg
/home/pi/Desktop/images/04012025/09/42/image_04012025_09_42_02_814100_0002.jpg
/home/pi/Desktop/images/04012025/09/42/image_04012025_09_42_02_814100_0003.jpg
/home/pi/Desktop/images/04012025/09/43/image_04012025_09_43_02_520185_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326445569","1326445659","1326445566","1326445704","1326445716","1326445673"],"photo_ids_order":["1326445566","1326445569","1326445659","1326445673","1326445704","1326445716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/316595f868d4c0ff415676a67205c785.jpg","text":"TemporaryFile(/tmp/multipartBody4011046657492652328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980277993,"filename":"image_04012025_09_42_02_814100_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/930742065ab13feff93f86eab1465165.jpg","text":"TemporaryFile(/tmp/multipartBody4746631193705409901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980277993,"filename":"image_04012025_09_42_02_814100_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/febb1a2e9880afe93a76ac0159c8e06b.jpg","text":"TemporaryFile(/tmp/multipartBody8423613099624257215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980277993,"filename":"image_04012025_09_41_02_340318_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8c46e173846ab55461637d21447af07b.jpg","text":"TemporaryFile(/tmp/multipartBody6818244395587594603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980277993,"filename":"image_04012025_09_42_02_814100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a17ac9bd036b52821e6b7b47ca807c81.jpg","text":"TemporaryFile(/tmp/multipartBody1765426411986150887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980277993,"filename":"image_04012025_09_43_02_520185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6541f45f6ce79d5eae0347f1246e27d6.jpg","text":"TemporaryFile(/tmp/multipartBody3748600757385481707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980277993,"filename":"image_04012025_09_42_02_814100_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326445659","file1":"1326445569","file0":"1326445566","file4":"1326445704","file5":"1326445716","file3":"1326445673"},"map_files_photo_id_array":[{"photo_id":"1326445716","filename":"file5"},{"photo_id":"1326445659","filename":"file2"},{"photo_id":"1326445704","filename":"file4"},{"photo_id":"1326445569","filename":"file1"},{"photo_id":"1326445566","filename":"file0"},{"photo_id":"1326445673","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326445569":["hashtag1","hashtag2"]},{"1326445659":["hashtag1","hashtag2"]},{"1326445566":["hashtag1","hashtag2"]},{"1326445704":["hashtag1","hashtag2"]},{"1326445716":["hashtag1","hashtag2"]},{"1326445673":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326445569, 1326445659, 1326445566, 1326445704, 1326445716, 1326445673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.874757051467896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:44:22.355287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/43/image_04012025_09_43_02_520185_0001.jpg', '/home/pi/Desktop/images/04012025/09/43/image_04012025_09_43_02_520185_0002.jpg', '/home/pi/Desktop/images/04012025/09/43/image_04012025_09_43_02_520185_0003.jpg', '/home/pi/Desktop/images/04012025/09/44/image_04012025_09_44_03_079795_0000.jpg', '/home/pi/Desktop/images/04012025/09/44/image_04012025_09_44_03_079795_0001.jpg', '/home/pi/Desktop/images/04012025/09/44/image_04012025_09_44_03_079795_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/43/image_04012025_09_43_02_520185_0001.jpg
/home/pi/Desktop/images/04012025/09/43/image_04012025_09_43_02_520185_0002.jpg
/home/pi/Desktop/images/04012025/09/43/image_04012025_09_43_02_520185_0003.jpg
/home/pi/Desktop/images/04012025/09/44/image_04012025_09_44_03_079795_0000.jpg
/home/pi/Desktop/images/04012025/09/44/image_04012025_09_44_03_079795_0001.jpg
/home/pi/Desktop/images/04012025/09/44/image_04012025_09_44_03_079795_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326446875","1326446878","1326446302","1326446964","1326446459","1326446689"],"photo_ids_order":["1326446302","1326446459","1326446689","1326446875","1326446878","1326446964"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/252e4822e3eb72ba2a77494312c59b72.jpg","text":"TemporaryFile(/tmp/multipartBody5414278983627564067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980337817,"filename":"image_04012025_09_44_03_079795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2793b36159cb2a99f203d8f2f0ad31b0.jpg","text":"TemporaryFile(/tmp/multipartBody6451763280864182414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980337817,"filename":"image_04012025_09_44_03_079795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a528faefcfc6b5c3f29a542337ccb5a5.jpg","text":"TemporaryFile(/tmp/multipartBody8075752517742513614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980337817,"filename":"image_04012025_09_43_02_520185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f9837527ccc46034ff9067f949013ed.jpg","text":"TemporaryFile(/tmp/multipartBody8580393301890750331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980337817,"filename":"image_04012025_09_44_03_079795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c9193b49e05278bfd39b2eeb6ae93273.jpg","text":"TemporaryFile(/tmp/multipartBody5566566357154663380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980337817,"filename":"image_04012025_09_43_02_520185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3fda6932c5c1e5301d15baa3791678e4.jpg","text":"TemporaryFile(/tmp/multipartBody5945722405946350734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980337817,"filename":"image_04012025_09_43_02_520185_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326446689","file1":"1326446459","file0":"1326446302","file4":"1326446878","file5":"1326446964","file3":"1326446875"},"map_files_photo_id_array":[{"photo_id":"1326446964","filename":"file5"},{"photo_id":"1326446689","filename":"file2"},{"photo_id":"1326446878","filename":"file4"},{"photo_id":"1326446459","filename":"file1"},{"photo_id":"1326446302","filename":"file0"},{"photo_id":"1326446875","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326446875":["hashtag1","hashtag2"]},{"1326446878":["hashtag1","hashtag2"]},{"1326446302":["hashtag1","hashtag2"]},{"1326446964":["hashtag1","hashtag2"]},{"1326446459":["hashtag1","hashtag2"]},{"1326446689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326446875, 1326446878, 1326446302, 1326446964, 1326446459, 1326446689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.90851902961731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:46:02.653076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/44/image_04012025_09_44_03_079795_0003.jpg', '/home/pi/Desktop/images/04012025/09/45/image_04012025_09_45_02_697536_0000.jpg', '/home/pi/Desktop/images/04012025/09/45/image_04012025_09_45_02_697536_0001.jpg', '/home/pi/Desktop/images/04012025/09/45/image_04012025_09_45_02_697536_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/44/image_04012025_09_44_03_079795_0003.jpg
/home/pi/Desktop/images/04012025/09/45/image_04012025_09_45_02_697536_0000.jpg
/home/pi/Desktop/images/04012025/09/45/image_04012025_09_45_02_697536_0001.jpg
/home/pi/Desktop/images/04012025/09/45/image_04012025_09_45_02_697536_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326447471","1326447474","1326447468","1326447479"],"photo_ids_order":["1326447468","1326447471","1326447474","1326447479"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9e331a1dceb02248031db4eec2ad6ed4.jpg","text":"TemporaryFile(/tmp/multipartBody9089117566677131396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980432990,"filename":"image_04012025_09_45_02_697536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cfe1287c3d145ce470a1da27cc525f64.jpg","text":"TemporaryFile(/tmp/multipartBody3670486088498097780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980432990,"filename":"image_04012025_09_45_02_697536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5631f989404b3aed01491fdfda283cbb.jpg","text":"TemporaryFile(/tmp/multipartBody4729675645939747887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980432990,"filename":"image_04012025_09_44_03_079795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f628f9487218931baae4ea7ae610e194.jpg","text":"TemporaryFile(/tmp/multipartBody8340877297726321217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980432990,"filename":"image_04012025_09_45_02_697536_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326447474","file1":"1326447471","file0":"1326447468","file3":"1326447479"},"map_files_photo_id_array":[{"photo_id":"1326447474","filename":"file2"},{"photo_id":"1326447471","filename":"file1"},{"photo_id":"1326447468","filename":"file0"},{"photo_id":"1326447479","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326447471":["hashtag1","hashtag2"]},{"1326447474":["hashtag1","hashtag2"]},{"1326447468":["hashtag1","hashtag2"]},{"1326447479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326447471, 1326447474, 1326447468, 1326447479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.74394369125366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:47:02.412325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/45/image_04012025_09_45_02_697536_0003.jpg', '/home/pi/Desktop/images/04012025/09/46/image_04012025_09_46_02_197175_0000.jpg', '/home/pi/Desktop/images/04012025/09/46/image_04012025_09_46_02_197175_0001.jpg', '/home/pi/Desktop/images/04012025/09/46/image_04012025_09_46_02_197175_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/45/image_04012025_09_45_02_697536_0003.jpg
/home/pi/Desktop/images/04012025/09/46/image_04012025_09_46_02_197175_0000.jpg
/home/pi/Desktop/images/04012025/09/46/image_04012025_09_46_02_197175_0001.jpg
/home/pi/Desktop/images/04012025/09/46/image_04012025_09_46_02_197175_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326447981","1326447963","1326447962","1326448180"],"photo_ids_order":["1326447962","1326447963","1326447981","1326448180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a64354c9ca28ccc7df202b6689651d4c.jpg","text":"TemporaryFile(/tmp/multipartBody7495475125378153819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980492634,"filename":"image_04012025_09_46_02_197175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b97363c2c3fa0ba417fd9083a97cc222.jpg","text":"TemporaryFile(/tmp/multipartBody7772901407907120151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980492634,"filename":"image_04012025_09_46_02_197175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/feeea27d4c1990500230f0a9ea01ae55.jpg","text":"TemporaryFile(/tmp/multipartBody3453010102849475794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980492634,"filename":"image_04012025_09_45_02_697536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a01032b702447b2daa8ea013781376ca.jpg","text":"TemporaryFile(/tmp/multipartBody185730774274155365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980492634,"filename":"image_04012025_09_46_02_197175_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326447981","file1":"1326447963","file0":"1326447962","file3":"1326448180"},"map_files_photo_id_array":[{"photo_id":"1326447981","filename":"file2"},{"photo_id":"1326447963","filename":"file1"},{"photo_id":"1326447962","filename":"file0"},{"photo_id":"1326448180","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326447981":["hashtag1","hashtag2"]},{"1326447963":["hashtag1","hashtag2"]},{"1326447962":["hashtag1","hashtag2"]},{"1326448180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326447981, 1326447963, 1326447962, 1326448180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.85540246963501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:48:02.996044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/46/image_04012025_09_46_02_197175_0003.jpg', '/home/pi/Desktop/images/04012025/09/47/image_04012025_09_47_02_733276_0000.jpg', '/home/pi/Desktop/images/04012025/09/47/image_04012025_09_47_02_733276_0001.jpg', '/home/pi/Desktop/images/04012025/09/47/image_04012025_09_47_02_733276_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/46/image_04012025_09_46_02_197175_0003.jpg
/home/pi/Desktop/images/04012025/09/47/image_04012025_09_47_02_733276_0000.jpg
/home/pi/Desktop/images/04012025/09/47/image_04012025_09_47_02_733276_0001.jpg
/home/pi/Desktop/images/04012025/09/47/image_04012025_09_47_02_733276_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.10773229598999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:48:22.533239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/46/image_04012025_09_46_02_197175_0003.jpg', '/home/pi/Desktop/images/04012025/09/47/image_04012025_09_47_02_733276_0000.jpg', '/home/pi/Desktop/images/04012025/09/47/image_04012025_09_47_02_733276_0001.jpg', '/home/pi/Desktop/images/04012025/09/47/image_04012025_09_47_02_733276_0002.jpg', '/home/pi/Desktop/images/04012025/09/47/image_04012025_09_47_02_733276_0003.jpg', '/home/pi/Desktop/images/04012025/09/48/image_04012025_09_48_02_249865_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/46/image_04012025_09_46_02_197175_0003.jpg
/home/pi/Desktop/images/04012025/09/47/image_04012025_09_47_02_733276_0000.jpg
/home/pi/Desktop/images/04012025/09/47/image_04012025_09_47_02_733276_0001.jpg
/home/pi/Desktop/images/04012025/09/47/image_04012025_09_47_02_733276_0002.jpg
/home/pi/Desktop/images/04012025/09/47/image_04012025_09_47_02_733276_0003.jpg
/home/pi/Desktop/images/04012025/09/48/image_04012025_09_48_02_249865_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326449768","1326449459","1326449339","1326449335","1326449763","1326449331"],"photo_ids_order":["1326449331","1326449335","1326449339","1326449459","1326449763","1326449768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8618a23a6060c244a0fd2f769f0fd81f.jpg","text":"TemporaryFile(/tmp/multipartBody4508196555029337881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980577847,"filename":"image_04012025_09_48_02_249865_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d3b7f786dc16026de9967a5305c2833.jpg","text":"TemporaryFile(/tmp/multipartBody5914160249769099821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980577847,"filename":"image_04012025_09_47_02_733276_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/852963c28fb1725b3a3c077860b7d19a.jpg","text":"TemporaryFile(/tmp/multipartBody678626780718728066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980577847,"filename":"image_04012025_09_47_02_733276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d7c157ee733cb638462f8739e2f2ef44.jpg","text":"TemporaryFile(/tmp/multipartBody8914942499057482730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980577847,"filename":"image_04012025_09_47_02_733276_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c58510731f33a37f5f479ea4c2f10145.jpg","text":"TemporaryFile(/tmp/multipartBody1650458321076789914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980577847,"filename":"image_04012025_09_47_02_733276_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/76051fa1f614443f14eb3ebc7a601b33.jpg","text":"TemporaryFile(/tmp/multipartBody8618736927092441229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980577847,"filename":"image_04012025_09_46_02_197175_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326449339","file1":"1326449335","file0":"1326449331","file4":"1326449763","file5":"1326449768","file3":"1326449459"},"map_files_photo_id_array":[{"photo_id":"1326449768","filename":"file5"},{"photo_id":"1326449339","filename":"file2"},{"photo_id":"1326449763","filename":"file4"},{"photo_id":"1326449335","filename":"file1"},{"photo_id":"1326449331","filename":"file0"},{"photo_id":"1326449459","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326449768":["hashtag1","hashtag2"]},{"1326449459":["hashtag1","hashtag2"]},{"1326449339":["hashtag1","hashtag2"]},{"1326449335":["hashtag1","hashtag2"]},{"1326449763":["hashtag1","hashtag2"]},{"1326449331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326449768, 1326449459, 1326449339, 1326449335, 1326449763, 1326449331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.73511457443237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:49:22.011469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/48/image_04012025_09_48_02_249865_0001.jpg', '/home/pi/Desktop/images/04012025/09/48/image_04012025_09_48_02_249865_0002.jpg', '/home/pi/Desktop/images/04012025/09/48/image_04012025_09_48_02_249865_0003.jpg', '/home/pi/Desktop/images/04012025/09/49/image_04012025_09_49_02_907155_0000.jpg', '/home/pi/Desktop/images/04012025/09/49/image_04012025_09_49_02_907155_0001.jpg', '/home/pi/Desktop/images/04012025/09/49/image_04012025_09_49_02_907155_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/48/image_04012025_09_48_02_249865_0001.jpg
/home/pi/Desktop/images/04012025/09/48/image_04012025_09_48_02_249865_0002.jpg
/home/pi/Desktop/images/04012025/09/48/image_04012025_09_48_02_249865_0003.jpg
/home/pi/Desktop/images/04012025/09/49/image_04012025_09_49_02_907155_0000.jpg
/home/pi/Desktop/images/04012025/09/49/image_04012025_09_49_02_907155_0001.jpg
/home/pi/Desktop/images/04012025/09/49/image_04012025_09_49_02_907155_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326449972","1326449969","1326450038","1326449965","1326449974","1326449962"],"photo_ids_order":["1326449962","1326449965","1326449969","1326449972","1326449974","1326450038"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1ea8f608e5484f1cb76e3edf4fb19da5.jpg","text":"TemporaryFile(/tmp/multipartBody1630680589441554387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980637124,"filename":"image_04012025_09_49_02_907155_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7834f1abb69b96448809dea7e450694e.jpg","text":"TemporaryFile(/tmp/multipartBody3633525129942974479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980637124,"filename":"image_04012025_09_48_02_249865_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/00f9ab74ef3e11b2b35487cfe8df5853.jpg","text":"TemporaryFile(/tmp/multipartBody2580611441027821765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980637124,"filename":"image_04012025_09_49_02_907155_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/664eabed451163cd89ddc0e64e7abdeb.jpg","text":"TemporaryFile(/tmp/multipartBody5348803656604026323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980637124,"filename":"image_04012025_09_48_02_249865_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/44d5a0b565d42e8e179962eca2a123d9.jpg","text":"TemporaryFile(/tmp/multipartBody5837872479396015474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980637124,"filename":"image_04012025_09_49_02_907155_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eeb394b1bfa36fe8754a09fe2c0dee0f.jpg","text":"TemporaryFile(/tmp/multipartBody3677349664414638649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980637124,"filename":"image_04012025_09_48_02_249865_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326449969","file1":"1326449965","file0":"1326449962","file4":"1326449974","file5":"1326450038","file3":"1326449972"},"map_files_photo_id_array":[{"photo_id":"1326450038","filename":"file5"},{"photo_id":"1326449969","filename":"file2"},{"photo_id":"1326449974","filename":"file4"},{"photo_id":"1326449965","filename":"file1"},{"photo_id":"1326449962","filename":"file0"},{"photo_id":"1326449972","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326449972":["hashtag1","hashtag2"]},{"1326449969":["hashtag1","hashtag2"]},{"1326450038":["hashtag1","hashtag2"]},{"1326449965":["hashtag1","hashtag2"]},{"1326449974":["hashtag1","hashtag2"]},{"1326449962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326449972, 1326449969, 1326450038, 1326449965, 1326449974, 1326449962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.47147059440613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:50:22.595368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/49/image_04012025_09_49_02_907155_0003.jpg', '/home/pi/Desktop/images/04012025/09/50/image_04012025_09_50_02_407040_0000.jpg', '/home/pi/Desktop/images/04012025/09/50/image_04012025_09_50_02_407040_0001.jpg', '/home/pi/Desktop/images/04012025/09/50/image_04012025_09_50_02_407040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/49/image_04012025_09_49_02_907155_0003.jpg
/home/pi/Desktop/images/04012025/09/50/image_04012025_09_50_02_407040_0000.jpg
/home/pi/Desktop/images/04012025/09/50/image_04012025_09_50_02_407040_0001.jpg
/home/pi/Desktop/images/04012025/09/50/image_04012025_09_50_02_407040_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.898401021957397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:51:02.672226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/49/image_04012025_09_49_02_907155_0003.jpg', '/home/pi/Desktop/images/04012025/09/50/image_04012025_09_50_02_407040_0000.jpg', '/home/pi/Desktop/images/04012025/09/50/image_04012025_09_50_02_407040_0001.jpg', '/home/pi/Desktop/images/04012025/09/50/image_04012025_09_50_02_407040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/49/image_04012025_09_49_02_907155_0003.jpg
/home/pi/Desktop/images/04012025/09/50/image_04012025_09_50_02_407040_0000.jpg
/home/pi/Desktop/images/04012025/09/50/image_04012025_09_50_02_407040_0001.jpg
/home/pi/Desktop/images/04012025/09/50/image_04012025_09_50_02_407040_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326451146","1326450824","1326451441","1326451446"],"photo_ids_order":["1326450824","1326451146","1326451441","1326451446"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d942c151d9cb08e61c3d466681a2b124.jpg","text":"TemporaryFile(/tmp/multipartBody1086842608246535211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980733006,"filename":"image_04012025_09_50_02_407040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/80296c14e0363fb92b34954b819b3ca8.jpg","text":"TemporaryFile(/tmp/multipartBody5404146488689294107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980733006,"filename":"image_04012025_09_49_02_907155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/55d4f348f8772c3a3ce68f293dadd8fb.jpg","text":"TemporaryFile(/tmp/multipartBody6297735091685600515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980733006,"filename":"image_04012025_09_50_02_407040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/04802f2a6338f52483d37ac542b9574e.jpg","text":"TemporaryFile(/tmp/multipartBody985158069806833781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980733006,"filename":"image_04012025_09_50_02_407040_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326451441","file1":"1326451146","file0":"1326450824","file3":"1326451446"},"map_files_photo_id_array":[{"photo_id":"1326451441","filename":"file2"},{"photo_id":"1326451146","filename":"file1"},{"photo_id":"1326450824","filename":"file0"},{"photo_id":"1326451446","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326451146":["hashtag1","hashtag2"]},{"1326450824":["hashtag1","hashtag2"]},{"1326451441":["hashtag1","hashtag2"]},{"1326451446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326451146, 1326450824, 1326451441, 1326451446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.40892744064331 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:52:03.154183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/50/image_04012025_09_50_02_407040_0003.jpg', '/home/pi/Desktop/images/04012025/09/51/image_04012025_09_51_02_899207_0000.jpg', '/home/pi/Desktop/images/04012025/09/51/image_04012025_09_51_02_899207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/50/image_04012025_09_50_02_407040_0003.jpg
/home/pi/Desktop/images/04012025/09/51/image_04012025_09_51_02_899207_0000.jpg
/home/pi/Desktop/images/04012025/09/51/image_04012025_09_51_02_899207_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326452326","1326452331","1326452328"],"photo_ids_order":["1326452326","1326452328","1326452331"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/06cdff60de3955a0b2e9e8707f085a23.jpg","text":"TemporaryFile(/tmp/multipartBody6102605787215487531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980791138,"filename":"image_04012025_09_50_02_407040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/366801d7cde493ead3d2846dc8be7b74.jpg","text":"TemporaryFile(/tmp/multipartBody2724669154652049088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980791138,"filename":"image_04012025_09_51_02_899207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f559580ce8f31dcaa8c85b9c19665362.jpg","text":"TemporaryFile(/tmp/multipartBody6745135962070109700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980791138,"filename":"image_04012025_09_51_02_899207_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326452331","file1":"1326452328","file0":"1326452326"},"map_files_photo_id_array":[{"photo_id":"1326452331","filename":"file2"},{"photo_id":"1326452328","filename":"file1"},{"photo_id":"1326452326","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326452326":["hashtag1","hashtag2"]},{"1326452331":["hashtag1","hashtag2"]},{"1326452328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326452326, 1326452331, 1326452328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.400692462921143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:53:02.815614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/51/image_04012025_09_51_02_899207_0003.jpg', '/home/pi/Desktop/images/04012025/09/52/image_04012025_09_52_02_443761_0000.jpg', '/home/pi/Desktop/images/04012025/09/52/image_04012025_09_52_02_443761_0001.jpg', '/home/pi/Desktop/images/04012025/09/52/image_04012025_09_52_02_443761_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/51/image_04012025_09_51_02_899207_0003.jpg
/home/pi/Desktop/images/04012025/09/52/image_04012025_09_52_02_443761_0000.jpg
/home/pi/Desktop/images/04012025/09/52/image_04012025_09_52_02_443761_0001.jpg
/home/pi/Desktop/images/04012025/09/52/image_04012025_09_52_02_443761_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.993080854415894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:53:22.241460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/51/image_04012025_09_51_02_899207_0003.jpg', '/home/pi/Desktop/images/04012025/09/52/image_04012025_09_52_02_443761_0000.jpg', '/home/pi/Desktop/images/04012025/09/52/image_04012025_09_52_02_443761_0001.jpg', '/home/pi/Desktop/images/04012025/09/52/image_04012025_09_52_02_443761_0002.jpg', '/home/pi/Desktop/images/04012025/09/52/image_04012025_09_52_02_443761_0003.jpg', '/home/pi/Desktop/images/04012025/09/53/image_04012025_09_53_03_081551_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/51/image_04012025_09_51_02_899207_0003.jpg
/home/pi/Desktop/images/04012025/09/52/image_04012025_09_52_02_443761_0000.jpg
/home/pi/Desktop/images/04012025/09/52/image_04012025_09_52_02_443761_0001.jpg
/home/pi/Desktop/images/04012025/09/52/image_04012025_09_52_02_443761_0002.jpg
/home/pi/Desktop/images/04012025/09/52/image_04012025_09_52_02_443761_0003.jpg
/home/pi/Desktop/images/04012025/09/53/image_04012025_09_53_03_081551_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326453271","1326453285","1326453279","1326453492","1326453282","1326453275"],"photo_ids_order":["1326453271","1326453275","1326453279","1326453282","1326453285","1326453492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e576ca8762bcae8bf59ca249f9104196.jpg","text":"TemporaryFile(/tmp/multipartBody1032756515101764162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980877382,"filename":"image_04012025_09_51_02_899207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e996bdb1c8f5fc519e52766e1d88e67c.jpg","text":"TemporaryFile(/tmp/multipartBody7594546261775030877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980877382,"filename":"image_04012025_09_52_02_443761_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8fdfe03ad44297ff620247af96c0b65a.jpg","text":"TemporaryFile(/tmp/multipartBody4378241034752098445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980877382,"filename":"image_04012025_09_52_02_443761_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/13c150edb9ac27aa342a7678264f0838.jpg","text":"TemporaryFile(/tmp/multipartBody2312132903794855227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980877382,"filename":"image_04012025_09_53_03_081551_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30ccd417ce2954498a0404b8498f7472.jpg","text":"TemporaryFile(/tmp/multipartBody2772116478499611941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980877382,"filename":"image_04012025_09_52_02_443761_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d1b694ce333d9dc8b32e95f60e89fdfa.jpg","text":"TemporaryFile(/tmp/multipartBody4266635878214321004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980877382,"filename":"image_04012025_09_52_02_443761_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326453279","file1":"1326453275","file0":"1326453271","file4":"1326453285","file5":"1326453492","file3":"1326453282"},"map_files_photo_id_array":[{"photo_id":"1326453492","filename":"file5"},{"photo_id":"1326453279","filename":"file2"},{"photo_id":"1326453285","filename":"file4"},{"photo_id":"1326453275","filename":"file1"},{"photo_id":"1326453271","filename":"file0"},{"photo_id":"1326453282","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326453271":["hashtag1","hashtag2"]},{"1326453285":["hashtag1","hashtag2"]},{"1326453279":["hashtag1","hashtag2"]},{"1326453492":["hashtag1","hashtag2"]},{"1326453282":["hashtag1","hashtag2"]},{"1326453275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326453271, 1326453285, 1326453279, 1326453492, 1326453282, 1326453275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.84081029891968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:54:21.892037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/53/image_04012025_09_53_03_081551_0001.jpg', '/home/pi/Desktop/images/04012025/09/53/image_04012025_09_53_03_081551_0002.jpg', '/home/pi/Desktop/images/04012025/09/53/image_04012025_09_53_03_081551_0003.jpg', '/home/pi/Desktop/images/04012025/09/54/image_04012025_09_54_02_662660_0000.jpg', '/home/pi/Desktop/images/04012025/09/54/image_04012025_09_54_02_662660_0001.jpg', '/home/pi/Desktop/images/04012025/09/54/image_04012025_09_54_02_662660_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/53/image_04012025_09_53_03_081551_0001.jpg
/home/pi/Desktop/images/04012025/09/53/image_04012025_09_53_03_081551_0002.jpg
/home/pi/Desktop/images/04012025/09/53/image_04012025_09_53_03_081551_0003.jpg
/home/pi/Desktop/images/04012025/09/54/image_04012025_09_54_02_662660_0000.jpg
/home/pi/Desktop/images/04012025/09/54/image_04012025_09_54_02_662660_0001.jpg
/home/pi/Desktop/images/04012025/09/54/image_04012025_09_54_02_662660_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.583516597747803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:55:02.981325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/53/image_04012025_09_53_03_081551_0001.jpg', '/home/pi/Desktop/images/04012025/09/53/image_04012025_09_53_03_081551_0002.jpg', '/home/pi/Desktop/images/04012025/09/53/image_04012025_09_53_03_081551_0003.jpg', '/home/pi/Desktop/images/04012025/09/54/image_04012025_09_54_02_662660_0000.jpg', '/home/pi/Desktop/images/04012025/09/54/image_04012025_09_54_02_662660_0001.jpg', '/home/pi/Desktop/images/04012025/09/54/image_04012025_09_54_02_662660_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/53/image_04012025_09_53_03_081551_0001.jpg
/home/pi/Desktop/images/04012025/09/53/image_04012025_09_53_03_081551_0002.jpg
/home/pi/Desktop/images/04012025/09/53/image_04012025_09_53_03_081551_0003.jpg
/home/pi/Desktop/images/04012025/09/54/image_04012025_09_54_02_662660_0000.jpg
/home/pi/Desktop/images/04012025/09/54/image_04012025_09_54_02_662660_0001.jpg
/home/pi/Desktop/images/04012025/09/54/image_04012025_09_54_02_662660_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326454889","1326454862","1326454891","1326454885","1326454894","1326454897"],"photo_ids_order":["1326454862","1326454885","1326454889","1326454891","1326454894","1326454897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/659534f8a5522b0bba2b0b8336684a02.jpg","text":"TemporaryFile(/tmp/multipartBody7789268022748982817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980978055,"filename":"image_04012025_09_53_03_081551_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9e0e26b3dfd1b68dab51a6b495e5ec36.jpg","text":"TemporaryFile(/tmp/multipartBody4314950412992426005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980978055,"filename":"image_04012025_09_53_03_081551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e3b3469700ef3c4f1edccd9f583c1c9f.jpg","text":"TemporaryFile(/tmp/multipartBody115634602796640829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980978055,"filename":"image_04012025_09_54_02_662660_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/06f3055af31183f192d76e4a04fe9cce.jpg","text":"TemporaryFile(/tmp/multipartBody1919710089222751400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980978055,"filename":"image_04012025_09_53_03_081551_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/baa4da087f39e60ece21bee82286f9f8.jpg","text":"TemporaryFile(/tmp/multipartBody6572929832371436168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980978055,"filename":"image_04012025_09_54_02_662660_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/27f677226c20f43fff6092c822f88f52.jpg","text":"TemporaryFile(/tmp/multipartBody2429374065257716162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735980978055,"filename":"image_04012025_09_54_02_662660_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326454889","file1":"1326454885","file0":"1326454862","file4":"1326454894","file5":"1326454897","file3":"1326454891"},"map_files_photo_id_array":[{"photo_id":"1326454897","filename":"file5"},{"photo_id":"1326454889","filename":"file2"},{"photo_id":"1326454894","filename":"file4"},{"photo_id":"1326454885","filename":"file1"},{"photo_id":"1326454862","filename":"file0"},{"photo_id":"1326454891","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326454889":["hashtag1","hashtag2"]},{"1326454862":["hashtag1","hashtag2"]},{"1326454891":["hashtag1","hashtag2"]},{"1326454885":["hashtag1","hashtag2"]},{"1326454894":["hashtag1","hashtag2"]},{"1326454897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326454889, 1326454862, 1326454891, 1326454885, 1326454894, 1326454897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.182212114334106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 09:56:02.475980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/54/image_04012025_09_54_02_662660_0003.jpg', '/home/pi/Desktop/images/04012025/09/55/image_04012025_09_55_02_231073_0000.jpg', '/home/pi/Desktop/images/04012025/09/55/image_04012025_09_55_02_231073_0001.jpg', '/home/pi/Desktop/images/04012025/09/55/image_04012025_09_55_02_231073_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/54/image_04012025_09_54_02_662660_0003.jpg
/home/pi/Desktop/images/04012025/09/55/image_04012025_09_55_02_231073_0000.jpg
/home/pi/Desktop/images/04012025/09/55/image_04012025_09_55_02_231073_0001.jpg
/home/pi/Desktop/images/04012025/09/55/image_04012025_09_55_02_231073_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.021353721618652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:56:22.006660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/54/image_04012025_09_54_02_662660_0003.jpg', '/home/pi/Desktop/images/04012025/09/55/image_04012025_09_55_02_231073_0000.jpg', '/home/pi/Desktop/images/04012025/09/55/image_04012025_09_55_02_231073_0001.jpg', '/home/pi/Desktop/images/04012025/09/55/image_04012025_09_55_02_231073_0002.jpg', '/home/pi/Desktop/images/04012025/09/55/image_04012025_09_55_02_231073_0003.jpg', '/home/pi/Desktop/images/04012025/09/56/image_04012025_09_56_02_739370_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/54/image_04012025_09_54_02_662660_0003.jpg
/home/pi/Desktop/images/04012025/09/55/image_04012025_09_55_02_231073_0000.jpg
/home/pi/Desktop/images/04012025/09/55/image_04012025_09_55_02_231073_0001.jpg
/home/pi/Desktop/images/04012025/09/55/image_04012025_09_55_02_231073_0002.jpg
/home/pi/Desktop/images/04012025/09/55/image_04012025_09_55_02_231073_0003.jpg
/home/pi/Desktop/images/04012025/09/56/image_04012025_09_56_02_739370_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326456255","1326456216","1326455999","1326456368","1326455872","1326456316"],"photo_ids_order":["1326455872","1326455999","1326456216","1326456255","1326456316","1326456368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a05532163add8d3f0ab5d1b25f0d9ff4.jpg","text":"TemporaryFile(/tmp/multipartBody1146056471122647786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981057203,"filename":"image_04012025_09_55_02_231073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1a3f1590be9c4a82c1fe9ca10dbdc5b2.jpg","text":"TemporaryFile(/tmp/multipartBody7469653897384197944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981057203,"filename":"image_04012025_09_55_02_231073_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fa232f271da96a984825af3708634e3b.jpg","text":"TemporaryFile(/tmp/multipartBody8435313323973397545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981057203,"filename":"image_04012025_09_55_02_231073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/71a13efcdc4d4b582f8d71e42d59f6f5.jpg","text":"TemporaryFile(/tmp/multipartBody4736515778056865221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981057203,"filename":"image_04012025_09_56_02_739370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2ffe24a0513087c685b0c9c63fbf893a.jpg","text":"TemporaryFile(/tmp/multipartBody5486808916931817186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981057203,"filename":"image_04012025_09_54_02_662660_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/626aea6cbdae1d31f243f583f1b60ef4.jpg","text":"TemporaryFile(/tmp/multipartBody5938688460638092785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981057203,"filename":"image_04012025_09_55_02_231073_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326456216","file1":"1326455999","file0":"1326455872","file4":"1326456316","file5":"1326456368","file3":"1326456255"},"map_files_photo_id_array":[{"photo_id":"1326456368","filename":"file5"},{"photo_id":"1326456216","filename":"file2"},{"photo_id":"1326456316","filename":"file4"},{"photo_id":"1326455999","filename":"file1"},{"photo_id":"1326455872","filename":"file0"},{"photo_id":"1326456255","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326456255":["hashtag1","hashtag2"]},{"1326456216":["hashtag1","hashtag2"]},{"1326455999":["hashtag1","hashtag2"]},{"1326456368":["hashtag1","hashtag2"]},{"1326455872":["hashtag1","hashtag2"]},{"1326456316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326456255, 1326456216, 1326455999, 1326456368, 1326455872, 1326456316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.31817078590393 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 09:57:22.527804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/56/image_04012025_09_56_02_739370_0002.jpg', '/home/pi/Desktop/images/04012025/09/56/image_04012025_09_56_02_739370_0003.jpg', '/home/pi/Desktop/images/04012025/09/57/image_04012025_09_57_02_386261_0000.jpg', '/home/pi/Desktop/images/04012025/09/57/image_04012025_09_57_02_386261_0001.jpg', '/home/pi/Desktop/images/04012025/09/57/image_04012025_09_57_02_386261_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/56/image_04012025_09_56_02_739370_0002.jpg
/home/pi/Desktop/images/04012025/09/56/image_04012025_09_56_02_739370_0003.jpg
/home/pi/Desktop/images/04012025/09/57/image_04012025_09_57_02_386261_0000.jpg
/home/pi/Desktop/images/04012025/09/57/image_04012025_09_57_02_386261_0001.jpg
/home/pi/Desktop/images/04012025/09/57/image_04012025_09_57_02_386261_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-04 09:59:02.909782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/56/image_04012025_09_56_02_739370_0002.jpg', '/home/pi/Desktop/images/04012025/09/56/image_04012025_09_56_02_739370_0003.jpg', '/home/pi/Desktop/images/04012025/09/57/image_04012025_09_57_02_386261_0000.jpg', '/home/pi/Desktop/images/04012025/09/57/image_04012025_09_57_02_386261_0001.jpg', '/home/pi/Desktop/images/04012025/09/57/image_04012025_09_57_02_386261_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/56/image_04012025_09_56_02_739370_0002.jpg
/home/pi/Desktop/images/04012025/09/56/image_04012025_09_56_02_739370_0003.jpg
/home/pi/Desktop/images/04012025/09/57/image_04012025_09_57_02_386261_0000.jpg
/home/pi/Desktop/images/04012025/09/57/image_04012025_09_57_02_386261_0001.jpg
/home/pi/Desktop/images/04012025/09/57/image_04012025_09_57_02_386261_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326458338","1326458239","1326458340","1326458334","1326458328"],"photo_ids_order":["1326458239","1326458328","1326458334","1326458338","1326458340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bc22eac9ad0cbf0316dcc3ce90df888a.jpg","text":"TemporaryFile(/tmp/multipartBody4408823102257110097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981216144,"filename":"image_04012025_09_57_02_386261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c6f4ab65c89e0e7a9fc4dde29f9847bd.jpg","text":"TemporaryFile(/tmp/multipartBody428024476003268726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981216144,"filename":"image_04012025_09_56_02_739370_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc99a0e9f2514b3837f855a53d1eab46.jpg","text":"TemporaryFile(/tmp/multipartBody1725994991118410825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981216144,"filename":"image_04012025_09_57_02_386261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db98978ae4c97a5fa077060b2d6515be.jpg","text":"TemporaryFile(/tmp/multipartBody8422433617047007185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981216144,"filename":"image_04012025_09_57_02_386261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/710db3af69b717deb55b840949b0a48f.jpg","text":"TemporaryFile(/tmp/multipartBody7289257985183700194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981216144,"filename":"image_04012025_09_56_02_739370_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326458334","file1":"1326458328","file0":"1326458239","file4":"1326458340","file3":"1326458338"},"map_files_photo_id_array":[{"photo_id":"1326458334","filename":"file2"},{"photo_id":"1326458340","filename":"file4"},{"photo_id":"1326458328","filename":"file1"},{"photo_id":"1326458239","filename":"file0"},{"photo_id":"1326458338","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326458338":["hashtag1","hashtag2"]},{"1326458239":["hashtag1","hashtag2"]},{"1326458340":["hashtag1","hashtag2"]},{"1326458334":["hashtag1","hashtag2"]},{"1326458328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326458338, 1326458239, 1326458340, 1326458334, 1326458328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.73533248901367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 09:59:52.201284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/57/image_04012025_09_57_02_386261_0003.jpg', '/home/pi/Desktop/images/04012025/09/58/image_04012025_09_58_02_855232_0000.jpg', '/home/pi/Desktop/images/04012025/09/58/image_04012025_09_58_02_855232_0001.jpg', '/home/pi/Desktop/images/04012025/09/58/image_04012025_09_58_02_855232_0003.jpg', '/home/pi/Desktop/images/04012025/09/59/image_04012025_09_59_02_371177_0000.jpg', '/home/pi/Desktop/images/04012025/09/59/image_04012025_09_59_02_371177_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/57/image_04012025_09_57_02_386261_0003.jpg
/home/pi/Desktop/images/04012025/09/58/image_04012025_09_58_02_855232_0000.jpg
/home/pi/Desktop/images/04012025/09/58/image_04012025_09_58_02_855232_0001.jpg
/home/pi/Desktop/images/04012025/09/58/image_04012025_09_58_02_855232_0003.jpg
/home/pi/Desktop/images/04012025/09/59/image_04012025_09_59_02_371177_0000.jpg
/home/pi/Desktop/images/04012025/09/59/image_04012025_09_59_02_371177_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":["1326458552","1326458566","1326458563","1326458557","1326458796","1326458559"],"photo_ids_order":["1326458552","1326458557","1326458559","1326458563","1326458566","1326458796"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3f85c4cb478414255a7ab5fd3b5a741c.jpg","text":"TemporaryFile(/tmp/multipartBody7018389280195503277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981267455,"filename":"image_04012025_09_57_02_386261_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/90dc41dea18cd76eb8e219c43f3114b6.jpg","text":"TemporaryFile(/tmp/multipartBody4783712490401646560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981267455,"filename":"image_04012025_09_59_02_371177_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1db6107bce5879f93ee80882c578bee4.jpg","text":"TemporaryFile(/tmp/multipartBody756327586818970198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981267455,"filename":"image_04012025_09_58_02_855232_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ae8adc2c3fcc486a8c5470dd70503a18.jpg","text":"TemporaryFile(/tmp/multipartBody637511089432015694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981267455,"filename":"image_04012025_09_58_02_855232_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f9f34789a606b749ee31a3e1c91d2721.jpg","text":"TemporaryFile(/tmp/multipartBody2972554876405432371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981267455,"filename":"image_04012025_09_59_02_371177_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d041eede5160e70732a2ea403627588e.jpg","text":"TemporaryFile(/tmp/multipartBody638206498912768437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981267455,"filename":"image_04012025_09_58_02_855232_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326458559","file1":"1326458557","file0":"1326458552","file4":"1326458566","file5":"1326458796","file3":"1326458563"},"map_files_photo_id_array":[{"photo_id":"1326458796","filename":"file5"},{"photo_id":"1326458559","filename":"file2"},{"photo_id":"1326458566","filename":"file4"},{"photo_id":"1326458557","filename":"file1"},{"photo_id":"1326458552","filename":"file0"},{"photo_id":"1326458563","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326458552":["hashtag1","hashtag2"]},{"1326458566":["hashtag1","hashtag2"]},{"1326458563":["hashtag1","hashtag2"]},{"1326458557":["hashtag1","hashtag2"]},{"1326458796":["hashtag1","hashtag2"]},{"1326458559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326458552, 1326458566, 1326458563, 1326458557, 1326458796, 1326458559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.35667324066162 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 10:00:52.346820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/09/59/image_04012025_09_59_02_371177_0002.jpg', '/home/pi/Desktop/images/04012025/09/59/image_04012025_09_59_02_371177_0003.jpg', '/home/pi/Desktop/images/04012025/10/00/image_04012025_10_00_02_566950_0000.jpg', '/home/pi/Desktop/images/04012025/10/00/image_04012025_10_00_02_566950_0001.jpg', '/home/pi/Desktop/images/04012025/10/00/image_04012025_10_00_02_566950_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/09/59/image_04012025_09_59_02_371177_0002.jpg
/home/pi/Desktop/images/04012025/09/59/image_04012025_09_59_02_371177_0003.jpg
/home/pi/Desktop/images/04012025/10/00/image_04012025_10_00_02_566950_0000.jpg
/home/pi/Desktop/images/04012025/10/00/image_04012025_10_00_02_566950_0001.jpg
/home/pi/Desktop/images/04012025/10/00/image_04012025_10_00_02_566950_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326459054","1326459051","1326459231","1326459053","1326459227"],"photo_ids_order":["1326459051","1326459053","1326459054","1326459227","1326459231"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bba68692fddd9bf95beeef2fd1c819be.jpg","text":"TemporaryFile(/tmp/multipartBody4556793105219025692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981324982,"filename":"image_04012025_10_00_02_566950_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3df5b38c049e65ed7a7b3a7ed667df78.jpg","text":"TemporaryFile(/tmp/multipartBody814805226927588734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981324982,"filename":"image_04012025_09_59_02_371177_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f0a11bc7fa4b24467a81569a309c29d3.jpg","text":"TemporaryFile(/tmp/multipartBody1371717581816988402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981324982,"filename":"image_04012025_10_00_02_566950_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d4280f1355b0bdebd88cec68fae6bbb3.jpg","text":"TemporaryFile(/tmp/multipartBody5629546646051992419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981324982,"filename":"image_04012025_09_59_02_371177_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d440078a636295ed9d09492a2f23bbac.jpg","text":"TemporaryFile(/tmp/multipartBody7661217172546179927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981324982,"filename":"image_04012025_10_00_02_566950_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326459054","file1":"1326459053","file0":"1326459051","file4":"1326459231","file3":"1326459227"},"map_files_photo_id_array":[{"photo_id":"1326459054","filename":"file2"},{"photo_id":"1326459231","filename":"file4"},{"photo_id":"1326459053","filename":"file1"},{"photo_id":"1326459051","filename":"file0"},{"photo_id":"1326459227","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326459054":["hashtag1","hashtag2"]},{"1326459051":["hashtag1","hashtag2"]},{"1326459231":["hashtag1","hashtag2"]},{"1326459053":["hashtag1","hashtag2"]},{"1326459227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326459054, 1326459051, 1326459231, 1326459053, 1326459227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.2525532245636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 10:01:42.519579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/00/image_04012025_10_00_02_566950_0003.jpg', '/home/pi/Desktop/images/04012025/10/01/image_04012025_10_01_02_735228_0000.jpg', '/home/pi/Desktop/images/04012025/10/01/image_04012025_10_01_02_735228_0001.jpg', '/home/pi/Desktop/images/04012025/10/01/image_04012025_10_01_02_735228_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/00/image_04012025_10_00_02_566950_0003.jpg
/home/pi/Desktop/images/04012025/10/01/image_04012025_10_01_02_735228_0000.jpg
/home/pi/Desktop/images/04012025/10/01/image_04012025_10_01_02_735228_0001.jpg
/home/pi/Desktop/images/04012025/10/01/image_04012025_10_01_02_735228_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326459396","1326459360","1326459747","1326459909"],"photo_ids_order":["1326459360","1326459396","1326459747","1326459909"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5b9a68089eaea543cccd70a200599ae0.jpg","text":"TemporaryFile(/tmp/multipartBody379790994761938368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981372879,"filename":"image_04012025_10_01_02_735228_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ced150f78bb0f27bac7769baad75c305.jpg","text":"TemporaryFile(/tmp/multipartBody8765296760851260917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981372879,"filename":"image_04012025_10_00_02_566950_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/41aee6b8c68118b9c078b4cff29cda95.jpg","text":"TemporaryFile(/tmp/multipartBody1797432820650270742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981372879,"filename":"image_04012025_10_01_02_735228_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fbbff58f8767fb119fd0acad93af48eb.jpg","text":"TemporaryFile(/tmp/multipartBody7860256734195459188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981372879,"filename":"image_04012025_10_01_02_735228_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326459747","file1":"1326459396","file0":"1326459360","file3":"1326459909"},"map_files_photo_id_array":[{"photo_id":"1326459747","filename":"file2"},{"photo_id":"1326459396","filename":"file1"},{"photo_id":"1326459360","filename":"file0"},{"photo_id":"1326459909","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326459396":["hashtag1","hashtag2"]},{"1326459360":["hashtag1","hashtag2"]},{"1326459747":["hashtag1","hashtag2"]},{"1326459909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326459396, 1326459360, 1326459747, 1326459909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.182865858078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:02:22.706809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/01/image_04012025_10_01_02_735228_0003.jpg', '/home/pi/Desktop/images/04012025/10/02/image_04012025_10_02_02_979598_0000.jpg', '/home/pi/Desktop/images/04012025/10/02/image_04012025_10_02_02_979598_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/01/image_04012025_10_01_02_735228_0003.jpg
/home/pi/Desktop/images/04012025/10/02/image_04012025_10_02_02_979598_0000.jpg
/home/pi/Desktop/images/04012025/10/02/image_04012025_10_02_02_979598_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":["1326460124","1326460074","1326460026"],"photo_ids_order":["1326460026","1326460074","1326460124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/347aaf3e25a9eb1ab7c6a65cd19ada5a.jpg","text":"TemporaryFile(/tmp/multipartBody7232171614094977186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981410608,"filename":"image_04012025_10_02_02_979598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3e0e2ce8f0adb511cdc3613b574c5c0c.jpg","text":"TemporaryFile(/tmp/multipartBody7024977570178791896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981410608,"filename":"image_04012025_10_02_02_979598_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/43b13b74f5cc9a7edabd6a54847eac07.jpg","text":"TemporaryFile(/tmp/multipartBody724420973927658231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981410608,"filename":"image_04012025_10_01_02_735228_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326460124","file1":"1326460074","file0":"1326460026"},"map_files_photo_id_array":[{"photo_id":"1326460124","filename":"file2"},{"photo_id":"1326460074","filename":"file1"},{"photo_id":"1326460026","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326460124":["hashtag1","hashtag2"]},{"1326460074":["hashtag1","hashtag2"]},{"1326460026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326460124, 1326460074, 1326460026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.974199533462524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:03:02.555776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:03:22.115260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/02/image_04012025_10_02_02_979598_0003.jpg', '/home/pi/Desktop/images/04012025/10/03/image_04012025_10_03_03_168408_0000.jpg', '/home/pi/Desktop/images/04012025/10/03/image_04012025_10_03_03_168408_0001.jpg', '/home/pi/Desktop/images/04012025/10/03/image_04012025_10_03_03_168408_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/02/image_04012025_10_02_02_979598_0003.jpg
/home/pi/Desktop/images/04012025/10/03/image_04012025_10_03_03_168408_0000.jpg
/home/pi/Desktop/images/04012025/10/03/image_04012025_10_03_03_168408_0001.jpg
/home/pi/Desktop/images/04012025/10/03/image_04012025_10_03_03_168408_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326461413","1326461385","1326461361","1326461282"],"photo_ids_order":["1326461282","1326461361","1326461385","1326461413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/631d46523c7ce39b030665650b029310.jpg","text":"TemporaryFile(/tmp/multipartBody4679216036737994667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981472347,"filename":"image_04012025_10_03_03_168408_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/31761816c96227399a17ceb281f99af1.jpg","text":"TemporaryFile(/tmp/multipartBody2011863379287994132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981472347,"filename":"image_04012025_10_03_03_168408_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8d7d9a293d26d0ead55f027a684aeff1.jpg","text":"TemporaryFile(/tmp/multipartBody7178853793610297185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981472347,"filename":"image_04012025_10_03_03_168408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7cbde3d3a77204daf9ef6dffae4cedd2.jpg","text":"TemporaryFile(/tmp/multipartBody5362528014868585353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981472347,"filename":"image_04012025_10_02_02_979598_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326461385","file1":"1326461361","file0":"1326461282","file3":"1326461413"},"map_files_photo_id_array":[{"photo_id":"1326461385","filename":"file2"},{"photo_id":"1326461361","filename":"file1"},{"photo_id":"1326461282","filename":"file0"},{"photo_id":"1326461413","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326461413":["hashtag1","hashtag2"]},{"1326461385":["hashtag1","hashtag2"]},{"1326461361":["hashtag1","hashtag2"]},{"1326461282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326461413, 1326461385, 1326461361, 1326461282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.275346517562866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:04:02.651393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:04:22.168811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/03/image_04012025_10_03_03_168408_0003.jpg', '/home/pi/Desktop/images/04012025/10/04/image_04012025_10_04_02_379862_0000.jpg', '/home/pi/Desktop/images/04012025/10/04/image_04012025_10_04_02_379862_0001.jpg', '/home/pi/Desktop/images/04012025/10/04/image_04012025_10_04_02_379862_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/03/image_04012025_10_03_03_168408_0003.jpg
/home/pi/Desktop/images/04012025/10/04/image_04012025_10_04_02_379862_0000.jpg
/home/pi/Desktop/images/04012025/10/04/image_04012025_10_04_02_379862_0001.jpg
/home/pi/Desktop/images/04012025/10/04/image_04012025_10_04_02_379862_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.833311557769775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 10:04:42.178226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/03/image_04012025_10_03_03_168408_0003.jpg', '/home/pi/Desktop/images/04012025/10/04/image_04012025_10_04_02_379862_0000.jpg', '/home/pi/Desktop/images/04012025/10/04/image_04012025_10_04_02_379862_0001.jpg', '/home/pi/Desktop/images/04012025/10/04/image_04012025_10_04_02_379862_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/03/image_04012025_10_03_03_168408_0003.jpg
/home/pi/Desktop/images/04012025/10/04/image_04012025_10_04_02_379862_0000.jpg
/home/pi/Desktop/images/04012025/10/04/image_04012025_10_04_02_379862_0001.jpg
/home/pi/Desktop/images/04012025/10/04/image_04012025_10_04_02_379862_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326462760","1326462445","1326462966","1326462602"],"photo_ids_order":["1326462445","1326462602","1326462760","1326462966"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eeefff46fdbe1f0a7f816f6dbb47fe48.jpg","text":"TemporaryFile(/tmp/multipartBody6572067464924498466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981552402,"filename":"image_04012025_10_04_02_379862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/62e497b6c6e8e366fb5f3c053be6dff5.jpg","text":"TemporaryFile(/tmp/multipartBody3351280473699937607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981552402,"filename":"image_04012025_10_03_03_168408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/23cb7ef2c08cf1035310d064b9a25d5d.jpg","text":"TemporaryFile(/tmp/multipartBody6026538619382619592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981552402,"filename":"image_04012025_10_04_02_379862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2cd5157699d5c74523d9da56842a67e4.jpg","text":"TemporaryFile(/tmp/multipartBody7936087986397218671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981552402,"filename":"image_04012025_10_04_02_379862_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326462760","file1":"1326462602","file0":"1326462445","file3":"1326462966"},"map_files_photo_id_array":[{"photo_id":"1326462760","filename":"file2"},{"photo_id":"1326462602","filename":"file1"},{"photo_id":"1326462445","filename":"file0"},{"photo_id":"1326462966","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326462760":["hashtag1","hashtag2"]},{"1326462445":["hashtag1","hashtag2"]},{"1326462966":["hashtag1","hashtag2"]},{"1326462602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326462760, 1326462445, 1326462966, 1326462602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12138652801514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:05:22.231412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/04/image_04012025_10_04_02_379862_0003.jpg', '/home/pi/Desktop/images/04012025/10/05/image_04012025_10_05_02_475413_0000.jpg', '/home/pi/Desktop/images/04012025/10/05/image_04012025_10_05_02_475413_0001.jpg', '/home/pi/Desktop/images/04012025/10/05/image_04012025_10_05_02_475413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/04/image_04012025_10_04_02_379862_0003.jpg
/home/pi/Desktop/images/04012025/10/05/image_04012025_10_05_02_475413_0000.jpg
/home/pi/Desktop/images/04012025/10/05/image_04012025_10_05_02_475413_0001.jpg
/home/pi/Desktop/images/04012025/10/05/image_04012025_10_05_02_475413_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326463307","1326463229","1326463234","1326463095"],"photo_ids_order":["1326463095","1326463229","1326463234","1326463307"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e91e1e45ca9ec9e382af545f279181a3.jpg","text":"TemporaryFile(/tmp/multipartBody3521744691727071543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981592515,"filename":"image_04012025_10_05_02_475413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0871904d85de6d5bf87799ccd38f68a8.jpg","text":"TemporaryFile(/tmp/multipartBody6427255330548437350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981592515,"filename":"image_04012025_10_05_02_475413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4e5f58f48fca105dfaacb6421ca33b69.jpg","text":"TemporaryFile(/tmp/multipartBody3541896677835322506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981592515,"filename":"image_04012025_10_05_02_475413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/605103240bbb76c1a4137e7cd20ffd13.jpg","text":"TemporaryFile(/tmp/multipartBody3960524678548915797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981592515,"filename":"image_04012025_10_04_02_379862_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326463234","file1":"1326463229","file0":"1326463095","file3":"1326463307"},"map_files_photo_id_array":[{"photo_id":"1326463234","filename":"file2"},{"photo_id":"1326463229","filename":"file1"},{"photo_id":"1326463095","filename":"file0"},{"photo_id":"1326463307","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326463307":["hashtag1","hashtag2"]},{"1326463229":["hashtag1","hashtag2"]},{"1326463234":["hashtag1","hashtag2"]},{"1326463095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326463307, 1326463229, 1326463234, 1326463095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.2137348651886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:06:02.940462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:06:22.587552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/05/image_04012025_10_05_02_475413_0003.jpg', '/home/pi/Desktop/images/04012025/10/06/image_04012025_10_06_02_694210_0000.jpg', '/home/pi/Desktop/images/04012025/10/06/image_04012025_10_06_02_694210_0001.jpg', '/home/pi/Desktop/images/04012025/10/06/image_04012025_10_06_02_694210_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/05/image_04012025_10_05_02_475413_0003.jpg
/home/pi/Desktop/images/04012025/10/06/image_04012025_10_06_02_694210_0000.jpg
/home/pi/Desktop/images/04012025/10/06/image_04012025_10_06_02_694210_0001.jpg
/home/pi/Desktop/images/04012025/10/06/image_04012025_10_06_02_694210_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326464436","1326464206","1326464020","1326464023"],"photo_ids_order":["1326464020","1326464023","1326464206","1326464436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7fe4ed86d5dbcd0ca957f506183911b4.jpg","text":"TemporaryFile(/tmp/multipartBody428202715205236888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981652847,"filename":"image_04012025_10_06_02_694210_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/800e04bef5535d4226da5b2f3462420e.jpg","text":"TemporaryFile(/tmp/multipartBody6683958159911516152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981652847,"filename":"image_04012025_10_06_02_694210_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6d94ed291e72e8be35917e5e79c25fea.jpg","text":"TemporaryFile(/tmp/multipartBody260643191671038700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981652847,"filename":"image_04012025_10_05_02_475413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b5a1860d8cb3f866d02e279e6f333ad6.jpg","text":"TemporaryFile(/tmp/multipartBody8246622162029061241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981652847,"filename":"image_04012025_10_06_02_694210_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326464206","file1":"1326464023","file0":"1326464020","file3":"1326464436"},"map_files_photo_id_array":[{"photo_id":"1326464206","filename":"file2"},{"photo_id":"1326464023","filename":"file1"},{"photo_id":"1326464020","filename":"file0"},{"photo_id":"1326464436","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326464436":["hashtag1","hashtag2"]},{"1326464206":["hashtag1","hashtag2"]},{"1326464020":["hashtag1","hashtag2"]},{"1326464023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326464436, 1326464206, 1326464020, 1326464023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.398820638656616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:07:03.174861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:07:22.703956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/06/image_04012025_10_06_02_694210_0003.jpg', '/home/pi/Desktop/images/04012025/10/07/image_04012025_10_07_02_918816_0000.jpg', '/home/pi/Desktop/images/04012025/10/07/image_04012025_10_07_02_918816_0001.jpg', '/home/pi/Desktop/images/04012025/10/07/image_04012025_10_07_02_918816_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/06/image_04012025_10_06_02_694210_0003.jpg
/home/pi/Desktop/images/04012025/10/07/image_04012025_10_07_02_918816_0000.jpg
/home/pi/Desktop/images/04012025/10/07/image_04012025_10_07_02_918816_0001.jpg
/home/pi/Desktop/images/04012025/10/07/image_04012025_10_07_02_918816_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326465323","1326465199","1326465259","1326465202"],"photo_ids_order":["1326465199","1326465202","1326465259","1326465323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/95077383283bed0d9aeece47e9e5a078.jpg","text":"TemporaryFile(/tmp/multipartBody3939050150050064312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981713099,"filename":"image_04012025_10_07_02_918816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/911fd7ca768960185c1a150d7555fdb8.jpg","text":"TemporaryFile(/tmp/multipartBody9093169468854785248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981713099,"filename":"image_04012025_10_06_02_694210_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3a0d45aa220815810f17be1e8f895781.jpg","text":"TemporaryFile(/tmp/multipartBody7697040494302734908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981713099,"filename":"image_04012025_10_07_02_918816_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7e9f53a754614af46f8468f399b2b729.jpg","text":"TemporaryFile(/tmp/multipartBody8984834553569548846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981713099,"filename":"image_04012025_10_07_02_918816_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326465259","file1":"1326465202","file0":"1326465199","file3":"1326465323"},"map_files_photo_id_array":[{"photo_id":"1326465259","filename":"file2"},{"photo_id":"1326465202","filename":"file1"},{"photo_id":"1326465199","filename":"file0"},{"photo_id":"1326465323","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326465323":["hashtag1","hashtag2"]},{"1326465199":["hashtag1","hashtag2"]},{"1326465259":["hashtag1","hashtag2"]},{"1326465202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326465323, 1326465199, 1326465259, 1326465202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.6557035446167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:08:21.954827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/07/image_04012025_10_07_02_918816_0003.jpg', '/home/pi/Desktop/images/04012025/10/08/image_04012025_10_08_03_078182_0000.jpg', '/home/pi/Desktop/images/04012025/10/08/image_04012025_10_08_03_078182_0001.jpg', '/home/pi/Desktop/images/04012025/10/08/image_04012025_10_08_03_078182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/07/image_04012025_10_07_02_918816_0003.jpg
/home/pi/Desktop/images/04012025/10/08/image_04012025_10_08_03_078182_0000.jpg
/home/pi/Desktop/images/04012025/10/08/image_04012025_10_08_03_078182_0001.jpg
/home/pi/Desktop/images/04012025/10/08/image_04012025_10_08_03_078182_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326466634","1326466549","1326466551","1326466605"],"photo_ids_order":["1326466549","1326466551","1326466605","1326466634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b596c81a6d5ab6be9f0084cd748e7e41.jpg","text":"TemporaryFile(/tmp/multipartBody7118071407587848079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981772248,"filename":"image_04012025_10_08_03_078182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4d0fe4dd407778d2788b90ec6a6323ea.jpg","text":"TemporaryFile(/tmp/multipartBody7254766319543593527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981772248,"filename":"image_04012025_10_07_02_918816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7579f5fea0ac898f1769924ad45c5cfe.jpg","text":"TemporaryFile(/tmp/multipartBody4061146751933216999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981772248,"filename":"image_04012025_10_08_03_078182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3bedc2019c353d9ab5613196919f7704.jpg","text":"TemporaryFile(/tmp/multipartBody1797405841026592688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981772248,"filename":"image_04012025_10_08_03_078182_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326466605","file1":"1326466551","file0":"1326466549","file3":"1326466634"},"map_files_photo_id_array":[{"photo_id":"1326466605","filename":"file2"},{"photo_id":"1326466551","filename":"file1"},{"photo_id":"1326466549","filename":"file0"},{"photo_id":"1326466634","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326466634":["hashtag1","hashtag2"]},{"1326466549":["hashtag1","hashtag2"]},{"1326466551":["hashtag1","hashtag2"]},{"1326466605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326466634, 1326466549, 1326466551, 1326466605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.46491527557373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:09:02.586883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:09:22.076030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/08/image_04012025_10_08_03_078182_0003.jpg', '/home/pi/Desktop/images/04012025/10/09/image_04012025_10_09_02_141311_0000.jpg', '/home/pi/Desktop/images/04012025/10/09/image_04012025_10_09_02_141311_0001.jpg', '/home/pi/Desktop/images/04012025/10/09/image_04012025_10_09_02_141311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/08/image_04012025_10_08_03_078182_0003.jpg
/home/pi/Desktop/images/04012025/10/09/image_04012025_10_09_02_141311_0000.jpg
/home/pi/Desktop/images/04012025/10/09/image_04012025_10_09_02_141311_0001.jpg
/home/pi/Desktop/images/04012025/10/09/image_04012025_10_09_02_141311_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326466986","1326467021","1326467015","1326467018"],"photo_ids_order":["1326466986","1326467015","1326467018","1326467021"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/722e87d4a46190f5d2be7db00f6e7ba5.jpg","text":"TemporaryFile(/tmp/multipartBody8865663168846047138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981832504,"filename":"image_04012025_10_08_03_078182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9e6b6219be81deb64b4accd3f8c6c360.jpg","text":"TemporaryFile(/tmp/multipartBody8779146709837525591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981832504,"filename":"image_04012025_10_09_02_141311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9eb7ebc2aa58e415b0c0179ca2beea93.jpg","text":"TemporaryFile(/tmp/multipartBody8748314560981739316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981832504,"filename":"image_04012025_10_09_02_141311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f490fdf9964661927c1c4a41b9dbbd56.jpg","text":"TemporaryFile(/tmp/multipartBody1750414331341227973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981832504,"filename":"image_04012025_10_09_02_141311_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326467018","file1":"1326467015","file0":"1326466986","file3":"1326467021"},"map_files_photo_id_array":[{"photo_id":"1326467018","filename":"file2"},{"photo_id":"1326467015","filename":"file1"},{"photo_id":"1326466986","filename":"file0"},{"photo_id":"1326467021","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326466986":["hashtag1","hashtag2"]},{"1326467021":["hashtag1","hashtag2"]},{"1326467015":["hashtag1","hashtag2"]},{"1326467018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326466986, 1326467021, 1326467015, 1326467018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58750247955322 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-04 10:10:22.272039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/09/image_04012025_10_09_02_141311_0003.jpg', '/home/pi/Desktop/images/04012025/10/10/image_04012025_10_10_02_400527_0000.jpg', '/home/pi/Desktop/images/04012025/10/10/image_04012025_10_10_02_400527_0001.jpg', '/home/pi/Desktop/images/04012025/10/10/image_04012025_10_10_02_400527_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/09/image_04012025_10_09_02_141311_0003.jpg
/home/pi/Desktop/images/04012025/10/10/image_04012025_10_10_02_400527_0000.jpg
/home/pi/Desktop/images/04012025/10/10/image_04012025_10_10_02_400527_0001.jpg
/home/pi/Desktop/images/04012025/10/10/image_04012025_10_10_02_400527_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326467571","1326467568","1326467660","1326467578"],"photo_ids_order":["1326467568","1326467571","1326467578","1326467660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bc7b9cbb43c992b92b6cf0e14fcbc3e3.jpg","text":"TemporaryFile(/tmp/multipartBody7166619182730300420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981892522,"filename":"image_04012025_10_10_02_400527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5bbf89b1968838fa6351cb8fe809639d.jpg","text":"TemporaryFile(/tmp/multipartBody5511103073815401099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981892522,"filename":"image_04012025_10_09_02_141311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/affc18b35b21d6199b88e69dd8a6f60d.jpg","text":"TemporaryFile(/tmp/multipartBody2221013279335647245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981892522,"filename":"image_04012025_10_10_02_400527_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dcaa0a35e826e2cfa0adac395405524e.jpg","text":"TemporaryFile(/tmp/multipartBody4781706962092521361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981892522,"filename":"image_04012025_10_10_02_400527_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326467578","file1":"1326467571","file0":"1326467568","file3":"1326467660"},"map_files_photo_id_array":[{"photo_id":"1326467578","filename":"file2"},{"photo_id":"1326467571","filename":"file1"},{"photo_id":"1326467568","filename":"file0"},{"photo_id":"1326467660","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326467571":["hashtag1","hashtag2"]},{"1326467568":["hashtag1","hashtag2"]},{"1326467660":["hashtag1","hashtag2"]},{"1326467578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326467571, 1326467568, 1326467660, 1326467578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.509397983551025 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-04 10:11:22.457108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/10/image_04012025_10_10_02_400527_0003.jpg', '/home/pi/Desktop/images/04012025/10/11/image_04012025_10_11_02_610280_0000.jpg', '/home/pi/Desktop/images/04012025/10/11/image_04012025_10_11_02_610280_0001.jpg', '/home/pi/Desktop/images/04012025/10/11/image_04012025_10_11_02_610280_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/10/image_04012025_10_10_02_400527_0003.jpg
/home/pi/Desktop/images/04012025/10/11/image_04012025_10_11_02_610280_0000.jpg
/home/pi/Desktop/images/04012025/10/11/image_04012025_10_11_02_610280_0001.jpg
/home/pi/Desktop/images/04012025/10/11/image_04012025_10_11_02_610280_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326468549","1326467993","1326468856","1326468859"],"photo_ids_order":["1326467993","1326468549","1326468856","1326468859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e38d042ff60fc491d5fd606962321995.jpg","text":"TemporaryFile(/tmp/multipartBody1250361063109735139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981952821,"filename":"image_04012025_10_11_02_610280_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/01a2989ef512210ba73dbaaafc87d062.jpg","text":"TemporaryFile(/tmp/multipartBody7562602515638018202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981952821,"filename":"image_04012025_10_10_02_400527_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0bd0b2e61bf9fd09a02efe66fb933702.jpg","text":"TemporaryFile(/tmp/multipartBody913136132797616828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981952821,"filename":"image_04012025_10_11_02_610280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aaa3be4c16fd4b9c561ddc8cbb80e3ba.jpg","text":"TemporaryFile(/tmp/multipartBody1192892667219533668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735981952821,"filename":"image_04012025_10_11_02_610280_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326468856","file1":"1326468549","file0":"1326467993","file3":"1326468859"},"map_files_photo_id_array":[{"photo_id":"1326468856","filename":"file2"},{"photo_id":"1326468549","filename":"file1"},{"photo_id":"1326467993","filename":"file0"},{"photo_id":"1326468859","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326468549":["hashtag1","hashtag2"]},{"1326467993":["hashtag1","hashtag2"]},{"1326468856":["hashtag1","hashtag2"]},{"1326468859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326468549, 1326467993, 1326468856, 1326468859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.00070381164551 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:12:22.537720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/11/image_04012025_10_11_02_610280_0003.jpg', '/home/pi/Desktop/images/04012025/10/12/image_04012025_10_12_02_810498_0000.jpg', '/home/pi/Desktop/images/04012025/10/12/image_04012025_10_12_02_810498_0001.jpg', '/home/pi/Desktop/images/04012025/10/12/image_04012025_10_12_02_810498_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/11/image_04012025_10_11_02_610280_0003.jpg
/home/pi/Desktop/images/04012025/10/12/image_04012025_10_12_02_810498_0000.jpg
/home/pi/Desktop/images/04012025/10/12/image_04012025_10_12_02_810498_0001.jpg
/home/pi/Desktop/images/04012025/10/12/image_04012025_10_12_02_810498_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326469108","1326469116","1326469232","1326469111"],"photo_ids_order":["1326469108","1326469111","1326469116","1326469232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/22de0f267a08aaa688f5a44b1fc57bf2.jpg","text":"TemporaryFile(/tmp/multipartBody1214436829986155737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982012676,"filename":"image_04012025_10_11_02_610280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5d8fff5c39adcc5f77f6a52187974761.jpg","text":"TemporaryFile(/tmp/multipartBody7808863944724159882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982012676,"filename":"image_04012025_10_12_02_810498_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f33a41fd50500f7f0239167a2fc6e3d.jpg","text":"TemporaryFile(/tmp/multipartBody7802240771796389594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982012676,"filename":"image_04012025_10_12_02_810498_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d4c5c2014aa30b44ac0b4e6a1de326d.jpg","text":"TemporaryFile(/tmp/multipartBody9213750083734936767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982012676,"filename":"image_04012025_10_12_02_810498_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326469116","file1":"1326469111","file0":"1326469108","file3":"1326469232"},"map_files_photo_id_array":[{"photo_id":"1326469116","filename":"file2"},{"photo_id":"1326469111","filename":"file1"},{"photo_id":"1326469108","filename":"file0"},{"photo_id":"1326469232","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326469108":["hashtag1","hashtag2"]},{"1326469116":["hashtag1","hashtag2"]},{"1326469232":["hashtag1","hashtag2"]},{"1326469111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326469108, 1326469116, 1326469232, 1326469111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.345221281051636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:13:03.206831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:13:22.718208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/12/image_04012025_10_12_02_810498_0003.jpg', '/home/pi/Desktop/images/04012025/10/13/image_04012025_10_13_02_858938_0000.jpg', '/home/pi/Desktop/images/04012025/10/13/image_04012025_10_13_02_858938_0001.jpg', '/home/pi/Desktop/images/04012025/10/13/image_04012025_10_13_02_858938_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/12/image_04012025_10_12_02_810498_0003.jpg
/home/pi/Desktop/images/04012025/10/13/image_04012025_10_13_02_858938_0000.jpg
/home/pi/Desktop/images/04012025/10/13/image_04012025_10_13_02_858938_0001.jpg
/home/pi/Desktop/images/04012025/10/13/image_04012025_10_13_02_858938_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326469842","1326469872","1326469870","1326469537"],"photo_ids_order":["1326469537","1326469842","1326469870","1326469872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/42768018beef1f26666a566ad8c219d9.jpg","text":"TemporaryFile(/tmp/multipartBody3807841358494595140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982072852,"filename":"image_04012025_10_13_02_858938_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b153e6ec5385f71f383b3538c507b58a.jpg","text":"TemporaryFile(/tmp/multipartBody3916930009521386695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982072852,"filename":"image_04012025_10_13_02_858938_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/728c838623774dc841215372cc991a38.jpg","text":"TemporaryFile(/tmp/multipartBody2359210057569818497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982072852,"filename":"image_04012025_10_13_02_858938_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a4b5a4a8513146ccfecdb84e11124e2a.jpg","text":"TemporaryFile(/tmp/multipartBody1704652256590353525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982072852,"filename":"image_04012025_10_12_02_810498_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326469870","file1":"1326469842","file0":"1326469537","file3":"1326469872"},"map_files_photo_id_array":[{"photo_id":"1326469870","filename":"file2"},{"photo_id":"1326469842","filename":"file1"},{"photo_id":"1326469537","filename":"file0"},{"photo_id":"1326469872","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326469842":["hashtag1","hashtag2"]},{"1326469872":["hashtag1","hashtag2"]},{"1326469870":["hashtag1","hashtag2"]},{"1326469537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326469842, 1326469872, 1326469870, 1326469537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.453606367111206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:14:22.024894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/13/image_04012025_10_13_02_858938_0003.jpg', '/home/pi/Desktop/images/04012025/10/14/image_04012025_10_14_03_068392_0000.jpg', '/home/pi/Desktop/images/04012025/10/14/image_04012025_10_14_03_068392_0001.jpg', '/home/pi/Desktop/images/04012025/10/14/image_04012025_10_14_03_068392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/13/image_04012025_10_13_02_858938_0003.jpg
/home/pi/Desktop/images/04012025/10/14/image_04012025_10_14_03_068392_0000.jpg
/home/pi/Desktop/images/04012025/10/14/image_04012025_10_14_03_068392_0001.jpg
/home/pi/Desktop/images/04012025/10/14/image_04012025_10_14_03_068392_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326470503","1326470526","1326470460","1326470522"],"photo_ids_order":["1326470460","1326470503","1326470522","1326470526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/00a12862994da6031eb2f8f052eaa8de.jpg","text":"TemporaryFile(/tmp/multipartBody3860846656698066558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982132178,"filename":"image_04012025_10_14_03_068392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bf173c2d9283c0097d8d852a4f0ee8d5.jpg","text":"TemporaryFile(/tmp/multipartBody3989423068212591535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982132178,"filename":"image_04012025_10_14_03_068392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6dadd24896ba84e98c49e1478f93ea9f.jpg","text":"TemporaryFile(/tmp/multipartBody8143677836525410197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982132178,"filename":"image_04012025_10_13_02_858938_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dc3f72d39c565a7ea68d81fed5fc9c47.jpg","text":"TemporaryFile(/tmp/multipartBody8307989879143181114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982132178,"filename":"image_04012025_10_14_03_068392_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326470522","file1":"1326470503","file0":"1326470460","file3":"1326470526"},"map_files_photo_id_array":[{"photo_id":"1326470522","filename":"file2"},{"photo_id":"1326470503","filename":"file1"},{"photo_id":"1326470460","filename":"file0"},{"photo_id":"1326470526","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326470503":["hashtag1","hashtag2"]},{"1326470526":["hashtag1","hashtag2"]},{"1326470460":["hashtag1","hashtag2"]},{"1326470522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326470503, 1326470526, 1326470460, 1326470522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74678373336792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:15:02.671499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:15:22.267164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/14/image_04012025_10_14_03_068392_0003.jpg', '/home/pi/Desktop/images/04012025/10/15/image_04012025_10_15_02_333976_0000.jpg', '/home/pi/Desktop/images/04012025/10/15/image_04012025_10_15_02_333976_0001.jpg', '/home/pi/Desktop/images/04012025/10/15/image_04012025_10_15_02_333976_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/14/image_04012025_10_14_03_068392_0003.jpg
/home/pi/Desktop/images/04012025/10/15/image_04012025_10_15_02_333976_0000.jpg
/home/pi/Desktop/images/04012025/10/15/image_04012025_10_15_02_333976_0001.jpg
/home/pi/Desktop/images/04012025/10/15/image_04012025_10_15_02_333976_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326471252","1326471257","1326471248","1326471298"],"photo_ids_order":["1326471248","1326471252","1326471257","1326471298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/64da905f94afe98f5850b9c6ac1c252c.jpg","text":"TemporaryFile(/tmp/multipartBody1750667277781658942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982192433,"filename":"image_04012025_10_15_02_333976_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/911c492c5662ea500c15d89ba2ff3162.jpg","text":"TemporaryFile(/tmp/multipartBody3201232956653031526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982192433,"filename":"image_04012025_10_15_02_333976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a3a039b6d2bd0778d3b15c5329dd5eb5.jpg","text":"TemporaryFile(/tmp/multipartBody625293707556055701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982192433,"filename":"image_04012025_10_14_03_068392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cccf5e20cf3e2cdee1dc0d8fb7e534b2.jpg","text":"TemporaryFile(/tmp/multipartBody6449310630617511245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982192433,"filename":"image_04012025_10_15_02_333976_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326471257","file1":"1326471252","file0":"1326471248","file3":"1326471298"},"map_files_photo_id_array":[{"photo_id":"1326471257","filename":"file2"},{"photo_id":"1326471252","filename":"file1"},{"photo_id":"1326471248","filename":"file0"},{"photo_id":"1326471298","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326471252":["hashtag1","hashtag2"]},{"1326471257":["hashtag1","hashtag2"]},{"1326471248":["hashtag1","hashtag2"]},{"1326471298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326471252, 1326471257, 1326471248, 1326471298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42803883552551 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-04 10:16:22.333649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/15/image_04012025_10_15_02_333976_0003.jpg', '/home/pi/Desktop/images/04012025/10/16/image_04012025_10_16_02_469289_0000.jpg', '/home/pi/Desktop/images/04012025/10/16/image_04012025_10_16_02_469289_0001.jpg', '/home/pi/Desktop/images/04012025/10/16/image_04012025_10_16_02_469289_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/15/image_04012025_10_15_02_333976_0003.jpg
/home/pi/Desktop/images/04012025/10/16/image_04012025_10_16_02_469289_0000.jpg
/home/pi/Desktop/images/04012025/10/16/image_04012025_10_16_02_469289_0001.jpg
/home/pi/Desktop/images/04012025/10/16/image_04012025_10_16_02_469289_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326471945","1326472007","1326471854","1326472065"],"photo_ids_order":["1326471854","1326471945","1326472007","1326472065"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/958cfca16916a0aaa32aabd223aefbed.jpg","text":"TemporaryFile(/tmp/multipartBody5635902423391889700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982252435,"filename":"image_04012025_10_16_02_469289_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/282a4007008e322eafda14df8895015f.jpg","text":"TemporaryFile(/tmp/multipartBody7562525087537633076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982252435,"filename":"image_04012025_10_16_02_469289_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5b98f97f297d7dc3f2e78e9687595e70.jpg","text":"TemporaryFile(/tmp/multipartBody7748285582869647862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982252435,"filename":"image_04012025_10_15_02_333976_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/14d5cdaa7caa9f44ea72eec9873f6c30.jpg","text":"TemporaryFile(/tmp/multipartBody7953228349902118276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982252435,"filename":"image_04012025_10_16_02_469289_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326472007","file1":"1326471945","file0":"1326471854","file3":"1326472065"},"map_files_photo_id_array":[{"photo_id":"1326472007","filename":"file2"},{"photo_id":"1326471945","filename":"file1"},{"photo_id":"1326471854","filename":"file0"},{"photo_id":"1326472065","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326471945":["hashtag1","hashtag2"]},{"1326472007":["hashtag1","hashtag2"]},{"1326471854":["hashtag1","hashtag2"]},{"1326472065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326471945, 1326472007, 1326471854, 1326472065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71716117858887 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-04 10:17:22.501447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/16/image_04012025_10_16_02_469289_0003.jpg', '/home/pi/Desktop/images/04012025/10/17/image_04012025_10_17_02_640253_0000.jpg', '/home/pi/Desktop/images/04012025/10/17/image_04012025_10_17_02_640253_0001.jpg', '/home/pi/Desktop/images/04012025/10/17/image_04012025_10_17_02_640253_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/16/image_04012025_10_16_02_469289_0003.jpg
/home/pi/Desktop/images/04012025/10/17/image_04012025_10_17_02_640253_0000.jpg
/home/pi/Desktop/images/04012025/10/17/image_04012025_10_17_02_640253_0001.jpg
/home/pi/Desktop/images/04012025/10/17/image_04012025_10_17_02_640253_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326472463","1326472471","1326472459","1326472467"],"photo_ids_order":["1326472459","1326472463","1326472467","1326472471"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1b5909384f331f86be91571e6ad2a5e8.jpg","text":"TemporaryFile(/tmp/multipartBody8701862691945765158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982312561,"filename":"image_04012025_10_17_02_640253_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0a9248f42fcf9ce66f2ab0da0be96ae7.jpg","text":"TemporaryFile(/tmp/multipartBody6300616080880235591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982312561,"filename":"image_04012025_10_17_02_640253_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c2b98e685933864fd3c03eb182e8b456.jpg","text":"TemporaryFile(/tmp/multipartBody4108803597106676261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982312561,"filename":"image_04012025_10_16_02_469289_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1bedb54abed1a727f4696c955b1e6d20.jpg","text":"TemporaryFile(/tmp/multipartBody8202919064915240119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982312561,"filename":"image_04012025_10_17_02_640253_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326472467","file1":"1326472463","file0":"1326472459","file3":"1326472471"},"map_files_photo_id_array":[{"photo_id":"1326472467","filename":"file2"},{"photo_id":"1326472463","filename":"file1"},{"photo_id":"1326472459","filename":"file0"},{"photo_id":"1326472471","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326472463":["hashtag1","hashtag2"]},{"1326472471":["hashtag1","hashtag2"]},{"1326472459":["hashtag1","hashtag2"]},{"1326472467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326472463, 1326472471, 1326472459, 1326472467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.692463874816895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:18:03.133951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:18:22.598848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/17/image_04012025_10_17_02_640253_0003.jpg', '/home/pi/Desktop/images/04012025/10/18/image_04012025_10_18_02_916979_0000.jpg', '/home/pi/Desktop/images/04012025/10/18/image_04012025_10_18_02_916979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/17/image_04012025_10_17_02_640253_0003.jpg
/home/pi/Desktop/images/04012025/10/18/image_04012025_10_18_02_916979_0000.jpg
/home/pi/Desktop/images/04012025/10/18/image_04012025_10_18_02_916979_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326473534","1326473179","1326473338"],"photo_ids_order":["1326473179","1326473338","1326473534"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/575c09a1a4abc8c97ccb462c3aea1254.jpg","text":"TemporaryFile(/tmp/multipartBody4897252872538379873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982370360,"filename":"image_04012025_10_18_02_916979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bfd755ad24b5ff16c5e1202e2ad5b373.jpg","text":"TemporaryFile(/tmp/multipartBody4117488782652197455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982370360,"filename":"image_04012025_10_17_02_640253_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/12d4fa33445935907c0efe1d719e350b.jpg","text":"TemporaryFile(/tmp/multipartBody4020056050109530484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982370360,"filename":"image_04012025_10_18_02_916979_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326473534","file1":"1326473338","file0":"1326473179"},"map_files_photo_id_array":[{"photo_id":"1326473534","filename":"file2"},{"photo_id":"1326473338","filename":"file1"},{"photo_id":"1326473179","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326473534":["hashtag1","hashtag2"]},{"1326473179":["hashtag1","hashtag2"]},{"1326473338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326473534, 1326473179, 1326473338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.837905406951904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:19:02.358023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:19:21.831325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/18/image_04012025_10_18_02_916979_0003.jpg', '/home/pi/Desktop/images/04012025/10/19/image_04012025_10_19_02_948390_0000.jpg', '/home/pi/Desktop/images/04012025/10/19/image_04012025_10_19_02_948390_0001.jpg', '/home/pi/Desktop/images/04012025/10/19/image_04012025_10_19_02_948390_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/18/image_04012025_10_18_02_916979_0003.jpg
/home/pi/Desktop/images/04012025/10/19/image_04012025_10_19_02_948390_0000.jpg
/home/pi/Desktop/images/04012025/10/19/image_04012025_10_19_02_948390_0001.jpg
/home/pi/Desktop/images/04012025/10/19/image_04012025_10_19_02_948390_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326474518","1326474645","1326474627","1326475046"],"photo_ids_order":["1326474518","1326474627","1326474645","1326475046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c5b7163d23ec7d449b73a2d57df44822.jpg","text":"TemporaryFile(/tmp/multipartBody3418317363878487969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982432110,"filename":"image_04012025_10_18_02_916979_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8822bd0152c8772839245d9303e3c05f.jpg","text":"TemporaryFile(/tmp/multipartBody5742335403749160045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982432110,"filename":"image_04012025_10_19_02_948390_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2695d2e722b4a26ef5bdfc35578184f3.jpg","text":"TemporaryFile(/tmp/multipartBody3887519558479289779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982432110,"filename":"image_04012025_10_19_02_948390_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3816d94405093e19fbc06aa7cf3cf1dc.jpg","text":"TemporaryFile(/tmp/multipartBody5600215694958850314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982432110,"filename":"image_04012025_10_19_02_948390_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326474645","file1":"1326474627","file0":"1326474518","file3":"1326475046"},"map_files_photo_id_array":[{"photo_id":"1326474645","filename":"file2"},{"photo_id":"1326474627","filename":"file1"},{"photo_id":"1326474518","filename":"file0"},{"photo_id":"1326475046","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326474518":["hashtag1","hashtag2"]},{"1326474645":["hashtag1","hashtag2"]},{"1326474627":["hashtag1","hashtag2"]},{"1326475046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326474518, 1326474645, 1326474627, 1326475046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.32531476020813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:20:02.474683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:20:22.027075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/19/image_04012025_10_19_02_948390_0003.jpg', '/home/pi/Desktop/images/04012025/10/20/image_04012025_10_20_02_195132_0000.jpg', '/home/pi/Desktop/images/04012025/10/20/image_04012025_10_20_02_195132_0001.jpg', '/home/pi/Desktop/images/04012025/10/20/image_04012025_10_20_02_195132_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/19/image_04012025_10_19_02_948390_0003.jpg
/home/pi/Desktop/images/04012025/10/20/image_04012025_10_20_02_195132_0000.jpg
/home/pi/Desktop/images/04012025/10/20/image_04012025_10_20_02_195132_0001.jpg
/home/pi/Desktop/images/04012025/10/20/image_04012025_10_20_02_195132_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326475867","1326476079","1326476018","1326476056"],"photo_ids_order":["1326475867","1326476018","1326476056","1326476079"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0b09f227cd75ba413a9875464690b889.jpg","text":"TemporaryFile(/tmp/multipartBody1354609510633404921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982492276,"filename":"image_04012025_10_19_02_948390_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e589fe2f73ff16c5e2cdaa6782cb4536.jpg","text":"TemporaryFile(/tmp/multipartBody4067550065748700575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982492276,"filename":"image_04012025_10_20_02_195132_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9cb19057f6fc0224a85ef8be8e2c677a.jpg","text":"TemporaryFile(/tmp/multipartBody4137887237304036418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982492276,"filename":"image_04012025_10_20_02_195132_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8cccc8eb7139eac1e6a6b09afe123a8d.jpg","text":"TemporaryFile(/tmp/multipartBody6385111456543189809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982492276,"filename":"image_04012025_10_20_02_195132_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326476056","file1":"1326476018","file0":"1326475867","file3":"1326476079"},"map_files_photo_id_array":[{"photo_id":"1326476056","filename":"file2"},{"photo_id":"1326476018","filename":"file1"},{"photo_id":"1326475867","filename":"file0"},{"photo_id":"1326476079","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326475867":["hashtag1","hashtag2"]},{"1326476079":["hashtag1","hashtag2"]},{"1326476018":["hashtag1","hashtag2"]},{"1326476056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326475867, 1326476079, 1326476018, 1326476056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.961063623428345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:21:02.614354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:21:22.035713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/20/image_04012025_10_20_02_195132_0003.jpg', '/home/pi/Desktop/images/04012025/10/21/image_04012025_10_21_02_291549_0000.jpg', '/home/pi/Desktop/images/04012025/10/21/image_04012025_10_21_02_291549_0001.jpg', '/home/pi/Desktop/images/04012025/10/21/image_04012025_10_21_02_291549_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/20/image_04012025_10_20_02_195132_0003.jpg
/home/pi/Desktop/images/04012025/10/21/image_04012025_10_21_02_291549_0000.jpg
/home/pi/Desktop/images/04012025/10/21/image_04012025_10_21_02_291549_0001.jpg
/home/pi/Desktop/images/04012025/10/21/image_04012025_10_21_02_291549_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326476207","1326476201","1326476210","1326476204"],"photo_ids_order":["1326476201","1326476204","1326476207","1326476210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4a3f68f1c6a8cfb7fe9a4ae279936cf6.jpg","text":"TemporaryFile(/tmp/multipartBody326238475566429079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982552298,"filename":"image_04012025_10_21_02_291549_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/52e37bdb3702ffc9b53f5ada93463425.jpg","text":"TemporaryFile(/tmp/multipartBody6195335275780512591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982552298,"filename":"image_04012025_10_20_02_195132_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/baedec31508bda1a50d7d5b76b55c791.jpg","text":"TemporaryFile(/tmp/multipartBody3193737855999566833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982552298,"filename":"image_04012025_10_21_02_291549_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/402e1b722082ae610079162308028d23.jpg","text":"TemporaryFile(/tmp/multipartBody629863136235840727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982552298,"filename":"image_04012025_10_21_02_291549_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326476207","file1":"1326476204","file0":"1326476201","file3":"1326476210"},"map_files_photo_id_array":[{"photo_id":"1326476207","filename":"file2"},{"photo_id":"1326476204","filename":"file1"},{"photo_id":"1326476201","filename":"file0"},{"photo_id":"1326476210","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326476207":["hashtag1","hashtag2"]},{"1326476201":["hashtag1","hashtag2"]},{"1326476210":["hashtag1","hashtag2"]},{"1326476204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326476207, 1326476201, 1326476210, 1326476204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93458819389343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:22:02.581762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:22:22.236838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/21/image_04012025_10_21_02_291549_0003.jpg', '/home/pi/Desktop/images/04012025/10/22/image_04012025_10_22_02_473378_0000.jpg', '/home/pi/Desktop/images/04012025/10/22/image_04012025_10_22_02_473378_0001.jpg', '/home/pi/Desktop/images/04012025/10/22/image_04012025_10_22_02_473378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/21/image_04012025_10_21_02_291549_0003.jpg
/home/pi/Desktop/images/04012025/10/22/image_04012025_10_22_02_473378_0000.jpg
/home/pi/Desktop/images/04012025/10/22/image_04012025_10_22_02_473378_0001.jpg
/home/pi/Desktop/images/04012025/10/22/image_04012025_10_22_02_473378_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326477003","1326477032","1326477107","1326477029"],"photo_ids_order":["1326477003","1326477029","1326477032","1326477107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b792475a05fdf169852afa5e06e0fb83.jpg","text":"TemporaryFile(/tmp/multipartBody6075353354683977776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982612484,"filename":"image_04012025_10_21_02_291549_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/62ca9925e058961cb3f15c8c32b75f9b.jpg","text":"TemporaryFile(/tmp/multipartBody7008896550668702249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982612484,"filename":"image_04012025_10_22_02_473378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2f9efa0c4e392dcacc422528a89de135.jpg","text":"TemporaryFile(/tmp/multipartBody1263797350089829453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982612484,"filename":"image_04012025_10_22_02_473378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0f41c369041e88aec73036374e7f2e79.jpg","text":"TemporaryFile(/tmp/multipartBody3539894815955315805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982612484,"filename":"image_04012025_10_22_02_473378_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326477032","file1":"1326477029","file0":"1326477003","file3":"1326477107"},"map_files_photo_id_array":[{"photo_id":"1326477032","filename":"file2"},{"photo_id":"1326477029","filename":"file1"},{"photo_id":"1326477003","filename":"file0"},{"photo_id":"1326477107","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326477003":["hashtag1","hashtag2"]},{"1326477032":["hashtag1","hashtag2"]},{"1326477107":["hashtag1","hashtag2"]},{"1326477029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326477003, 1326477032, 1326477107, 1326477029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.33738327026367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:23:03.040648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:23:22.414880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/22/image_04012025_10_22_02_473378_0003.jpg', '/home/pi/Desktop/images/04012025/10/23/image_04012025_10_23_02_634979_0000.jpg', '/home/pi/Desktop/images/04012025/10/23/image_04012025_10_23_02_634979_0001.jpg', '/home/pi/Desktop/images/04012025/10/23/image_04012025_10_23_02_634979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/22/image_04012025_10_22_02_473378_0003.jpg
/home/pi/Desktop/images/04012025/10/23/image_04012025_10_23_02_634979_0000.jpg
/home/pi/Desktop/images/04012025/10/23/image_04012025_10_23_02_634979_0001.jpg
/home/pi/Desktop/images/04012025/10/23/image_04012025_10_23_02_634979_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326477632","1326477350","1326477346","1326478023"],"photo_ids_order":["1326477346","1326477350","1326477632","1326478023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/45af12dd7ae8444d8beb32ea5a1d610f.jpg","text":"TemporaryFile(/tmp/multipartBody4453837129178278286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982672790,"filename":"image_04012025_10_23_02_634979_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/26e6b9f1f858077b910ffaf6653c7be0.jpg","text":"TemporaryFile(/tmp/multipartBody1622526303497790430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982672790,"filename":"image_04012025_10_23_02_634979_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5035ed5cc5fd7ba026687f5ae84db4dc.jpg","text":"TemporaryFile(/tmp/multipartBody4400815835290818565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982672790,"filename":"image_04012025_10_22_02_473378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/70a4cee43181f6634ca706987d43ffc8.jpg","text":"TemporaryFile(/tmp/multipartBody1621394367695592443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982672790,"filename":"image_04012025_10_23_02_634979_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326477632","file1":"1326477350","file0":"1326477346","file3":"1326478023"},"map_files_photo_id_array":[{"photo_id":"1326477632","filename":"file2"},{"photo_id":"1326477350","filename":"file1"},{"photo_id":"1326477346","filename":"file0"},{"photo_id":"1326478023","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326477632":["hashtag1","hashtag2"]},{"1326477350":["hashtag1","hashtag2"]},{"1326477346":["hashtag1","hashtag2"]},{"1326478023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326477632, 1326477350, 1326477346, 1326478023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43976831436157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:24:03.056998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:24:22.487965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/23/image_04012025_10_23_02_634979_0003.jpg', '/home/pi/Desktop/images/04012025/10/24/image_04012025_10_24_02_705139_0000.jpg', '/home/pi/Desktop/images/04012025/10/24/image_04012025_10_24_02_705139_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/23/image_04012025_10_23_02_634979_0003.jpg
/home/pi/Desktop/images/04012025/10/24/image_04012025_10_24_02_705139_0000.jpg
/home/pi/Desktop/images/04012025/10/24/image_04012025_10_24_02_705139_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":["1326478514","1326478405","1326478389"],"photo_ids_order":["1326478389","1326478405","1326478514"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d78f68207d25ea9e309e874accaf4fa1.jpg","text":"TemporaryFile(/tmp/multipartBody98957502149884857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982730430,"filename":"image_04012025_10_24_02_705139_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/20fc64f276329bac6a6bc65e7d4d8aa6.jpg","text":"TemporaryFile(/tmp/multipartBody5446197249360574113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982730430,"filename":"image_04012025_10_24_02_705139_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5169c851adbe122863eec5be1a764071.jpg","text":"TemporaryFile(/tmp/multipartBody3930596331270854210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982730430,"filename":"image_04012025_10_23_02_634979_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326478514","file1":"1326478405","file0":"1326478389"},"map_files_photo_id_array":[{"photo_id":"1326478514","filename":"file2"},{"photo_id":"1326478405","filename":"file1"},{"photo_id":"1326478389","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326478514":["hashtag1","hashtag2"]},{"1326478405":["hashtag1","hashtag2"]},{"1326478389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326478514, 1326478405, 1326478389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.54800271987915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:25:03.180310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:25:22.704336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/24/image_04012025_10_24_02_705139_0002.jpg', '/home/pi/Desktop/images/04012025/10/25/image_04012025_10_25_03_025728_0000.jpg', '/home/pi/Desktop/images/04012025/10/25/image_04012025_10_25_03_025728_0001.jpg', '/home/pi/Desktop/images/04012025/10/25/image_04012025_10_25_03_025728_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/24/image_04012025_10_24_02_705139_0002.jpg
/home/pi/Desktop/images/04012025/10/25/image_04012025_10_25_03_025728_0000.jpg
/home/pi/Desktop/images/04012025/10/25/image_04012025_10_25_03_025728_0001.jpg
/home/pi/Desktop/images/04012025/10/25/image_04012025_10_25_03_025728_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326478582","1326478575","1326478578","1326478572"],"photo_ids_order":["1326478572","1326478575","1326478578","1326478582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/69071b089ef2f6f1b0a7f684f88b505f.jpg","text":"TemporaryFile(/tmp/multipartBody4331581235445134652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982793132,"filename":"image_04012025_10_25_03_025728_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/caea4aef39bb0a7bebe098ade8f82e88.jpg","text":"TemporaryFile(/tmp/multipartBody781644765926867165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982793132,"filename":"image_04012025_10_25_03_025728_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bd654676c685182e2d36aa46c14258b1.jpg","text":"TemporaryFile(/tmp/multipartBody8689676610986579909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982793132,"filename":"image_04012025_10_25_03_025728_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1227a8c80bf293c9e08efbb40fcfd4c8.jpg","text":"TemporaryFile(/tmp/multipartBody640061855315415127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982793132,"filename":"image_04012025_10_24_02_705139_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326478578","file1":"1326478575","file0":"1326478572","file3":"1326478582"},"map_files_photo_id_array":[{"photo_id":"1326478578","filename":"file2"},{"photo_id":"1326478575","filename":"file1"},{"photo_id":"1326478572","filename":"file0"},{"photo_id":"1326478582","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326478582":["hashtag1","hashtag2"]},{"1326478575":["hashtag1","hashtag2"]},{"1326478578":["hashtag1","hashtag2"]},{"1326478572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326478582, 1326478575, 1326478578, 1326478572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.35104823112488 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:26:02.372422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:26:21.899701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/25/image_04012025_10_25_03_025728_0003.jpg', '/home/pi/Desktop/images/04012025/10/26/image_04012025_10_26_03_050428_0000.jpg', '/home/pi/Desktop/images/04012025/10/26/image_04012025_10_26_03_050428_0001.jpg', '/home/pi/Desktop/images/04012025/10/26/image_04012025_10_26_03_050428_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/25/image_04012025_10_25_03_025728_0003.jpg
/home/pi/Desktop/images/04012025/10/26/image_04012025_10_26_03_050428_0000.jpg
/home/pi/Desktop/images/04012025/10/26/image_04012025_10_26_03_050428_0001.jpg
/home/pi/Desktop/images/04012025/10/26/image_04012025_10_26_03_050428_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326479263","1326479125","1326479388","1326479511"],"photo_ids_order":["1326479125","1326479263","1326479388","1326479511"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3fbdedeb1fee7342c1b1441d6d6b3bcf.jpg","text":"TemporaryFile(/tmp/multipartBody7446727364672635063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982852213,"filename":"image_04012025_10_26_03_050428_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/40f3b368a5e800cde30bfcbbead301d8.jpg","text":"TemporaryFile(/tmp/multipartBody8812074469645548538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982852213,"filename":"image_04012025_10_25_03_025728_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1c9976ec0a2e0e8b9e9a56fdfe0f965b.jpg","text":"TemporaryFile(/tmp/multipartBody3984486520688885439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982852213,"filename":"image_04012025_10_26_03_050428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/32100e75fc1363cd0a3ffd41ae2891dc.jpg","text":"TemporaryFile(/tmp/multipartBody4169559854291962247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982852213,"filename":"image_04012025_10_26_03_050428_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326479388","file1":"1326479263","file0":"1326479125","file3":"1326479511"},"map_files_photo_id_array":[{"photo_id":"1326479388","filename":"file2"},{"photo_id":"1326479263","filename":"file1"},{"photo_id":"1326479125","filename":"file0"},{"photo_id":"1326479511","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326479263":["hashtag1","hashtag2"]},{"1326479125":["hashtag1","hashtag2"]},{"1326479388":["hashtag1","hashtag2"]},{"1326479511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326479263, 1326479125, 1326479388, 1326479511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43358898162842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:27:02.576960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:27:22.152156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/26/image_04012025_10_26_03_050428_0003.jpg', '/home/pi/Desktop/images/04012025/10/27/image_04012025_10_27_02_195294_0000.jpg', '/home/pi/Desktop/images/04012025/10/27/image_04012025_10_27_02_195294_0001.jpg', '/home/pi/Desktop/images/04012025/10/27/image_04012025_10_27_02_195294_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/26/image_04012025_10_26_03_050428_0003.jpg
/home/pi/Desktop/images/04012025/10/27/image_04012025_10_27_02_195294_0000.jpg
/home/pi/Desktop/images/04012025/10/27/image_04012025_10_27_02_195294_0001.jpg
/home/pi/Desktop/images/04012025/10/27/image_04012025_10_27_02_195294_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326480499","1326480313","1326480235","1326480384"],"photo_ids_order":["1326480235","1326480313","1326480384","1326480499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d5ff4b976c23e4be3c1f5a46a08a8f57.jpg","text":"TemporaryFile(/tmp/multipartBody5376626223574977803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982912470,"filename":"image_04012025_10_27_02_195294_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/308adb43d76f1b190a2c2e3236f7be68.jpg","text":"TemporaryFile(/tmp/multipartBody9052712793897172731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982912470,"filename":"image_04012025_10_27_02_195294_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2939d62ad8cc19e304261ccc5ddd2c42.jpg","text":"TemporaryFile(/tmp/multipartBody2119915678405932247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982912470,"filename":"image_04012025_10_26_03_050428_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9297510fe4e918b91fb748f514c76312.jpg","text":"TemporaryFile(/tmp/multipartBody1994554387930619212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982912470,"filename":"image_04012025_10_27_02_195294_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326480384","file1":"1326480313","file0":"1326480235","file3":"1326480499"},"map_files_photo_id_array":[{"photo_id":"1326480384","filename":"file2"},{"photo_id":"1326480313","filename":"file1"},{"photo_id":"1326480235","filename":"file0"},{"photo_id":"1326480499","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326480499":["hashtag1","hashtag2"]},{"1326480313":["hashtag1","hashtag2"]},{"1326480235":["hashtag1","hashtag2"]},{"1326480384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326480499, 1326480313, 1326480235, 1326480384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.418920040130615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:28:02.591888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:28:22.238728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/27/image_04012025_10_27_02_195294_0003.jpg', '/home/pi/Desktop/images/04012025/10/28/image_04012025_10_28_02_379416_0000.jpg', '/home/pi/Desktop/images/04012025/10/28/image_04012025_10_28_02_379416_0001.jpg', '/home/pi/Desktop/images/04012025/10/28/image_04012025_10_28_02_379416_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/27/image_04012025_10_27_02_195294_0003.jpg
/home/pi/Desktop/images/04012025/10/28/image_04012025_10_28_02_379416_0000.jpg
/home/pi/Desktop/images/04012025/10/28/image_04012025_10_28_02_379416_0001.jpg
/home/pi/Desktop/images/04012025/10/28/image_04012025_10_28_02_379416_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326481913","1326481647","1326481503","1326481490"],"photo_ids_order":["1326481490","1326481503","1326481647","1326481913"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2af7c06f7d949fefee1b0cf4d1e96f3b.jpg","text":"TemporaryFile(/tmp/multipartBody1428861245481717484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982972636,"filename":"image_04012025_10_28_02_379416_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/79173a6bfcbe9a72dd470c157c15f7f5.jpg","text":"TemporaryFile(/tmp/multipartBody7723856320734822260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982972636,"filename":"image_04012025_10_28_02_379416_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/23a9329fd880fa7e67e295f7d89a8c5b.jpg","text":"TemporaryFile(/tmp/multipartBody7899272121053434667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982972636,"filename":"image_04012025_10_28_02_379416_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/da5cd01182358ade8a3334c5b003e5d5.jpg","text":"TemporaryFile(/tmp/multipartBody1252455635496344598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735982972636,"filename":"image_04012025_10_27_02_195294_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326481647","file1":"1326481503","file0":"1326481490","file3":"1326481913"},"map_files_photo_id_array":[{"photo_id":"1326481647","filename":"file2"},{"photo_id":"1326481503","filename":"file1"},{"photo_id":"1326481490","filename":"file0"},{"photo_id":"1326481913","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326481913":["hashtag1","hashtag2"]},{"1326481647":["hashtag1","hashtag2"]},{"1326481503":["hashtag1","hashtag2"]},{"1326481490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326481913, 1326481647, 1326481503, 1326481490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36032223701477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:29:02.971102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:29:22.397294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/28/image_04012025_10_28_02_379416_0003.jpg', '/home/pi/Desktop/images/04012025/10/29/image_04012025_10_29_02_522448_0000.jpg', '/home/pi/Desktop/images/04012025/10/29/image_04012025_10_29_02_522448_0001.jpg', '/home/pi/Desktop/images/04012025/10/29/image_04012025_10_29_02_522448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/28/image_04012025_10_28_02_379416_0003.jpg
/home/pi/Desktop/images/04012025/10/29/image_04012025_10_29_02_522448_0000.jpg
/home/pi/Desktop/images/04012025/10/29/image_04012025_10_29_02_522448_0001.jpg
/home/pi/Desktop/images/04012025/10/29/image_04012025_10_29_02_522448_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326482321","1326482317","1326482302","1326482282"],"photo_ids_order":["1326482282","1326482302","1326482317","1326482321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3e9d1c9fbc5e6a73b90e4abbda75f6fa.jpg","text":"TemporaryFile(/tmp/multipartBody776123951952665711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983032686,"filename":"image_04012025_10_29_02_522448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/73bc8538deae09204a257cc4e9ba1659.jpg","text":"TemporaryFile(/tmp/multipartBody8073539806197678691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983032686,"filename":"image_04012025_10_29_02_522448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ece8abf19ade135b673517b2cd1cb9e3.jpg","text":"TemporaryFile(/tmp/multipartBody8293912609948921685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983032686,"filename":"image_04012025_10_29_02_522448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc8e08e72069ccb3fc2153da4bb715d5.jpg","text":"TemporaryFile(/tmp/multipartBody5237755237702786464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983032686,"filename":"image_04012025_10_28_02_379416_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326482317","file1":"1326482302","file0":"1326482282","file3":"1326482321"},"map_files_photo_id_array":[{"photo_id":"1326482317","filename":"file2"},{"photo_id":"1326482302","filename":"file1"},{"photo_id":"1326482282","filename":"file0"},{"photo_id":"1326482321","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326482321":["hashtag1","hashtag2"]},{"1326482317":["hashtag1","hashtag2"]},{"1326482302":["hashtag1","hashtag2"]},{"1326482282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326482321, 1326482317, 1326482302, 1326482282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.41836357116699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:30:02.924953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:30:22.591628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/29/image_04012025_10_29_02_522448_0003.jpg', '/home/pi/Desktop/images/04012025/10/30/image_04012025_10_30_02_729218_0000.jpg', '/home/pi/Desktop/images/04012025/10/30/image_04012025_10_30_02_729218_0001.jpg', '/home/pi/Desktop/images/04012025/10/30/image_04012025_10_30_02_729218_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/29/image_04012025_10_29_02_522448_0003.jpg
/home/pi/Desktop/images/04012025/10/30/image_04012025_10_30_02_729218_0000.jpg
/home/pi/Desktop/images/04012025/10/30/image_04012025_10_30_02_729218_0001.jpg
/home/pi/Desktop/images/04012025/10/30/image_04012025_10_30_02_729218_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326482796","1326482793","1326482769","1326482748"],"photo_ids_order":["1326482748","1326482769","1326482793","1326482796"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bb4c5093f6bf8647c391b60c37450d34.jpg","text":"TemporaryFile(/tmp/multipartBody6378144457340962684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983093153,"filename":"image_04012025_10_30_02_729218_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f1c0365c536a53256bf8ac3b21df1ecc.jpg","text":"TemporaryFile(/tmp/multipartBody2188956318522116995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983093153,"filename":"image_04012025_10_30_02_729218_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9984e20250de42d9639d0651f52a0bdb.jpg","text":"TemporaryFile(/tmp/multipartBody8819792399694380746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983093153,"filename":"image_04012025_10_30_02_729218_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e694e1c0ea2ee9bfb76b78ac02971635.jpg","text":"TemporaryFile(/tmp/multipartBody6178359119849048108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983093153,"filename":"image_04012025_10_29_02_522448_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326482793","file1":"1326482769","file0":"1326482748","file3":"1326482796"},"map_files_photo_id_array":[{"photo_id":"1326482793","filename":"file2"},{"photo_id":"1326482769","filename":"file1"},{"photo_id":"1326482748","filename":"file0"},{"photo_id":"1326482796","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326482796":["hashtag1","hashtag2"]},{"1326482793":["hashtag1","hashtag2"]},{"1326482769":["hashtag1","hashtag2"]},{"1326482748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326482796, 1326482793, 1326482769, 1326482748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.398606061935425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:31:03.231345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:31:22.802513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/30/image_04012025_10_30_02_729218_0003.jpg', '/home/pi/Desktop/images/04012025/10/31/image_04012025_10_31_02_904993_0000.jpg', '/home/pi/Desktop/images/04012025/10/31/image_04012025_10_31_02_904993_0001.jpg', '/home/pi/Desktop/images/04012025/10/31/image_04012025_10_31_02_904993_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/30/image_04012025_10_30_02_729218_0003.jpg
/home/pi/Desktop/images/04012025/10/31/image_04012025_10_31_02_904993_0000.jpg
/home/pi/Desktop/images/04012025/10/31/image_04012025_10_31_02_904993_0001.jpg
/home/pi/Desktop/images/04012025/10/31/image_04012025_10_31_02_904993_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326483687","1326483918","1326483237","1326483545"],"photo_ids_order":["1326483237","1326483545","1326483687","1326483918"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d8ecec61f9e64b14df55ca84a5e07640.jpg","text":"TemporaryFile(/tmp/multipartBody594596358893546795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983153128,"filename":"image_04012025_10_31_02_904993_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eabdf28f9058d7240881a9db60cc0f33.jpg","text":"TemporaryFile(/tmp/multipartBody5249696870629454851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983153128,"filename":"image_04012025_10_31_02_904993_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2b77e684f088af2c7477039dd1cc8d81.jpg","text":"TemporaryFile(/tmp/multipartBody9026982204299886645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983153128,"filename":"image_04012025_10_30_02_729218_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e4d9b1a6b2cf80dcaeaef5fc0f278e28.jpg","text":"TemporaryFile(/tmp/multipartBody3255776169330927303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983153128,"filename":"image_04012025_10_31_02_904993_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326483687","file1":"1326483545","file0":"1326483237","file3":"1326483918"},"map_files_photo_id_array":[{"photo_id":"1326483687","filename":"file2"},{"photo_id":"1326483545","filename":"file1"},{"photo_id":"1326483237","filename":"file0"},{"photo_id":"1326483918","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326483687":["hashtag1","hashtag2"]},{"1326483918":["hashtag1","hashtag2"]},{"1326483237":["hashtag1","hashtag2"]},{"1326483545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326483687, 1326483918, 1326483237, 1326483545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.14508080482483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:32:02.295885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:32:21.862519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/31/image_04012025_10_31_02_904993_0003.jpg', '/home/pi/Desktop/images/04012025/10/32/image_04012025_10_32_03_102484_0000.jpg', '/home/pi/Desktop/images/04012025/10/32/image_04012025_10_32_03_102484_0001.jpg', '/home/pi/Desktop/images/04012025/10/32/image_04012025_10_32_03_102484_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/31/image_04012025_10_31_02_904993_0003.jpg
/home/pi/Desktop/images/04012025/10/32/image_04012025_10_32_03_102484_0000.jpg
/home/pi/Desktop/images/04012025/10/32/image_04012025_10_32_03_102484_0001.jpg
/home/pi/Desktop/images/04012025/10/32/image_04012025_10_32_03_102484_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326484361","1326484364","1326484358","1326484355"],"photo_ids_order":["1326484355","1326484358","1326484361","1326484364"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1194fc34bcb43b71e9815dec2f73c6cd.jpg","text":"TemporaryFile(/tmp/multipartBody8594225109057718111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983212355,"filename":"image_04012025_10_32_03_102484_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6b76b5b2c7bffd2fe41ed195dd37ee4a.jpg","text":"TemporaryFile(/tmp/multipartBody3952083391449720395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983212355,"filename":"image_04012025_10_32_03_102484_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b9bf8e84a2392e66d07c2d387f2e92d1.jpg","text":"TemporaryFile(/tmp/multipartBody2033579958420497733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983212355,"filename":"image_04012025_10_32_03_102484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/113e81afadf23d75a551dd2642e73278.jpg","text":"TemporaryFile(/tmp/multipartBody1132090099162482456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983212355,"filename":"image_04012025_10_31_02_904993_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326484361","file1":"1326484358","file0":"1326484355","file3":"1326484364"},"map_files_photo_id_array":[{"photo_id":"1326484361","filename":"file2"},{"photo_id":"1326484358","filename":"file1"},{"photo_id":"1326484355","filename":"file0"},{"photo_id":"1326484364","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326484361":["hashtag1","hashtag2"]},{"1326484364":["hashtag1","hashtag2"]},{"1326484358":["hashtag1","hashtag2"]},{"1326484355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326484361, 1326484364, 1326484358, 1326484355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.67805457115173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:33:22.071144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/32/image_04012025_10_32_03_102484_0003.jpg', '/home/pi/Desktop/images/04012025/10/33/image_04012025_10_33_02_243932_0000.jpg', '/home/pi/Desktop/images/04012025/10/33/image_04012025_10_33_02_243932_0001.jpg', '/home/pi/Desktop/images/04012025/10/33/image_04012025_10_33_02_243932_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/32/image_04012025_10_32_03_102484_0003.jpg
/home/pi/Desktop/images/04012025/10/33/image_04012025_10_33_02_243932_0000.jpg
/home/pi/Desktop/images/04012025/10/33/image_04012025_10_33_02_243932_0001.jpg
/home/pi/Desktop/images/04012025/10/33/image_04012025_10_33_02_243932_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.02898383140564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 10:33:42.019467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/32/image_04012025_10_32_03_102484_0003.jpg', '/home/pi/Desktop/images/04012025/10/33/image_04012025_10_33_02_243932_0000.jpg', '/home/pi/Desktop/images/04012025/10/33/image_04012025_10_33_02_243932_0001.jpg', '/home/pi/Desktop/images/04012025/10/33/image_04012025_10_33_02_243932_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/32/image_04012025_10_32_03_102484_0003.jpg
/home/pi/Desktop/images/04012025/10/33/image_04012025_10_33_02_243932_0000.jpg
/home/pi/Desktop/images/04012025/10/33/image_04012025_10_33_02_243932_0001.jpg
/home/pi/Desktop/images/04012025/10/33/image_04012025_10_33_02_243932_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326484812","1326484739","1326484811","1326484783"],"photo_ids_order":["1326484739","1326484783","1326484811","1326484812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d3e3a3509fa94d3369080c14610dd041.jpg","text":"TemporaryFile(/tmp/multipartBody4910882201294800678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983292468,"filename":"image_04012025_10_33_02_243932_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/050454bc6e344cd4b41cadf86b6ee227.jpg","text":"TemporaryFile(/tmp/multipartBody9020040820115445039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983292468,"filename":"image_04012025_10_32_03_102484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b95b2199081b5811cc3ddd1830d4328c.jpg","text":"TemporaryFile(/tmp/multipartBody391429814756903496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983292468,"filename":"image_04012025_10_33_02_243932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8a7793595b5f047453766c75152275f7.jpg","text":"TemporaryFile(/tmp/multipartBody133981355777849412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983292468,"filename":"image_04012025_10_33_02_243932_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326484811","file1":"1326484783","file0":"1326484739","file3":"1326484812"},"map_files_photo_id_array":[{"photo_id":"1326484811","filename":"file2"},{"photo_id":"1326484783","filename":"file1"},{"photo_id":"1326484739","filename":"file0"},{"photo_id":"1326484812","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326484812":["hashtag1","hashtag2"]},{"1326484739":["hashtag1","hashtag2"]},{"1326484811":["hashtag1","hashtag2"]},{"1326484783":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326484812, 1326484739, 1326484811, 1326484783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09844708442688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 10:34:32.157931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/33/image_04012025_10_33_02_243932_0003.jpg', '/home/pi/Desktop/images/04012025/10/34/image_04012025_10_34_02_366230_0000.jpg', '/home/pi/Desktop/images/04012025/10/34/image_04012025_10_34_02_366230_0001.jpg', '/home/pi/Desktop/images/04012025/10/34/image_04012025_10_34_02_366230_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/33/image_04012025_10_33_02_243932_0003.jpg
/home/pi/Desktop/images/04012025/10/34/image_04012025_10_34_02_366230_0000.jpg
/home/pi/Desktop/images/04012025/10/34/image_04012025_10_34_02_366230_0001.jpg
/home/pi/Desktop/images/04012025/10/34/image_04012025_10_34_02_366230_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326485352","1326485346","1326485349","1326485392"],"photo_ids_order":["1326485346","1326485349","1326485352","1326485392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/91d9427f3f34865daa2cf14b7f600204.jpg","text":"TemporaryFile(/tmp/multipartBody4350923024915958860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983342440,"filename":"image_04012025_10_34_02_366230_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f1d2d24825c198efa833fb38c1552f0a.jpg","text":"TemporaryFile(/tmp/multipartBody6132277060309609692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983342440,"filename":"image_04012025_10_33_02_243932_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/174a930b9d81cf0c3d9c9cf66d5ac120.jpg","text":"TemporaryFile(/tmp/multipartBody547047101114590508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983342440,"filename":"image_04012025_10_34_02_366230_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a4d82deb26c17014afff5d8f94b079e1.jpg","text":"TemporaryFile(/tmp/multipartBody2748223669356332659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983342440,"filename":"image_04012025_10_34_02_366230_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326485352","file1":"1326485349","file0":"1326485346","file3":"1326485392"},"map_files_photo_id_array":[{"photo_id":"1326485352","filename":"file2"},{"photo_id":"1326485349","filename":"file1"},{"photo_id":"1326485346","filename":"file0"},{"photo_id":"1326485392","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326485352":["hashtag1","hashtag2"]},{"1326485346":["hashtag1","hashtag2"]},{"1326485349":["hashtag1","hashtag2"]},{"1326485392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326485352, 1326485346, 1326485349, 1326485392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.20512652397156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:35:22.397505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/34/image_04012025_10_34_02_366230_0003.jpg', '/home/pi/Desktop/images/04012025/10/35/image_04012025_10_35_02_565350_0000.jpg', '/home/pi/Desktop/images/04012025/10/35/image_04012025_10_35_02_565350_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/34/image_04012025_10_34_02_366230_0003.jpg
/home/pi/Desktop/images/04012025/10/35/image_04012025_10_35_02_565350_0000.jpg
/home/pi/Desktop/images/04012025/10/35/image_04012025_10_35_02_565350_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":["1326485631","1326485629","1326485634"],"photo_ids_order":["1326485629","1326485631","1326485634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f1670b263a97e189944c5c6885d2514e.jpg","text":"TemporaryFile(/tmp/multipartBody4829817028681519354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983390101,"filename":"image_04012025_10_35_02_565350_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f31bc3caf165c771240e64a3680847d7.jpg","text":"TemporaryFile(/tmp/multipartBody5898847567223728551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983390101,"filename":"image_04012025_10_34_02_366230_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/52fb7ad58f6b4b46a1246b53a7c2d246.jpg","text":"TemporaryFile(/tmp/multipartBody3503975096949533083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983390101,"filename":"image_04012025_10_35_02_565350_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326485634","file1":"1326485631","file0":"1326485629"},"map_files_photo_id_array":[{"photo_id":"1326485634","filename":"file2"},{"photo_id":"1326485631","filename":"file1"},{"photo_id":"1326485629","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326485631":["hashtag1","hashtag2"]},{"1326485629":["hashtag1","hashtag2"]},{"1326485634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326485631, 1326485629, 1326485634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.38419532775879 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:36:02.928354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:36:22.603692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/35/image_04012025_10_35_02_565350_0003.jpg', '/home/pi/Desktop/images/04012025/10/36/image_04012025_10_36_02_682877_0000.jpg', '/home/pi/Desktop/images/04012025/10/36/image_04012025_10_36_02_682877_0001.jpg', '/home/pi/Desktop/images/04012025/10/36/image_04012025_10_36_02_682877_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/35/image_04012025_10_35_02_565350_0003.jpg
/home/pi/Desktop/images/04012025/10/36/image_04012025_10_36_02_682877_0000.jpg
/home/pi/Desktop/images/04012025/10/36/image_04012025_10_36_02_682877_0001.jpg
/home/pi/Desktop/images/04012025/10/36/image_04012025_10_36_02_682877_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326485969","1326485918","1326485869","1326485923"],"photo_ids_order":["1326485869","1326485918","1326485923","1326485969"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e7dce60c5c6656746580db7615cb4b89.jpg","text":"TemporaryFile(/tmp/multipartBody6345339301878063365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983452655,"filename":"image_04012025_10_36_02_682877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5bbb00a2cd68b7fb6d80fa25dff5b24d.jpg","text":"TemporaryFile(/tmp/multipartBody6106575822867160247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983452655,"filename":"image_04012025_10_36_02_682877_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bd961723e549763dcf6c0aac15b881a2.jpg","text":"TemporaryFile(/tmp/multipartBody174938809817124785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983452655,"filename":"image_04012025_10_35_02_565350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/008ac433ef04d66b500bd5bb97d490e4.jpg","text":"TemporaryFile(/tmp/multipartBody7347554200896720109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983452655,"filename":"image_04012025_10_36_02_682877_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326485923","file1":"1326485918","file0":"1326485869","file3":"1326485969"},"map_files_photo_id_array":[{"photo_id":"1326485923","filename":"file2"},{"photo_id":"1326485918","filename":"file1"},{"photo_id":"1326485869","filename":"file0"},{"photo_id":"1326485969","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326485969":["hashtag1","hashtag2"]},{"1326485918":["hashtag1","hashtag2"]},{"1326485869":["hashtag1","hashtag2"]},{"1326485923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326485969, 1326485918, 1326485869, 1326485923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20063757896423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:37:03.387397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:37:22.724208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/36/image_04012025_10_36_02_682877_0003.jpg', '/home/pi/Desktop/images/04012025/10/37/image_04012025_10_37_02_902514_0000.jpg', '/home/pi/Desktop/images/04012025/10/37/image_04012025_10_37_02_902514_0001.jpg', '/home/pi/Desktop/images/04012025/10/37/image_04012025_10_37_02_902514_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/36/image_04012025_10_36_02_682877_0003.jpg
/home/pi/Desktop/images/04012025/10/37/image_04012025_10_37_02_902514_0000.jpg
/home/pi/Desktop/images/04012025/10/37/image_04012025_10_37_02_902514_0001.jpg
/home/pi/Desktop/images/04012025/10/37/image_04012025_10_37_02_902514_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326486442","1326486154","1326486390","1326486159"],"photo_ids_order":["1326486154","1326486159","1326486390","1326486442"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9f2c8431246deda8da69d417d458c87e.jpg","text":"TemporaryFile(/tmp/multipartBody2580909133484858072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983512883,"filename":"image_04012025_10_37_02_902514_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a8bfa22174f8d08a45eb4f80badb1c7d.jpg","text":"TemporaryFile(/tmp/multipartBody8576038053730007404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983512883,"filename":"image_04012025_10_36_02_682877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0e4c1578599c6019df956c05fa7ff156.jpg","text":"TemporaryFile(/tmp/multipartBody388244636810205105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983512883,"filename":"image_04012025_10_37_02_902514_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e4caf550199fbc391f44ae2fdecb72ed.jpg","text":"TemporaryFile(/tmp/multipartBody872599910978853773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983512883,"filename":"image_04012025_10_37_02_902514_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326486390","file1":"1326486159","file0":"1326486154","file3":"1326486442"},"map_files_photo_id_array":[{"photo_id":"1326486390","filename":"file2"},{"photo_id":"1326486159","filename":"file1"},{"photo_id":"1326486154","filename":"file0"},{"photo_id":"1326486442","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326486442":["hashtag1","hashtag2"]},{"1326486154":["hashtag1","hashtag2"]},{"1326486390":["hashtag1","hashtag2"]},{"1326486159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326486442, 1326486154, 1326486390, 1326486159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.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-04 10:38:21.939174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/37/image_04012025_10_37_02_902514_0003.jpg', '/home/pi/Desktop/images/04012025/10/38/image_04012025_10_38_03_066501_0000.jpg', '/home/pi/Desktop/images/04012025/10/38/image_04012025_10_38_03_066501_0001.jpg', '/home/pi/Desktop/images/04012025/10/38/image_04012025_10_38_03_066501_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/37/image_04012025_10_37_02_902514_0003.jpg
/home/pi/Desktop/images/04012025/10/38/image_04012025_10_38_03_066501_0000.jpg
/home/pi/Desktop/images/04012025/10/38/image_04012025_10_38_03_066501_0001.jpg
/home/pi/Desktop/images/04012025/10/38/image_04012025_10_38_03_066501_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326486968","1326486953","1326486956","1326487070"],"photo_ids_order":["1326486953","1326486956","1326486968","1326487070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/41326e73718d685d3e86f4019f270f0d.jpg","text":"TemporaryFile(/tmp/multipartBody6028303166635592837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983572235,"filename":"image_04012025_10_38_03_066501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d34f147dcc86b63661308ccaa69aeb5c.jpg","text":"TemporaryFile(/tmp/multipartBody3301819570280281233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983572235,"filename":"image_04012025_10_37_02_902514_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c6e249d45258c63d4e56dcfed73ec35f.jpg","text":"TemporaryFile(/tmp/multipartBody942485967415139760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983572235,"filename":"image_04012025_10_38_03_066501_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3139059e45adf8bb630d863adf1ca6ff.jpg","text":"TemporaryFile(/tmp/multipartBody7831120367581713105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983572235,"filename":"image_04012025_10_38_03_066501_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326486968","file1":"1326486956","file0":"1326486953","file3":"1326487070"},"map_files_photo_id_array":[{"photo_id":"1326486968","filename":"file2"},{"photo_id":"1326486956","filename":"file1"},{"photo_id":"1326486953","filename":"file0"},{"photo_id":"1326487070","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326486968":["hashtag1","hashtag2"]},{"1326486953":["hashtag1","hashtag2"]},{"1326486956":["hashtag1","hashtag2"]},{"1326487070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326486968, 1326486953, 1326486956, 1326487070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.888051986694336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:39:02.787425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:39:22.139999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/38/image_04012025_10_38_03_066501_0003.jpg', '/home/pi/Desktop/images/04012025/10/39/image_04012025_10_39_02_259952_0000.jpg', '/home/pi/Desktop/images/04012025/10/39/image_04012025_10_39_02_259952_0001.jpg', '/home/pi/Desktop/images/04012025/10/39/image_04012025_10_39_02_259952_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/38/image_04012025_10_38_03_066501_0003.jpg
/home/pi/Desktop/images/04012025/10/39/image_04012025_10_39_02_259952_0000.jpg
/home/pi/Desktop/images/04012025/10/39/image_04012025_10_39_02_259952_0001.jpg
/home/pi/Desktop/images/04012025/10/39/image_04012025_10_39_02_259952_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326487430","1326487433","1326487427","1326487436"],"photo_ids_order":["1326487427","1326487430","1326487433","1326487436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/51ebded49d21e5a09c4ec1f2748076c8.jpg","text":"TemporaryFile(/tmp/multipartBody3615827646550691365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983632292,"filename":"image_04012025_10_39_02_259952_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/29db5dd5cd32614315af6f97a7f4b3b1.jpg","text":"TemporaryFile(/tmp/multipartBody6170036414710540285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983632292,"filename":"image_04012025_10_39_02_259952_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1572bd437a82b8066146b5859a92de63.jpg","text":"TemporaryFile(/tmp/multipartBody7668945752459763637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983632292,"filename":"image_04012025_10_38_03_066501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7954a007648ba2dd5dafc5c953558d97.jpg","text":"TemporaryFile(/tmp/multipartBody6675507604262611326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983632292,"filename":"image_04012025_10_39_02_259952_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326487433","file1":"1326487430","file0":"1326487427","file3":"1326487436"},"map_files_photo_id_array":[{"photo_id":"1326487433","filename":"file2"},{"photo_id":"1326487430","filename":"file1"},{"photo_id":"1326487427","filename":"file0"},{"photo_id":"1326487436","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326487430":["hashtag1","hashtag2"]},{"1326487433":["hashtag1","hashtag2"]},{"1326487427":["hashtag1","hashtag2"]},{"1326487436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326487430, 1326487433, 1326487427, 1326487436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81893038749695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:40:02.813298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:40:22.250128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/39/image_04012025_10_39_02_259952_0003.jpg', '/home/pi/Desktop/images/04012025/10/40/image_04012025_10_40_02_439280_0000.jpg', '/home/pi/Desktop/images/04012025/10/40/image_04012025_10_40_02_439280_0001.jpg', '/home/pi/Desktop/images/04012025/10/40/image_04012025_10_40_02_439280_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/39/image_04012025_10_39_02_259952_0003.jpg
/home/pi/Desktop/images/04012025/10/40/image_04012025_10_40_02_439280_0000.jpg
/home/pi/Desktop/images/04012025/10/40/image_04012025_10_40_02_439280_0001.jpg
/home/pi/Desktop/images/04012025/10/40/image_04012025_10_40_02_439280_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326487983","1326487932","1326487929","1326487605"],"photo_ids_order":["1326487605","1326487929","1326487932","1326487983"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/04344615a070efee3ade398208cd3102.jpg","text":"TemporaryFile(/tmp/multipartBody8426053694275562290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983692473,"filename":"image_04012025_10_40_02_439280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/64b6711d3ec6ce8766cab8f3df6843b5.jpg","text":"TemporaryFile(/tmp/multipartBody1845834999186606497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983692473,"filename":"image_04012025_10_40_02_439280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/56b842e2cd64467feeb7ced6734baae8.jpg","text":"TemporaryFile(/tmp/multipartBody921539161261920015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983692473,"filename":"image_04012025_10_40_02_439280_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd55ab094f4ea81cef2786954eb1e8fe.jpg","text":"TemporaryFile(/tmp/multipartBody4420638749844546934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983692473,"filename":"image_04012025_10_39_02_259952_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326487932","file1":"1326487929","file0":"1326487605","file3":"1326487983"},"map_files_photo_id_array":[{"photo_id":"1326487932","filename":"file2"},{"photo_id":"1326487929","filename":"file1"},{"photo_id":"1326487605","filename":"file0"},{"photo_id":"1326487983","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326487983":["hashtag1","hashtag2"]},{"1326487932":["hashtag1","hashtag2"]},{"1326487929":["hashtag1","hashtag2"]},{"1326487605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326487983, 1326487932, 1326487929, 1326487605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.35408282279968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:41:03.129990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:41:22.379664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/40/image_04012025_10_40_02_439280_0003.jpg', '/home/pi/Desktop/images/04012025/10/41/image_04012025_10_41_02_605041_0000.jpg', '/home/pi/Desktop/images/04012025/10/41/image_04012025_10_41_02_605041_0001.jpg', '/home/pi/Desktop/images/04012025/10/41/image_04012025_10_41_02_605041_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/40/image_04012025_10_40_02_439280_0003.jpg
/home/pi/Desktop/images/04012025/10/41/image_04012025_10_41_02_605041_0000.jpg
/home/pi/Desktop/images/04012025/10/41/image_04012025_10_41_02_605041_0001.jpg
/home/pi/Desktop/images/04012025/10/41/image_04012025_10_41_02_605041_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326488490","1326488483","1326488409","1326488486"],"photo_ids_order":["1326488409","1326488483","1326488486","1326488490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cf5a3d5986e9a85c36b7ac3c6858f0b9.jpg","text":"TemporaryFile(/tmp/multipartBody2199498882829370288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983752691,"filename":"image_04012025_10_41_02_605041_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9a57c241608081730696b3f54ece211c.jpg","text":"TemporaryFile(/tmp/multipartBody6652089178480061570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983752691,"filename":"image_04012025_10_41_02_605041_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/affda439dffaeeb3452fab9a0c7442d6.jpg","text":"TemporaryFile(/tmp/multipartBody2816733954563117951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983752691,"filename":"image_04012025_10_40_02_439280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0c9aaeec52f69746ece6a89f9bd12b7e.jpg","text":"TemporaryFile(/tmp/multipartBody3756339742531836909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983752691,"filename":"image_04012025_10_41_02_605041_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326488486","file1":"1326488483","file0":"1326488409","file3":"1326488490"},"map_files_photo_id_array":[{"photo_id":"1326488486","filename":"file2"},{"photo_id":"1326488483","filename":"file1"},{"photo_id":"1326488409","filename":"file0"},{"photo_id":"1326488490","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326488490":["hashtag1","hashtag2"]},{"1326488483":["hashtag1","hashtag2"]},{"1326488409":["hashtag1","hashtag2"]},{"1326488486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326488490, 1326488483, 1326488409, 1326488486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.21998977661133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:42:03.155504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:42:22.696824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/41/image_04012025_10_41_02_605041_0003.jpg', '/home/pi/Desktop/images/04012025/10/42/image_04012025_10_42_02_790097_0000.jpg', '/home/pi/Desktop/images/04012025/10/42/image_04012025_10_42_02_790097_0001.jpg', '/home/pi/Desktop/images/04012025/10/42/image_04012025_10_42_02_790097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/41/image_04012025_10_41_02_605041_0003.jpg
/home/pi/Desktop/images/04012025/10/42/image_04012025_10_42_02_790097_0000.jpg
/home/pi/Desktop/images/04012025/10/42/image_04012025_10_42_02_790097_0001.jpg
/home/pi/Desktop/images/04012025/10/42/image_04012025_10_42_02_790097_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326488959","1326488902","1326488898","1326488979"],"photo_ids_order":["1326488898","1326488902","1326488959","1326488979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e1f025102dd03cb23e153e1064a91f66.jpg","text":"TemporaryFile(/tmp/multipartBody4606765503302179930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983813050,"filename":"image_04012025_10_42_02_790097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b16e4cda61e3a8f428d7a045fe953148.jpg","text":"TemporaryFile(/tmp/multipartBody8066305690003519015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983813050,"filename":"image_04012025_10_42_02_790097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e4bc325dff6b1e210b3c878607760aa9.jpg","text":"TemporaryFile(/tmp/multipartBody1752622526672147088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983813050,"filename":"image_04012025_10_41_02_605041_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8cb048df26ebd657355c663380ce2490.jpg","text":"TemporaryFile(/tmp/multipartBody3916899166476109372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983813050,"filename":"image_04012025_10_42_02_790097_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326488959","file1":"1326488902","file0":"1326488898","file3":"1326488979"},"map_files_photo_id_array":[{"photo_id":"1326488959","filename":"file2"},{"photo_id":"1326488902","filename":"file1"},{"photo_id":"1326488898","filename":"file0"},{"photo_id":"1326488979","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326488959":["hashtag1","hashtag2"]},{"1326488902":["hashtag1","hashtag2"]},{"1326488898":["hashtag1","hashtag2"]},{"1326488979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326488959, 1326488902, 1326488898, 1326488979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.370672941207886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:43:21.850551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/42/image_04012025_10_42_02_790097_0003.jpg', '/home/pi/Desktop/images/04012025/10/43/image_04012025_10_43_03_000728_0000.jpg', '/home/pi/Desktop/images/04012025/10/43/image_04012025_10_43_03_000728_0001.jpg', '/home/pi/Desktop/images/04012025/10/43/image_04012025_10_43_03_000728_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/42/image_04012025_10_42_02_790097_0003.jpg
/home/pi/Desktop/images/04012025/10/43/image_04012025_10_43_03_000728_0000.jpg
/home/pi/Desktop/images/04012025/10/43/image_04012025_10_43_03_000728_0001.jpg
/home/pi/Desktop/images/04012025/10/43/image_04012025_10_43_03_000728_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326489132","1326489473","1326489128","1326489292"],"photo_ids_order":["1326489128","1326489132","1326489292","1326489473"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d7d1a9268ff1aaad52d485570ab57ab5.jpg","text":"TemporaryFile(/tmp/multipartBody1204370088326740326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983872189,"filename":"image_04012025_10_43_03_000728_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/80bf2e4ae43ed4c6c7e68e5531470ce4.jpg","text":"TemporaryFile(/tmp/multipartBody1229507440191621372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983872189,"filename":"image_04012025_10_43_03_000728_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0473b73cfb7ce2e2cd575780e2af6d87.jpg","text":"TemporaryFile(/tmp/multipartBody188790676116627231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983872189,"filename":"image_04012025_10_42_02_790097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/10992a512391d81ee9129d2b42e698c7.jpg","text":"TemporaryFile(/tmp/multipartBody5196681751484999041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983872189,"filename":"image_04012025_10_43_03_000728_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326489292","file1":"1326489132","file0":"1326489128","file3":"1326489473"},"map_files_photo_id_array":[{"photo_id":"1326489292","filename":"file2"},{"photo_id":"1326489132","filename":"file1"},{"photo_id":"1326489128","filename":"file0"},{"photo_id":"1326489473","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326489132":["hashtag1","hashtag2"]},{"1326489473":["hashtag1","hashtag2"]},{"1326489128":["hashtag1","hashtag2"]},{"1326489292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326489132, 1326489473, 1326489128, 1326489292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.74716067314148 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:44:22.105626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/43/image_04012025_10_43_03_000728_0003.jpg', '/home/pi/Desktop/images/04012025/10/44/image_04012025_10_44_02_286205_0000.jpg', '/home/pi/Desktop/images/04012025/10/44/image_04012025_10_44_02_286205_0001.jpg', '/home/pi/Desktop/images/04012025/10/44/image_04012025_10_44_02_286205_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/43/image_04012025_10_43_03_000728_0003.jpg
/home/pi/Desktop/images/04012025/10/44/image_04012025_10_44_02_286205_0000.jpg
/home/pi/Desktop/images/04012025/10/44/image_04012025_10_44_02_286205_0001.jpg
/home/pi/Desktop/images/04012025/10/44/image_04012025_10_44_02_286205_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326490078","1326489984","1326489988","1326489979"],"photo_ids_order":["1326489979","1326489984","1326489988","1326490078"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/12471ed9c11d44b379585274e87d8fba.jpg","text":"TemporaryFile(/tmp/multipartBody4353728547230684591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983932413,"filename":"image_04012025_10_44_02_286205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/96b74b881c2de0440ecd8935c8559ce9.jpg","text":"TemporaryFile(/tmp/multipartBody4403334350927826338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983932413,"filename":"image_04012025_10_44_02_286205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db7bed0281d60e247ad826da36479a57.jpg","text":"TemporaryFile(/tmp/multipartBody3892391058072550180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983932413,"filename":"image_04012025_10_44_02_286205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3159ae5b06894b9b1b2b21e0ea64a98e.jpg","text":"TemporaryFile(/tmp/multipartBody5340501103835239282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983932413,"filename":"image_04012025_10_43_03_000728_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326489988","file1":"1326489984","file0":"1326489979","file3":"1326490078"},"map_files_photo_id_array":[{"photo_id":"1326489988","filename":"file2"},{"photo_id":"1326489984","filename":"file1"},{"photo_id":"1326489979","filename":"file0"},{"photo_id":"1326490078","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326490078":["hashtag1","hashtag2"]},{"1326489984":["hashtag1","hashtag2"]},{"1326489988":["hashtag1","hashtag2"]},{"1326489979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326490078, 1326489984, 1326489988, 1326489979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.335540771484375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:45:02.770418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:45:22.181784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/44/image_04012025_10_44_02_286205_0003.jpg', '/home/pi/Desktop/images/04012025/10/45/image_04012025_10_45_02_415060_0000.jpg', '/home/pi/Desktop/images/04012025/10/45/image_04012025_10_45_02_415060_0001.jpg', '/home/pi/Desktop/images/04012025/10/45/image_04012025_10_45_02_415060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/44/image_04012025_10_44_02_286205_0003.jpg
/home/pi/Desktop/images/04012025/10/45/image_04012025_10_45_02_415060_0000.jpg
/home/pi/Desktop/images/04012025/10/45/image_04012025_10_45_02_415060_0001.jpg
/home/pi/Desktop/images/04012025/10/45/image_04012025_10_45_02_415060_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326490423","1326490488","1326490497","1326490499"],"photo_ids_order":["1326490423","1326490488","1326490497","1326490499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/258d948ee867fb4d610468e108cf1f4d.jpg","text":"TemporaryFile(/tmp/multipartBody7422465581192491511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983992506,"filename":"image_04012025_10_44_02_286205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/508b8facc8d1f12926b5a8a5360b80fd.jpg","text":"TemporaryFile(/tmp/multipartBody2761798767719800520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983992506,"filename":"image_04012025_10_45_02_415060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e5e15233733ea85ad93027328d5c6799.jpg","text":"TemporaryFile(/tmp/multipartBody7929110305813570678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983992506,"filename":"image_04012025_10_45_02_415060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6d5c7a1bdc757500a86f1ac68fcf551a.jpg","text":"TemporaryFile(/tmp/multipartBody7682841994396132324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735983992506,"filename":"image_04012025_10_45_02_415060_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326490497","file1":"1326490488","file0":"1326490423","file3":"1326490499"},"map_files_photo_id_array":[{"photo_id":"1326490497","filename":"file2"},{"photo_id":"1326490488","filename":"file1"},{"photo_id":"1326490423","filename":"file0"},{"photo_id":"1326490499","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326490423":["hashtag1","hashtag2"]},{"1326490488":["hashtag1","hashtag2"]},{"1326490497":["hashtag1","hashtag2"]},{"1326490499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326490423, 1326490488, 1326490497, 1326490499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.387577533721924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:46:02.841113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:46:22.450976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/45/image_04012025_10_45_02_415060_0003.jpg', '/home/pi/Desktop/images/04012025/10/46/image_04012025_10_46_02_665404_0000.jpg', '/home/pi/Desktop/images/04012025/10/46/image_04012025_10_46_02_665404_0001.jpg', '/home/pi/Desktop/images/04012025/10/46/image_04012025_10_46_02_665404_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/45/image_04012025_10_45_02_415060_0003.jpg
/home/pi/Desktop/images/04012025/10/46/image_04012025_10_46_02_665404_0000.jpg
/home/pi/Desktop/images/04012025/10/46/image_04012025_10_46_02_665404_0001.jpg
/home/pi/Desktop/images/04012025/10/46/image_04012025_10_46_02_665404_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326491072","1326491173","1326491167","1326491152"],"photo_ids_order":["1326491072","1326491152","1326491167","1326491173"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/de8886eae30e6c094c3bb7b9824e122a.jpg","text":"TemporaryFile(/tmp/multipartBody4610711333695974464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984052749,"filename":"image_04012025_10_45_02_415060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/75ca84a507854403ddfa035d017b3ab9.jpg","text":"TemporaryFile(/tmp/multipartBody617966589968024960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984052749,"filename":"image_04012025_10_46_02_665404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ac58c224300783be81440ff14237fd3b.jpg","text":"TemporaryFile(/tmp/multipartBody744831699648654461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984052749,"filename":"image_04012025_10_46_02_665404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c6b5d2e1cc17d59ce47ee353bb8abb35.jpg","text":"TemporaryFile(/tmp/multipartBody7909842055112386346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984052749,"filename":"image_04012025_10_46_02_665404_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326491167","file1":"1326491152","file0":"1326491072","file3":"1326491173"},"map_files_photo_id_array":[{"photo_id":"1326491167","filename":"file2"},{"photo_id":"1326491152","filename":"file1"},{"photo_id":"1326491072","filename":"file0"},{"photo_id":"1326491173","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326491072":["hashtag1","hashtag2"]},{"1326491173":["hashtag1","hashtag2"]},{"1326491167":["hashtag1","hashtag2"]},{"1326491152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326491072, 1326491173, 1326491167, 1326491152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.26494383811951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:47:22.601251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/46/image_04012025_10_46_02_665404_0003.jpg', '/home/pi/Desktop/images/04012025/10/47/image_04012025_10_47_02_729954_0000.jpg', '/home/pi/Desktop/images/04012025/10/47/image_04012025_10_47_02_729954_0001.jpg', '/home/pi/Desktop/images/04012025/10/47/image_04012025_10_47_02_729954_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/46/image_04012025_10_46_02_665404_0003.jpg
/home/pi/Desktop/images/04012025/10/47/image_04012025_10_47_02_729954_0000.jpg
/home/pi/Desktop/images/04012025/10/47/image_04012025_10_47_02_729954_0001.jpg
/home/pi/Desktop/images/04012025/10/47/image_04012025_10_47_02_729954_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326491617","1326491436","1326491240","1326491243"],"photo_ids_order":["1326491240","1326491243","1326491436","1326491617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/07f1ddb51d0d3c46989e39a9b8ad8c9b.jpg","text":"TemporaryFile(/tmp/multipartBody3052132886720242170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984112923,"filename":"image_04012025_10_47_02_729954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6341ed7c947fa110719b431d97f69ed5.jpg","text":"TemporaryFile(/tmp/multipartBody293818780949169643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984112923,"filename":"image_04012025_10_47_02_729954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4e8b2fd4fbaf95f472fee47dbccf1660.jpg","text":"TemporaryFile(/tmp/multipartBody3780748733308994106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984112923,"filename":"image_04012025_10_46_02_665404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ffcae5a2d45861f6d50f984490b8921a.jpg","text":"TemporaryFile(/tmp/multipartBody3067065959455846812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984112923,"filename":"image_04012025_10_47_02_729954_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326491436","file1":"1326491243","file0":"1326491240","file3":"1326491617"},"map_files_photo_id_array":[{"photo_id":"1326491436","filename":"file2"},{"photo_id":"1326491243","filename":"file1"},{"photo_id":"1326491240","filename":"file0"},{"photo_id":"1326491617","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326491617":["hashtag1","hashtag2"]},{"1326491436":["hashtag1","hashtag2"]},{"1326491240":["hashtag1","hashtag2"]},{"1326491243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326491617, 1326491436, 1326491240, 1326491243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.81681680679321 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:48:02.151763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:48:21.791175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/47/image_04012025_10_47_02_729954_0003.jpg', '/home/pi/Desktop/images/04012025/10/48/image_04012025_10_48_02_925250_0000.jpg', '/home/pi/Desktop/images/04012025/10/48/image_04012025_10_48_02_925250_0001.jpg', '/home/pi/Desktop/images/04012025/10/48/image_04012025_10_48_02_925250_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/47/image_04012025_10_47_02_729954_0003.jpg
/home/pi/Desktop/images/04012025/10/48/image_04012025_10_48_02_925250_0000.jpg
/home/pi/Desktop/images/04012025/10/48/image_04012025_10_48_02_925250_0001.jpg
/home/pi/Desktop/images/04012025/10/48/image_04012025_10_48_02_925250_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326492111","1326492114","1326492117","1326492178"],"photo_ids_order":["1326492111","1326492114","1326492117","1326492178"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/15ccb4ba716cc8d21c12942a27884d08.jpg","text":"TemporaryFile(/tmp/multipartBody3867812317253859389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984172243,"filename":"image_04012025_10_47_02_729954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f569d96f6120f2e3765315a93e30e3aa.jpg","text":"TemporaryFile(/tmp/multipartBody2153087360824885884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984172243,"filename":"image_04012025_10_48_02_925250_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/76ba4dacb4b5328f42039020e3285767.jpg","text":"TemporaryFile(/tmp/multipartBody4925200272954977464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984172243,"filename":"image_04012025_10_48_02_925250_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6741673611ff03db83136d645be3e697.jpg","text":"TemporaryFile(/tmp/multipartBody5851510165269262618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984172243,"filename":"image_04012025_10_48_02_925250_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326492117","file1":"1326492114","file0":"1326492111","file3":"1326492178"},"map_files_photo_id_array":[{"photo_id":"1326492117","filename":"file2"},{"photo_id":"1326492114","filename":"file1"},{"photo_id":"1326492111","filename":"file0"},{"photo_id":"1326492178","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326492111":["hashtag1","hashtag2"]},{"1326492114":["hashtag1","hashtag2"]},{"1326492117":["hashtag1","hashtag2"]},{"1326492178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326492111, 1326492114, 1326492117, 1326492178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.203500747680664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:49:02.488126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:49:22.057404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/48/image_04012025_10_48_02_925250_0003.jpg', '/home/pi/Desktop/images/04012025/10/49/image_04012025_10_49_02_132407_0000.jpg', '/home/pi/Desktop/images/04012025/10/49/image_04012025_10_49_02_132407_0001.jpg', '/home/pi/Desktop/images/04012025/10/49/image_04012025_10_49_02_132407_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/48/image_04012025_10_48_02_925250_0003.jpg
/home/pi/Desktop/images/04012025/10/49/image_04012025_10_49_02_132407_0000.jpg
/home/pi/Desktop/images/04012025/10/49/image_04012025_10_49_02_132407_0001.jpg
/home/pi/Desktop/images/04012025/10/49/image_04012025_10_49_02_132407_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326492567","1326492569","1326492565","1326492376"],"photo_ids_order":["1326492376","1326492565","1326492567","1326492569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f4c86671653fe2da3c7c21a6f6452090.jpg","text":"TemporaryFile(/tmp/multipartBody3451204284230984547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984232396,"filename":"image_04012025_10_49_02_132407_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3415f4bf9e6651c5d33fa295e954f67c.jpg","text":"TemporaryFile(/tmp/multipartBody3366161350626118355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984232396,"filename":"image_04012025_10_49_02_132407_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7b4084c2fd96fc65a728b672a88468b.jpg","text":"TemporaryFile(/tmp/multipartBody697975049101135688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984232396,"filename":"image_04012025_10_49_02_132407_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/605f3d2439873e1081b265b0047e066d.jpg","text":"TemporaryFile(/tmp/multipartBody741110974211683309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984232396,"filename":"image_04012025_10_48_02_925250_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326492567","file1":"1326492565","file0":"1326492376","file3":"1326492569"},"map_files_photo_id_array":[{"photo_id":"1326492567","filename":"file2"},{"photo_id":"1326492565","filename":"file1"},{"photo_id":"1326492376","filename":"file0"},{"photo_id":"1326492569","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326492567":["hashtag1","hashtag2"]},{"1326492569":["hashtag1","hashtag2"]},{"1326492565":["hashtag1","hashtag2"]},{"1326492376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326492567, 1326492569, 1326492565, 1326492376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.05994725227356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:50:02.589560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:50:22.160372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/49/image_04012025_10_49_02_132407_0003.jpg', '/home/pi/Desktop/images/04012025/10/50/image_04012025_10_50_02_348348_0000.jpg', '/home/pi/Desktop/images/04012025/10/50/image_04012025_10_50_02_348348_0001.jpg', '/home/pi/Desktop/images/04012025/10/50/image_04012025_10_50_02_348348_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/49/image_04012025_10_49_02_132407_0003.jpg
/home/pi/Desktop/images/04012025/10/50/image_04012025_10_50_02_348348_0000.jpg
/home/pi/Desktop/images/04012025/10/50/image_04012025_10_50_02_348348_0001.jpg
/home/pi/Desktop/images/04012025/10/50/image_04012025_10_50_02_348348_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326492767","1326492761","1326493019","1326492757"],"photo_ids_order":["1326492757","1326492761","1326492767","1326493019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6cc9d8785034bd1427bc835227b5a6bb.jpg","text":"TemporaryFile(/tmp/multipartBody1849363037036808129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984292472,"filename":"image_04012025_10_50_02_348348_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1178ee21401ec03ce1ddd8b34eafee7a.jpg","text":"TemporaryFile(/tmp/multipartBody1808982518830939383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984292472,"filename":"image_04012025_10_50_02_348348_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e875843f3f92b6313bf1038d8a594929.jpg","text":"TemporaryFile(/tmp/multipartBody7052174032367997136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984292472,"filename":"image_04012025_10_50_02_348348_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8a527ecbdf6814583b9e99a2911f04b2.jpg","text":"TemporaryFile(/tmp/multipartBody3323444952525038562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984292472,"filename":"image_04012025_10_49_02_132407_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326492767","file1":"1326492761","file0":"1326492757","file3":"1326493019"},"map_files_photo_id_array":[{"photo_id":"1326492767","filename":"file2"},{"photo_id":"1326492761","filename":"file1"},{"photo_id":"1326492757","filename":"file0"},{"photo_id":"1326493019","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326492767":["hashtag1","hashtag2"]},{"1326492761":["hashtag1","hashtag2"]},{"1326493019":["hashtag1","hashtag2"]},{"1326492757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326492767, 1326492761, 1326493019, 1326492757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.46574831008911 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:51:22.308053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/50/image_04012025_10_50_02_348348_0003.jpg', '/home/pi/Desktop/images/04012025/10/51/image_04012025_10_51_02_531120_0000.jpg', '/home/pi/Desktop/images/04012025/10/51/image_04012025_10_51_02_531120_0001.jpg', '/home/pi/Desktop/images/04012025/10/51/image_04012025_10_51_02_531120_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/50/image_04012025_10_50_02_348348_0003.jpg
/home/pi/Desktop/images/04012025/10/51/image_04012025_10_51_02_531120_0000.jpg
/home/pi/Desktop/images/04012025/10/51/image_04012025_10_51_02_531120_0001.jpg
/home/pi/Desktop/images/04012025/10/51/image_04012025_10_51_02_531120_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326493667","1326493577","1326493573","1326493654"],"photo_ids_order":["1326493573","1326493577","1326493654","1326493667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2ab11bc390b4f6110e87b4250a0b2a3e.jpg","text":"TemporaryFile(/tmp/multipartBody5320003526760888222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984352677,"filename":"image_04012025_10_51_02_531120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a56b78d83b1e3505033314bb82bfb670.jpg","text":"TemporaryFile(/tmp/multipartBody8100505683623830644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984352677,"filename":"image_04012025_10_51_02_531120_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af5682049a28c9263902735e6400b32e.jpg","text":"TemporaryFile(/tmp/multipartBody4337072787239317959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984352677,"filename":"image_04012025_10_50_02_348348_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d23cb2658998207c3e6f31bf55be26e8.jpg","text":"TemporaryFile(/tmp/multipartBody2816916847451699146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984352677,"filename":"image_04012025_10_51_02_531120_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326493654","file1":"1326493577","file0":"1326493573","file3":"1326493667"},"map_files_photo_id_array":[{"photo_id":"1326493654","filename":"file2"},{"photo_id":"1326493577","filename":"file1"},{"photo_id":"1326493573","filename":"file0"},{"photo_id":"1326493667","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326493667":["hashtag1","hashtag2"]},{"1326493577":["hashtag1","hashtag2"]},{"1326493573":["hashtag1","hashtag2"]},{"1326493654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326493667, 1326493577, 1326493573, 1326493654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.10221314430237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:52:02.856162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:52:22.534485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/51/image_04012025_10_51_02_531120_0003.jpg', '/home/pi/Desktop/images/04012025/10/52/image_04012025_10_52_02_700088_0000.jpg', '/home/pi/Desktop/images/04012025/10/52/image_04012025_10_52_02_700088_0001.jpg', '/home/pi/Desktop/images/04012025/10/52/image_04012025_10_52_02_700088_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/51/image_04012025_10_51_02_531120_0003.jpg
/home/pi/Desktop/images/04012025/10/52/image_04012025_10_52_02_700088_0000.jpg
/home/pi/Desktop/images/04012025/10/52/image_04012025_10_52_02_700088_0001.jpg
/home/pi/Desktop/images/04012025/10/52/image_04012025_10_52_02_700088_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.983961582183838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 10:52:42.499447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/51/image_04012025_10_51_02_531120_0003.jpg', '/home/pi/Desktop/images/04012025/10/52/image_04012025_10_52_02_700088_0000.jpg', '/home/pi/Desktop/images/04012025/10/52/image_04012025_10_52_02_700088_0001.jpg', '/home/pi/Desktop/images/04012025/10/52/image_04012025_10_52_02_700088_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/51/image_04012025_10_51_02_531120_0003.jpg
/home/pi/Desktop/images/04012025/10/52/image_04012025_10_52_02_700088_0000.jpg
/home/pi/Desktop/images/04012025/10/52/image_04012025_10_52_02_700088_0001.jpg
/home/pi/Desktop/images/04012025/10/52/image_04012025_10_52_02_700088_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326494621","1326494656","1326494655","1326494619"],"photo_ids_order":["1326494619","1326494621","1326494655","1326494656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/08b670d779c20f8ea134414d19095be7.jpg","text":"TemporaryFile(/tmp/multipartBody5171440513328618906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984432884,"filename":"image_04012025_10_52_02_700088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bec329b2f9ed4241856e9172856b1ce1.jpg","text":"TemporaryFile(/tmp/multipartBody7778448569145270677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984432884,"filename":"image_04012025_10_52_02_700088_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/41e2bba3198b7fd186dd58d76d609135.jpg","text":"TemporaryFile(/tmp/multipartBody2433028414130348589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984432884,"filename":"image_04012025_10_52_02_700088_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bfa2248e8b8d0598671e7948e6cae7bb.jpg","text":"TemporaryFile(/tmp/multipartBody8617427584860602881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984432884,"filename":"image_04012025_10_51_02_531120_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326494655","file1":"1326494621","file0":"1326494619","file3":"1326494656"},"map_files_photo_id_array":[{"photo_id":"1326494655","filename":"file2"},{"photo_id":"1326494621","filename":"file1"},{"photo_id":"1326494619","filename":"file0"},{"photo_id":"1326494656","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326494621":["hashtag1","hashtag2"]},{"1326494656":["hashtag1","hashtag2"]},{"1326494655":["hashtag1","hashtag2"]},{"1326494619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326494621, 1326494656, 1326494655, 1326494619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43280839920044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:53:22.736706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/52/image_04012025_10_52_02_700088_0003.jpg', '/home/pi/Desktop/images/04012025/10/53/image_04012025_10_53_02_897451_0000.jpg', '/home/pi/Desktop/images/04012025/10/53/image_04012025_10_53_02_897451_0001.jpg', '/home/pi/Desktop/images/04012025/10/53/image_04012025_10_53_02_897451_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/52/image_04012025_10_52_02_700088_0003.jpg
/home/pi/Desktop/images/04012025/10/53/image_04012025_10_53_02_897451_0000.jpg
/home/pi/Desktop/images/04012025/10/53/image_04012025_10_53_02_897451_0001.jpg
/home/pi/Desktop/images/04012025/10/53/image_04012025_10_53_02_897451_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326495073","1326494761","1326495069","1326494772"],"photo_ids_order":["1326494761","1326494772","1326495069","1326495073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e58db6292a1be30c71254cc9b5cbc334.jpg","text":"TemporaryFile(/tmp/multipartBody7866509420488520744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984473074,"filename":"image_04012025_10_53_02_897451_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7c27724b24efe147e37b13bf005f702f.jpg","text":"TemporaryFile(/tmp/multipartBody8549253015598628489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984473074,"filename":"image_04012025_10_52_02_700088_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3bcf0302f18c4aae86423193bd2a7849.jpg","text":"TemporaryFile(/tmp/multipartBody2079800989719929908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984473074,"filename":"image_04012025_10_53_02_897451_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/80fb315f484dbe22f2649c6b43d7eedc.jpg","text":"TemporaryFile(/tmp/multipartBody1429051941554679694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984473074,"filename":"image_04012025_10_53_02_897451_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326495069","file1":"1326494772","file0":"1326494761","file3":"1326495073"},"map_files_photo_id_array":[{"photo_id":"1326495069","filename":"file2"},{"photo_id":"1326494772","filename":"file1"},{"photo_id":"1326494761","filename":"file0"},{"photo_id":"1326495073","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326495073":["hashtag1","hashtag2"]},{"1326494761":["hashtag1","hashtag2"]},{"1326495069":["hashtag1","hashtag2"]},{"1326494772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326495073, 1326494761, 1326495069, 1326494772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.624321937561035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:54:21.872602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/53/image_04012025_10_53_02_897451_0003.jpg', '/home/pi/Desktop/images/04012025/10/54/image_04012025_10_54_03_062758_0000.jpg', '/home/pi/Desktop/images/04012025/10/54/image_04012025_10_54_03_062758_0001.jpg', '/home/pi/Desktop/images/04012025/10/54/image_04012025_10_54_03_062758_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/53/image_04012025_10_53_02_897451_0003.jpg
/home/pi/Desktop/images/04012025/10/54/image_04012025_10_54_03_062758_0000.jpg
/home/pi/Desktop/images/04012025/10/54/image_04012025_10_54_03_062758_0001.jpg
/home/pi/Desktop/images/04012025/10/54/image_04012025_10_54_03_062758_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326495564","1326495333","1326495222","1326495504"],"photo_ids_order":["1326495222","1326495333","1326495504","1326495564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f550f87616b24dd589c5d2e1f844c2bb.jpg","text":"TemporaryFile(/tmp/multipartBody9068912649286159316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984532198,"filename":"image_04012025_10_54_03_062758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/45a991b3685b3e5704a12c667854b476.jpg","text":"TemporaryFile(/tmp/multipartBody8303459137845773936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984532198,"filename":"image_04012025_10_54_03_062758_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0373a4c4b8da7b52614f3ebc9af0553.jpg","text":"TemporaryFile(/tmp/multipartBody7701469740146921568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984532198,"filename":"image_04012025_10_53_02_897451_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/96ad72ca9c3053a60cab136786719e2e.jpg","text":"TemporaryFile(/tmp/multipartBody3123074561390422844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984532198,"filename":"image_04012025_10_54_03_062758_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326495504","file1":"1326495333","file0":"1326495222","file3":"1326495564"},"map_files_photo_id_array":[{"photo_id":"1326495504","filename":"file2"},{"photo_id":"1326495333","filename":"file1"},{"photo_id":"1326495222","filename":"file0"},{"photo_id":"1326495564","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326495564":["hashtag1","hashtag2"]},{"1326495333":["hashtag1","hashtag2"]},{"1326495222":["hashtag1","hashtag2"]},{"1326495504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326495564, 1326495333, 1326495222, 1326495504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53335237503052 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-04 10:55:22.125581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/54/image_04012025_10_54_03_062758_0003.jpg', '/home/pi/Desktop/images/04012025/10/55/image_04012025_10_55_02_303796_0000.jpg', '/home/pi/Desktop/images/04012025/10/55/image_04012025_10_55_02_303796_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/54/image_04012025_10_54_03_062758_0003.jpg
/home/pi/Desktop/images/04012025/10/55/image_04012025_10_55_02_303796_0000.jpg
/home/pi/Desktop/images/04012025/10/55/image_04012025_10_55_02_303796_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":["1326495748","1326495741","1326495744"],"photo_ids_order":["1326495741","1326495744","1326495748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e51e2d68adfa9dd0812fa3d4b1f47598.jpg","text":"TemporaryFile(/tmp/multipartBody4734709493498207405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984590115,"filename":"image_04012025_10_55_02_303796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7d4c43a464fba2890233fb1ae9189db4.jpg","text":"TemporaryFile(/tmp/multipartBody2088272476276303683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984590115,"filename":"image_04012025_10_54_03_062758_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/69edcdb2211785513b8a4528f996a96e.jpg","text":"TemporaryFile(/tmp/multipartBody6550253364958783737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984590115,"filename":"image_04012025_10_55_02_303796_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326495748","file1":"1326495744","file0":"1326495741"},"map_files_photo_id_array":[{"photo_id":"1326495748","filename":"file2"},{"photo_id":"1326495744","filename":"file1"},{"photo_id":"1326495741","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326495748":["hashtag1","hashtag2"]},{"1326495741":["hashtag1","hashtag2"]},{"1326495744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326495748, 1326495741, 1326495744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.73297381401062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 10:56:02.611096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 10:56:22.316621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/55/image_04012025_10_55_02_303796_0002.jpg', '/home/pi/Desktop/images/04012025/10/56/image_04012025_10_56_02_412939_0000.jpg', '/home/pi/Desktop/images/04012025/10/56/image_04012025_10_56_02_412939_0001.jpg', '/home/pi/Desktop/images/04012025/10/56/image_04012025_10_56_02_412939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/55/image_04012025_10_55_02_303796_0002.jpg
/home/pi/Desktop/images/04012025/10/56/image_04012025_10_56_02_412939_0000.jpg
/home/pi/Desktop/images/04012025/10/56/image_04012025_10_56_02_412939_0001.jpg
/home/pi/Desktop/images/04012025/10/56/image_04012025_10_56_02_412939_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.070299625396729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 10:56:42.265483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/55/image_04012025_10_55_02_303796_0002.jpg', '/home/pi/Desktop/images/04012025/10/56/image_04012025_10_56_02_412939_0000.jpg', '/home/pi/Desktop/images/04012025/10/56/image_04012025_10_56_02_412939_0001.jpg', '/home/pi/Desktop/images/04012025/10/56/image_04012025_10_56_02_412939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/55/image_04012025_10_55_02_303796_0002.jpg
/home/pi/Desktop/images/04012025/10/56/image_04012025_10_56_02_412939_0000.jpg
/home/pi/Desktop/images/04012025/10/56/image_04012025_10_56_02_412939_0001.jpg
/home/pi/Desktop/images/04012025/10/56/image_04012025_10_56_02_412939_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326497346","1326497226","1326497345","1326497278"],"photo_ids_order":["1326497226","1326497278","1326497345","1326497346"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3dc4eed17c0b99c58611325ad58dc4f8.jpg","text":"TemporaryFile(/tmp/multipartBody6226787958458936861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984672740,"filename":"image_04012025_10_56_02_412939_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/44e6bedd5bafdeb53450cd3e13e168e7.jpg","text":"TemporaryFile(/tmp/multipartBody1246312577093320526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984672740,"filename":"image_04012025_10_55_02_303796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e852244f40f1a176dc6e63f2475e921b.jpg","text":"TemporaryFile(/tmp/multipartBody1747301069804535918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984672740,"filename":"image_04012025_10_56_02_412939_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/132753964f85cba82da783b84f180bad.jpg","text":"TemporaryFile(/tmp/multipartBody3587089861380140889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984672740,"filename":"image_04012025_10_56_02_412939_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326497345","file1":"1326497278","file0":"1326497226","file3":"1326497346"},"map_files_photo_id_array":[{"photo_id":"1326497345","filename":"file2"},{"photo_id":"1326497278","filename":"file1"},{"photo_id":"1326497226","filename":"file0"},{"photo_id":"1326497346","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326497346":["hashtag1","hashtag2"]},{"1326497226":["hashtag1","hashtag2"]},{"1326497345":["hashtag1","hashtag2"]},{"1326497278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326497346, 1326497226, 1326497345, 1326497278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.029210329055786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 10:57:32.456134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/56/image_04012025_10_56_02_412939_0003.jpg', '/home/pi/Desktop/images/04012025/10/57/image_04012025_10_57_02_616177_0000.jpg', '/home/pi/Desktop/images/04012025/10/57/image_04012025_10_57_02_616177_0001.jpg', '/home/pi/Desktop/images/04012025/10/57/image_04012025_10_57_02_616177_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/56/image_04012025_10_56_02_412939_0003.jpg
/home/pi/Desktop/images/04012025/10/57/image_04012025_10_57_02_616177_0000.jpg
/home/pi/Desktop/images/04012025/10/57/image_04012025_10_57_02_616177_0001.jpg
/home/pi/Desktop/images/04012025/10/57/image_04012025_10_57_02_616177_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-04 10:59:02.585179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/56/image_04012025_10_56_02_412939_0003.jpg', '/home/pi/Desktop/images/04012025/10/57/image_04012025_10_57_02_616177_0000.jpg', '/home/pi/Desktop/images/04012025/10/57/image_04012025_10_57_02_616177_0001.jpg', '/home/pi/Desktop/images/04012025/10/57/image_04012025_10_57_02_616177_0002.jpg', '/home/pi/Desktop/images/04012025/10/57/image_04012025_10_57_02_616177_0003.jpg', '/home/pi/Desktop/images/04012025/10/58/image_04012025_10_58_02_796094_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/56/image_04012025_10_56_02_412939_0003.jpg
/home/pi/Desktop/images/04012025/10/57/image_04012025_10_57_02_616177_0000.jpg
/home/pi/Desktop/images/04012025/10/57/image_04012025_10_57_02_616177_0001.jpg
/home/pi/Desktop/images/04012025/10/57/image_04012025_10_57_02_616177_0002.jpg
/home/pi/Desktop/images/04012025/10/57/image_04012025_10_57_02_616177_0003.jpg
/home/pi/Desktop/images/04012025/10/58/image_04012025_10_58_02_796094_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":["1326498558","1326498549","1326499022","1326498904","1326498415","1326499020"],"photo_ids_order":["1326498415","1326498549","1326498558","1326498904","1326499020","1326499022"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7321cb7b146378d9dab4c900ea4dec18.jpg","text":"TemporaryFile(/tmp/multipartBody6726668253162675243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984817889,"filename":"image_04012025_10_57_02_616177_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/375f9d0ce6c9df095acff1bd36755c6e.jpg","text":"TemporaryFile(/tmp/multipartBody3094242088422438003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984817889,"filename":"image_04012025_10_57_02_616177_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a0e68659c752a927a999ca4dc530bfca.jpg","text":"TemporaryFile(/tmp/multipartBody2460305888225044090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984817889,"filename":"image_04012025_10_58_02_796094_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/87f5be2169f23ff0c6187d870c21bde6.jpg","text":"TemporaryFile(/tmp/multipartBody3878599958120522079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984817889,"filename":"image_04012025_10_57_02_616177_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e675c116420d1e7e280972857597780c.jpg","text":"TemporaryFile(/tmp/multipartBody6040471295506885113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984817889,"filename":"image_04012025_10_56_02_412939_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cb041f80593689e0f641484a2627b645.jpg","text":"TemporaryFile(/tmp/multipartBody2149122245819982606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984817889,"filename":"image_04012025_10_57_02_616177_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326498558","file1":"1326498549","file0":"1326498415","file4":"1326499020","file5":"1326499022","file3":"1326498904"},"map_files_photo_id_array":[{"photo_id":"1326499022","filename":"file5"},{"photo_id":"1326498558","filename":"file2"},{"photo_id":"1326499020","filename":"file4"},{"photo_id":"1326498549","filename":"file1"},{"photo_id":"1326498415","filename":"file0"},{"photo_id":"1326498904","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326498558":["hashtag1","hashtag2"]},{"1326498549":["hashtag1","hashtag2"]},{"1326499022":["hashtag1","hashtag2"]},{"1326498904":["hashtag1","hashtag2"]},{"1326498415":["hashtag1","hashtag2"]},{"1326499020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326498558, 1326498549, 1326499022, 1326498904, 1326498415, 1326499020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.446829319000244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:00:02.582201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/58/image_04012025_10_58_02_796094_0001.jpg', '/home/pi/Desktop/images/04012025/10/58/image_04012025_10_58_02_796094_0002.jpg', '/home/pi/Desktop/images/04012025/10/58/image_04012025_10_58_02_796094_0003.jpg', '/home/pi/Desktop/images/04012025/10/59/image_04012025_10_59_03_056267_0000.jpg', '/home/pi/Desktop/images/04012025/10/59/image_04012025_10_59_03_056267_0001.jpg', '/home/pi/Desktop/images/04012025/10/59/image_04012025_10_59_03_056267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/58/image_04012025_10_58_02_796094_0001.jpg
/home/pi/Desktop/images/04012025/10/58/image_04012025_10_58_02_796094_0002.jpg
/home/pi/Desktop/images/04012025/10/58/image_04012025_10_58_02_796094_0003.jpg
/home/pi/Desktop/images/04012025/10/59/image_04012025_10_59_03_056267_0000.jpg
/home/pi/Desktop/images/04012025/10/59/image_04012025_10_59_03_056267_0001.jpg
/home/pi/Desktop/images/04012025/10/59/image_04012025_10_59_03_056267_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.747291326522827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:00:22.204215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/58/image_04012025_10_58_02_796094_0001.jpg', '/home/pi/Desktop/images/04012025/10/58/image_04012025_10_58_02_796094_0002.jpg', '/home/pi/Desktop/images/04012025/10/58/image_04012025_10_58_02_796094_0003.jpg', '/home/pi/Desktop/images/04012025/10/59/image_04012025_10_59_03_056267_0000.jpg', '/home/pi/Desktop/images/04012025/10/59/image_04012025_10_59_03_056267_0001.jpg', '/home/pi/Desktop/images/04012025/10/59/image_04012025_10_59_03_056267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/58/image_04012025_10_58_02_796094_0001.jpg
/home/pi/Desktop/images/04012025/10/58/image_04012025_10_58_02_796094_0002.jpg
/home/pi/Desktop/images/04012025/10/58/image_04012025_10_58_02_796094_0003.jpg
/home/pi/Desktop/images/04012025/10/59/image_04012025_10_59_03_056267_0000.jpg
/home/pi/Desktop/images/04012025/10/59/image_04012025_10_59_03_056267_0001.jpg
/home/pi/Desktop/images/04012025/10/59/image_04012025_10_59_03_056267_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326499372","1326499351","1326499201","1326499287","1326499204","1326499206"],"photo_ids_order":["1326499201","1326499204","1326499206","1326499287","1326499351","1326499372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2e7ac7c09a8813cb78df60cc52c64f6e.jpg","text":"TemporaryFile(/tmp/multipartBody6500508564880689364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984897304,"filename":"image_04012025_10_59_03_056267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5fc7e69cf0c735a687c2b49cf49e1d07.jpg","text":"TemporaryFile(/tmp/multipartBody513410806888194800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984897304,"filename":"image_04012025_10_59_03_056267_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/73dfe77cec86f2be9d054e5697bf13a9.jpg","text":"TemporaryFile(/tmp/multipartBody6826975830569948754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984897304,"filename":"image_04012025_10_58_02_796094_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/22e7c31c04c8ae44e5b908d52f142b4a.jpg","text":"TemporaryFile(/tmp/multipartBody8139794130260805309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984897304,"filename":"image_04012025_10_59_03_056267_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5c4b8f8d80ecd611320bc3c42fe47746.jpg","text":"TemporaryFile(/tmp/multipartBody5260698431619077410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984897304,"filename":"image_04012025_10_58_02_796094_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/25a1ce50ac9d98dc13d74f8296188b26.jpg","text":"TemporaryFile(/tmp/multipartBody881417648386722023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984897304,"filename":"image_04012025_10_58_02_796094_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326499206","file1":"1326499204","file0":"1326499201","file4":"1326499351","file5":"1326499372","file3":"1326499287"},"map_files_photo_id_array":[{"photo_id":"1326499372","filename":"file5"},{"photo_id":"1326499206","filename":"file2"},{"photo_id":"1326499351","filename":"file4"},{"photo_id":"1326499204","filename":"file1"},{"photo_id":"1326499201","filename":"file0"},{"photo_id":"1326499287","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326499372":["hashtag1","hashtag2"]},{"1326499351":["hashtag1","hashtag2"]},{"1326499201":["hashtag1","hashtag2"]},{"1326499287":["hashtag1","hashtag2"]},{"1326499204":["hashtag1","hashtag2"]},{"1326499206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326499372, 1326499351, 1326499201, 1326499287, 1326499204, 1326499206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.43302822113037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:01:22.421504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/10/59/image_04012025_10_59_03_056267_0003.jpg', '/home/pi/Desktop/images/04012025/11/00/image_04012025_11_00_02_272657_0000.jpg', '/home/pi/Desktop/images/04012025/11/00/image_04012025_11_00_02_272657_0001.jpg', '/home/pi/Desktop/images/04012025/11/00/image_04012025_11_00_02_272657_0002.jpg', '/home/pi/Desktop/images/04012025/11/00/image_04012025_11_00_02_272657_0003.jpg', '/home/pi/Desktop/images/04012025/11/01/image_04012025_11_01_02_522786_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/10/59/image_04012025_10_59_03_056267_0003.jpg
/home/pi/Desktop/images/04012025/11/00/image_04012025_11_00_02_272657_0000.jpg
/home/pi/Desktop/images/04012025/11/00/image_04012025_11_00_02_272657_0001.jpg
/home/pi/Desktop/images/04012025/11/00/image_04012025_11_00_02_272657_0002.jpg
/home/pi/Desktop/images/04012025/11/00/image_04012025_11_00_02_272657_0003.jpg
/home/pi/Desktop/images/04012025/11/01/image_04012025_11_01_02_522786_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":["1326499806","1326500143","1326500203","1326500104","1326500139","1326499887"],"photo_ids_order":["1326499806","1326499887","1326500104","1326500139","1326500143","1326500203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2882ab8c6ec1e5099cfdebd55696a93e.jpg","text":"TemporaryFile(/tmp/multipartBody241074032576237791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984957938,"filename":"image_04012025_10_59_03_056267_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/edff9ef5a21d470e02dd33a1ebfac591.jpg","text":"TemporaryFile(/tmp/multipartBody7932910282346175108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984957938,"filename":"image_04012025_11_00_02_272657_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/df3409737b9e07ad2fbdcb8ffd2d6111.jpg","text":"TemporaryFile(/tmp/multipartBody6082241431768231959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984957938,"filename":"image_04012025_11_01_02_522786_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e554d29ef1ce823ea3ef16db2c6467f5.jpg","text":"TemporaryFile(/tmp/multipartBody5131293261064338123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984957938,"filename":"image_04012025_11_00_02_272657_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6020bce615da557582d89aed1b83914d.jpg","text":"TemporaryFile(/tmp/multipartBody2301196715541663594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984957938,"filename":"image_04012025_11_00_02_272657_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dfdefea903b8191ed59c8dbac04a161b.jpg","text":"TemporaryFile(/tmp/multipartBody3784718789340373528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735984957938,"filename":"image_04012025_11_00_02_272657_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326500104","file1":"1326499887","file0":"1326499806","file4":"1326500143","file5":"1326500203","file3":"1326500139"},"map_files_photo_id_array":[{"photo_id":"1326500203","filename":"file5"},{"photo_id":"1326500104","filename":"file2"},{"photo_id":"1326500143","filename":"file4"},{"photo_id":"1326499887","filename":"file1"},{"photo_id":"1326499806","filename":"file0"},{"photo_id":"1326500139","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326499806":["hashtag1","hashtag2"]},{"1326500143":["hashtag1","hashtag2"]},{"1326500203":["hashtag1","hashtag2"]},{"1326500104":["hashtag1","hashtag2"]},{"1326500139":["hashtag1","hashtag2"]},{"1326499887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326499806, 1326500143, 1326500203, 1326500104, 1326500139, 1326499887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.5522735118866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:02:22.542732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/01/image_04012025_11_01_02_522786_0001.jpg', '/home/pi/Desktop/images/04012025/11/01/image_04012025_11_01_02_522786_0002.jpg', '/home/pi/Desktop/images/04012025/11/01/image_04012025_11_01_02_522786_0003.jpg', '/home/pi/Desktop/images/04012025/11/02/image_04012025_11_02_02_808600_0000.jpg', '/home/pi/Desktop/images/04012025/11/02/image_04012025_11_02_02_808600_0001.jpg', '/home/pi/Desktop/images/04012025/11/02/image_04012025_11_02_02_808600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/01/image_04012025_11_01_02_522786_0001.jpg
/home/pi/Desktop/images/04012025/11/01/image_04012025_11_01_02_522786_0002.jpg
/home/pi/Desktop/images/04012025/11/01/image_04012025_11_01_02_522786_0003.jpg
/home/pi/Desktop/images/04012025/11/02/image_04012025_11_02_02_808600_0000.jpg
/home/pi/Desktop/images/04012025/11/02/image_04012025_11_02_02_808600_0001.jpg
/home/pi/Desktop/images/04012025/11/02/image_04012025_11_02_02_808600_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326500234","1326500237","1326500239","1326500227","1326500241","1326500231"],"photo_ids_order":["1326500227","1326500231","1326500234","1326500237","1326500239","1326500241"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e64494620c82ee93d5d027005af2a702.jpg","text":"TemporaryFile(/tmp/multipartBody7624015453119346186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985017869,"filename":"image_04012025_11_01_02_522786_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c63cbb51d8fbd5b5c3169ed3ec04b1d4.jpg","text":"TemporaryFile(/tmp/multipartBody7795333931090173252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985017869,"filename":"image_04012025_11_02_02_808600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a927987a315722cef0bcb8f79f736ca4.jpg","text":"TemporaryFile(/tmp/multipartBody324161342582631572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985017869,"filename":"image_04012025_11_02_02_808600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a5f36339c23d93f93afcf508a699da9d.jpg","text":"TemporaryFile(/tmp/multipartBody6785948851561257215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985017869,"filename":"image_04012025_11_01_02_522786_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/403682bb3a81a7341a76d8ef6dd44618.jpg","text":"TemporaryFile(/tmp/multipartBody6304019051020981429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985017869,"filename":"image_04012025_11_02_02_808600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d70e8da81c75331894898c7da699a394.jpg","text":"TemporaryFile(/tmp/multipartBody5856163800072979642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985017869,"filename":"image_04012025_11_01_02_522786_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326500234","file1":"1326500231","file0":"1326500227","file4":"1326500239","file5":"1326500241","file3":"1326500237"},"map_files_photo_id_array":[{"photo_id":"1326500241","filename":"file5"},{"photo_id":"1326500234","filename":"file2"},{"photo_id":"1326500239","filename":"file4"},{"photo_id":"1326500231","filename":"file1"},{"photo_id":"1326500227","filename":"file0"},{"photo_id":"1326500237","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326500234":["hashtag1","hashtag2"]},{"1326500237":["hashtag1","hashtag2"]},{"1326500239":["hashtag1","hashtag2"]},{"1326500227":["hashtag1","hashtag2"]},{"1326500241":["hashtag1","hashtag2"]},{"1326500231":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326500234, 1326500237, 1326500239, 1326500227, 1326500241, 1326500231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.84984564781189 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:03:22.836532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/02/image_04012025_11_02_02_808600_0003.jpg', '/home/pi/Desktop/images/04012025/11/03/image_04012025_11_03_02_919681_0000.jpg', '/home/pi/Desktop/images/04012025/11/03/image_04012025_11_03_02_919681_0001.jpg', '/home/pi/Desktop/images/04012025/11/03/image_04012025_11_03_02_919681_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/02/image_04012025_11_02_02_808600_0003.jpg
/home/pi/Desktop/images/04012025/11/03/image_04012025_11_03_02_919681_0000.jpg
/home/pi/Desktop/images/04012025/11/03/image_04012025_11_03_02_919681_0001.jpg
/home/pi/Desktop/images/04012025/11/03/image_04012025_11_03_02_919681_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326500606","1326500583","1326500529","1326500735"],"photo_ids_order":["1326500529","1326500583","1326500606","1326500735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2afbb067da34713874218f9fe3e7c6de.jpg","text":"TemporaryFile(/tmp/multipartBody266466546312376677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985073304,"filename":"image_04012025_11_03_02_919681_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/40bd3b28b9cba80cca1bb572015292b5.jpg","text":"TemporaryFile(/tmp/multipartBody70293503988269878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985073304,"filename":"image_04012025_11_03_02_919681_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c832a302e0f4e72214bf58b5316b8040.jpg","text":"TemporaryFile(/tmp/multipartBody9026392994283316898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985073304,"filename":"image_04012025_11_02_02_808600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a7c3d1bfe8b216553e17e6d3d6a73a4d.jpg","text":"TemporaryFile(/tmp/multipartBody4016064277585696353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985073304,"filename":"image_04012025_11_03_02_919681_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326500606","file1":"1326500583","file0":"1326500529","file3":"1326500735"},"map_files_photo_id_array":[{"photo_id":"1326500606","filename":"file2"},{"photo_id":"1326500583","filename":"file1"},{"photo_id":"1326500529","filename":"file0"},{"photo_id":"1326500735","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326500606":["hashtag1","hashtag2"]},{"1326500583":["hashtag1","hashtag2"]},{"1326500529":["hashtag1","hashtag2"]},{"1326500735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326500606, 1326500583, 1326500529, 1326500735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.54499626159668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:04:21.977893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/03/image_04012025_11_03_02_919681_0003.jpg', '/home/pi/Desktop/images/04012025/11/04/image_04012025_11_04_03_102136_0000.jpg', '/home/pi/Desktop/images/04012025/11/04/image_04012025_11_04_03_102136_0001.jpg', '/home/pi/Desktop/images/04012025/11/04/image_04012025_11_04_03_102136_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/03/image_04012025_11_03_02_919681_0003.jpg
/home/pi/Desktop/images/04012025/11/04/image_04012025_11_04_03_102136_0000.jpg
/home/pi/Desktop/images/04012025/11/04/image_04012025_11_04_03_102136_0001.jpg
/home/pi/Desktop/images/04012025/11/04/image_04012025_11_04_03_102136_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326501109","1326501114","1326501117","1326501111"],"photo_ids_order":["1326501109","1326501111","1326501114","1326501117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/65d6000ce342fcb93dc329031de326da.jpg","text":"TemporaryFile(/tmp/multipartBody6715473442315225526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985132459,"filename":"image_04012025_11_03_02_919681_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/61da92fe6880d42a30549127537b2b4e.jpg","text":"TemporaryFile(/tmp/multipartBody8106814420242282169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985132459,"filename":"image_04012025_11_04_03_102136_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d4d81ddaf5412d480b3dacf4e1c62d5e.jpg","text":"TemporaryFile(/tmp/multipartBody7397069277964772635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985132459,"filename":"image_04012025_11_04_03_102136_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/50932be1bc653ba9554f3df8502fe412.jpg","text":"TemporaryFile(/tmp/multipartBody3002753175560207962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985132459,"filename":"image_04012025_11_04_03_102136_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326501114","file1":"1326501111","file0":"1326501109","file3":"1326501117"},"map_files_photo_id_array":[{"photo_id":"1326501114","filename":"file2"},{"photo_id":"1326501111","filename":"file1"},{"photo_id":"1326501109","filename":"file0"},{"photo_id":"1326501117","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326501109":["hashtag1","hashtag2"]},{"1326501114":["hashtag1","hashtag2"]},{"1326501117":["hashtag1","hashtag2"]},{"1326501111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326501109, 1326501114, 1326501117, 1326501111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58725333213806 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-04 11:05:22.236943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/04/image_04012025_11_04_03_102136_0003.jpg', '/home/pi/Desktop/images/04012025/11/05/image_04012025_11_05_02_320063_0000.jpg', '/home/pi/Desktop/images/04012025/11/05/image_04012025_11_05_02_320063_0001.jpg', '/home/pi/Desktop/images/04012025/11/05/image_04012025_11_05_02_320063_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/04/image_04012025_11_04_03_102136_0003.jpg
/home/pi/Desktop/images/04012025/11/05/image_04012025_11_05_02_320063_0000.jpg
/home/pi/Desktop/images/04012025/11/05/image_04012025_11_05_02_320063_0001.jpg
/home/pi/Desktop/images/04012025/11/05/image_04012025_11_05_02_320063_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326501498","1326501456","1326501493","1326501496"],"photo_ids_order":["1326501456","1326501493","1326501496","1326501498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6455c82ed7311272f7ae0d16310c29e8.jpg","text":"TemporaryFile(/tmp/multipartBody6756583824931316170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985192600,"filename":"image_04012025_11_05_02_320063_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e345d27528838c560ee83af20c0f31a2.jpg","text":"TemporaryFile(/tmp/multipartBody6804990094174329573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985192600,"filename":"image_04012025_11_04_03_102136_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/916f12822c0c2327beedfc9c381ce2f0.jpg","text":"TemporaryFile(/tmp/multipartBody4184670026787070892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985192600,"filename":"image_04012025_11_05_02_320063_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/31b74c2d956ec9fac29acdbcb22bc97c.jpg","text":"TemporaryFile(/tmp/multipartBody6084234223609362567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985192600,"filename":"image_04012025_11_05_02_320063_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326501496","file1":"1326501493","file0":"1326501456","file3":"1326501498"},"map_files_photo_id_array":[{"photo_id":"1326501496","filename":"file2"},{"photo_id":"1326501493","filename":"file1"},{"photo_id":"1326501456","filename":"file0"},{"photo_id":"1326501498","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326501498":["hashtag1","hashtag2"]},{"1326501456":["hashtag1","hashtag2"]},{"1326501493":["hashtag1","hashtag2"]},{"1326501496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326501498, 1326501456, 1326501493, 1326501496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7254581451416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:06:22.414340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/05/image_04012025_11_05_02_320063_0003.jpg', '/home/pi/Desktop/images/04012025/11/06/image_04012025_11_06_02_548392_0000.jpg', '/home/pi/Desktop/images/04012025/11/06/image_04012025_11_06_02_548392_0001.jpg', '/home/pi/Desktop/images/04012025/11/06/image_04012025_11_06_02_548392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/05/image_04012025_11_05_02_320063_0003.jpg
/home/pi/Desktop/images/04012025/11/06/image_04012025_11_06_02_548392_0000.jpg
/home/pi/Desktop/images/04012025/11/06/image_04012025_11_06_02_548392_0001.jpg
/home/pi/Desktop/images/04012025/11/06/image_04012025_11_06_02_548392_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.075823545455933 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 11:06:42.376200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/05/image_04012025_11_05_02_320063_0003.jpg', '/home/pi/Desktop/images/04012025/11/06/image_04012025_11_06_02_548392_0000.jpg', '/home/pi/Desktop/images/04012025/11/06/image_04012025_11_06_02_548392_0001.jpg', '/home/pi/Desktop/images/04012025/11/06/image_04012025_11_06_02_548392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/05/image_04012025_11_05_02_320063_0003.jpg
/home/pi/Desktop/images/04012025/11/06/image_04012025_11_06_02_548392_0000.jpg
/home/pi/Desktop/images/04012025/11/06/image_04012025_11_06_02_548392_0001.jpg
/home/pi/Desktop/images/04012025/11/06/image_04012025_11_06_02_548392_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326502429","1326502305","1326502406","1326502403"],"photo_ids_order":["1326502305","1326502403","1326502406","1326502429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/10f92d330d0533ed6916306a7898fa1f.jpg","text":"TemporaryFile(/tmp/multipartBody2941840724888285341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985272860,"filename":"image_04012025_11_06_02_548392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8182284dff6f635428d9ae275ab07b81.jpg","text":"TemporaryFile(/tmp/multipartBody1087927150776212520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985272860,"filename":"image_04012025_11_05_02_320063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e9fd5e77f3cb548ea86cbca19443a9be.jpg","text":"TemporaryFile(/tmp/multipartBody6667571481408820310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985272860,"filename":"image_04012025_11_06_02_548392_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5338e466104f40f072db99ba5bf4aa0b.jpg","text":"TemporaryFile(/tmp/multipartBody164430253701907781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985272860,"filename":"image_04012025_11_06_02_548392_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326502406","file1":"1326502403","file0":"1326502305","file3":"1326502429"},"map_files_photo_id_array":[{"photo_id":"1326502406","filename":"file2"},{"photo_id":"1326502403","filename":"file1"},{"photo_id":"1326502305","filename":"file0"},{"photo_id":"1326502429","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326502429":["hashtag1","hashtag2"]},{"1326502305":["hashtag1","hashtag2"]},{"1326502406":["hashtag1","hashtag2"]},{"1326502403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326502429, 1326502305, 1326502406, 1326502403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93453288078308 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:07:22.624876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/06/image_04012025_11_06_02_548392_0003.jpg', '/home/pi/Desktop/images/04012025/11/07/image_04012025_11_07_02_704639_0000.jpg', '/home/pi/Desktop/images/04012025/11/07/image_04012025_11_07_02_704639_0001.jpg', '/home/pi/Desktop/images/04012025/11/07/image_04012025_11_07_02_704639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/06/image_04012025_11_06_02_548392_0003.jpg
/home/pi/Desktop/images/04012025/11/07/image_04012025_11_07_02_704639_0000.jpg
/home/pi/Desktop/images/04012025/11/07/image_04012025_11_07_02_704639_0001.jpg
/home/pi/Desktop/images/04012025/11/07/image_04012025_11_07_02_704639_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326502510","1326502704","1326502847","1326502850"],"photo_ids_order":["1326502510","1326502704","1326502847","1326502850"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7adfb7585025264f2a7a784a3d4c10f6.jpg","text":"TemporaryFile(/tmp/multipartBody7554910115955461261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985312814,"filename":"image_04012025_11_06_02_548392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3be75c005c7a2b7dec0a6b8f234d7336.jpg","text":"TemporaryFile(/tmp/multipartBody8382288794881982981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985312814,"filename":"image_04012025_11_07_02_704639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b72ae2fed207dc1e35f706bfb004d1c.jpg","text":"TemporaryFile(/tmp/multipartBody3560447601791248492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985312814,"filename":"image_04012025_11_07_02_704639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5009fe35ccf31ecba32d980110f9f797.jpg","text":"TemporaryFile(/tmp/multipartBody1959103955970522373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985312814,"filename":"image_04012025_11_07_02_704639_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326502847","file1":"1326502704","file0":"1326502510","file3":"1326502850"},"map_files_photo_id_array":[{"photo_id":"1326502847","filename":"file2"},{"photo_id":"1326502704","filename":"file1"},{"photo_id":"1326502510","filename":"file0"},{"photo_id":"1326502850","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326502510":["hashtag1","hashtag2"]},{"1326502704":["hashtag1","hashtag2"]},{"1326502847":["hashtag1","hashtag2"]},{"1326502850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326502510, 1326502704, 1326502847, 1326502850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.83612298965454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:08:21.799165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/07/image_04012025_11_07_02_704639_0003.jpg', '/home/pi/Desktop/images/04012025/11/08/image_04012025_11_08_02_922914_0000.jpg', '/home/pi/Desktop/images/04012025/11/08/image_04012025_11_08_02_922914_0001.jpg', '/home/pi/Desktop/images/04012025/11/08/image_04012025_11_08_02_922914_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/07/image_04012025_11_07_02_704639_0003.jpg
/home/pi/Desktop/images/04012025/11/08/image_04012025_11_08_02_922914_0000.jpg
/home/pi/Desktop/images/04012025/11/08/image_04012025_11_08_02_922914_0001.jpg
/home/pi/Desktop/images/04012025/11/08/image_04012025_11_08_02_922914_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326503370","1326503418","1326503414","1326503416"],"photo_ids_order":["1326503370","1326503414","1326503416","1326503418"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a074969abe0722829ab99fb3ceb3bfa1.jpg","text":"TemporaryFile(/tmp/multipartBody1780990993008232274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985372162,"filename":"image_04012025_11_07_02_704639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1852467a5ca7b5d53f2a963ef31a48e0.jpg","text":"TemporaryFile(/tmp/multipartBody7641826192345174573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985372162,"filename":"image_04012025_11_08_02_922914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/79e13538e1175d0a71cf55e62ef06d7d.jpg","text":"TemporaryFile(/tmp/multipartBody8272319098849043409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985372162,"filename":"image_04012025_11_08_02_922914_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bca480790befeaff160d4770124f00d6.jpg","text":"TemporaryFile(/tmp/multipartBody3562549500223697186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985372162,"filename":"image_04012025_11_08_02_922914_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326503416","file1":"1326503414","file0":"1326503370","file3":"1326503418"},"map_files_photo_id_array":[{"photo_id":"1326503416","filename":"file2"},{"photo_id":"1326503414","filename":"file1"},{"photo_id":"1326503370","filename":"file0"},{"photo_id":"1326503418","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326503370":["hashtag1","hashtag2"]},{"1326503418":["hashtag1","hashtag2"]},{"1326503414":["hashtag1","hashtag2"]},{"1326503416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326503370, 1326503418, 1326503414, 1326503416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.12301206588745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:09:02.576085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:09:22.001060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/08/image_04012025_11_08_02_922914_0003.jpg', '/home/pi/Desktop/images/04012025/11/09/image_04012025_11_09_02_169863_0000.jpg', '/home/pi/Desktop/images/04012025/11/09/image_04012025_11_09_02_169863_0001.jpg', '/home/pi/Desktop/images/04012025/11/09/image_04012025_11_09_02_169863_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/08/image_04012025_11_08_02_922914_0003.jpg
/home/pi/Desktop/images/04012025/11/09/image_04012025_11_09_02_169863_0000.jpg
/home/pi/Desktop/images/04012025/11/09/image_04012025_11_09_02_169863_0001.jpg
/home/pi/Desktop/images/04012025/11/09/image_04012025_11_09_02_169863_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326503583","1326503532","1326503529","1326503926"],"photo_ids_order":["1326503529","1326503532","1326503583","1326503926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ebf6e2078f04c3553cc9f5adb87fc344.jpg","text":"TemporaryFile(/tmp/multipartBody6222935227146775514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985432186,"filename":"image_04012025_11_09_02_169863_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6b6ce2e06d0600bfe728a443d49cc042.jpg","text":"TemporaryFile(/tmp/multipartBody780774991960666876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985432186,"filename":"image_04012025_11_09_02_169863_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2988b55f8dcf4849e00e1fe6d3b27414.jpg","text":"TemporaryFile(/tmp/multipartBody6228678259177827686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985432186,"filename":"image_04012025_11_08_02_922914_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d2f8a3add8c1db4f5b00908277a6e4c6.jpg","text":"TemporaryFile(/tmp/multipartBody7869308988324713883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985432186,"filename":"image_04012025_11_09_02_169863_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326503583","file1":"1326503532","file0":"1326503529","file3":"1326503926"},"map_files_photo_id_array":[{"photo_id":"1326503583","filename":"file2"},{"photo_id":"1326503532","filename":"file1"},{"photo_id":"1326503529","filename":"file0"},{"photo_id":"1326503926","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326503583":["hashtag1","hashtag2"]},{"1326503532":["hashtag1","hashtag2"]},{"1326503529":["hashtag1","hashtag2"]},{"1326503926":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326503583, 1326503532, 1326503529, 1326503926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.89943552017212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:10:02.531691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:10:22.151605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/09/image_04012025_11_09_02_169863_0003.jpg', '/home/pi/Desktop/images/04012025/11/10/image_04012025_11_10_02_340388_0000.jpg', '/home/pi/Desktop/images/04012025/11/10/image_04012025_11_10_02_340388_0001.jpg', '/home/pi/Desktop/images/04012025/11/10/image_04012025_11_10_02_340388_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/09/image_04012025_11_09_02_169863_0003.jpg
/home/pi/Desktop/images/04012025/11/10/image_04012025_11_10_02_340388_0000.jpg
/home/pi/Desktop/images/04012025/11/10/image_04012025_11_10_02_340388_0001.jpg
/home/pi/Desktop/images/04012025/11/10/image_04012025_11_10_02_340388_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326504630","1326504583","1326504643","1326504645"],"photo_ids_order":["1326504583","1326504630","1326504643","1326504645"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/42677918df54cacdbe83ef82a0988ca5.jpg","text":"TemporaryFile(/tmp/multipartBody1767041412123770966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985492372,"filename":"image_04012025_11_10_02_340388_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9acd48dac5c99d5990f1f8f0ade205d8.jpg","text":"TemporaryFile(/tmp/multipartBody1706226647717185607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985492372,"filename":"image_04012025_11_09_02_169863_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f27ba3eb8d70230fc268fe65bb6f79be.jpg","text":"TemporaryFile(/tmp/multipartBody2305278141554436083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985492372,"filename":"image_04012025_11_10_02_340388_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d2af3a6a9e65fd3649dfe05f9e2bbb00.jpg","text":"TemporaryFile(/tmp/multipartBody7864895326735902261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985492372,"filename":"image_04012025_11_10_02_340388_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326504643","file1":"1326504630","file0":"1326504583","file3":"1326504645"},"map_files_photo_id_array":[{"photo_id":"1326504643","filename":"file2"},{"photo_id":"1326504630","filename":"file1"},{"photo_id":"1326504583","filename":"file0"},{"photo_id":"1326504645","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326504630":["hashtag1","hashtag2"]},{"1326504583":["hashtag1","hashtag2"]},{"1326504643":["hashtag1","hashtag2"]},{"1326504645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326504630, 1326504583, 1326504643, 1326504645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.105812072753906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:11:02.921848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:11:22.434476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/10/image_04012025_11_10_02_340388_0003.jpg', '/home/pi/Desktop/images/04012025/11/11/image_04012025_11_11_02_462018_0000.jpg', '/home/pi/Desktop/images/04012025/11/11/image_04012025_11_11_02_462018_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/10/image_04012025_11_10_02_340388_0003.jpg
/home/pi/Desktop/images/04012025/11/11/image_04012025_11_11_02_462018_0000.jpg
/home/pi/Desktop/images/04012025/11/11/image_04012025_11_11_02_462018_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326504965","1326504920","1326504922"],"photo_ids_order":["1326504920","1326504922","1326504965"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/173fbd26c33993bf81ec818ec086f39a.jpg","text":"TemporaryFile(/tmp/multipartBody8844600497017210860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985550321,"filename":"image_04012025_11_11_02_462018_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/50767494d135568c486824d3377da9f9.jpg","text":"TemporaryFile(/tmp/multipartBody2468481424867012476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985550321,"filename":"image_04012025_11_10_02_340388_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c1c3c6f27fe04059807b9a2e685108d5.jpg","text":"TemporaryFile(/tmp/multipartBody767536569095804532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985550321,"filename":"image_04012025_11_11_02_462018_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326504965","file1":"1326504922","file0":"1326504920"},"map_files_photo_id_array":[{"photo_id":"1326504965","filename":"file2"},{"photo_id":"1326504922","filename":"file1"},{"photo_id":"1326504920","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326504965":["hashtag1","hashtag2"]},{"1326504920":["hashtag1","hashtag2"]},{"1326504922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326504965, 1326504920, 1326504922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.2743558883667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:12:02.933018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:12:22.713938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/11/image_04012025_11_11_02_462018_0003.jpg', '/home/pi/Desktop/images/04012025/11/12/image_04012025_11_12_02_840176_0001.jpg', '/home/pi/Desktop/images/04012025/11/12/image_04012025_11_12_02_840176_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/11/image_04012025_11_11_02_462018_0003.jpg
/home/pi/Desktop/images/04012025/11/12/image_04012025_11_12_02_840176_0001.jpg
/home/pi/Desktop/images/04012025/11/12/image_04012025_11_12_02_840176_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326505377","1326505293","1326505374"],"photo_ids_order":["1326505293","1326505374","1326505377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/643ad35d5baf02a747d78ac6d397d228.jpg","text":"TemporaryFile(/tmp/multipartBody5794652514394414704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985610715,"filename":"image_04012025_11_12_02_840176_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/59a9f1299c0f72055752e6bab1d0cc69.jpg","text":"TemporaryFile(/tmp/multipartBody6961084919246121553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985610715,"filename":"image_04012025_11_11_02_462018_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a44eb20208ea799f48eb45d70a3d15c9.jpg","text":"TemporaryFile(/tmp/multipartBody6395322274210662736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985610715,"filename":"image_04012025_11_12_02_840176_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326505377","file1":"1326505374","file0":"1326505293"},"map_files_photo_id_array":[{"photo_id":"1326505377","filename":"file2"},{"photo_id":"1326505374","filename":"file1"},{"photo_id":"1326505293","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326505377":["hashtag1","hashtag2"]},{"1326505293":["hashtag1","hashtag2"]},{"1326505374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326505377, 1326505293, 1326505374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.28730797767639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:13:02.327542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:13:21.835348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/12/image_04012025_11_12_02_840176_0003.jpg', '/home/pi/Desktop/images/04012025/11/13/image_04012025_11_13_02_935862_0000.jpg', '/home/pi/Desktop/images/04012025/11/13/image_04012025_11_13_02_935862_0001.jpg', '/home/pi/Desktop/images/04012025/11/13/image_04012025_11_13_02_935862_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/12/image_04012025_11_12_02_840176_0003.jpg
/home/pi/Desktop/images/04012025/11/13/image_04012025_11_13_02_935862_0000.jpg
/home/pi/Desktop/images/04012025/11/13/image_04012025_11_13_02_935862_0001.jpg
/home/pi/Desktop/images/04012025/11/13/image_04012025_11_13_02_935862_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326505573","1326505423","1326505417","1326505426"],"photo_ids_order":["1326505417","1326505423","1326505426","1326505573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/87f04e3d12555fb49c35a73cde62a64f.jpg","text":"TemporaryFile(/tmp/multipartBody1468201072181254621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985672285,"filename":"image_04012025_11_13_02_935862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f65f1ff1d925e245d4ce5a5ccd3986cf.jpg","text":"TemporaryFile(/tmp/multipartBody4265979204475979861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985672285,"filename":"image_04012025_11_13_02_935862_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fdb2a9be7673fd7ac14f1d1b0d68bbb9.jpg","text":"TemporaryFile(/tmp/multipartBody923850909615626333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985672285,"filename":"image_04012025_11_12_02_840176_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0892e24da811c3b6266bc35317079602.jpg","text":"TemporaryFile(/tmp/multipartBody7373596688344408360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985672285,"filename":"image_04012025_11_13_02_935862_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326505426","file1":"1326505423","file0":"1326505417","file3":"1326505573"},"map_files_photo_id_array":[{"photo_id":"1326505426","filename":"file2"},{"photo_id":"1326505423","filename":"file1"},{"photo_id":"1326505417","filename":"file0"},{"photo_id":"1326505573","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326505573":["hashtag1","hashtag2"]},{"1326505423":["hashtag1","hashtag2"]},{"1326505417":["hashtag1","hashtag2"]},{"1326505426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326505573, 1326505423, 1326505417, 1326505426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.845988512039185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:14:02.419367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:14:21.925432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/13/image_04012025_11_13_02_935862_0003.jpg', '/home/pi/Desktop/images/04012025/11/14/image_04012025_11_14_02_197008_0000.jpg', '/home/pi/Desktop/images/04012025/11/14/image_04012025_11_14_02_197008_0001.jpg', '/home/pi/Desktop/images/04012025/11/14/image_04012025_11_14_02_197008_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/13/image_04012025_11_13_02_935862_0003.jpg
/home/pi/Desktop/images/04012025/11/14/image_04012025_11_14_02_197008_0000.jpg
/home/pi/Desktop/images/04012025/11/14/image_04012025_11_14_02_197008_0001.jpg
/home/pi/Desktop/images/04012025/11/14/image_04012025_11_14_02_197008_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326505739","1326505753","1326505749","1326505746"],"photo_ids_order":["1326505739","1326505746","1326505749","1326505753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c91123030f1e2f21f66dbbb749287153.jpg","text":"TemporaryFile(/tmp/multipartBody3401420627447303488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985732230,"filename":"image_04012025_11_13_02_935862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/74c2ba1d71a65ddc131d9d7ac79e6f73.jpg","text":"TemporaryFile(/tmp/multipartBody768998447968159786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985732230,"filename":"image_04012025_11_14_02_197008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/68ee64c1c807b630df33d91c93fca0d0.jpg","text":"TemporaryFile(/tmp/multipartBody782239773501219951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985732230,"filename":"image_04012025_11_14_02_197008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8e21eb5c1cd6ff2492f2bd8d3a9f11a5.jpg","text":"TemporaryFile(/tmp/multipartBody1482222945021149169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985732230,"filename":"image_04012025_11_14_02_197008_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326505749","file1":"1326505746","file0":"1326505739","file3":"1326505753"},"map_files_photo_id_array":[{"photo_id":"1326505749","filename":"file2"},{"photo_id":"1326505746","filename":"file1"},{"photo_id":"1326505739","filename":"file0"},{"photo_id":"1326505753","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326505739":["hashtag1","hashtag2"]},{"1326505753":["hashtag1","hashtag2"]},{"1326505749":["hashtag1","hashtag2"]},{"1326505746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326505739, 1326505753, 1326505749, 1326505746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.531636238098145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:15:22.047402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/14/image_04012025_11_14_02_197008_0003.jpg', '/home/pi/Desktop/images/04012025/11/15/image_04012025_11_15_02_282094_0000.jpg', '/home/pi/Desktop/images/04012025/11/15/image_04012025_11_15_02_282094_0001.jpg', '/home/pi/Desktop/images/04012025/11/15/image_04012025_11_15_02_282094_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/14/image_04012025_11_14_02_197008_0003.jpg
/home/pi/Desktop/images/04012025/11/15/image_04012025_11_15_02_282094_0000.jpg
/home/pi/Desktop/images/04012025/11/15/image_04012025_11_15_02_282094_0001.jpg
/home/pi/Desktop/images/04012025/11/15/image_04012025_11_15_02_282094_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.849282503128052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 11:15:42.097068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/14/image_04012025_11_14_02_197008_0003.jpg', '/home/pi/Desktop/images/04012025/11/15/image_04012025_11_15_02_282094_0000.jpg', '/home/pi/Desktop/images/04012025/11/15/image_04012025_11_15_02_282094_0001.jpg', '/home/pi/Desktop/images/04012025/11/15/image_04012025_11_15_02_282094_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/14/image_04012025_11_14_02_197008_0003.jpg
/home/pi/Desktop/images/04012025/11/15/image_04012025_11_15_02_282094_0000.jpg
/home/pi/Desktop/images/04012025/11/15/image_04012025_11_15_02_282094_0001.jpg
/home/pi/Desktop/images/04012025/11/15/image_04012025_11_15_02_282094_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326506224","1326506200","1326506222","1326506219"],"photo_ids_order":["1326506200","1326506219","1326506222","1326506224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c874e27a0c6975be6a68b068894cdeb1.jpg","text":"TemporaryFile(/tmp/multipartBody5662890337242814181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985812293,"filename":"image_04012025_11_15_02_282094_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9aec7ce6e2f0d0c228000bd671f9fcac.jpg","text":"TemporaryFile(/tmp/multipartBody9180425218701480238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985812293,"filename":"image_04012025_11_14_02_197008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0792ce332f028c93c08980c657d84af9.jpg","text":"TemporaryFile(/tmp/multipartBody106350300540000086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985812293,"filename":"image_04012025_11_15_02_282094_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f0cda5e3798ba104a433f1f63dd6b3b8.jpg","text":"TemporaryFile(/tmp/multipartBody5431450835243893985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985812293,"filename":"image_04012025_11_15_02_282094_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326506222","file1":"1326506219","file0":"1326506200","file3":"1326506224"},"map_files_photo_id_array":[{"photo_id":"1326506222","filename":"file2"},{"photo_id":"1326506219","filename":"file1"},{"photo_id":"1326506200","filename":"file0"},{"photo_id":"1326506224","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326506224":["hashtag1","hashtag2"]},{"1326506200":["hashtag1","hashtag2"]},{"1326506222":["hashtag1","hashtag2"]},{"1326506219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326506224, 1326506200, 1326506222, 1326506219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.84319710731506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:16:22.359518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/15/image_04012025_11_15_02_282094_0003.jpg', '/home/pi/Desktop/images/04012025/11/16/image_04012025_11_16_02_461399_0000.jpg', '/home/pi/Desktop/images/04012025/11/16/image_04012025_11_16_02_461399_0001.jpg', '/home/pi/Desktop/images/04012025/11/16/image_04012025_11_16_02_461399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/15/image_04012025_11_15_02_282094_0003.jpg
/home/pi/Desktop/images/04012025/11/16/image_04012025_11_16_02_461399_0000.jpg
/home/pi/Desktop/images/04012025/11/16/image_04012025_11_16_02_461399_0001.jpg
/home/pi/Desktop/images/04012025/11/16/image_04012025_11_16_02_461399_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326506596","1326506592","1326506585","1326506588"],"photo_ids_order":["1326506585","1326506588","1326506592","1326506596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6457a8eb6c7c1a07d593817793d86acb.jpg","text":"TemporaryFile(/tmp/multipartBody661786891105506227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985852449,"filename":"image_04012025_11_16_02_461399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/973390ac3774bbdcaedc48b931699b93.jpg","text":"TemporaryFile(/tmp/multipartBody259465291919677724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985852449,"filename":"image_04012025_11_16_02_461399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/84fd64b36db79436822b32ef2e2fd58c.jpg","text":"TemporaryFile(/tmp/multipartBody5652658591046312995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985852449,"filename":"image_04012025_11_15_02_282094_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0e6ffbdf83c0f6bd307beca1e1955f3.jpg","text":"TemporaryFile(/tmp/multipartBody4257862852586645759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985852449,"filename":"image_04012025_11_16_02_461399_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326506592","file1":"1326506588","file0":"1326506585","file3":"1326506596"},"map_files_photo_id_array":[{"photo_id":"1326506592","filename":"file2"},{"photo_id":"1326506588","filename":"file1"},{"photo_id":"1326506585","filename":"file0"},{"photo_id":"1326506596","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326506596":["hashtag1","hashtag2"]},{"1326506592":["hashtag1","hashtag2"]},{"1326506585":["hashtag1","hashtag2"]},{"1326506588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326506596, 1326506592, 1326506585, 1326506588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.65383553504944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:17:22.504531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/16/image_04012025_11_16_02_461399_0003.jpg', '/home/pi/Desktop/images/04012025/11/17/image_04012025_11_17_02_695588_0000.jpg', '/home/pi/Desktop/images/04012025/11/17/image_04012025_11_17_02_695588_0001.jpg', '/home/pi/Desktop/images/04012025/11/17/image_04012025_11_17_02_695588_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/16/image_04012025_11_16_02_461399_0003.jpg
/home/pi/Desktop/images/04012025/11/17/image_04012025_11_17_02_695588_0000.jpg
/home/pi/Desktop/images/04012025/11/17/image_04012025_11_17_02_695588_0001.jpg
/home/pi/Desktop/images/04012025/11/17/image_04012025_11_17_02_695588_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326506711","1326507024","1326507266","1326506706"],"photo_ids_order":["1326506706","1326506711","1326507024","1326507266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd0c71336837bed72e23e384f01a5fa1.jpg","text":"TemporaryFile(/tmp/multipartBody9213686345413604711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985912476,"filename":"image_04012025_11_17_02_695588_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/75ed631a4cdb50982048e46d47db5b5d.jpg","text":"TemporaryFile(/tmp/multipartBody6830493727508029068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985912476,"filename":"image_04012025_11_17_02_695588_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fed724441909a7532159c45b867ac4f0.jpg","text":"TemporaryFile(/tmp/multipartBody6852133510853691769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985912476,"filename":"image_04012025_11_17_02_695588_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/907c550e38e939488df77f967af1818c.jpg","text":"TemporaryFile(/tmp/multipartBody1544618457935167617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985912476,"filename":"image_04012025_11_16_02_461399_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326507024","file1":"1326506711","file0":"1326506706","file3":"1326507266"},"map_files_photo_id_array":[{"photo_id":"1326507024","filename":"file2"},{"photo_id":"1326506711","filename":"file1"},{"photo_id":"1326506706","filename":"file0"},{"photo_id":"1326507266","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326506711":["hashtag1","hashtag2"]},{"1326507024":["hashtag1","hashtag2"]},{"1326507266":["hashtag1","hashtag2"]},{"1326506706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326506711, 1326507024, 1326507266, 1326506706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.549745082855225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:18:03.097582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:18:22.792733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/17/image_04012025_11_17_02_695588_0003.jpg', '/home/pi/Desktop/images/04012025/11/18/image_04012025_11_18_02_841847_0000.jpg', '/home/pi/Desktop/images/04012025/11/18/image_04012025_11_18_02_841847_0001.jpg', '/home/pi/Desktop/images/04012025/11/18/image_04012025_11_18_02_841847_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/17/image_04012025_11_17_02_695588_0003.jpg
/home/pi/Desktop/images/04012025/11/18/image_04012025_11_18_02_841847_0000.jpg
/home/pi/Desktop/images/04012025/11/18/image_04012025_11_18_02_841847_0001.jpg
/home/pi/Desktop/images/04012025/11/18/image_04012025_11_18_02_841847_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326508089","1326508002","1326507813","1326507932"],"photo_ids_order":["1326507813","1326507932","1326508002","1326508089"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0821d1acedf0aba569013dd615d084a7.jpg","text":"TemporaryFile(/tmp/multipartBody977596576056073103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985971623,"filename":"image_04012025_11_18_02_841847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5403ee1dc27e20c88251c3fa7cfb720b.jpg","text":"TemporaryFile(/tmp/multipartBody2963612796248460831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985971623,"filename":"image_04012025_11_18_02_841847_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cc1093a7f8c00bda536af5de00681f18.jpg","text":"TemporaryFile(/tmp/multipartBody3562195276295988552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985971623,"filename":"image_04012025_11_17_02_695588_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4ffaf90ad52a92b14b98b8e91040a467.jpg","text":"TemporaryFile(/tmp/multipartBody4865639896622848077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735985971623,"filename":"image_04012025_11_18_02_841847_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326508002","file1":"1326507932","file0":"1326507813","file3":"1326508089"},"map_files_photo_id_array":[{"photo_id":"1326508002","filename":"file2"},{"photo_id":"1326507932","filename":"file1"},{"photo_id":"1326507813","filename":"file0"},{"photo_id":"1326508089","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326508089":["hashtag1","hashtag2"]},{"1326508002":["hashtag1","hashtag2"]},{"1326507813":["hashtag1","hashtag2"]},{"1326507932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326508089, 1326508002, 1326507813, 1326507932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.4893958568573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:19:21.905457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/18/image_04012025_11_18_02_841847_0003.jpg', '/home/pi/Desktop/images/04012025/11/19/image_04012025_11_19_03_077313_0000.jpg', '/home/pi/Desktop/images/04012025/11/19/image_04012025_11_19_03_077313_0001.jpg', '/home/pi/Desktop/images/04012025/11/19/image_04012025_11_19_03_077313_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/18/image_04012025_11_18_02_841847_0003.jpg
/home/pi/Desktop/images/04012025/11/19/image_04012025_11_19_03_077313_0000.jpg
/home/pi/Desktop/images/04012025/11/19/image_04012025_11_19_03_077313_0001.jpg
/home/pi/Desktop/images/04012025/11/19/image_04012025_11_19_03_077313_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326508611","1326508694","1326508681","1326508698"],"photo_ids_order":["1326508611","1326508681","1326508694","1326508698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba042fc97681c04db188eab76a466a87.jpg","text":"TemporaryFile(/tmp/multipartBody4189948067336385473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986030645,"filename":"image_04012025_11_18_02_841847_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5432aa69a5c3573021d8ffba1c95e2d3.jpg","text":"TemporaryFile(/tmp/multipartBody1206803705987758453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986030645,"filename":"image_04012025_11_19_03_077313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c65c94690ffe70e978b7fbf11a4316a4.jpg","text":"TemporaryFile(/tmp/multipartBody9122323710462200436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986030645,"filename":"image_04012025_11_19_03_077313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5d7c485c30d30b01d48217c88f00b19d.jpg","text":"TemporaryFile(/tmp/multipartBody4539659566942352270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986030645,"filename":"image_04012025_11_19_03_077313_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326508694","file1":"1326508681","file0":"1326508611","file3":"1326508698"},"map_files_photo_id_array":[{"photo_id":"1326508694","filename":"file2"},{"photo_id":"1326508681","filename":"file1"},{"photo_id":"1326508611","filename":"file0"},{"photo_id":"1326508698","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326508611":["hashtag1","hashtag2"]},{"1326508694":["hashtag1","hashtag2"]},{"1326508681":["hashtag1","hashtag2"]},{"1326508698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326508611, 1326508694, 1326508681, 1326508698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 36.81436538696289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:20:02.529710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:20:22.079075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/19/image_04012025_11_19_03_077313_0003.jpg', '/home/pi/Desktop/images/04012025/11/20/image_04012025_11_20_02_302172_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/19/image_04012025_11_19_03_077313_0003.jpg
/home/pi/Desktop/images/04012025/11/20/image_04012025_11_20_02_302172_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":["1326508991","1326508995"],"photo_ids_order":["1326508991","1326508995"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9a442891d4ea9c75c22e7c4f5f0c4818.jpg","text":"TemporaryFile(/tmp/multipartBody8226514124572257051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986086839,"filename":"image_04012025_11_19_03_077313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2a951753058a7094e8846933ac43f5cd.jpg","text":"TemporaryFile(/tmp/multipartBody1532123240052144354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986086839,"filename":"image_04012025_11_20_02_302172_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326508995","file0":"1326508991"},"map_files_photo_id_array":[{"photo_id":"1326508995","filename":"file1"},{"photo_id":"1326508991","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326508991":["hashtag1","hashtag2"]},{"1326508995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326508991, 1326508995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.764857530593872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 11:20:51.993863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:21:02.753271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:21:22.213410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/20/image_04012025_11_20_02_302172_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/20/image_04012025_11_20_02_302172_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326509296"],"photo_id":"1326509296","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db87062d6536b99679a53c2ecad1a672.jpg","text":"TemporaryFile(/tmp/multipartBody5232458057131173111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986144903,"filename":"image_04012025_11_20_02_302172_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326509296"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326509296"}],"hashtags":[],"portfolio_id":"19403015","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.250724077224731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 11:21:42.248726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 11:21:52.165419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:22:02.738144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:22:22.388192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/21/image_04012025_11_21_02_406827_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/21/image_04012025_11_21_02_406827_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326509511"],"photo_id":"1326509511","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1def6a21c8ca1dbad74973ff0e8749ac.jpg","text":"TemporaryFile(/tmp/multipartBody3159884311859859122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986205083,"filename":"image_04012025_11_21_02_406827_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326509511"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326509511"}],"hashtags":[],"portfolio_id":"19403015","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.161663293838501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 11:22:42.419979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 11:22:52.348813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:23:03.163364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:23:22.591980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/22/image_04012025_11_22_02_652111_0003.jpg', '/home/pi/Desktop/images/04012025/11/23/image_04012025_11_23_02_719074_0000.jpg', '/home/pi/Desktop/images/04012025/11/23/image_04012025_11_23_02_719074_0001.jpg', '/home/pi/Desktop/images/04012025/11/23/image_04012025_11_23_02_719074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/22/image_04012025_11_22_02_652111_0003.jpg
/home/pi/Desktop/images/04012025/11/23/image_04012025_11_23_02_719074_0000.jpg
/home/pi/Desktop/images/04012025/11/23/image_04012025_11_23_02_719074_0001.jpg
/home/pi/Desktop/images/04012025/11/23/image_04012025_11_23_02_719074_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326510103","1326510423","1326510098","1326510200"],"photo_ids_order":["1326510098","1326510103","1326510200","1326510423"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ecb9fd6655859c29d1129087177ad1a3.jpg","text":"TemporaryFile(/tmp/multipartBody1232351437131080946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986272783,"filename":"image_04012025_11_23_02_719074_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6afd18c39d6a593808115227e003a476.jpg","text":"TemporaryFile(/tmp/multipartBody2559774546660670226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986272783,"filename":"image_04012025_11_23_02_719074_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c6f1ea5fe2dec2db8ffdb04c683af2c3.jpg","text":"TemporaryFile(/tmp/multipartBody4599024145498557154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986272783,"filename":"image_04012025_11_22_02_652111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/45f774aad619746a7a4cacc003ee2aca.jpg","text":"TemporaryFile(/tmp/multipartBody4895439249288446750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986272783,"filename":"image_04012025_11_23_02_719074_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326510200","file1":"1326510103","file0":"1326510098","file3":"1326510423"},"map_files_photo_id_array":[{"photo_id":"1326510200","filename":"file2"},{"photo_id":"1326510103","filename":"file1"},{"photo_id":"1326510098","filename":"file0"},{"photo_id":"1326510423","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326510103":["hashtag1","hashtag2"]},{"1326510423":["hashtag1","hashtag2"]},{"1326510098":["hashtag1","hashtag2"]},{"1326510200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326510103, 1326510423, 1326510098, 1326510200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7243857383728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:24:03.110104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:24:22.736561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/23/image_04012025_11_23_02_719074_0003.jpg', '/home/pi/Desktop/images/04012025/11/24/image_04012025_11_24_02_920295_0000.jpg', '/home/pi/Desktop/images/04012025/11/24/image_04012025_11_24_02_920295_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/23/image_04012025_11_23_02_719074_0003.jpg
/home/pi/Desktop/images/04012025/11/24/image_04012025_11_24_02_920295_0000.jpg
/home/pi/Desktop/images/04012025/11/24/image_04012025_11_24_02_920295_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":["1326511308","1326511236","1326511312"],"photo_ids_order":["1326511236","1326511308","1326511312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/93bbcf473eb3257d539ed88d93a7f4ae.jpg","text":"TemporaryFile(/tmp/multipartBody2267885575515511040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986330394,"filename":"image_04012025_11_24_02_920295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d001efdc5db6a7dabe57a9b05218d56e.jpg","text":"TemporaryFile(/tmp/multipartBody7585274793332055477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986330394,"filename":"image_04012025_11_23_02_719074_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8049c0f9879ece1aee0483207968e1a7.jpg","text":"TemporaryFile(/tmp/multipartBody1323372724605802156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986330394,"filename":"image_04012025_11_24_02_920295_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326511312","file1":"1326511308","file0":"1326511236"},"map_files_photo_id_array":[{"photo_id":"1326511312","filename":"file2"},{"photo_id":"1326511308","filename":"file1"},{"photo_id":"1326511236","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326511308":["hashtag1","hashtag2"]},{"1326511236":["hashtag1","hashtag2"]},{"1326511312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326511308, 1326511236, 1326511312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.993501663208008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:25:02.593941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:25:21.922513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/24/image_04012025_11_24_02_920295_0002.jpg', '/home/pi/Desktop/images/04012025/11/25/image_04012025_11_25_03_016437_0000.jpg', '/home/pi/Desktop/images/04012025/11/25/image_04012025_11_25_03_016437_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/24/image_04012025_11_24_02_920295_0002.jpg
/home/pi/Desktop/images/04012025/11/25/image_04012025_11_25_03_016437_0000.jpg
/home/pi/Desktop/images/04012025/11/25/image_04012025_11_25_03_016437_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":["1326511784","1326511787","1326511811"],"photo_ids_order":["1326511784","1326511787","1326511811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b0aed09b760fab3fa6cd3af7b9d64cfe.jpg","text":"TemporaryFile(/tmp/multipartBody6707958256713904528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986389521,"filename":"image_04012025_11_24_02_920295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/391076e9a9537b99fa8104a541f5d5d5.jpg","text":"TemporaryFile(/tmp/multipartBody9179113045330940360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986389521,"filename":"image_04012025_11_25_03_016437_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8cd9ad4e19b33f4a5b40e2d26d602018.jpg","text":"TemporaryFile(/tmp/multipartBody5642222961598671580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986389521,"filename":"image_04012025_11_25_03_016437_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326511811","file1":"1326511787","file0":"1326511784"},"map_files_photo_id_array":[{"photo_id":"1326511811","filename":"file2"},{"photo_id":"1326511787","filename":"file1"},{"photo_id":"1326511784","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326511784":["hashtag1","hashtag2"]},{"1326511787":["hashtag1","hashtag2"]},{"1326511811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326511784, 1326511787, 1326511811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.481159925460815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:26:02.538803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:26:22.090041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/25/image_04012025_11_25_03_016437_0002.jpg', '/home/pi/Desktop/images/04012025/11/26/image_04012025_11_26_02_356418_0000.jpg', '/home/pi/Desktop/images/04012025/11/26/image_04012025_11_26_02_356418_0001.jpg', '/home/pi/Desktop/images/04012025/11/26/image_04012025_11_26_02_356418_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/25/image_04012025_11_25_03_016437_0002.jpg
/home/pi/Desktop/images/04012025/11/26/image_04012025_11_26_02_356418_0000.jpg
/home/pi/Desktop/images/04012025/11/26/image_04012025_11_26_02_356418_0001.jpg
/home/pi/Desktop/images/04012025/11/26/image_04012025_11_26_02_356418_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.95541000366211 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 11:26:42.102849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/25/image_04012025_11_25_03_016437_0002.jpg', '/home/pi/Desktop/images/04012025/11/26/image_04012025_11_26_02_356418_0000.jpg', '/home/pi/Desktop/images/04012025/11/26/image_04012025_11_26_02_356418_0001.jpg', '/home/pi/Desktop/images/04012025/11/26/image_04012025_11_26_02_356418_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/25/image_04012025_11_25_03_016437_0002.jpg
/home/pi/Desktop/images/04012025/11/26/image_04012025_11_26_02_356418_0000.jpg
/home/pi/Desktop/images/04012025/11/26/image_04012025_11_26_02_356418_0001.jpg
/home/pi/Desktop/images/04012025/11/26/image_04012025_11_26_02_356418_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326512285","1326512288","1326512290","1326512262"],"photo_ids_order":["1326512262","1326512285","1326512288","1326512290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/75c99f6d28f9ea269065cb2b37c94d43.jpg","text":"TemporaryFile(/tmp/multipartBody5857979336465195029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986472460,"filename":"image_04012025_11_26_02_356418_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/921124cb2f2e559cb6a328f8ae62b3ba.jpg","text":"TemporaryFile(/tmp/multipartBody3394075749447646222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986472460,"filename":"image_04012025_11_26_02_356418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28ff347c124e924522f30269377bad2c.jpg","text":"TemporaryFile(/tmp/multipartBody7037226596599105933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986472460,"filename":"image_04012025_11_26_02_356418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8dd1248a45efa9f47782e15b789aec94.jpg","text":"TemporaryFile(/tmp/multipartBody5107759746917758403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986472460,"filename":"image_04012025_11_25_03_016437_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326512288","file1":"1326512285","file0":"1326512262","file3":"1326512290"},"map_files_photo_id_array":[{"photo_id":"1326512288","filename":"file2"},{"photo_id":"1326512285","filename":"file1"},{"photo_id":"1326512262","filename":"file0"},{"photo_id":"1326512290","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326512285":["hashtag1","hashtag2"]},{"1326512288":["hashtag1","hashtag2"]},{"1326512290":["hashtag1","hashtag2"]},{"1326512262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326512285, 1326512288, 1326512290, 1326512262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.499948501586914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:27:22.227564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/26/image_04012025_11_26_02_356418_0003.jpg', '/home/pi/Desktop/images/04012025/11/27/image_04012025_11_27_02_451935_0000.jpg', '/home/pi/Desktop/images/04012025/11/27/image_04012025_11_27_02_451935_0001.jpg', '/home/pi/Desktop/images/04012025/11/27/image_04012025_11_27_02_451935_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/26/image_04012025_11_26_02_356418_0003.jpg
/home/pi/Desktop/images/04012025/11/27/image_04012025_11_27_02_451935_0000.jpg
/home/pi/Desktop/images/04012025/11/27/image_04012025_11_27_02_451935_0001.jpg
/home/pi/Desktop/images/04012025/11/27/image_04012025_11_27_02_451935_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326512819","1326512804","1326512697","1326512694"],"photo_ids_order":["1326512694","1326512697","1326512804","1326512819"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b0599b4b9ebfba8f079e0c341a3f4c76.jpg","text":"TemporaryFile(/tmp/multipartBody6049457310500776858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986512596,"filename":"image_04012025_11_27_02_451935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2f3cc4fe5d9bab34781cfdb8a29637a2.jpg","text":"TemporaryFile(/tmp/multipartBody8794277489219687720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986512596,"filename":"image_04012025_11_27_02_451935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/99ade0e0deb1b6c0f71e22c62eb87cec.jpg","text":"TemporaryFile(/tmp/multipartBody4676428093960239003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986512596,"filename":"image_04012025_11_27_02_451935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f8e932eb40c8426e5cc499c5709678f0.jpg","text":"TemporaryFile(/tmp/multipartBody4856413958863416604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986512596,"filename":"image_04012025_11_26_02_356418_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326512804","file1":"1326512697","file0":"1326512694","file3":"1326512819"},"map_files_photo_id_array":[{"photo_id":"1326512804","filename":"file2"},{"photo_id":"1326512697","filename":"file1"},{"photo_id":"1326512694","filename":"file0"},{"photo_id":"1326512819","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326512819":["hashtag1","hashtag2"]},{"1326512804":["hashtag1","hashtag2"]},{"1326512697":["hashtag1","hashtag2"]},{"1326512694":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326512819, 1326512804, 1326512697, 1326512694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94002056121826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:28:02.716472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:28:22.477459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/27/image_04012025_11_27_02_451935_0003.jpg', '/home/pi/Desktop/images/04012025/11/28/image_04012025_11_28_02_620989_0000.jpg', '/home/pi/Desktop/images/04012025/11/28/image_04012025_11_28_02_620989_0001.jpg', '/home/pi/Desktop/images/04012025/11/28/image_04012025_11_28_02_620989_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/27/image_04012025_11_27_02_451935_0003.jpg
/home/pi/Desktop/images/04012025/11/28/image_04012025_11_28_02_620989_0000.jpg
/home/pi/Desktop/images/04012025/11/28/image_04012025_11_28_02_620989_0001.jpg
/home/pi/Desktop/images/04012025/11/28/image_04012025_11_28_02_620989_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326513157","1326513154","1326513159","1326513245"],"photo_ids_order":["1326513154","1326513157","1326513159","1326513245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce92c7f3bf42e37e572bdb061195538f.jpg","text":"TemporaryFile(/tmp/multipartBody491082108444534027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986572862,"filename":"image_04012025_11_28_02_620989_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7afe2e87017d57fe40994155000347f3.jpg","text":"TemporaryFile(/tmp/multipartBody3150500197080635202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986572862,"filename":"image_04012025_11_27_02_451935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d3c205bef9a951a4b8449ad58b9d3b25.jpg","text":"TemporaryFile(/tmp/multipartBody5431924441747106246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986572862,"filename":"image_04012025_11_28_02_620989_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3dbb2c7f05b1e57222182ed8667e8f71.jpg","text":"TemporaryFile(/tmp/multipartBody3288357094483196278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986572862,"filename":"image_04012025_11_28_02_620989_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326513159","file1":"1326513157","file0":"1326513154","file3":"1326513245"},"map_files_photo_id_array":[{"photo_id":"1326513159","filename":"file2"},{"photo_id":"1326513157","filename":"file1"},{"photo_id":"1326513154","filename":"file0"},{"photo_id":"1326513245","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326513157":["hashtag1","hashtag2"]},{"1326513154":["hashtag1","hashtag2"]},{"1326513159":["hashtag1","hashtag2"]},{"1326513245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326513157, 1326513154, 1326513159, 1326513245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63634395599365 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-04 11:29:22.617335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/28/image_04012025_11_28_02_620989_0003.jpg', '/home/pi/Desktop/images/04012025/11/29/image_04012025_11_29_02_775950_0000.jpg', '/home/pi/Desktop/images/04012025/11/29/image_04012025_11_29_02_775950_0001.jpg', '/home/pi/Desktop/images/04012025/11/29/image_04012025_11_29_02_775950_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/28/image_04012025_11_28_02_620989_0003.jpg
/home/pi/Desktop/images/04012025/11/29/image_04012025_11_29_02_775950_0000.jpg
/home/pi/Desktop/images/04012025/11/29/image_04012025_11_29_02_775950_0001.jpg
/home/pi/Desktop/images/04012025/11/29/image_04012025_11_29_02_775950_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326513608","1326513622","1326513613","1326513618"],"photo_ids_order":["1326513608","1326513613","1326513618","1326513622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6e87ed6219e6f791fa94ac3f04e79852.jpg","text":"TemporaryFile(/tmp/multipartBody2973110965053975642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986632892,"filename":"image_04012025_11_28_02_620989_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/64578e179fcbdbbd0e2b3b4bf4ba007f.jpg","text":"TemporaryFile(/tmp/multipartBody392678325990346334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986632892,"filename":"image_04012025_11_29_02_775950_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d97c3cb1e04e970af24d6c716fff882d.jpg","text":"TemporaryFile(/tmp/multipartBody4831310983163062423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986632892,"filename":"image_04012025_11_29_02_775950_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5d9ebc4b7ff2ee34e91a25b31967324f.jpg","text":"TemporaryFile(/tmp/multipartBody1590247594878871996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986632892,"filename":"image_04012025_11_29_02_775950_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326513618","file1":"1326513613","file0":"1326513608","file3":"1326513622"},"map_files_photo_id_array":[{"photo_id":"1326513618","filename":"file2"},{"photo_id":"1326513613","filename":"file1"},{"photo_id":"1326513608","filename":"file0"},{"photo_id":"1326513622","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326513608":["hashtag1","hashtag2"]},{"1326513622":["hashtag1","hashtag2"]},{"1326513613":["hashtag1","hashtag2"]},{"1326513618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326513608, 1326513622, 1326513613, 1326513618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.32834792137146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:30:03.203801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:30:22.712748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/29/image_04012025_11_29_02_775950_0003.jpg', '/home/pi/Desktop/images/04012025/11/30/image_04012025_11_30_02_899204_0000.jpg', '/home/pi/Desktop/images/04012025/11/30/image_04012025_11_30_02_899204_0001.jpg', '/home/pi/Desktop/images/04012025/11/30/image_04012025_11_30_02_899204_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/29/image_04012025_11_29_02_775950_0003.jpg
/home/pi/Desktop/images/04012025/11/30/image_04012025_11_30_02_899204_0000.jpg
/home/pi/Desktop/images/04012025/11/30/image_04012025_11_30_02_899204_0001.jpg
/home/pi/Desktop/images/04012025/11/30/image_04012025_11_30_02_899204_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326514045","1326513937","1326513942","1326513947"],"photo_ids_order":["1326513937","1326513942","1326513947","1326514045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ab2cb8931da2add683022733df1b1af.jpg","text":"TemporaryFile(/tmp/multipartBody5257175676892488218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986693131,"filename":"image_04012025_11_30_02_899204_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bb8530ebcddb976c2b421bd1d82a97ad.jpg","text":"TemporaryFile(/tmp/multipartBody712504351436807173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986693131,"filename":"image_04012025_11_29_02_775950_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/be2a2b55bca1d16cc6a85ed2328cc012.jpg","text":"TemporaryFile(/tmp/multipartBody8573560191927327996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986693131,"filename":"image_04012025_11_30_02_899204_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aee8d36c7c92807ccc1f90ddb85b5a76.jpg","text":"TemporaryFile(/tmp/multipartBody8496908830523220375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986693131,"filename":"image_04012025_11_30_02_899204_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326513947","file1":"1326513942","file0":"1326513937","file3":"1326514045"},"map_files_photo_id_array":[{"photo_id":"1326513947","filename":"file2"},{"photo_id":"1326513942","filename":"file1"},{"photo_id":"1326513937","filename":"file0"},{"photo_id":"1326514045","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326514045":["hashtag1","hashtag2"]},{"1326513937":["hashtag1","hashtag2"]},{"1326513942":["hashtag1","hashtag2"]},{"1326513947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326514045, 1326513937, 1326513942, 1326513947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.726755142211914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:31:21.981263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/30/image_04012025_11_30_02_899204_0003.jpg', '/home/pi/Desktop/images/04012025/11/31/image_04012025_11_31_03_145237_0000.jpg', '/home/pi/Desktop/images/04012025/11/31/image_04012025_11_31_03_145237_0001.jpg', '/home/pi/Desktop/images/04012025/11/31/image_04012025_11_31_03_145237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/30/image_04012025_11_30_02_899204_0003.jpg
/home/pi/Desktop/images/04012025/11/31/image_04012025_11_31_03_145237_0000.jpg
/home/pi/Desktop/images/04012025/11/31/image_04012025_11_31_03_145237_0001.jpg
/home/pi/Desktop/images/04012025/11/31/image_04012025_11_31_03_145237_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326514461","1326514377","1326514373","1326514481"],"photo_ids_order":["1326514373","1326514377","1326514461","1326514481"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1fd945649d0f1972eded8ab0ada40132.jpg","text":"TemporaryFile(/tmp/multipartBody917823180288862960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986752622,"filename":"image_04012025_11_31_03_145237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/815b8fb820345eddae94173e9ba53d8f.jpg","text":"TemporaryFile(/tmp/multipartBody6542924874730527126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986752622,"filename":"image_04012025_11_31_03_145237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/101382c09524e385ca7108939e9fe9d8.jpg","text":"TemporaryFile(/tmp/multipartBody7397571112049429332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986752622,"filename":"image_04012025_11_30_02_899204_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d4191e8d88c6f0ef684479d6b38e67e6.jpg","text":"TemporaryFile(/tmp/multipartBody552434243074682578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986752622,"filename":"image_04012025_11_31_03_145237_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326514461","file1":"1326514377","file0":"1326514373","file3":"1326514481"},"map_files_photo_id_array":[{"photo_id":"1326514461","filename":"file2"},{"photo_id":"1326514377","filename":"file1"},{"photo_id":"1326514373","filename":"file0"},{"photo_id":"1326514481","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326514461":["hashtag1","hashtag2"]},{"1326514377":["hashtag1","hashtag2"]},{"1326514373":["hashtag1","hashtag2"]},{"1326514481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326514461, 1326514377, 1326514373, 1326514481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57529163360596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:32:02.507975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:32:22.147601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/31/image_04012025_11_31_03_145237_0003.jpg', '/home/pi/Desktop/images/04012025/11/32/image_04012025_11_32_02_267714_0000.jpg', '/home/pi/Desktop/images/04012025/11/32/image_04012025_11_32_02_267714_0001.jpg', '/home/pi/Desktop/images/04012025/11/32/image_04012025_11_32_02_267714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/31/image_04012025_11_31_03_145237_0003.jpg
/home/pi/Desktop/images/04012025/11/32/image_04012025_11_32_02_267714_0000.jpg
/home/pi/Desktop/images/04012025/11/32/image_04012025_11_32_02_267714_0001.jpg
/home/pi/Desktop/images/04012025/11/32/image_04012025_11_32_02_267714_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.571786403656006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 11:32:42.146624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/31/image_04012025_11_31_03_145237_0003.jpg', '/home/pi/Desktop/images/04012025/11/32/image_04012025_11_32_02_267714_0000.jpg', '/home/pi/Desktop/images/04012025/11/32/image_04012025_11_32_02_267714_0001.jpg', '/home/pi/Desktop/images/04012025/11/32/image_04012025_11_32_02_267714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/31/image_04012025_11_31_03_145237_0003.jpg
/home/pi/Desktop/images/04012025/11/32/image_04012025_11_32_02_267714_0000.jpg
/home/pi/Desktop/images/04012025/11/32/image_04012025_11_32_02_267714_0001.jpg
/home/pi/Desktop/images/04012025/11/32/image_04012025_11_32_02_267714_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326515449","1326515236","1326515448","1326515357"],"photo_ids_order":["1326515236","1326515357","1326515448","1326515449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e39f0718f87e86721aff24adc41e2ebc.jpg","text":"TemporaryFile(/tmp/multipartBody6330919542086749842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986833119,"filename":"image_04012025_11_32_02_267714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4baa5f065e5451108576759bf7d0d603.jpg","text":"TemporaryFile(/tmp/multipartBody2366069599322079057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986833119,"filename":"image_04012025_11_31_03_145237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ac8750668461c321c6390414bd8d5819.jpg","text":"TemporaryFile(/tmp/multipartBody9088914818565289209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986833119,"filename":"image_04012025_11_32_02_267714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a146ed4dde4d3f1bc66f967e27bf6c76.jpg","text":"TemporaryFile(/tmp/multipartBody1966764684497206505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986833119,"filename":"image_04012025_11_32_02_267714_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326515448","file1":"1326515357","file0":"1326515236","file3":"1326515449"},"map_files_photo_id_array":[{"photo_id":"1326515448","filename":"file2"},{"photo_id":"1326515357","filename":"file1"},{"photo_id":"1326515236","filename":"file0"},{"photo_id":"1326515449","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326515449":["hashtag1","hashtag2"]},{"1326515236":["hashtag1","hashtag2"]},{"1326515448":["hashtag1","hashtag2"]},{"1326515357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326515449, 1326515236, 1326515448, 1326515357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.30304670333862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 11:33:32.271193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/32/image_04012025_11_32_02_267714_0003.jpg', '/home/pi/Desktop/images/04012025/11/33/image_04012025_11_33_02_480625_0000.jpg', '/home/pi/Desktop/images/04012025/11/33/image_04012025_11_33_02_480625_0001.jpg', '/home/pi/Desktop/images/04012025/11/33/image_04012025_11_33_02_480625_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/32/image_04012025_11_32_02_267714_0003.jpg
/home/pi/Desktop/images/04012025/11/33/image_04012025_11_33_02_480625_0000.jpg
/home/pi/Desktop/images/04012025/11/33/image_04012025_11_33_02_480625_0001.jpg
/home/pi/Desktop/images/04012025/11/33/image_04012025_11_33_02_480625_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326515905","1326516000","1326515802","1326516034"],"photo_ids_order":["1326515802","1326515905","1326516000","1326516034"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b2706eaa365836e34e0d9d80c67cb3be.jpg","text":"TemporaryFile(/tmp/multipartBody2112502091611432324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986882662,"filename":"image_04012025_11_33_02_480625_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/948e13ffbf34849c952ec09d82b11d4b.jpg","text":"TemporaryFile(/tmp/multipartBody9003578974675619673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986882662,"filename":"image_04012025_11_33_02_480625_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7c2a3a663be7d91295a3feb16f75c202.jpg","text":"TemporaryFile(/tmp/multipartBody8672447331844886606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986882662,"filename":"image_04012025_11_32_02_267714_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d415ebea3e3ca785a3066564b2e64bf5.jpg","text":"TemporaryFile(/tmp/multipartBody1094797649665353282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986882662,"filename":"image_04012025_11_33_02_480625_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326516000","file1":"1326515905","file0":"1326515802","file3":"1326516034"},"map_files_photo_id_array":[{"photo_id":"1326516000","filename":"file2"},{"photo_id":"1326515905","filename":"file1"},{"photo_id":"1326515802","filename":"file0"},{"photo_id":"1326516034","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326515905":["hashtag1","hashtag2"]},{"1326516000":["hashtag1","hashtag2"]},{"1326515802":["hashtag1","hashtag2"]},{"1326516034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326515905, 1326516000, 1326515802, 1326516034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.84508967399597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:34:22.497038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/33/image_04012025_11_33_02_480625_0003.jpg', '/home/pi/Desktop/images/04012025/11/34/image_04012025_11_34_02_676144_0000.jpg', '/home/pi/Desktop/images/04012025/11/34/image_04012025_11_34_02_676144_0001.jpg', '/home/pi/Desktop/images/04012025/11/34/image_04012025_11_34_02_676144_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/33/image_04012025_11_33_02_480625_0003.jpg
/home/pi/Desktop/images/04012025/11/34/image_04012025_11_34_02_676144_0000.jpg
/home/pi/Desktop/images/04012025/11/34/image_04012025_11_34_02_676144_0001.jpg
/home/pi/Desktop/images/04012025/11/34/image_04012025_11_34_02_676144_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326516072","1326516069","1326516066","1326516364"],"photo_ids_order":["1326516066","1326516069","1326516072","1326516364"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0c61532ee8b1052df91bae971f7901a.jpg","text":"TemporaryFile(/tmp/multipartBody5184598671501374981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986932598,"filename":"image_04012025_11_34_02_676144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d53177f7f3a90ff1015daefa57e7bbbd.jpg","text":"TemporaryFile(/tmp/multipartBody4278583111056693548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986932598,"filename":"image_04012025_11_34_02_676144_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/de767cfc0750fef028d5e87a5f70857d.jpg","text":"TemporaryFile(/tmp/multipartBody7531496540729167798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986932598,"filename":"image_04012025_11_33_02_480625_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bfb96542fd54d450b6d6bbbb8df05c42.jpg","text":"TemporaryFile(/tmp/multipartBody4630644555218932482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986932598,"filename":"image_04012025_11_34_02_676144_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326516072","file1":"1326516069","file0":"1326516066","file3":"1326516364"},"map_files_photo_id_array":[{"photo_id":"1326516072","filename":"file2"},{"photo_id":"1326516069","filename":"file1"},{"photo_id":"1326516066","filename":"file0"},{"photo_id":"1326516364","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326516072":["hashtag1","hashtag2"]},{"1326516069":["hashtag1","hashtag2"]},{"1326516066":["hashtag1","hashtag2"]},{"1326516364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326516072, 1326516069, 1326516066, 1326516364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.85478377342224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:35:03.389638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:35:22.673439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/34/image_04012025_11_34_02_676144_0003.jpg', '/home/pi/Desktop/images/04012025/11/35/image_04012025_11_35_02_821419_0000.jpg', '/home/pi/Desktop/images/04012025/11/35/image_04012025_11_35_02_821419_0001.jpg', '/home/pi/Desktop/images/04012025/11/35/image_04012025_11_35_02_821419_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/34/image_04012025_11_34_02_676144_0003.jpg
/home/pi/Desktop/images/04012025/11/35/image_04012025_11_35_02_821419_0000.jpg
/home/pi/Desktop/images/04012025/11/35/image_04012025_11_35_02_821419_0001.jpg
/home/pi/Desktop/images/04012025/11/35/image_04012025_11_35_02_821419_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326516855","1326516762","1326516860","1326516829"],"photo_ids_order":["1326516762","1326516829","1326516855","1326516860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6ea396bf24baa2ced86e69cbea1740c2.jpg","text":"TemporaryFile(/tmp/multipartBody5183500058850009796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986992885,"filename":"image_04012025_11_35_02_821419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/97cd9d0bbf9069d12706913edeed9264.jpg","text":"TemporaryFile(/tmp/multipartBody2040682480359631869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986992885,"filename":"image_04012025_11_34_02_676144_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c61dd3a04aaf876ef68a0ea85e636d57.jpg","text":"TemporaryFile(/tmp/multipartBody1108547538739571623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986992885,"filename":"image_04012025_11_35_02_821419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a61930ab4ee8c67334e1205a0bb0aee3.jpg","text":"TemporaryFile(/tmp/multipartBody8058753414758606849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735986992885,"filename":"image_04012025_11_35_02_821419_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326516855","file1":"1326516829","file0":"1326516762","file3":"1326516860"},"map_files_photo_id_array":[{"photo_id":"1326516855","filename":"file2"},{"photo_id":"1326516829","filename":"file1"},{"photo_id":"1326516762","filename":"file0"},{"photo_id":"1326516860","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326516855":["hashtag1","hashtag2"]},{"1326516762":["hashtag1","hashtag2"]},{"1326516860":["hashtag1","hashtag2"]},{"1326516829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326516855, 1326516762, 1326516860, 1326516829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.52120399475098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:36:02.323996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:36:21.876374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/35/image_04012025_11_35_02_821419_0003.jpg', '/home/pi/Desktop/images/04012025/11/36/image_04012025_11_36_03_004381_0000.jpg', '/home/pi/Desktop/images/04012025/11/36/image_04012025_11_36_03_004381_0001.jpg', '/home/pi/Desktop/images/04012025/11/36/image_04012025_11_36_03_004381_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/35/image_04012025_11_35_02_821419_0003.jpg
/home/pi/Desktop/images/04012025/11/36/image_04012025_11_36_03_004381_0000.jpg
/home/pi/Desktop/images/04012025/11/36/image_04012025_11_36_03_004381_0001.jpg
/home/pi/Desktop/images/04012025/11/36/image_04012025_11_36_03_004381_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326516873","1326516867","1326516870","1326516877"],"photo_ids_order":["1326516867","1326516870","1326516873","1326516877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f8fb3535528c75ab6797069dcd874fce.jpg","text":"TemporaryFile(/tmp/multipartBody7240255215524203544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987051926,"filename":"image_04012025_11_36_03_004381_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/628aa27c0dabce2d32f467c973f04760.jpg","text":"TemporaryFile(/tmp/multipartBody7689669468147843058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987051926,"filename":"image_04012025_11_35_02_821419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/636bc38a2a1fed34766b6b131285eb36.jpg","text":"TemporaryFile(/tmp/multipartBody5116841340764785078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987051926,"filename":"image_04012025_11_36_03_004381_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/75cec56e8b9669f77d66ad2c7e7a167c.jpg","text":"TemporaryFile(/tmp/multipartBody7360082309473282429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987051926,"filename":"image_04012025_11_36_03_004381_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326516873","file1":"1326516870","file0":"1326516867","file3":"1326516877"},"map_files_photo_id_array":[{"photo_id":"1326516873","filename":"file2"},{"photo_id":"1326516870","filename":"file1"},{"photo_id":"1326516867","filename":"file0"},{"photo_id":"1326516877","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326516873":["hashtag1","hashtag2"]},{"1326516867":["hashtag1","hashtag2"]},{"1326516870":["hashtag1","hashtag2"]},{"1326516877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326516873, 1326516867, 1326516870, 1326516877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.099061012268066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:37:02.676483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:37:22.077893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/36/image_04012025_11_36_03_004381_0003.jpg', '/home/pi/Desktop/images/04012025/11/37/image_04012025_11_37_02_265535_0000.jpg', '/home/pi/Desktop/images/04012025/11/37/image_04012025_11_37_02_265535_0001.jpg', '/home/pi/Desktop/images/04012025/11/37/image_04012025_11_37_02_265535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/36/image_04012025_11_36_03_004381_0003.jpg
/home/pi/Desktop/images/04012025/11/37/image_04012025_11_37_02_265535_0000.jpg
/home/pi/Desktop/images/04012025/11/37/image_04012025_11_37_02_265535_0001.jpg
/home/pi/Desktop/images/04012025/11/37/image_04012025_11_37_02_265535_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326517401","1326517404","1326517398","1326517386"],"photo_ids_order":["1326517386","1326517398","1326517401","1326517404"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/35a184787f2fdc6635a0e4e6ef28bfa1.jpg","text":"TemporaryFile(/tmp/multipartBody4449877669120382096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987112057,"filename":"image_04012025_11_37_02_265535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/582d341d563bb4ec906a081d154cac1f.jpg","text":"TemporaryFile(/tmp/multipartBody2463604596134443021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987112057,"filename":"image_04012025_11_37_02_265535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ad64b71f379260b25799b043abd81278.jpg","text":"TemporaryFile(/tmp/multipartBody3252267015810948818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987112057,"filename":"image_04012025_11_37_02_265535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/651166a2f49fad843a6019b678c99891.jpg","text":"TemporaryFile(/tmp/multipartBody106419975563603562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987112057,"filename":"image_04012025_11_36_03_004381_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326517401","file1":"1326517398","file0":"1326517386","file3":"1326517404"},"map_files_photo_id_array":[{"photo_id":"1326517401","filename":"file2"},{"photo_id":"1326517398","filename":"file1"},{"photo_id":"1326517386","filename":"file0"},{"photo_id":"1326517404","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326517401":["hashtag1","hashtag2"]},{"1326517404":["hashtag1","hashtag2"]},{"1326517398":["hashtag1","hashtag2"]},{"1326517386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326517401, 1326517404, 1326517398, 1326517386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.23907279968262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:38:02.733541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:38:22.264369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/37/image_04012025_11_37_02_265535_0003.jpg', '/home/pi/Desktop/images/04012025/11/38/image_04012025_11_38_02_459163_0000.jpg', '/home/pi/Desktop/images/04012025/11/38/image_04012025_11_38_02_459163_0001.jpg', '/home/pi/Desktop/images/04012025/11/38/image_04012025_11_38_02_459163_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/37/image_04012025_11_37_02_265535_0003.jpg
/home/pi/Desktop/images/04012025/11/38/image_04012025_11_38_02_459163_0000.jpg
/home/pi/Desktop/images/04012025/11/38/image_04012025_11_38_02_459163_0001.jpg
/home/pi/Desktop/images/04012025/11/38/image_04012025_11_38_02_459163_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.482089757919312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 11:38:42.264823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/37/image_04012025_11_37_02_265535_0003.jpg', '/home/pi/Desktop/images/04012025/11/38/image_04012025_11_38_02_459163_0000.jpg', '/home/pi/Desktop/images/04012025/11/38/image_04012025_11_38_02_459163_0001.jpg', '/home/pi/Desktop/images/04012025/11/38/image_04012025_11_38_02_459163_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/37/image_04012025_11_37_02_265535_0003.jpg
/home/pi/Desktop/images/04012025/11/38/image_04012025_11_38_02_459163_0000.jpg
/home/pi/Desktop/images/04012025/11/38/image_04012025_11_38_02_459163_0001.jpg
/home/pi/Desktop/images/04012025/11/38/image_04012025_11_38_02_459163_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326518563","1326518685","1326518658","1326518913"],"photo_ids_order":["1326518563","1326518658","1326518685","1326518913"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/98a0afba674ea3aed790e1ee66ec8665.jpg","text":"TemporaryFile(/tmp/multipartBody7849963032665201303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987192146,"filename":"image_04012025_11_37_02_265535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6afbe4944f0bb9a626b900090677bf57.jpg","text":"TemporaryFile(/tmp/multipartBody3122844353015347869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987192146,"filename":"image_04012025_11_38_02_459163_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dde9b4b00dd70dc1df8bb20aa6f2e17b.jpg","text":"TemporaryFile(/tmp/multipartBody8203504569156095665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987192146,"filename":"image_04012025_11_38_02_459163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8883fcc3a90f52ca83c891ff138f7721.jpg","text":"TemporaryFile(/tmp/multipartBody7896591492613939790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987192146,"filename":"image_04012025_11_38_02_459163_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326518685","file1":"1326518658","file0":"1326518563","file3":"1326518913"},"map_files_photo_id_array":[{"photo_id":"1326518685","filename":"file2"},{"photo_id":"1326518658","filename":"file1"},{"photo_id":"1326518563","filename":"file0"},{"photo_id":"1326518913","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326518563":["hashtag1","hashtag2"]},{"1326518685":["hashtag1","hashtag2"]},{"1326518658":["hashtag1","hashtag2"]},{"1326518913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326518563, 1326518685, 1326518658, 1326518913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.778961420059204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:39:22.552675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/38/image_04012025_11_38_02_459163_0003.jpg', '/home/pi/Desktop/images/04012025/11/39/image_04012025_11_39_02_656636_0000.jpg', '/home/pi/Desktop/images/04012025/11/39/image_04012025_11_39_02_656636_0001.jpg', '/home/pi/Desktop/images/04012025/11/39/image_04012025_11_39_02_656636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/38/image_04012025_11_38_02_459163_0003.jpg
/home/pi/Desktop/images/04012025/11/39/image_04012025_11_39_02_656636_0000.jpg
/home/pi/Desktop/images/04012025/11/39/image_04012025_11_39_02_656636_0001.jpg
/home/pi/Desktop/images/04012025/11/39/image_04012025_11_39_02_656636_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326519431","1326519577","1326519424","1326519590"],"photo_ids_order":["1326519424","1326519431","1326519577","1326519590"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d47d489c5840ff230ca47240181fe379.jpg","text":"TemporaryFile(/tmp/multipartBody6431234836529021380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987232504,"filename":"image_04012025_11_39_02_656636_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5f103df6be68f711aa0fc6987271cf12.jpg","text":"TemporaryFile(/tmp/multipartBody7482967886098056351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987232504,"filename":"image_04012025_11_39_02_656636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/540f636767fdc3b5f639c1dc0eb516ab.jpg","text":"TemporaryFile(/tmp/multipartBody7946636845024807908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987232504,"filename":"image_04012025_11_38_02_459163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd2c38ae8a293635dd42b1b2822966b2.jpg","text":"TemporaryFile(/tmp/multipartBody1486429930054495987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987232504,"filename":"image_04012025_11_39_02_656636_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326519577","file1":"1326519431","file0":"1326519424","file3":"1326519590"},"map_files_photo_id_array":[{"photo_id":"1326519577","filename":"file2"},{"photo_id":"1326519431","filename":"file1"},{"photo_id":"1326519424","filename":"file0"},{"photo_id":"1326519590","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326519431":["hashtag1","hashtag2"]},{"1326519577":["hashtag1","hashtag2"]},{"1326519424":["hashtag1","hashtag2"]},{"1326519590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326519431, 1326519577, 1326519424, 1326519590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.29992318153381 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:40:03.037425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:40:22.623530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/39/image_04012025_11_39_02_656636_0003.jpg', '/home/pi/Desktop/images/04012025/11/40/image_04012025_11_40_02_849229_0000.jpg', '/home/pi/Desktop/images/04012025/11/40/image_04012025_11_40_02_849229_0001.jpg', '/home/pi/Desktop/images/04012025/11/40/image_04012025_11_40_02_849229_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/39/image_04012025_11_39_02_656636_0003.jpg
/home/pi/Desktop/images/04012025/11/40/image_04012025_11_40_02_849229_0000.jpg
/home/pi/Desktop/images/04012025/11/40/image_04012025_11_40_02_849229_0001.jpg
/home/pi/Desktop/images/04012025/11/40/image_04012025_11_40_02_849229_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326519803","1326519753","1326519750","1326519732"],"photo_ids_order":["1326519732","1326519750","1326519753","1326519803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ac6896e4953927c583c28787666d708.jpg","text":"TemporaryFile(/tmp/multipartBody1512723692477162679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987292617,"filename":"image_04012025_11_40_02_849229_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4355cf35cfa21f2b3051295b2a495e48.jpg","text":"TemporaryFile(/tmp/multipartBody2067067789458411935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987292617,"filename":"image_04012025_11_40_02_849229_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c601237d0f457bfa3bca40059a627636.jpg","text":"TemporaryFile(/tmp/multipartBody5834265359959873747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987292617,"filename":"image_04012025_11_40_02_849229_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/48174ee00d94493db10066eb6d767f81.jpg","text":"TemporaryFile(/tmp/multipartBody1331374222315690039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987292617,"filename":"image_04012025_11_39_02_656636_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326519753","file1":"1326519750","file0":"1326519732","file3":"1326519803"},"map_files_photo_id_array":[{"photo_id":"1326519753","filename":"file2"},{"photo_id":"1326519750","filename":"file1"},{"photo_id":"1326519732","filename":"file0"},{"photo_id":"1326519803","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326519803":["hashtag1","hashtag2"]},{"1326519753":["hashtag1","hashtag2"]},{"1326519750":["hashtag1","hashtag2"]},{"1326519732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326519803, 1326519753, 1326519750, 1326519732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.17868137359619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:41:03.278761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:41:22.825909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/40/image_04012025_11_40_02_849229_0003.jpg', '/home/pi/Desktop/images/04012025/11/41/image_04012025_11_41_02_961625_0000.jpg', '/home/pi/Desktop/images/04012025/11/41/image_04012025_11_41_02_961625_0001.jpg', '/home/pi/Desktop/images/04012025/11/41/image_04012025_11_41_02_961625_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/40/image_04012025_11_40_02_849229_0003.jpg
/home/pi/Desktop/images/04012025/11/41/image_04012025_11_41_02_961625_0000.jpg
/home/pi/Desktop/images/04012025/11/41/image_04012025_11_41_02_961625_0001.jpg
/home/pi/Desktop/images/04012025/11/41/image_04012025_11_41_02_961625_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326520170","1326520003","1326520056","1326519950"],"photo_ids_order":["1326519950","1326520003","1326520056","1326520170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8b24aec31090801514856314be5d1a4b.jpg","text":"TemporaryFile(/tmp/multipartBody663955097912232557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987352781,"filename":"image_04012025_11_41_02_961625_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ade47910bd8612962cb972225ba23f07.jpg","text":"TemporaryFile(/tmp/multipartBody2540403056711924161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987352781,"filename":"image_04012025_11_41_02_961625_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7987098869d8c0724a19209c4c4caefb.jpg","text":"TemporaryFile(/tmp/multipartBody376129694856825849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987352781,"filename":"image_04012025_11_41_02_961625_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/443860dd35eec1dc3b81c9e39b2717f1.jpg","text":"TemporaryFile(/tmp/multipartBody7940393680925249821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987352781,"filename":"image_04012025_11_40_02_849229_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326520056","file1":"1326520003","file0":"1326519950","file3":"1326520170"},"map_files_photo_id_array":[{"photo_id":"1326520056","filename":"file2"},{"photo_id":"1326520003","filename":"file1"},{"photo_id":"1326519950","filename":"file0"},{"photo_id":"1326520170","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326520170":["hashtag1","hashtag2"]},{"1326520003":["hashtag1","hashtag2"]},{"1326520056":["hashtag1","hashtag2"]},{"1326519950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326520170, 1326520003, 1326520056, 1326519950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.6716673374176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:42:02.332426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:42:21.943987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/41/image_04012025_11_41_02_961625_0003.jpg', '/home/pi/Desktop/images/04012025/11/42/image_04012025_11_42_03_205180_0000.jpg', '/home/pi/Desktop/images/04012025/11/42/image_04012025_11_42_03_205180_0001.jpg', '/home/pi/Desktop/images/04012025/11/42/image_04012025_11_42_03_205180_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/41/image_04012025_11_41_02_961625_0003.jpg
/home/pi/Desktop/images/04012025/11/42/image_04012025_11_42_03_205180_0000.jpg
/home/pi/Desktop/images/04012025/11/42/image_04012025_11_42_03_205180_0001.jpg
/home/pi/Desktop/images/04012025/11/42/image_04012025_11_42_03_205180_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326520495","1326520498","1326520492","1326520501"],"photo_ids_order":["1326520492","1326520495","1326520498","1326520501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f6955dc5d9aa39505c00f8464fd02d74.jpg","text":"TemporaryFile(/tmp/multipartBody7787719248617907508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987411725,"filename":"image_04012025_11_42_03_205180_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b8242edc4bb0bae6da7937495ed7e5dd.jpg","text":"TemporaryFile(/tmp/multipartBody5342577533959235858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987411725,"filename":"image_04012025_11_42_03_205180_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ae5a22c23ebbe45271ca68039d26c679.jpg","text":"TemporaryFile(/tmp/multipartBody630282522913445299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987411725,"filename":"image_04012025_11_41_02_961625_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f799e24a1cdf4b6d197fc8e5102e191e.jpg","text":"TemporaryFile(/tmp/multipartBody7132796179355434008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987411725,"filename":"image_04012025_11_42_03_205180_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326520498","file1":"1326520495","file0":"1326520492","file3":"1326520501"},"map_files_photo_id_array":[{"photo_id":"1326520498","filename":"file2"},{"photo_id":"1326520495","filename":"file1"},{"photo_id":"1326520492","filename":"file0"},{"photo_id":"1326520501","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326520495":["hashtag1","hashtag2"]},{"1326520498":["hashtag1","hashtag2"]},{"1326520492":["hashtag1","hashtag2"]},{"1326520501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326520495, 1326520498, 1326520492, 1326520501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.289061307907104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:43:02.745485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:43:22.277883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/42/image_04012025_11_42_03_205180_0003.jpg', '/home/pi/Desktop/images/04012025/11/43/image_04012025_11_43_02_359677_0000.jpg', '/home/pi/Desktop/images/04012025/11/43/image_04012025_11_43_02_359677_0001.jpg', '/home/pi/Desktop/images/04012025/11/43/image_04012025_11_43_02_359677_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/42/image_04012025_11_42_03_205180_0003.jpg
/home/pi/Desktop/images/04012025/11/43/image_04012025_11_43_02_359677_0000.jpg
/home/pi/Desktop/images/04012025/11/43/image_04012025_11_43_02_359677_0001.jpg
/home/pi/Desktop/images/04012025/11/43/image_04012025_11_43_02_359677_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326520843","1326520846","1326521028","1326521054"],"photo_ids_order":["1326520843","1326520846","1326521028","1326521054"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/77d44158ca0cf125476a707700586a1e.jpg","text":"TemporaryFile(/tmp/multipartBody7915228258795183997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987471948,"filename":"image_04012025_11_42_03_205180_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0aa19bc36c0e59c54ce3cfdacafadac2.jpg","text":"TemporaryFile(/tmp/multipartBody2502189394137043582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987471948,"filename":"image_04012025_11_43_02_359677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f4dcdc4bf6eef2fed784afa92e7c5e8.jpg","text":"TemporaryFile(/tmp/multipartBody3527539651032483842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987471948,"filename":"image_04012025_11_43_02_359677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c16c21c627dd5ba77e228b6ab25ffcf5.jpg","text":"TemporaryFile(/tmp/multipartBody74563992345493492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987471948,"filename":"image_04012025_11_43_02_359677_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326521028","file1":"1326520846","file0":"1326520843","file3":"1326521054"},"map_files_photo_id_array":[{"photo_id":"1326521028","filename":"file2"},{"photo_id":"1326520846","filename":"file1"},{"photo_id":"1326520843","filename":"file0"},{"photo_id":"1326521054","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326520843":["hashtag1","hashtag2"]},{"1326520846":["hashtag1","hashtag2"]},{"1326521028":["hashtag1","hashtag2"]},{"1326521054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326520843, 1326520846, 1326521028, 1326521054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.49175715446472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:44:02.794882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:44:22.359000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/43/image_04012025_11_43_02_359677_0003.jpg', '/home/pi/Desktop/images/04012025/11/44/image_04012025_11_44_02_483808_0000.jpg', '/home/pi/Desktop/images/04012025/11/44/image_04012025_11_44_02_483808_0001.jpg', '/home/pi/Desktop/images/04012025/11/44/image_04012025_11_44_02_483808_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/43/image_04012025_11_43_02_359677_0003.jpg
/home/pi/Desktop/images/04012025/11/44/image_04012025_11_44_02_483808_0000.jpg
/home/pi/Desktop/images/04012025/11/44/image_04012025_11_44_02_483808_0001.jpg
/home/pi/Desktop/images/04012025/11/44/image_04012025_11_44_02_483808_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326521344","1326521341","1326521142","1326521322"],"photo_ids_order":["1326521142","1326521322","1326521341","1326521344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/417c0ac93a6d87df22483a9320a7f338.jpg","text":"TemporaryFile(/tmp/multipartBody960480300321632083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987531677,"filename":"image_04012025_11_44_02_483808_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f21a7e2dd752a7d75a9d263c17d9647c.jpg","text":"TemporaryFile(/tmp/multipartBody4315018516788217664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987531677,"filename":"image_04012025_11_44_02_483808_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5ce40cbd5c1b5dd75b4d1a4dc53059e8.jpg","text":"TemporaryFile(/tmp/multipartBody927713228250091010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987531677,"filename":"image_04012025_11_43_02_359677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/61c59ade3126814f2eb946687b5974c5.jpg","text":"TemporaryFile(/tmp/multipartBody3850487441864977280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987531677,"filename":"image_04012025_11_44_02_483808_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326521341","file1":"1326521322","file0":"1326521142","file3":"1326521344"},"map_files_photo_id_array":[{"photo_id":"1326521341","filename":"file2"},{"photo_id":"1326521322","filename":"file1"},{"photo_id":"1326521142","filename":"file0"},{"photo_id":"1326521344","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326521344":["hashtag1","hashtag2"]},{"1326521341":["hashtag1","hashtag2"]},{"1326521142":["hashtag1","hashtag2"]},{"1326521322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326521344, 1326521341, 1326521142, 1326521322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.228922843933105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:45:03.082689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:45:22.456610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/44/image_04012025_11_44_02_483808_0003.jpg', '/home/pi/Desktop/images/04012025/11/45/image_04012025_11_45_02_801638_0000.jpg', '/home/pi/Desktop/images/04012025/11/45/image_04012025_11_45_02_801638_0001.jpg', '/home/pi/Desktop/images/04012025/11/45/image_04012025_11_45_02_801638_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/44/image_04012025_11_44_02_483808_0003.jpg
/home/pi/Desktop/images/04012025/11/45/image_04012025_11_45_02_801638_0000.jpg
/home/pi/Desktop/images/04012025/11/45/image_04012025_11_45_02_801638_0001.jpg
/home/pi/Desktop/images/04012025/11/45/image_04012025_11_45_02_801638_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.663399457931519 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 11:45:32.446721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/44/image_04012025_11_44_02_483808_0003.jpg', '/home/pi/Desktop/images/04012025/11/45/image_04012025_11_45_02_801638_0000.jpg', '/home/pi/Desktop/images/04012025/11/45/image_04012025_11_45_02_801638_0001.jpg', '/home/pi/Desktop/images/04012025/11/45/image_04012025_11_45_02_801638_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/44/image_04012025_11_44_02_483808_0003.jpg
/home/pi/Desktop/images/04012025/11/45/image_04012025_11_45_02_801638_0000.jpg
/home/pi/Desktop/images/04012025/11/45/image_04012025_11_45_02_801638_0001.jpg
/home/pi/Desktop/images/04012025/11/45/image_04012025_11_45_02_801638_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326521627","1326521609","1326521629","1326521620"],"photo_ids_order":["1326521609","1326521620","1326521627","1326521629"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a77c73ca491db91a68af44d886a65ff4.jpg","text":"TemporaryFile(/tmp/multipartBody7640050055913353551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987601513,"filename":"image_04012025_11_45_02_801638_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/45b04f5eb00d0b1a9f04af451e88aeba.jpg","text":"TemporaryFile(/tmp/multipartBody7779007016984704093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987601513,"filename":"image_04012025_11_44_02_483808_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d75fd27b0e425cf3cb00d14dd125b723.jpg","text":"TemporaryFile(/tmp/multipartBody627825485602476723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987601513,"filename":"image_04012025_11_45_02_801638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4dfa886f3181d04aa53521578253329e.jpg","text":"TemporaryFile(/tmp/multipartBody8033454087461583538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987601513,"filename":"image_04012025_11_45_02_801638_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326521627","file1":"1326521620","file0":"1326521609","file3":"1326521629"},"map_files_photo_id_array":[{"photo_id":"1326521627","filename":"file2"},{"photo_id":"1326521620","filename":"file1"},{"photo_id":"1326521609","filename":"file0"},{"photo_id":"1326521629","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326521627":["hashtag1","hashtag2"]},{"1326521609":["hashtag1","hashtag2"]},{"1326521629":["hashtag1","hashtag2"]},{"1326521620":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326521627, 1326521609, 1326521629, 1326521620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.87167143821716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:46:22.735535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/45/image_04012025_11_45_02_801638_0003.jpg', '/home/pi/Desktop/images/04012025/11/46/image_04012025_11_46_02_836012_0000.jpg', '/home/pi/Desktop/images/04012025/11/46/image_04012025_11_46_02_836012_0001.jpg', '/home/pi/Desktop/images/04012025/11/46/image_04012025_11_46_02_836012_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/45/image_04012025_11_45_02_801638_0003.jpg
/home/pi/Desktop/images/04012025/11/46/image_04012025_11_46_02_836012_0000.jpg
/home/pi/Desktop/images/04012025/11/46/image_04012025_11_46_02_836012_0001.jpg
/home/pi/Desktop/images/04012025/11/46/image_04012025_11_46_02_836012_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326521909","1326521926","1326521836","1326521778"],"photo_ids_order":["1326521778","1326521836","1326521909","1326521926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d6af4b9e148710183c3671c1536a098.jpg","text":"TemporaryFile(/tmp/multipartBody374689434350155932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987652435,"filename":"image_04012025_11_46_02_836012_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7c4412d8a61a7aa4581cad1d757bdebe.jpg","text":"TemporaryFile(/tmp/multipartBody4500520535191764591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987652435,"filename":"image_04012025_11_46_02_836012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0e1191d2aa43dc1d4411a5def7dc6b94.jpg","text":"TemporaryFile(/tmp/multipartBody8775454542999255944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987652435,"filename":"image_04012025_11_46_02_836012_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b541251ad2a4b7df06e9c9dc75ae48b6.jpg","text":"TemporaryFile(/tmp/multipartBody8741946587626264744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987652435,"filename":"image_04012025_11_45_02_801638_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326521909","file1":"1326521836","file0":"1326521778","file3":"1326521926"},"map_files_photo_id_array":[{"photo_id":"1326521909","filename":"file2"},{"photo_id":"1326521836","filename":"file1"},{"photo_id":"1326521778","filename":"file0"},{"photo_id":"1326521926","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326521909":["hashtag1","hashtag2"]},{"1326521926":["hashtag1","hashtag2"]},{"1326521836":["hashtag1","hashtag2"]},{"1326521778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326521909, 1326521926, 1326521836, 1326521778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1988890171051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:47:21.764178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/46/image_04012025_11_46_02_836012_0003.jpg', '/home/pi/Desktop/images/04012025/11/47/image_04012025_11_47_02_971333_0000.jpg', '/home/pi/Desktop/images/04012025/11/47/image_04012025_11_47_02_971333_0001.jpg', '/home/pi/Desktop/images/04012025/11/47/image_04012025_11_47_02_971333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/46/image_04012025_11_46_02_836012_0003.jpg
/home/pi/Desktop/images/04012025/11/47/image_04012025_11_47_02_971333_0000.jpg
/home/pi/Desktop/images/04012025/11/47/image_04012025_11_47_02_971333_0001.jpg
/home/pi/Desktop/images/04012025/11/47/image_04012025_11_47_02_971333_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326522151","1326522220","1326522214","1326522147"],"photo_ids_order":["1326522147","1326522151","1326522214","1326522220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/45ed0797225329538654c396d40b2ba3.jpg","text":"TemporaryFile(/tmp/multipartBody580453030784845765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987711596,"filename":"image_04012025_11_47_02_971333_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a839a419b94652ec8e879e7cce9e8db4.jpg","text":"TemporaryFile(/tmp/multipartBody4746204585425278662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987711596,"filename":"image_04012025_11_47_02_971333_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d11556101a42c501a9e8f7b379230977.jpg","text":"TemporaryFile(/tmp/multipartBody2617299185384001531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987711596,"filename":"image_04012025_11_47_02_971333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f197e0804a78937a2047497ba6a0501.jpg","text":"TemporaryFile(/tmp/multipartBody2568228771357776554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987711596,"filename":"image_04012025_11_46_02_836012_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326522214","file1":"1326522151","file0":"1326522147","file3":"1326522220"},"map_files_photo_id_array":[{"photo_id":"1326522214","filename":"file2"},{"photo_id":"1326522151","filename":"file1"},{"photo_id":"1326522147","filename":"file0"},{"photo_id":"1326522220","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326522151":["hashtag1","hashtag2"]},{"1326522220":["hashtag1","hashtag2"]},{"1326522214":["hashtag1","hashtag2"]},{"1326522147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326522151, 1326522220, 1326522214, 1326522147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.040148973464966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:48:02.410115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:48:22.007703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/47/image_04012025_11_47_02_971333_0003.jpg', '/home/pi/Desktop/images/04012025/11/48/image_04012025_11_48_02_223787_0000.jpg', '/home/pi/Desktop/images/04012025/11/48/image_04012025_11_48_02_223787_0001.jpg', '/home/pi/Desktop/images/04012025/11/48/image_04012025_11_48_02_223787_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/47/image_04012025_11_47_02_971333_0003.jpg
/home/pi/Desktop/images/04012025/11/48/image_04012025_11_48_02_223787_0000.jpg
/home/pi/Desktop/images/04012025/11/48/image_04012025_11_48_02_223787_0001.jpg
/home/pi/Desktop/images/04012025/11/48/image_04012025_11_48_02_223787_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326522293","1326522287","1326522266","1326522271"],"photo_ids_order":["1326522266","1326522271","1326522287","1326522293"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7f0b40fca14687fc9671e6735e83845.jpg","text":"TemporaryFile(/tmp/multipartBody6858126640421247400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987771750,"filename":"image_04012025_11_48_02_223787_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d5729888a52e263b109777151c13ad5a.jpg","text":"TemporaryFile(/tmp/multipartBody8504732216571269949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987771750,"filename":"image_04012025_11_48_02_223787_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ae9ec87e4c778b5b0976a5a7d4c2ebf.jpg","text":"TemporaryFile(/tmp/multipartBody5692423349407599730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987771750,"filename":"image_04012025_11_47_02_971333_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8b013862843dd520c256dbe70011e789.jpg","text":"TemporaryFile(/tmp/multipartBody7268334213238067768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987771750,"filename":"image_04012025_11_48_02_223787_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326522287","file1":"1326522271","file0":"1326522266","file3":"1326522293"},"map_files_photo_id_array":[{"photo_id":"1326522287","filename":"file2"},{"photo_id":"1326522271","filename":"file1"},{"photo_id":"1326522266","filename":"file0"},{"photo_id":"1326522293","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326522293":["hashtag1","hashtag2"]},{"1326522287":["hashtag1","hashtag2"]},{"1326522266":["hashtag1","hashtag2"]},{"1326522271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326522293, 1326522287, 1326522266, 1326522271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.544917583465576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:49:02.765507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:49:22.142770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/48/image_04012025_11_48_02_223787_0003.jpg', '/home/pi/Desktop/images/04012025/11/49/image_04012025_11_49_02_329336_0000.jpg', '/home/pi/Desktop/images/04012025/11/49/image_04012025_11_49_02_329336_0001.jpg', '/home/pi/Desktop/images/04012025/11/49/image_04012025_11_49_02_329336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/48/image_04012025_11_48_02_223787_0003.jpg
/home/pi/Desktop/images/04012025/11/49/image_04012025_11_49_02_329336_0000.jpg
/home/pi/Desktop/images/04012025/11/49/image_04012025_11_49_02_329336_0001.jpg
/home/pi/Desktop/images/04012025/11/49/image_04012025_11_49_02_329336_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326522763","1326522643","1326522886","1326522515"],"photo_ids_order":["1326522515","1326522643","1326522763","1326522886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f90743676cf570f2f8749d8d912f9dcd.jpg","text":"TemporaryFile(/tmp/multipartBody881237440381234861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987831734,"filename":"image_04012025_11_49_02_329336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f022c12fb143f7808647507f790d2c1f.jpg","text":"TemporaryFile(/tmp/multipartBody6432317908885479402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987831734,"filename":"image_04012025_11_49_02_329336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8b656037179fbef8941843003cf57da6.jpg","text":"TemporaryFile(/tmp/multipartBody8114847883030605826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987831734,"filename":"image_04012025_11_49_02_329336_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e8c538b97db5a5e7358be25eeae51b26.jpg","text":"TemporaryFile(/tmp/multipartBody407790981252845543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987831734,"filename":"image_04012025_11_48_02_223787_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326522763","file1":"1326522643","file0":"1326522515","file3":"1326522886"},"map_files_photo_id_array":[{"photo_id":"1326522763","filename":"file2"},{"photo_id":"1326522643","filename":"file1"},{"photo_id":"1326522515","filename":"file0"},{"photo_id":"1326522886","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326522763":["hashtag1","hashtag2"]},{"1326522643":["hashtag1","hashtag2"]},{"1326522886":["hashtag1","hashtag2"]},{"1326522515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326522763, 1326522643, 1326522886, 1326522515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.14860224723816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:50:02.948303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:50:22.451717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/49/image_04012025_11_49_02_329336_0003.jpg', '/home/pi/Desktop/images/04012025/11/50/image_04012025_11_50_02_528119_0000.jpg', '/home/pi/Desktop/images/04012025/11/50/image_04012025_11_50_02_528119_0001.jpg', '/home/pi/Desktop/images/04012025/11/50/image_04012025_11_50_02_528119_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/49/image_04012025_11_49_02_329336_0003.jpg
/home/pi/Desktop/images/04012025/11/50/image_04012025_11_50_02_528119_0000.jpg
/home/pi/Desktop/images/04012025/11/50/image_04012025_11_50_02_528119_0001.jpg
/home/pi/Desktop/images/04012025/11/50/image_04012025_11_50_02_528119_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326523194","1326523464","1326523365","1326523394"],"photo_ids_order":["1326523194","1326523365","1326523394","1326523464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f20eb92d891c4f0df5b8b3ae741419df.jpg","text":"TemporaryFile(/tmp/multipartBody8189072296769647723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987892122,"filename":"image_04012025_11_49_02_329336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8885f25efa7b3e9186c830583325cc95.jpg","text":"TemporaryFile(/tmp/multipartBody1555481084712689078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987892122,"filename":"image_04012025_11_50_02_528119_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7353e9dddd01b2503d7b4f7e887c505.jpg","text":"TemporaryFile(/tmp/multipartBody4472502492037997267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987892122,"filename":"image_04012025_11_50_02_528119_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8cfd4c4c4592053f8fb4857c9f1cd06c.jpg","text":"TemporaryFile(/tmp/multipartBody960042897215550688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987892122,"filename":"image_04012025_11_50_02_528119_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326523394","file1":"1326523365","file0":"1326523194","file3":"1326523464"},"map_files_photo_id_array":[{"photo_id":"1326523394","filename":"file2"},{"photo_id":"1326523365","filename":"file1"},{"photo_id":"1326523194","filename":"file0"},{"photo_id":"1326523464","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326523194":["hashtag1","hashtag2"]},{"1326523464":["hashtag1","hashtag2"]},{"1326523365":["hashtag1","hashtag2"]},{"1326523394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326523194, 1326523464, 1326523365, 1326523394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.1987030506134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:51:03.262990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:51:22.576300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/50/image_04012025_11_50_02_528119_0003.jpg', '/home/pi/Desktop/images/04012025/11/51/image_04012025_11_51_02_805355_0000.jpg', '/home/pi/Desktop/images/04012025/11/51/image_04012025_11_51_02_805355_0001.jpg', '/home/pi/Desktop/images/04012025/11/51/image_04012025_11_51_02_805355_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/50/image_04012025_11_50_02_528119_0003.jpg
/home/pi/Desktop/images/04012025/11/51/image_04012025_11_51_02_805355_0000.jpg
/home/pi/Desktop/images/04012025/11/51/image_04012025_11_51_02_805355_0001.jpg
/home/pi/Desktop/images/04012025/11/51/image_04012025_11_51_02_805355_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326523773","1326523781","1326523847","1326523777"],"photo_ids_order":["1326523773","1326523777","1326523781","1326523847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ff97d60c1877d67ea723b7858734099d.jpg","text":"TemporaryFile(/tmp/multipartBody2081777461893809352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987952407,"filename":"image_04012025_11_50_02_528119_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a778177b3100579ffd428866b4b7a233.jpg","text":"TemporaryFile(/tmp/multipartBody2130034322932599045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987952407,"filename":"image_04012025_11_51_02_805355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b3376fe336f477065366f67bc52186c9.jpg","text":"TemporaryFile(/tmp/multipartBody4410499235533746733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987952407,"filename":"image_04012025_11_51_02_805355_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3f118dc1c6762eb1de24033f103808e8.jpg","text":"TemporaryFile(/tmp/multipartBody6546265762318168701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735987952407,"filename":"image_04012025_11_51_02_805355_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326523781","file1":"1326523777","file0":"1326523773","file3":"1326523847"},"map_files_photo_id_array":[{"photo_id":"1326523781","filename":"file2"},{"photo_id":"1326523777","filename":"file1"},{"photo_id":"1326523773","filename":"file0"},{"photo_id":"1326523847","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326523773":["hashtag1","hashtag2"]},{"1326523781":["hashtag1","hashtag2"]},{"1326523847":["hashtag1","hashtag2"]},{"1326523777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326523773, 1326523781, 1326523847, 1326523777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.668280363082886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:52:03.260406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:52:22.718087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/51/image_04012025_11_51_02_805355_0003.jpg', '/home/pi/Desktop/images/04012025/11/52/image_04012025_11_52_02_940710_0000.jpg', '/home/pi/Desktop/images/04012025/11/52/image_04012025_11_52_02_940710_0001.jpg', '/home/pi/Desktop/images/04012025/11/52/image_04012025_11_52_02_940710_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/51/image_04012025_11_51_02_805355_0003.jpg
/home/pi/Desktop/images/04012025/11/52/image_04012025_11_52_02_940710_0000.jpg
/home/pi/Desktop/images/04012025/11/52/image_04012025_11_52_02_940710_0001.jpg
/home/pi/Desktop/images/04012025/11/52/image_04012025_11_52_02_940710_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326524433","1326524436","1326524441","1326524485"],"photo_ids_order":["1326524433","1326524436","1326524441","1326524485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/31f7b15205f36b7e83f62d91318de00f.jpg","text":"TemporaryFile(/tmp/multipartBody3319910414363386378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988012552,"filename":"image_04012025_11_51_02_805355_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b45c1c530d4485b89cb8c99ce665fe60.jpg","text":"TemporaryFile(/tmp/multipartBody3485729504985982811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988012552,"filename":"image_04012025_11_52_02_940710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ad53f1d75bff43e2eb5feb7ca1e1ea25.jpg","text":"TemporaryFile(/tmp/multipartBody4718113603281648419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988012552,"filename":"image_04012025_11_52_02_940710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3af0ea4e054d4a8215efa84d6be779ac.jpg","text":"TemporaryFile(/tmp/multipartBody7678945264337059547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988012552,"filename":"image_04012025_11_52_02_940710_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326524441","file1":"1326524436","file0":"1326524433","file3":"1326524485"},"map_files_photo_id_array":[{"photo_id":"1326524441","filename":"file2"},{"photo_id":"1326524436","filename":"file1"},{"photo_id":"1326524433","filename":"file0"},{"photo_id":"1326524485","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326524433":["hashtag1","hashtag2"]},{"1326524436":["hashtag1","hashtag2"]},{"1326524441":["hashtag1","hashtag2"]},{"1326524485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326524433, 1326524436, 1326524441, 1326524485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.23986268043518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:53:02.665212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:53:21.893024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/52/image_04012025_11_52_02_940710_0003.jpg', '/home/pi/Desktop/images/04012025/11/53/image_04012025_11_53_03_157605_0000.jpg', '/home/pi/Desktop/images/04012025/11/53/image_04012025_11_53_03_157605_0001.jpg', '/home/pi/Desktop/images/04012025/11/53/image_04012025_11_53_03_157605_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/52/image_04012025_11_52_02_940710_0003.jpg
/home/pi/Desktop/images/04012025/11/53/image_04012025_11_53_03_157605_0000.jpg
/home/pi/Desktop/images/04012025/11/53/image_04012025_11_53_03_157605_0001.jpg
/home/pi/Desktop/images/04012025/11/53/image_04012025_11_53_03_157605_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326524862","1326524828","1326524866","1326524833"],"photo_ids_order":["1326524828","1326524833","1326524862","1326524866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/099e86686c4aa849992dc1274a712c9f.jpg","text":"TemporaryFile(/tmp/multipartBody9211715852564398139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988071780,"filename":"image_04012025_11_53_03_157605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/78176d0ff44a18de2ed11b7c439d31f1.jpg","text":"TemporaryFile(/tmp/multipartBody1886486311378617106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988071780,"filename":"image_04012025_11_52_02_940710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/91b4a1641980746f587e4041bb23bddc.jpg","text":"TemporaryFile(/tmp/multipartBody6194795956595617290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988071780,"filename":"image_04012025_11_53_03_157605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/824fd2412e65a66ed8e9bbef14688491.jpg","text":"TemporaryFile(/tmp/multipartBody8232685659854253792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988071780,"filename":"image_04012025_11_53_03_157605_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326524862","file1":"1326524833","file0":"1326524828","file3":"1326524866"},"map_files_photo_id_array":[{"photo_id":"1326524862","filename":"file2"},{"photo_id":"1326524833","filename":"file1"},{"photo_id":"1326524828","filename":"file0"},{"photo_id":"1326524866","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326524862":["hashtag1","hashtag2"]},{"1326524828":["hashtag1","hashtag2"]},{"1326524866":["hashtag1","hashtag2"]},{"1326524833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326524862, 1326524828, 1326524866, 1326524833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.807300329208374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:54:02.565816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:54:22.143203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/53/image_04012025_11_53_03_157605_0003.jpg', '/home/pi/Desktop/images/04012025/11/54/image_04012025_11_54_02_312148_0000.jpg', '/home/pi/Desktop/images/04012025/11/54/image_04012025_11_54_02_312148_0001.jpg', '/home/pi/Desktop/images/04012025/11/54/image_04012025_11_54_02_312148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/53/image_04012025_11_53_03_157605_0003.jpg
/home/pi/Desktop/images/04012025/11/54/image_04012025_11_54_02_312148_0000.jpg
/home/pi/Desktop/images/04012025/11/54/image_04012025_11_54_02_312148_0001.jpg
/home/pi/Desktop/images/04012025/11/54/image_04012025_11_54_02_312148_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326524958","1326525000","1326524963","1326524979"],"photo_ids_order":["1326524958","1326524963","1326524979","1326525000"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/658dc56db1d557be863f62d92355b47b.jpg","text":"TemporaryFile(/tmp/multipartBody414989322292054098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988132028,"filename":"image_04012025_11_53_03_157605_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0222e95de8a3bacec86ad922e5b4b35d.jpg","text":"TemporaryFile(/tmp/multipartBody7680293918026425997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988132028,"filename":"image_04012025_11_54_02_312148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/468d3c2a367479e3c80a56ef5bcfb99b.jpg","text":"TemporaryFile(/tmp/multipartBody7430797163984592210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988132028,"filename":"image_04012025_11_54_02_312148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4bc3c6935a6a53a05b5b46f1eb424b0a.jpg","text":"TemporaryFile(/tmp/multipartBody4358793860960351070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988132028,"filename":"image_04012025_11_54_02_312148_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326524979","file1":"1326524963","file0":"1326524958","file3":"1326525000"},"map_files_photo_id_array":[{"photo_id":"1326524979","filename":"file2"},{"photo_id":"1326524963","filename":"file1"},{"photo_id":"1326524958","filename":"file0"},{"photo_id":"1326525000","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326524958":["hashtag1","hashtag2"]},{"1326525000":["hashtag1","hashtag2"]},{"1326524963":["hashtag1","hashtag2"]},{"1326524979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326524958, 1326525000, 1326524963, 1326524979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.61163949966431 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:55:03.036413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:55:22.273301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/54/image_04012025_11_54_02_312148_0003.jpg', '/home/pi/Desktop/images/04012025/11/55/image_04012025_11_55_02_438043_0000.jpg', '/home/pi/Desktop/images/04012025/11/55/image_04012025_11_55_02_438043_0001.jpg', '/home/pi/Desktop/images/04012025/11/55/image_04012025_11_55_02_438043_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/54/image_04012025_11_54_02_312148_0003.jpg
/home/pi/Desktop/images/04012025/11/55/image_04012025_11_55_02_438043_0000.jpg
/home/pi/Desktop/images/04012025/11/55/image_04012025_11_55_02_438043_0001.jpg
/home/pi/Desktop/images/04012025/11/55/image_04012025_11_55_02_438043_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326525071","1326525215","1326525211","1326525189"],"photo_ids_order":["1326525071","1326525189","1326525211","1326525215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a4f244afbdda162c4016302e322d9b55.jpg","text":"TemporaryFile(/tmp/multipartBody8020372456017707448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988192220,"filename":"image_04012025_11_54_02_312148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85b7c919d65c2f4d49c68bbfabb8ed04.jpg","text":"TemporaryFile(/tmp/multipartBody5701665217174681709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988192220,"filename":"image_04012025_11_55_02_438043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c3c2f6c07f9f5f11f52908b3022155a1.jpg","text":"TemporaryFile(/tmp/multipartBody1578535186130787202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988192220,"filename":"image_04012025_11_55_02_438043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fa5c02472285f6beace005e19e9d8c61.jpg","text":"TemporaryFile(/tmp/multipartBody2591523762762729821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988192220,"filename":"image_04012025_11_55_02_438043_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326525211","file1":"1326525189","file0":"1326525071","file3":"1326525215"},"map_files_photo_id_array":[{"photo_id":"1326525211","filename":"file2"},{"photo_id":"1326525189","filename":"file1"},{"photo_id":"1326525071","filename":"file0"},{"photo_id":"1326525215","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326525071":["hashtag1","hashtag2"]},{"1326525215":["hashtag1","hashtag2"]},{"1326525211":["hashtag1","hashtag2"]},{"1326525189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326525071, 1326525215, 1326525211, 1326525189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.484999656677246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:56:02.849826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:56:22.476875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/55/image_04012025_11_55_02_438043_0003.jpg', '/home/pi/Desktop/images/04012025/11/56/image_04012025_11_56_02_632227_0000.jpg', '/home/pi/Desktop/images/04012025/11/56/image_04012025_11_56_02_632227_0001.jpg', '/home/pi/Desktop/images/04012025/11/56/image_04012025_11_56_02_632227_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/55/image_04012025_11_55_02_438043_0003.jpg
/home/pi/Desktop/images/04012025/11/56/image_04012025_11_56_02_632227_0000.jpg
/home/pi/Desktop/images/04012025/11/56/image_04012025_11_56_02_632227_0001.jpg
/home/pi/Desktop/images/04012025/11/56/image_04012025_11_56_02_632227_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326525309","1326525536","1326525397","1326525313"],"photo_ids_order":["1326525309","1326525313","1326525397","1326525536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f6313fde1fbcb0327ba00bf9ad6d2c9.jpg","text":"TemporaryFile(/tmp/multipartBody6879752592576739891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988252440,"filename":"image_04012025_11_55_02_438043_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dde996f425a4d646a55a94e7dc522d2d.jpg","text":"TemporaryFile(/tmp/multipartBody4563629651054247972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988252440,"filename":"image_04012025_11_56_02_632227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/46b98cc0c25fa8d1a85db8499c94ce52.jpg","text":"TemporaryFile(/tmp/multipartBody6630888378313677993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988252440,"filename":"image_04012025_11_56_02_632227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fb414bc819b0084d2318848036a21ec1.jpg","text":"TemporaryFile(/tmp/multipartBody1573961135356271034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988252440,"filename":"image_04012025_11_56_02_632227_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326525397","file1":"1326525313","file0":"1326525309","file3":"1326525536"},"map_files_photo_id_array":[{"photo_id":"1326525397","filename":"file2"},{"photo_id":"1326525313","filename":"file1"},{"photo_id":"1326525309","filename":"file0"},{"photo_id":"1326525536","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326525309":["hashtag1","hashtag2"]},{"1326525536":["hashtag1","hashtag2"]},{"1326525397":["hashtag1","hashtag2"]},{"1326525313":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326525309, 1326525536, 1326525397, 1326525313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.399192810058594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:57:03.260459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 11:57:22.799436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/56/image_04012025_11_56_02_632227_0003.jpg', '/home/pi/Desktop/images/04012025/11/57/image_04012025_11_57_02_885333_0000.jpg', '/home/pi/Desktop/images/04012025/11/57/image_04012025_11_57_02_885333_0001.jpg', '/home/pi/Desktop/images/04012025/11/57/image_04012025_11_57_02_885333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/56/image_04012025_11_56_02_632227_0003.jpg
/home/pi/Desktop/images/04012025/11/57/image_04012025_11_57_02_885333_0000.jpg
/home/pi/Desktop/images/04012025/11/57/image_04012025_11_57_02_885333_0001.jpg
/home/pi/Desktop/images/04012025/11/57/image_04012025_11_57_02_885333_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326525686","1326525689","1326525680","1326525673"],"photo_ids_order":["1326525673","1326525680","1326525686","1326525689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/edc9f60e2ba6b824512183e880f6188c.jpg","text":"TemporaryFile(/tmp/multipartBody6148631833148443336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988312717,"filename":"image_04012025_11_57_02_885333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e9744856854c432d030287b6aeb4ab50.jpg","text":"TemporaryFile(/tmp/multipartBody3549447069069348914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988312717,"filename":"image_04012025_11_57_02_885333_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a6d811351f6a0033cf905506e9f8f911.jpg","text":"TemporaryFile(/tmp/multipartBody3177381012256626782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988312717,"filename":"image_04012025_11_57_02_885333_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fbc5034a0d50634fe6679ceec17320ab.jpg","text":"TemporaryFile(/tmp/multipartBody6740963454000938865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988312717,"filename":"image_04012025_11_56_02_632227_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326525686","file1":"1326525680","file0":"1326525673","file3":"1326525689"},"map_files_photo_id_array":[{"photo_id":"1326525686","filename":"file2"},{"photo_id":"1326525680","filename":"file1"},{"photo_id":"1326525673","filename":"file0"},{"photo_id":"1326525689","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326525686":["hashtag1","hashtag2"]},{"1326525689":["hashtag1","hashtag2"]},{"1326525680":["hashtag1","hashtag2"]},{"1326525673":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326525686, 1326525689, 1326525680, 1326525673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.07627272605896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 11:59:02.560571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/57/image_04012025_11_57_02_885333_0003.jpg', '/home/pi/Desktop/images/04012025/11/58/image_04012025_11_58_03_068805_0000.jpg', '/home/pi/Desktop/images/04012025/11/58/image_04012025_11_58_03_068805_0001.jpg', '/home/pi/Desktop/images/04012025/11/58/image_04012025_11_58_03_068805_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/57/image_04012025_11_57_02_885333_0003.jpg
/home/pi/Desktop/images/04012025/11/58/image_04012025_11_58_03_068805_0000.jpg
/home/pi/Desktop/images/04012025/11/58/image_04012025_11_58_03_068805_0001.jpg
/home/pi/Desktop/images/04012025/11/58/image_04012025_11_58_03_068805_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326527092","1326527206","1326527202","1326527153"],"photo_ids_order":["1326527092","1326527153","1326527202","1326527206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1cfaefa488b058ed7ee465f08dc1c0e1.jpg","text":"TemporaryFile(/tmp/multipartBody2235872454490285039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988412245,"filename":"image_04012025_11_57_02_885333_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a47c757b58634269ddde4869cdc3667b.jpg","text":"TemporaryFile(/tmp/multipartBody2716041875402607889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988412245,"filename":"image_04012025_11_58_03_068805_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c964482600b8aed23e3900ccdd2e92da.jpg","text":"TemporaryFile(/tmp/multipartBody4363465337844759367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988412245,"filename":"image_04012025_11_58_03_068805_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2f3c80f87db7cbf078d0adfb0c8b6c56.jpg","text":"TemporaryFile(/tmp/multipartBody4285530809459154784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988412245,"filename":"image_04012025_11_58_03_068805_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326527202","file1":"1326527153","file0":"1326527092","file3":"1326527206"},"map_files_photo_id_array":[{"photo_id":"1326527202","filename":"file2"},{"photo_id":"1326527153","filename":"file1"},{"photo_id":"1326527092","filename":"file0"},{"photo_id":"1326527206","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326527092":["hashtag1","hashtag2"]},{"1326527206":["hashtag1","hashtag2"]},{"1326527202":["hashtag1","hashtag2"]},{"1326527153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326527092, 1326527206, 1326527202, 1326527153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.40591335296631 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 11:59:41.950730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/58/image_04012025_11_58_03_068805_0003.jpg', '/home/pi/Desktop/images/04012025/11/59/image_04012025_11_59_02_177894_0000.jpg', '/home/pi/Desktop/images/04012025/11/59/image_04012025_11_59_02_177894_0001.jpg', '/home/pi/Desktop/images/04012025/11/59/image_04012025_11_59_02_177894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/58/image_04012025_11_58_03_068805_0003.jpg
/home/pi/Desktop/images/04012025/11/59/image_04012025_11_59_02_177894_0000.jpg
/home/pi/Desktop/images/04012025/11/59/image_04012025_11_59_02_177894_0001.jpg
/home/pi/Desktop/images/04012025/11/59/image_04012025_11_59_02_177894_0002.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:01:21.151651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/58/image_04012025_11_58_03_068805_0003.jpg', '/home/pi/Desktop/images/04012025/11/59/image_04012025_11_59_02_177894_0000.jpg', '/home/pi/Desktop/images/04012025/11/59/image_04012025_11_59_02_177894_0001.jpg', '/home/pi/Desktop/images/04012025/11/59/image_04012025_11_59_02_177894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/58/image_04012025_11_58_03_068805_0003.jpg
/home/pi/Desktop/images/04012025/11/59/image_04012025_11_59_02_177894_0000.jpg
/home/pi/Desktop/images/04012025/11/59/image_04012025_11_59_02_177894_0001.jpg
/home/pi/Desktop/images/04012025/11/59/image_04012025_11_59_02_177894_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326527898","1326528174","1326527958","1326527913"],"photo_ids_order":["1326527898","1326527913","1326527958","1326528174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/be13ebca9f96990f4b3f4cb9bf34339e.jpg","text":"TemporaryFile(/tmp/multipartBody5093740195979545803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988550996,"filename":"image_04012025_11_58_03_068805_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fb6472b5b151540edf737700ff374f71.jpg","text":"TemporaryFile(/tmp/multipartBody8544971730742933006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988550996,"filename":"image_04012025_11_59_02_177894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b2a8bd738bc4d06fbf567980e0406f85.jpg","text":"TemporaryFile(/tmp/multipartBody3779736672148567220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988550996,"filename":"image_04012025_11_59_02_177894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/601d724949bd6bc71456913ae845a09c.jpg","text":"TemporaryFile(/tmp/multipartBody3180154695076487902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988550996,"filename":"image_04012025_11_59_02_177894_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326527958","file1":"1326527913","file0":"1326527898","file3":"1326528174"},"map_files_photo_id_array":[{"photo_id":"1326527958","filename":"file2"},{"photo_id":"1326527913","filename":"file1"},{"photo_id":"1326527898","filename":"file0"},{"photo_id":"1326528174","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326527898":["hashtag1","hashtag2"]},{"1326528174":["hashtag1","hashtag2"]},{"1326527958":["hashtag1","hashtag2"]},{"1326527913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326527898, 1326528174, 1326527958, 1326527913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.31903791427612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:02:02.704565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/11/59/image_04012025_11_59_02_177894_0003.jpg', '/home/pi/Desktop/images/04012025/12/00/image_04012025_12_00_02_489726_0000.jpg', '/home/pi/Desktop/images/04012025/12/00/image_04012025_12_00_02_489726_0001.jpg', '/home/pi/Desktop/images/04012025/12/00/image_04012025_12_00_02_489726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/11/59/image_04012025_11_59_02_177894_0003.jpg
/home/pi/Desktop/images/04012025/12/00/image_04012025_12_00_02_489726_0000.jpg
/home/pi/Desktop/images/04012025/12/00/image_04012025_12_00_02_489726_0001.jpg
/home/pi/Desktop/images/04012025/12/00/image_04012025_12_00_02_489726_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326528633","1326528698","1326528632","1326528656"],"photo_ids_order":["1326528632","1326528633","1326528656","1326528698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/95522ff831b04955817d9cec46f4b011.jpg","text":"TemporaryFile(/tmp/multipartBody6605360947365702440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988591773,"filename":"image_04012025_12_00_02_489726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/afe5a7ab83c2c3fb1e0f6ff12717ceb6.jpg","text":"TemporaryFile(/tmp/multipartBody1749962144078945955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988591773,"filename":"image_04012025_12_00_02_489726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c6f56f339fc02be1b0f2f5c6cbc11fa6.jpg","text":"TemporaryFile(/tmp/multipartBody3266069706136904413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988591773,"filename":"image_04012025_11_59_02_177894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c9d8cff54da59cf429ac810e4336637e.jpg","text":"TemporaryFile(/tmp/multipartBody6009044724252505096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988591773,"filename":"image_04012025_12_00_02_489726_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326528656","file1":"1326528633","file0":"1326528632","file3":"1326528698"},"map_files_photo_id_array":[{"photo_id":"1326528656","filename":"file2"},{"photo_id":"1326528633","filename":"file1"},{"photo_id":"1326528632","filename":"file0"},{"photo_id":"1326528698","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326528633":["hashtag1","hashtag2"]},{"1326528698":["hashtag1","hashtag2"]},{"1326528632":["hashtag1","hashtag2"]},{"1326528656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326528633, 1326528698, 1326528632, 1326528656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.86932420730591 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 12:02:42.198116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/00/image_04012025_12_00_02_489726_0003.jpg', '/home/pi/Desktop/images/04012025/12/02/image_04012025_12_02_19_337694_0000.jpg', '/home/pi/Desktop/images/04012025/12/02/image_04012025_12_02_19_337694_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/00/image_04012025_12_00_02_489726_0003.jpg
/home/pi/Desktop/images/04012025/12/02/image_04012025_12_02_19_337694_0000.jpg
/home/pi/Desktop/images/04012025/12/02/image_04012025_12_02_19_337694_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":["1326528822","1326528813","1326528785"],"photo_ids_order":["1326528785","1326528813","1326528822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bc0efa37bfdb9b477e84f3b8d554c3f2.jpg","text":"TemporaryFile(/tmp/multipartBody105241948811752205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988630141,"filename":"image_04012025_12_02_19_337694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aacb9ff76a1c3c0e66db56d11e628d6b.jpg","text":"TemporaryFile(/tmp/multipartBody2549593820777587118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988630141,"filename":"image_04012025_12_02_19_337694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d0b087d1b1342f7ed5e20cb1a264700a.jpg","text":"TemporaryFile(/tmp/multipartBody3997076077538147062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988630141,"filename":"image_04012025_12_00_02_489726_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326528822","file1":"1326528813","file0":"1326528785"},"map_files_photo_id_array":[{"photo_id":"1326528822","filename":"file2"},{"photo_id":"1326528813","filename":"file1"},{"photo_id":"1326528785","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326528822":["hashtag1","hashtag2"]},{"1326528813":["hashtag1","hashtag2"]},{"1326528785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326528822, 1326528813, 1326528785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.29131507873535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:03:22.472777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/02/image_04012025_12_02_19_337694_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/02/image_04012025_12_02_19_337694_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326529019"],"photo_id":"1326529019","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aeb39921ba8989fcbee513ef148c06d8.jpg","text":"TemporaryFile(/tmp/multipartBody5381262340846984685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988665516,"filename":"image_04012025_12_02_19_337694_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326529019"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326529019"}],"hashtags":[],"portfolio_id":"19403015","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.737268209457397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 12:03:42.415231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 12:03:52.340928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:04:02.972964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:04:22.571428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/02/image_04012025_12_02_19_337694_0003.jpg', '/home/pi/Desktop/images/04012025/12/04/image_04012025_12_04_02_773772_0000.jpg', '/home/pi/Desktop/images/04012025/12/04/image_04012025_12_04_02_773772_0001.jpg', '/home/pi/Desktop/images/04012025/12/04/image_04012025_12_04_02_773772_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/02/image_04012025_12_02_19_337694_0003.jpg
/home/pi/Desktop/images/04012025/12/04/image_04012025_12_04_02_773772_0000.jpg
/home/pi/Desktop/images/04012025/12/04/image_04012025_12_04_02_773772_0001.jpg
/home/pi/Desktop/images/04012025/12/04/image_04012025_12_04_02_773772_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326529374","1326529484","1326529391","1326529510"],"photo_ids_order":["1326529374","1326529391","1326529484","1326529510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/22256ed4d2d573653d8a0da31d6e7d12.jpg","text":"TemporaryFile(/tmp/multipartBody2075347507128053171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988733360,"filename":"image_04012025_12_02_19_337694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d0a40107af72f1d6c0d8c29c03f12144.jpg","text":"TemporaryFile(/tmp/multipartBody362509290494189333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988733360,"filename":"image_04012025_12_04_02_773772_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/63aaf9742dc240c42800e4f944e1453f.jpg","text":"TemporaryFile(/tmp/multipartBody6292316106111121999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988733360,"filename":"image_04012025_12_04_02_773772_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5b0796a478c436f05ed5c83ad0556270.jpg","text":"TemporaryFile(/tmp/multipartBody7095220400871469959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988733360,"filename":"image_04012025_12_04_02_773772_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326529484","file1":"1326529391","file0":"1326529374","file3":"1326529510"},"map_files_photo_id_array":[{"photo_id":"1326529484","filename":"file2"},{"photo_id":"1326529391","filename":"file1"},{"photo_id":"1326529374","filename":"file0"},{"photo_id":"1326529510","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326529374":["hashtag1","hashtag2"]},{"1326529484":["hashtag1","hashtag2"]},{"1326529391":["hashtag1","hashtag2"]},{"1326529510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326529374, 1326529484, 1326529391, 1326529510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.513291120529175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:05:03.328704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:05:22.751964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/04/image_04012025_12_04_02_773772_0003.jpg', '/home/pi/Desktop/images/04012025/12/05/image_04012025_12_05_02_941182_0000.jpg', '/home/pi/Desktop/images/04012025/12/05/image_04012025_12_05_02_941182_0001.jpg', '/home/pi/Desktop/images/04012025/12/05/image_04012025_12_05_02_941182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/04/image_04012025_12_04_02_773772_0003.jpg
/home/pi/Desktop/images/04012025/12/05/image_04012025_12_05_02_941182_0000.jpg
/home/pi/Desktop/images/04012025/12/05/image_04012025_12_05_02_941182_0001.jpg
/home/pi/Desktop/images/04012025/12/05/image_04012025_12_05_02_941182_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326529895","1326529876","1326529771","1326529768"],"photo_ids_order":["1326529768","1326529771","1326529876","1326529895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/41178095a493b31249cf90b8e049a0a9.jpg","text":"TemporaryFile(/tmp/multipartBody3331288521008796882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988793340,"filename":"image_04012025_12_05_02_941182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0fd227efa905ce4e54c4f87e133d0cf6.jpg","text":"TemporaryFile(/tmp/multipartBody2966189811973644068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988793340,"filename":"image_04012025_12_05_02_941182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d74bbbce7aefae869bcb3be6e70c0150.jpg","text":"TemporaryFile(/tmp/multipartBody4850413193360289016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988793340,"filename":"image_04012025_12_05_02_941182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9970fddb13b59ff72ff89ca906448e82.jpg","text":"TemporaryFile(/tmp/multipartBody7746256801414706991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988793340,"filename":"image_04012025_12_04_02_773772_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326529876","file1":"1326529771","file0":"1326529768","file3":"1326529895"},"map_files_photo_id_array":[{"photo_id":"1326529876","filename":"file2"},{"photo_id":"1326529771","filename":"file1"},{"photo_id":"1326529768","filename":"file0"},{"photo_id":"1326529895","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326529895":["hashtag1","hashtag2"]},{"1326529876":["hashtag1","hashtag2"]},{"1326529771":["hashtag1","hashtag2"]},{"1326529768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326529895, 1326529876, 1326529771, 1326529768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.350374937057495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:06:21.846225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/05/image_04012025_12_05_02_941182_0003.jpg', '/home/pi/Desktop/images/04012025/12/06/image_04012025_12_06_03_075869_0000.jpg', '/home/pi/Desktop/images/04012025/12/06/image_04012025_12_06_03_075869_0001.jpg', '/home/pi/Desktop/images/04012025/12/06/image_04012025_12_06_03_075869_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/05/image_04012025_12_05_02_941182_0003.jpg
/home/pi/Desktop/images/04012025/12/06/image_04012025_12_06_03_075869_0000.jpg
/home/pi/Desktop/images/04012025/12/06/image_04012025_12_06_03_075869_0001.jpg
/home/pi/Desktop/images/04012025/12/06/image_04012025_12_06_03_075869_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326530185","1326530301","1326530188","1326530306"],"photo_ids_order":["1326530185","1326530188","1326530301","1326530306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/84f83691857cd86903c8e39d25937334.jpg","text":"TemporaryFile(/tmp/multipartBody221986783665748144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988851591,"filename":"image_04012025_12_05_02_941182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7c52d9639f13ee2d65f5a9404b8877d7.jpg","text":"TemporaryFile(/tmp/multipartBody2369249985967291935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988851591,"filename":"image_04012025_12_06_03_075869_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e356300d8e517a63f6d2976c29a07e36.jpg","text":"TemporaryFile(/tmp/multipartBody7404129029928331708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988851591,"filename":"image_04012025_12_06_03_075869_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/de66361823d0f874c6ea57555200c75d.jpg","text":"TemporaryFile(/tmp/multipartBody8556010757927708665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988851591,"filename":"image_04012025_12_06_03_075869_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326530301","file1":"1326530188","file0":"1326530185","file3":"1326530306"},"map_files_photo_id_array":[{"photo_id":"1326530301","filename":"file2"},{"photo_id":"1326530188","filename":"file1"},{"photo_id":"1326530185","filename":"file0"},{"photo_id":"1326530306","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326530185":["hashtag1","hashtag2"]},{"1326530301":["hashtag1","hashtag2"]},{"1326530188":["hashtag1","hashtag2"]},{"1326530306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326530185, 1326530301, 1326530188, 1326530306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04905390739441 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:07:02.488983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:07:21.989372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/06/image_04012025_12_06_03_075869_0003.jpg', '/home/pi/Desktop/images/04012025/12/07/image_04012025_12_07_02_250252_0000.jpg', '/home/pi/Desktop/images/04012025/12/07/image_04012025_12_07_02_250252_0001.jpg', '/home/pi/Desktop/images/04012025/12/07/image_04012025_12_07_02_250252_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/06/image_04012025_12_06_03_075869_0003.jpg
/home/pi/Desktop/images/04012025/12/07/image_04012025_12_07_02_250252_0000.jpg
/home/pi/Desktop/images/04012025/12/07/image_04012025_12_07_02_250252_0001.jpg
/home/pi/Desktop/images/04012025/12/07/image_04012025_12_07_02_250252_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326530736","1326530601","1326530627","1326530606"],"photo_ids_order":["1326530601","1326530606","1326530627","1326530736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9db07afccc9850a776c21eb097efdc0d.jpg","text":"TemporaryFile(/tmp/multipartBody3802132871610500085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988912439,"filename":"image_04012025_12_07_02_250252_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/19e1c5a416aa9b4992f7870a1b38aeb2.jpg","text":"TemporaryFile(/tmp/multipartBody7077186883116964537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988912439,"filename":"image_04012025_12_06_03_075869_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cf05a3a6a88e5e7265c2ffdfd3f7a736.jpg","text":"TemporaryFile(/tmp/multipartBody1346881394602710303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988912439,"filename":"image_04012025_12_07_02_250252_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3fc4a7a7656c1262e6ff892a2f7a5d1d.jpg","text":"TemporaryFile(/tmp/multipartBody3004204821600698197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988912439,"filename":"image_04012025_12_07_02_250252_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326530627","file1":"1326530606","file0":"1326530601","file3":"1326530736"},"map_files_photo_id_array":[{"photo_id":"1326530627","filename":"file2"},{"photo_id":"1326530606","filename":"file1"},{"photo_id":"1326530601","filename":"file0"},{"photo_id":"1326530736","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326530736":["hashtag1","hashtag2"]},{"1326530601":["hashtag1","hashtag2"]},{"1326530627":["hashtag1","hashtag2"]},{"1326530606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326530736, 1326530601, 1326530627, 1326530606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18473553657532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:08:02.602704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:08:22.117869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/07/image_04012025_12_07_02_250252_0003.jpg', '/home/pi/Desktop/images/04012025/12/08/image_04012025_12_08_02_373979_0000.jpg', '/home/pi/Desktop/images/04012025/12/08/image_04012025_12_08_02_373979_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/07/image_04012025_12_07_02_250252_0003.jpg
/home/pi/Desktop/images/04012025/12/08/image_04012025_12_08_02_373979_0000.jpg
/home/pi/Desktop/images/04012025/12/08/image_04012025_12_08_02_373979_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":["1326530760","1326530862","1326531046"],"photo_ids_order":["1326530760","1326530862","1326531046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/462f11c8aa68b0da1644269b1f7a9d74.jpg","text":"TemporaryFile(/tmp/multipartBody633639813634127095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988970118,"filename":"image_04012025_12_07_02_250252_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/12c0be12c3339687fe036c73ba8858f1.jpg","text":"TemporaryFile(/tmp/multipartBody2881817408466841363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988970118,"filename":"image_04012025_12_08_02_373979_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f9e14a167cf65fc2f9ecd766abc3e9a7.jpg","text":"TemporaryFile(/tmp/multipartBody6003751724182018309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735988970118,"filename":"image_04012025_12_08_02_373979_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326531046","file1":"1326530862","file0":"1326530760"},"map_files_photo_id_array":[{"photo_id":"1326531046","filename":"file2"},{"photo_id":"1326530862","filename":"file1"},{"photo_id":"1326530760","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326530760":["hashtag1","hashtag2"]},{"1326530862":["hashtag1","hashtag2"]},{"1326531046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326530760, 1326530862, 1326531046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.54058909416199 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:09:02.929790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:09:22.499183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/08/image_04012025_12_08_02_373979_0002.jpg', '/home/pi/Desktop/images/04012025/12/09/image_04012025_12_09_02_468641_0000.jpg', '/home/pi/Desktop/images/04012025/12/09/image_04012025_12_09_02_468641_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/08/image_04012025_12_08_02_373979_0002.jpg
/home/pi/Desktop/images/04012025/12/09/image_04012025_12_09_02_468641_0000.jpg
/home/pi/Desktop/images/04012025/12/09/image_04012025_12_09_02_468641_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":["1326531620","1326531503","1326531595"],"photo_ids_order":["1326531503","1326531595","1326531620"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/77550d69fda2fd0f65212b958cda505e.jpg","text":"TemporaryFile(/tmp/multipartBody282728770282660603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989030302,"filename":"image_04012025_12_09_02_468641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af70b454d3e12823e35baf2afac87ada.jpg","text":"TemporaryFile(/tmp/multipartBody1558659135630212269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989030302,"filename":"image_04012025_12_08_02_373979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b268d720ed49b53d3b2eeb287ac52dfd.jpg","text":"TemporaryFile(/tmp/multipartBody1935477601340480576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989030302,"filename":"image_04012025_12_09_02_468641_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326531620","file1":"1326531595","file0":"1326531503"},"map_files_photo_id_array":[{"photo_id":"1326531620","filename":"file2"},{"photo_id":"1326531595","filename":"file1"},{"photo_id":"1326531503","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326531620":["hashtag1","hashtag2"]},{"1326531503":["hashtag1","hashtag2"]},{"1326531595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326531620, 1326531503, 1326531595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.17214345932007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:10:02.942243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:10:22.557930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/09/image_04012025_12_09_02_468641_0002.jpg', '/home/pi/Desktop/images/04012025/12/10/image_04012025_12_10_02_746785_0000.jpg', '/home/pi/Desktop/images/04012025/12/10/image_04012025_12_10_02_746785_0001.jpg', '/home/pi/Desktop/images/04012025/12/10/image_04012025_12_10_02_746785_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/09/image_04012025_12_09_02_468641_0002.jpg
/home/pi/Desktop/images/04012025/12/10/image_04012025_12_10_02_746785_0000.jpg
/home/pi/Desktop/images/04012025/12/10/image_04012025_12_10_02_746785_0001.jpg
/home/pi/Desktop/images/04012025/12/10/image_04012025_12_10_02_746785_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.888744115829468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 12:10:42.612804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/09/image_04012025_12_09_02_468641_0002.jpg', '/home/pi/Desktop/images/04012025/12/10/image_04012025_12_10_02_746785_0000.jpg', '/home/pi/Desktop/images/04012025/12/10/image_04012025_12_10_02_746785_0001.jpg', '/home/pi/Desktop/images/04012025/12/10/image_04012025_12_10_02_746785_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/09/image_04012025_12_09_02_468641_0002.jpg
/home/pi/Desktop/images/04012025/12/10/image_04012025_12_10_02_746785_0000.jpg
/home/pi/Desktop/images/04012025/12/10/image_04012025_12_10_02_746785_0001.jpg
/home/pi/Desktop/images/04012025/12/10/image_04012025_12_10_02_746785_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326531672","1326531675","1326531923","1326531827"],"photo_ids_order":["1326531672","1326531675","1326531827","1326531923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9273268ce956542fd8cdf0b570540ab4.jpg","text":"TemporaryFile(/tmp/multipartBody7406177042030411797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989112891,"filename":"image_04012025_12_09_02_468641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce03145e16944133e8db1bfafa930a15.jpg","text":"TemporaryFile(/tmp/multipartBody4452878193949569052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989112891,"filename":"image_04012025_12_10_02_746785_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7a6715d19b21ba713a5e26ee1e721e1.jpg","text":"TemporaryFile(/tmp/multipartBody5928409565834888163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989112891,"filename":"image_04012025_12_10_02_746785_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3e03549ec15e7b0fbcd237cd3181ecbb.jpg","text":"TemporaryFile(/tmp/multipartBody8698341701750640867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989112891,"filename":"image_04012025_12_10_02_746785_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326531827","file1":"1326531675","file0":"1326531672","file3":"1326531923"},"map_files_photo_id_array":[{"photo_id":"1326531827","filename":"file2"},{"photo_id":"1326531675","filename":"file1"},{"photo_id":"1326531672","filename":"file0"},{"photo_id":"1326531923","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326531672":["hashtag1","hashtag2"]},{"1326531675":["hashtag1","hashtag2"]},{"1326531923":["hashtag1","hashtag2"]},{"1326531827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326531672, 1326531675, 1326531923, 1326531827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.16215753555298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 12:11:32.870649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/10/image_04012025_12_10_02_746785_0003.jpg', '/home/pi/Desktop/images/04012025/12/11/image_04012025_12_11_02_851990_0000.jpg', '/home/pi/Desktop/images/04012025/12/11/image_04012025_12_11_02_851990_0001.jpg', '/home/pi/Desktop/images/04012025/12/11/image_04012025_12_11_02_851990_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/10/image_04012025_12_10_02_746785_0003.jpg
/home/pi/Desktop/images/04012025/12/11/image_04012025_12_11_02_851990_0000.jpg
/home/pi/Desktop/images/04012025/12/11/image_04012025_12_11_02_851990_0001.jpg
/home/pi/Desktop/images/04012025/12/11/image_04012025_12_11_02_851990_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326532233","1326532498","1326532063","1326532083"],"photo_ids_order":["1326532063","1326532083","1326532233","1326532498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f1e7007b5c32a6d47fea8745c34aec8c.jpg","text":"TemporaryFile(/tmp/multipartBody7245775556328589020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989163254,"filename":"image_04012025_12_11_02_851990_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/565e180fe7c7a53407af171809790524.jpg","text":"TemporaryFile(/tmp/multipartBody9152284284745163968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989163254,"filename":"image_04012025_12_11_02_851990_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d2f3d825d837028b90e97dafff0f8a88.jpg","text":"TemporaryFile(/tmp/multipartBody5178047445803636033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989163254,"filename":"image_04012025_12_10_02_746785_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca6f9d12617cab1b43a12d74fb9f9ece.jpg","text":"TemporaryFile(/tmp/multipartBody1914875684904899341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989163254,"filename":"image_04012025_12_11_02_851990_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326532233","file1":"1326532083","file0":"1326532063","file3":"1326532498"},"map_files_photo_id_array":[{"photo_id":"1326532233","filename":"file2"},{"photo_id":"1326532083","filename":"file1"},{"photo_id":"1326532063","filename":"file0"},{"photo_id":"1326532498","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326532233":["hashtag1","hashtag2"]},{"1326532498":["hashtag1","hashtag2"]},{"1326532063":["hashtag1","hashtag2"]},{"1326532083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326532233, 1326532498, 1326532063, 1326532083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79631066322327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:12:21.925377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/11/image_04012025_12_11_02_851990_0003.jpg', '/home/pi/Desktop/images/04012025/12/12/image_04012025_12_12_03_078239_0000.jpg', '/home/pi/Desktop/images/04012025/12/12/image_04012025_12_12_03_078239_0001.jpg', '/home/pi/Desktop/images/04012025/12/12/image_04012025_12_12_03_078239_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/11/image_04012025_12_11_02_851990_0003.jpg
/home/pi/Desktop/images/04012025/12/12/image_04012025_12_12_03_078239_0000.jpg
/home/pi/Desktop/images/04012025/12/12/image_04012025_12_12_03_078239_0001.jpg
/home/pi/Desktop/images/04012025/12/12/image_04012025_12_12_03_078239_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326532554","1326532550","1326532687","1326532666"],"photo_ids_order":["1326532550","1326532554","1326532666","1326532687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d615ae77fb8a4356aac6e5f5b961f755.jpg","text":"TemporaryFile(/tmp/multipartBody6254100349887661176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989212193,"filename":"image_04012025_12_12_03_078239_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/354b2e9b3575ea1b44b78cd444395796.jpg","text":"TemporaryFile(/tmp/multipartBody4008310797560424339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989212193,"filename":"image_04012025_12_11_02_851990_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/03140e95f2bf61028416aefe4823a23b.jpg","text":"TemporaryFile(/tmp/multipartBody1964942733975659318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989212193,"filename":"image_04012025_12_12_03_078239_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/97dc5ed028f19b19e24ac362b39ca0c4.jpg","text":"TemporaryFile(/tmp/multipartBody5032762708168704707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989212193,"filename":"image_04012025_12_12_03_078239_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326532666","file1":"1326532554","file0":"1326532550","file3":"1326532687"},"map_files_photo_id_array":[{"photo_id":"1326532666","filename":"file2"},{"photo_id":"1326532554","filename":"file1"},{"photo_id":"1326532550","filename":"file0"},{"photo_id":"1326532687","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326532554":["hashtag1","hashtag2"]},{"1326532550":["hashtag1","hashtag2"]},{"1326532687":["hashtag1","hashtag2"]},{"1326532666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326532554, 1326532550, 1326532687, 1326532666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57582950592041 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-04 12:13:22.126738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/12/image_04012025_12_12_03_078239_0003.jpg', '/home/pi/Desktop/images/04012025/12/13/image_04012025_12_13_02_248780_0000.jpg', '/home/pi/Desktop/images/04012025/12/13/image_04012025_12_13_02_248780_0001.jpg', '/home/pi/Desktop/images/04012025/12/13/image_04012025_12_13_02_248780_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/12/image_04012025_12_12_03_078239_0003.jpg
/home/pi/Desktop/images/04012025/12/13/image_04012025_12_13_02_248780_0000.jpg
/home/pi/Desktop/images/04012025/12/13/image_04012025_12_13_02_248780_0001.jpg
/home/pi/Desktop/images/04012025/12/13/image_04012025_12_13_02_248780_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326533304","1326533307","1326533399","1326533377"],"photo_ids_order":["1326533304","1326533307","1326533377","1326533399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0569f4431e2f55b513fad52f57a1940a.jpg","text":"TemporaryFile(/tmp/multipartBody5342921845535611168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989272535,"filename":"image_04012025_12_12_03_078239_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b6f8b9af13523ad45b4aafe0dcbbc378.jpg","text":"TemporaryFile(/tmp/multipartBody8055139918552971608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989272535,"filename":"image_04012025_12_13_02_248780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/26c5d3f84ca75f9551e7eb9081f454f3.jpg","text":"TemporaryFile(/tmp/multipartBody6906402794361785687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989272535,"filename":"image_04012025_12_13_02_248780_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b6c36a48e761f6f8bb2a90f6f5c0719f.jpg","text":"TemporaryFile(/tmp/multipartBody8239853451727607809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989272535,"filename":"image_04012025_12_13_02_248780_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326533377","file1":"1326533307","file0":"1326533304","file3":"1326533399"},"map_files_photo_id_array":[{"photo_id":"1326533377","filename":"file2"},{"photo_id":"1326533307","filename":"file1"},{"photo_id":"1326533304","filename":"file0"},{"photo_id":"1326533399","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326533304":["hashtag1","hashtag2"]},{"1326533307":["hashtag1","hashtag2"]},{"1326533399":["hashtag1","hashtag2"]},{"1326533377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326533304, 1326533307, 1326533399, 1326533377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.02578020095825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:14:02.648261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:14:22.190369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/13/image_04012025_12_13_02_248780_0003.jpg', '/home/pi/Desktop/images/04012025/12/14/image_04012025_12_14_02_433954_0000.jpg', '/home/pi/Desktop/images/04012025/12/14/image_04012025_12_14_02_433954_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/13/image_04012025_12_13_02_248780_0003.jpg
/home/pi/Desktop/images/04012025/12/14/image_04012025_12_14_02_433954_0000.jpg
/home/pi/Desktop/images/04012025/12/14/image_04012025_12_14_02_433954_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":["1326533561","1326533566","1326533760"],"photo_ids_order":["1326533561","1326533566","1326533760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/621ff59b9785422e2c40f30ba960b165.jpg","text":"TemporaryFile(/tmp/multipartBody8790794474258685974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989330133,"filename":"image_04012025_12_13_02_248780_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a185fcf5b50f7b2d65a578612c21c3af.jpg","text":"TemporaryFile(/tmp/multipartBody4277387812959361824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989330133,"filename":"image_04012025_12_14_02_433954_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2efdc3f71d700d3bdb50bd5daa6b49ea.jpg","text":"TemporaryFile(/tmp/multipartBody1216325614768090607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989330133,"filename":"image_04012025_12_14_02_433954_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326533760","file1":"1326533566","file0":"1326533561"},"map_files_photo_id_array":[{"photo_id":"1326533760","filename":"file2"},{"photo_id":"1326533566","filename":"file1"},{"photo_id":"1326533561","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326533561":["hashtag1","hashtag2"]},{"1326533566":["hashtag1","hashtag2"]},{"1326533760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326533561, 1326533566, 1326533760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.924110412597656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:15:02.966680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:15:22.373099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/14/image_04012025_12_14_02_433954_0002.jpg', '/home/pi/Desktop/images/04012025/12/15/image_04012025_12_15_02_509824_0000.jpg', '/home/pi/Desktop/images/04012025/12/15/image_04012025_12_15_02_509824_0001.jpg', '/home/pi/Desktop/images/04012025/12/15/image_04012025_12_15_02_509824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/14/image_04012025_12_14_02_433954_0002.jpg
/home/pi/Desktop/images/04012025/12/15/image_04012025_12_15_02_509824_0000.jpg
/home/pi/Desktop/images/04012025/12/15/image_04012025_12_15_02_509824_0001.jpg
/home/pi/Desktop/images/04012025/12/15/image_04012025_12_15_02_509824_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326534065","1326534032","1326534035","1326534062"],"photo_ids_order":["1326534032","1326534035","1326534062","1326534065"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2845c884f880d236369371369c771082.jpg","text":"TemporaryFile(/tmp/multipartBody3468674810297164430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989392709,"filename":"image_04012025_12_15_02_509824_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7bdfda2f4061a215b71327e38cfcd1ea.jpg","text":"TemporaryFile(/tmp/multipartBody3773777872197137832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989392709,"filename":"image_04012025_12_14_02_433954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f21c365f5f2746209cc907627dfe2bfb.jpg","text":"TemporaryFile(/tmp/multipartBody1760956683310285532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989392709,"filename":"image_04012025_12_15_02_509824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b3090af902a7612fc6daf4ceb3c56326.jpg","text":"TemporaryFile(/tmp/multipartBody3217271948816829211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989392709,"filename":"image_04012025_12_15_02_509824_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326534062","file1":"1326534035","file0":"1326534032","file3":"1326534065"},"map_files_photo_id_array":[{"photo_id":"1326534062","filename":"file2"},{"photo_id":"1326534035","filename":"file1"},{"photo_id":"1326534032","filename":"file0"},{"photo_id":"1326534065","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326534065":["hashtag1","hashtag2"]},{"1326534032":["hashtag1","hashtag2"]},{"1326534035":["hashtag1","hashtag2"]},{"1326534062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326534065, 1326534032, 1326534035, 1326534062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.14567470550537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:16:02.920473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:16:22.580853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/15/image_04012025_12_15_02_509824_0003.jpg', '/home/pi/Desktop/images/04012025/12/16/image_04012025_12_16_02_719489_0000.jpg', '/home/pi/Desktop/images/04012025/12/16/image_04012025_12_16_02_719489_0001.jpg', '/home/pi/Desktop/images/04012025/12/16/image_04012025_12_16_02_719489_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/15/image_04012025_12_15_02_509824_0003.jpg
/home/pi/Desktop/images/04012025/12/16/image_04012025_12_16_02_719489_0000.jpg
/home/pi/Desktop/images/04012025/12/16/image_04012025_12_16_02_719489_0001.jpg
/home/pi/Desktop/images/04012025/12/16/image_04012025_12_16_02_719489_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326534740","1326534602","1326534514","1326534590"],"photo_ids_order":["1326534514","1326534590","1326534602","1326534740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bad75224c1e33d3e0fba63705df4b7e8.jpg","text":"TemporaryFile(/tmp/multipartBody1136961950178057929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989452944,"filename":"image_04012025_12_16_02_719489_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cece0b0b10eaad66da902c2beb2129f6.jpg","text":"TemporaryFile(/tmp/multipartBody9217582529576486622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989452944,"filename":"image_04012025_12_16_02_719489_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9e871fd138cd35ea7432d951992f7e56.jpg","text":"TemporaryFile(/tmp/multipartBody8667827517274870330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989452944,"filename":"image_04012025_12_15_02_509824_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/12824b6f53976ef208038c4e94728b20.jpg","text":"TemporaryFile(/tmp/multipartBody370473607301967962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989452944,"filename":"image_04012025_12_16_02_719489_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326534602","file1":"1326534590","file0":"1326534514","file3":"1326534740"},"map_files_photo_id_array":[{"photo_id":"1326534602","filename":"file2"},{"photo_id":"1326534590","filename":"file1"},{"photo_id":"1326534514","filename":"file0"},{"photo_id":"1326534740","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326534740":["hashtag1","hashtag2"]},{"1326534602":["hashtag1","hashtag2"]},{"1326534514":["hashtag1","hashtag2"]},{"1326534590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326534740, 1326534602, 1326534514, 1326534590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.893001317977905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:17:22.803689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/16/image_04012025_12_16_02_719489_0003.jpg', '/home/pi/Desktop/images/04012025/12/17/image_04012025_12_17_02_950168_0000.jpg', '/home/pi/Desktop/images/04012025/12/17/image_04012025_12_17_02_950168_0001.jpg', '/home/pi/Desktop/images/04012025/12/17/image_04012025_12_17_02_950168_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/16/image_04012025_12_16_02_719489_0003.jpg
/home/pi/Desktop/images/04012025/12/17/image_04012025_12_17_02_950168_0000.jpg
/home/pi/Desktop/images/04012025/12/17/image_04012025_12_17_02_950168_0001.jpg
/home/pi/Desktop/images/04012025/12/17/image_04012025_12_17_02_950168_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326535069","1326535417","1326535542","1326534998"],"photo_ids_order":["1326534998","1326535069","1326535417","1326535542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/99d92297aee25dd812bd4c3e12008354.jpg","text":"TemporaryFile(/tmp/multipartBody1217206531456458522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989513239,"filename":"image_04012025_12_17_02_950168_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0084b83e1b79518eb85a5aacc6dafbcb.jpg","text":"TemporaryFile(/tmp/multipartBody8523635160576357516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989513239,"filename":"image_04012025_12_17_02_950168_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b0d60b96bdd3f472c24e0688530a2a60.jpg","text":"TemporaryFile(/tmp/multipartBody1960019110124764368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989513239,"filename":"image_04012025_12_17_02_950168_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc8ad9262c9d6b9b264beb1aca24a5a3.jpg","text":"TemporaryFile(/tmp/multipartBody4608380795865334154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989513239,"filename":"image_04012025_12_16_02_719489_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326535417","file1":"1326535069","file0":"1326534998","file3":"1326535542"},"map_files_photo_id_array":[{"photo_id":"1326535417","filename":"file2"},{"photo_id":"1326535069","filename":"file1"},{"photo_id":"1326534998","filename":"file0"},{"photo_id":"1326535542","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326535069":["hashtag1","hashtag2"]},{"1326535417":["hashtag1","hashtag2"]},{"1326535542":["hashtag1","hashtag2"]},{"1326534998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326535069, 1326535417, 1326535542, 1326534998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.98866510391235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:18:21.861515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/17/image_04012025_12_17_02_950168_0003.jpg', '/home/pi/Desktop/images/04012025/12/18/image_04012025_12_18_03_025757_0000.jpg', '/home/pi/Desktop/images/04012025/12/18/image_04012025_12_18_03_025757_0001.jpg', '/home/pi/Desktop/images/04012025/12/18/image_04012025_12_18_03_025757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/17/image_04012025_12_17_02_950168_0003.jpg
/home/pi/Desktop/images/04012025/12/18/image_04012025_12_18_03_025757_0000.jpg
/home/pi/Desktop/images/04012025/12/18/image_04012025_12_18_03_025757_0001.jpg
/home/pi/Desktop/images/04012025/12/18/image_04012025_12_18_03_025757_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326535720","1326535698","1326535725","1326535817"],"photo_ids_order":["1326535698","1326535720","1326535725","1326535817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd1cc60ac2edd502c0c6424c45d92aef.jpg","text":"TemporaryFile(/tmp/multipartBody4113542943504070012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989572017,"filename":"image_04012025_12_18_03_025757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/21fee21ec6de07b2e8a014d2b4dbe2db.jpg","text":"TemporaryFile(/tmp/multipartBody5077986440068374394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989572017,"filename":"image_04012025_12_17_02_950168_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4fc77fddc7cc98b92e6fa3e498faf8cd.jpg","text":"TemporaryFile(/tmp/multipartBody5048623364829143453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989572017,"filename":"image_04012025_12_18_03_025757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/93988ed7b5577c1cff029b1cf3bc1d18.jpg","text":"TemporaryFile(/tmp/multipartBody285622170641598041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989572017,"filename":"image_04012025_12_18_03_025757_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326535725","file1":"1326535720","file0":"1326535698","file3":"1326535817"},"map_files_photo_id_array":[{"photo_id":"1326535725","filename":"file2"},{"photo_id":"1326535720","filename":"file1"},{"photo_id":"1326535698","filename":"file0"},{"photo_id":"1326535817","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326535720":["hashtag1","hashtag2"]},{"1326535698":["hashtag1","hashtag2"]},{"1326535725":["hashtag1","hashtag2"]},{"1326535817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326535720, 1326535698, 1326535725, 1326535817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.98137307167053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:19:22.088030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/18/image_04012025_12_18_03_025757_0003.jpg', '/home/pi/Desktop/images/04012025/12/19/image_04012025_12_19_02_285949_0000.jpg', '/home/pi/Desktop/images/04012025/12/19/image_04012025_12_19_02_285949_0001.jpg', '/home/pi/Desktop/images/04012025/12/19/image_04012025_12_19_02_285949_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/18/image_04012025_12_18_03_025757_0003.jpg
/home/pi/Desktop/images/04012025/12/19/image_04012025_12_19_02_285949_0000.jpg
/home/pi/Desktop/images/04012025/12/19/image_04012025_12_19_02_285949_0001.jpg
/home/pi/Desktop/images/04012025/12/19/image_04012025_12_19_02_285949_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326536310","1326536168","1326536300","1326536275"],"photo_ids_order":["1326536168","1326536275","1326536300","1326536310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/488e3c9fbde672ce62255739ef1996f7.jpg","text":"TemporaryFile(/tmp/multipartBody736505949610784886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989632350,"filename":"image_04012025_12_19_02_285949_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e8d9cf8808c2956f38916a1b01806840.jpg","text":"TemporaryFile(/tmp/multipartBody6538740665623082444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989632350,"filename":"image_04012025_12_18_03_025757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2c82111917f182477490d41644815d7f.jpg","text":"TemporaryFile(/tmp/multipartBody4323396870644132931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989632350,"filename":"image_04012025_12_19_02_285949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/380ef3c9896022a76bfd8562358e53c0.jpg","text":"TemporaryFile(/tmp/multipartBody8384035387305055397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989632350,"filename":"image_04012025_12_19_02_285949_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326536300","file1":"1326536275","file0":"1326536168","file3":"1326536310"},"map_files_photo_id_array":[{"photo_id":"1326536300","filename":"file2"},{"photo_id":"1326536275","filename":"file1"},{"photo_id":"1326536168","filename":"file0"},{"photo_id":"1326536310","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326536310":["hashtag1","hashtag2"]},{"1326536168":["hashtag1","hashtag2"]},{"1326536300":["hashtag1","hashtag2"]},{"1326536275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326536310, 1326536168, 1326536300, 1326536275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10474753379822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:20:02.673761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:20:22.291813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/19/image_04012025_12_19_02_285949_0003.jpg', '/home/pi/Desktop/images/04012025/12/20/image_04012025_12_20_02_533851_0000.jpg', '/home/pi/Desktop/images/04012025/12/20/image_04012025_12_20_02_533851_0001.jpg', '/home/pi/Desktop/images/04012025/12/20/image_04012025_12_20_02_533851_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/19/image_04012025_12_19_02_285949_0003.jpg
/home/pi/Desktop/images/04012025/12/20/image_04012025_12_20_02_533851_0000.jpg
/home/pi/Desktop/images/04012025/12/20/image_04012025_12_20_02_533851_0001.jpg
/home/pi/Desktop/images/04012025/12/20/image_04012025_12_20_02_533851_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326536632","1326536629","1326536907","1326536794"],"photo_ids_order":["1326536629","1326536632","1326536794","1326536907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a3180316cf648cb963b72adb85e52786.jpg","text":"TemporaryFile(/tmp/multipartBody4853653106501489663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989692477,"filename":"image_04012025_12_20_02_533851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6be4efa507fcd4971882042ea920e279.jpg","text":"TemporaryFile(/tmp/multipartBody1933564749522203199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989692477,"filename":"image_04012025_12_19_02_285949_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8ad1331b012e7dd1519b26e97e6b2420.jpg","text":"TemporaryFile(/tmp/multipartBody5177485175490210013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989692477,"filename":"image_04012025_12_20_02_533851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bac0f85e5bebebe59e5660ca611a1c27.jpg","text":"TemporaryFile(/tmp/multipartBody6664191819866710963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989692477,"filename":"image_04012025_12_20_02_533851_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326536794","file1":"1326536632","file0":"1326536629","file3":"1326536907"},"map_files_photo_id_array":[{"photo_id":"1326536794","filename":"file2"},{"photo_id":"1326536632","filename":"file1"},{"photo_id":"1326536629","filename":"file0"},{"photo_id":"1326536907","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326536632":["hashtag1","hashtag2"]},{"1326536629":["hashtag1","hashtag2"]},{"1326536907":["hashtag1","hashtag2"]},{"1326536794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326536632, 1326536629, 1326536907, 1326536794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.49491024017334 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-04 12:21:22.423898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/20/image_04012025_12_20_02_533851_0003.jpg', '/home/pi/Desktop/images/04012025/12/21/image_04012025_12_21_02_574242_0000.jpg', '/home/pi/Desktop/images/04012025/12/21/image_04012025_12_21_02_574242_0001.jpg', '/home/pi/Desktop/images/04012025/12/21/image_04012025_12_21_02_574242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/20/image_04012025_12_20_02_533851_0003.jpg
/home/pi/Desktop/images/04012025/12/21/image_04012025_12_21_02_574242_0000.jpg
/home/pi/Desktop/images/04012025/12/21/image_04012025_12_21_02_574242_0001.jpg
/home/pi/Desktop/images/04012025/12/21/image_04012025_12_21_02_574242_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326537866","1326537701","1326537847","1326537730"],"photo_ids_order":["1326537701","1326537730","1326537847","1326537866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c35fdb1439860f2dbc78f6522a89e790.jpg","text":"TemporaryFile(/tmp/multipartBody7488811342929239106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989752550,"filename":"image_04012025_12_21_02_574242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aacaf446c6de39a4cff6a4bf2d32a6f2.jpg","text":"TemporaryFile(/tmp/multipartBody3182794878051538298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989752550,"filename":"image_04012025_12_20_02_533851_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b3fbdece2f8f40caf8d0c7e12f5b569b.jpg","text":"TemporaryFile(/tmp/multipartBody41444570411275888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989752550,"filename":"image_04012025_12_21_02_574242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/27208bb5727d159481076f62c1539f9f.jpg","text":"TemporaryFile(/tmp/multipartBody5168923847780770139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989752550,"filename":"image_04012025_12_21_02_574242_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326537847","file1":"1326537730","file0":"1326537701","file3":"1326537866"},"map_files_photo_id_array":[{"photo_id":"1326537847","filename":"file2"},{"photo_id":"1326537730","filename":"file1"},{"photo_id":"1326537701","filename":"file0"},{"photo_id":"1326537866","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326537866":["hashtag1","hashtag2"]},{"1326537701":["hashtag1","hashtag2"]},{"1326537847":["hashtag1","hashtag2"]},{"1326537730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326537866, 1326537701, 1326537847, 1326537730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.05348610877991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:22:22.706703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/21/image_04012025_12_21_02_574242_0003.jpg', '/home/pi/Desktop/images/04012025/12/22/image_04012025_12_22_02_870790_0000.jpg', '/home/pi/Desktop/images/04012025/12/22/image_04012025_12_22_02_870790_0001.jpg', '/home/pi/Desktop/images/04012025/12/22/image_04012025_12_22_02_870790_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/21/image_04012025_12_21_02_574242_0003.jpg
/home/pi/Desktop/images/04012025/12/22/image_04012025_12_22_02_870790_0000.jpg
/home/pi/Desktop/images/04012025/12/22/image_04012025_12_22_02_870790_0001.jpg
/home/pi/Desktop/images/04012025/12/22/image_04012025_12_22_02_870790_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326537900","1326537896","1326537908","1326537904"],"photo_ids_order":["1326537896","1326537900","1326537904","1326537908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/89e4f9b1c4072e2d2436b742be91d627.jpg","text":"TemporaryFile(/tmp/multipartBody2006834752423695751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989812867,"filename":"image_04012025_12_22_02_870790_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7d071f85a7ea5f1cef90ea7bb1fade8f.jpg","text":"TemporaryFile(/tmp/multipartBody296970511798687898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989812867,"filename":"image_04012025_12_21_02_574242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8f6eda722cde3d265ed1c91292aa4997.jpg","text":"TemporaryFile(/tmp/multipartBody5547599308944210467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989812867,"filename":"image_04012025_12_22_02_870790_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4cc2d0f59f4a2f0069fe2ce4f1bfa5fd.jpg","text":"TemporaryFile(/tmp/multipartBody864668917474470860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989812867,"filename":"image_04012025_12_22_02_870790_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326537904","file1":"1326537900","file0":"1326537896","file3":"1326537908"},"map_files_photo_id_array":[{"photo_id":"1326537904","filename":"file2"},{"photo_id":"1326537900","filename":"file1"},{"photo_id":"1326537896","filename":"file0"},{"photo_id":"1326537908","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326537900":["hashtag1","hashtag2"]},{"1326537896":["hashtag1","hashtag2"]},{"1326537908":["hashtag1","hashtag2"]},{"1326537904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326537900, 1326537896, 1326537908, 1326537904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.69750499725342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:23:03.433850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:23:22.734097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/22/image_04012025_12_22_02_870790_0003.jpg', '/home/pi/Desktop/images/04012025/12/23/image_04012025_12_23_02_974747_0000.jpg', '/home/pi/Desktop/images/04012025/12/23/image_04012025_12_23_02_974747_0001.jpg', '/home/pi/Desktop/images/04012025/12/23/image_04012025_12_23_02_974747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/22/image_04012025_12_22_02_870790_0003.jpg
/home/pi/Desktop/images/04012025/12/23/image_04012025_12_23_02_974747_0000.jpg
/home/pi/Desktop/images/04012025/12/23/image_04012025_12_23_02_974747_0001.jpg
/home/pi/Desktop/images/04012025/12/23/image_04012025_12_23_02_974747_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326538509","1326538427","1326538535","1326538480"],"photo_ids_order":["1326538427","1326538480","1326538509","1326538535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ad1a771e4147ceabf51fe2c8edc64bba.jpg","text":"TemporaryFile(/tmp/multipartBody3840110085164870626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989872831,"filename":"image_04012025_12_23_02_974747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/10abeeb6cb8972fb27ada79f9ccf7ee4.jpg","text":"TemporaryFile(/tmp/multipartBody5312840562394364692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989872831,"filename":"image_04012025_12_22_02_870790_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dc22792ed8b0927e40649e110116c9cb.jpg","text":"TemporaryFile(/tmp/multipartBody4581008748473597656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989872831,"filename":"image_04012025_12_23_02_974747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4c1a655b5c608a7f3f1a72edd15c9fb2.jpg","text":"TemporaryFile(/tmp/multipartBody3587680178920154866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989872831,"filename":"image_04012025_12_23_02_974747_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326538509","file1":"1326538480","file0":"1326538427","file3":"1326538535"},"map_files_photo_id_array":[{"photo_id":"1326538509","filename":"file2"},{"photo_id":"1326538480","filename":"file1"},{"photo_id":"1326538427","filename":"file0"},{"photo_id":"1326538535","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326538509":["hashtag1","hashtag2"]},{"1326538427":["hashtag1","hashtag2"]},{"1326538535":["hashtag1","hashtag2"]},{"1326538480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326538509, 1326538427, 1326538535, 1326538480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60394740104675 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-04 12:24:21.936257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/23/image_04012025_12_23_02_974747_0003.jpg', '/home/pi/Desktop/images/04012025/12/24/image_04012025_12_24_03_169704_0000.jpg', '/home/pi/Desktop/images/04012025/12/24/image_04012025_12_24_03_169704_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/23/image_04012025_12_23_02_974747_0003.jpg
/home/pi/Desktop/images/04012025/12/24/image_04012025_12_24_03_169704_0000.jpg
/home/pi/Desktop/images/04012025/12/24/image_04012025_12_24_03_169704_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":["1326538549","1326538543","1326538546"],"photo_ids_order":["1326538543","1326538546","1326538549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/78350e289fbfe2d8e4831fcb109a83b0.jpg","text":"TemporaryFile(/tmp/multipartBody3930186191862933686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989929939,"filename":"image_04012025_12_24_03_169704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a5e8fb9860a7db5a7825751b8fddc839.jpg","text":"TemporaryFile(/tmp/multipartBody2477825668631290738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989929939,"filename":"image_04012025_12_23_02_974747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/96bebc1872d3ef1f672ea9832c131a84.jpg","text":"TemporaryFile(/tmp/multipartBody3651560533031354292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989929939,"filename":"image_04012025_12_24_03_169704_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326538549","file1":"1326538546","file0":"1326538543"},"map_files_photo_id_array":[{"photo_id":"1326538549","filename":"file2"},{"photo_id":"1326538546","filename":"file1"},{"photo_id":"1326538543","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326538549":["hashtag1","hashtag2"]},{"1326538543":["hashtag1","hashtag2"]},{"1326538546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326538549, 1326538543, 1326538546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.447153091430664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:25:02.834076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:25:22.239627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/24/image_04012025_12_24_03_169704_0003.jpg', '/home/pi/Desktop/images/04012025/12/25/image_04012025_12_25_02_320783_0000.jpg', '/home/pi/Desktop/images/04012025/12/25/image_04012025_12_25_02_320783_0001.jpg', '/home/pi/Desktop/images/04012025/12/25/image_04012025_12_25_02_320783_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/24/image_04012025_12_24_03_169704_0003.jpg
/home/pi/Desktop/images/04012025/12/25/image_04012025_12_25_02_320783_0000.jpg
/home/pi/Desktop/images/04012025/12/25/image_04012025_12_25_02_320783_0001.jpg
/home/pi/Desktop/images/04012025/12/25/image_04012025_12_25_02_320783_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326538982","1326538985","1326538988","1326538930"],"photo_ids_order":["1326538930","1326538982","1326538985","1326538988"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3dcffffe4049d89eaa95ed5bfaa22fa2.jpg","text":"TemporaryFile(/tmp/multipartBody5238020176015345107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989992485,"filename":"image_04012025_12_25_02_320783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/56f6c25d68b6679b8238a178582501bf.jpg","text":"TemporaryFile(/tmp/multipartBody2316135992984097837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989992485,"filename":"image_04012025_12_25_02_320783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d2463a437c7ad624283fccf0df853a2b.jpg","text":"TemporaryFile(/tmp/multipartBody1723817498045992848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989992485,"filename":"image_04012025_12_25_02_320783_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d2ce0c6fdcd75b8215051db17c8f3f35.jpg","text":"TemporaryFile(/tmp/multipartBody1026427914754150620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735989992485,"filename":"image_04012025_12_24_03_169704_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326538985","file1":"1326538982","file0":"1326538930","file3":"1326538988"},"map_files_photo_id_array":[{"photo_id":"1326538985","filename":"file2"},{"photo_id":"1326538982","filename":"file1"},{"photo_id":"1326538930","filename":"file0"},{"photo_id":"1326538988","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326538982":["hashtag1","hashtag2"]},{"1326538985":["hashtag1","hashtag2"]},{"1326538988":["hashtag1","hashtag2"]},{"1326538930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326538982, 1326538985, 1326538988, 1326538930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.393423318862915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:26:02.788026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:26:22.323579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/25/image_04012025_12_25_02_320783_0003.jpg', '/home/pi/Desktop/images/04012025/12/26/image_04012025_12_26_02_526321_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/25/image_04012025_12_25_02_320783_0003.jpg
/home/pi/Desktop/images/04012025/12/26/image_04012025_12_26_02_526321_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":["1326539319","1326539332"],"photo_ids_order":["1326539319","1326539332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f26ad5364cc21c190911cb9996c6dbf9.jpg","text":"TemporaryFile(/tmp/multipartBody9135981538436646614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990047833,"filename":"image_04012025_12_25_02_320783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/253c2f769958be8517fe79b1943d2cf0.jpg","text":"TemporaryFile(/tmp/multipartBody7790261622095205151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990047833,"filename":"image_04012025_12_26_02_526321_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326539332","file0":"1326539319"},"map_files_photo_id_array":[{"photo_id":"1326539332","filename":"file1"},{"photo_id":"1326539319","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326539319":["hashtag1","hashtag2"]},{"1326539332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326539319, 1326539332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.456032514572144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 12:26:52.325500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:27:03.081951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:27:22.495449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/26/image_04012025_12_26_02_526321_0002.jpg', '/home/pi/Desktop/images/04012025/12/27/image_04012025_12_27_02_773080_0000.jpg', '/home/pi/Desktop/images/04012025/12/27/image_04012025_12_27_02_773080_0001.jpg', '/home/pi/Desktop/images/04012025/12/27/image_04012025_12_27_02_773080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/26/image_04012025_12_26_02_526321_0002.jpg
/home/pi/Desktop/images/04012025/12/27/image_04012025_12_27_02_773080_0000.jpg
/home/pi/Desktop/images/04012025/12/27/image_04012025_12_27_02_773080_0001.jpg
/home/pi/Desktop/images/04012025/12/27/image_04012025_12_27_02_773080_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326539720","1326539749","1326539458","1326539347"],"photo_ids_order":["1326539347","1326539458","1326539720","1326539749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e8e2b111d206776bd38af50e3ea5f864.jpg","text":"TemporaryFile(/tmp/multipartBody3594604791704421822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990112739,"filename":"image_04012025_12_27_02_773080_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6d77976e656dadcb0018cc897b2ef60d.jpg","text":"TemporaryFile(/tmp/multipartBody233878926126017429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990112739,"filename":"image_04012025_12_27_02_773080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cedf3e92d919f65af2142d02ff7bbe2f.jpg","text":"TemporaryFile(/tmp/multipartBody5281421471210698941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990112739,"filename":"image_04012025_12_27_02_773080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b6bd9ce37d06b984847f08e4e5f81c4f.jpg","text":"TemporaryFile(/tmp/multipartBody7028267721719273109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990112739,"filename":"image_04012025_12_26_02_526321_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326539720","file1":"1326539458","file0":"1326539347","file3":"1326539749"},"map_files_photo_id_array":[{"photo_id":"1326539720","filename":"file2"},{"photo_id":"1326539458","filename":"file1"},{"photo_id":"1326539347","filename":"file0"},{"photo_id":"1326539749","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326539720":["hashtag1","hashtag2"]},{"1326539749":["hashtag1","hashtag2"]},{"1326539458":["hashtag1","hashtag2"]},{"1326539347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326539720, 1326539749, 1326539458, 1326539347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.443286180496216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:28:22.790941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/27/image_04012025_12_27_02_773080_0003.jpg', '/home/pi/Desktop/images/04012025/12/28/image_04012025_12_28_02_862893_0000.jpg', '/home/pi/Desktop/images/04012025/12/28/image_04012025_12_28_02_862893_0001.jpg', '/home/pi/Desktop/images/04012025/12/28/image_04012025_12_28_02_862893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/27/image_04012025_12_27_02_773080_0003.jpg
/home/pi/Desktop/images/04012025/12/28/image_04012025_12_28_02_862893_0000.jpg
/home/pi/Desktop/images/04012025/12/28/image_04012025_12_28_02_862893_0001.jpg
/home/pi/Desktop/images/04012025/12/28/image_04012025_12_28_02_862893_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326540252","1326540213","1326540196","1326539857"],"photo_ids_order":["1326539857","1326540196","1326540213","1326540252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5f08f3519ec988d5079aac9cd41684d0.jpg","text":"TemporaryFile(/tmp/multipartBody5399758499207254493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990173003,"filename":"image_04012025_12_28_02_862893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a26fe7fd7a4d20def888ef56d8312a68.jpg","text":"TemporaryFile(/tmp/multipartBody4518334701722206339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990173003,"filename":"image_04012025_12_28_02_862893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/42354ab83ab3517a2e9e3aceb087a4e8.jpg","text":"TemporaryFile(/tmp/multipartBody7447048731601567997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990173003,"filename":"image_04012025_12_28_02_862893_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e96196ee427488e3c21e76f9c5e1ee5d.jpg","text":"TemporaryFile(/tmp/multipartBody3463116286141154478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990173003,"filename":"image_04012025_12_27_02_773080_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326540213","file1":"1326540196","file0":"1326539857","file3":"1326540252"},"map_files_photo_id_array":[{"photo_id":"1326540213","filename":"file2"},{"photo_id":"1326540196","filename":"file1"},{"photo_id":"1326539857","filename":"file0"},{"photo_id":"1326540252","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326540252":["hashtag1","hashtag2"]},{"1326540213":["hashtag1","hashtag2"]},{"1326540196":["hashtag1","hashtag2"]},{"1326539857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326540252, 1326540213, 1326540196, 1326539857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.02610659599304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:29:02.547857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:29:22.045262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/28/image_04012025_12_28_02_862893_0003.jpg', '/home/pi/Desktop/images/04012025/12/29/image_04012025_12_29_03_121573_0001.jpg', '/home/pi/Desktop/images/04012025/12/29/image_04012025_12_29_03_121573_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/28/image_04012025_12_28_02_862893_0003.jpg
/home/pi/Desktop/images/04012025/12/29/image_04012025_12_29_03_121573_0001.jpg
/home/pi/Desktop/images/04012025/12/29/image_04012025_12_29_03_121573_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326540668","1326540727","1326540675"],"photo_ids_order":["1326540668","1326540675","1326540727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b166f64ed1c9ef6509733366734d96d.jpg","text":"TemporaryFile(/tmp/multipartBody6614022057544096370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990229929,"filename":"image_04012025_12_28_02_862893_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d33e85661cf0266e23c3182e1487e477.jpg","text":"TemporaryFile(/tmp/multipartBody6285149165824755450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990229929,"filename":"image_04012025_12_29_03_121573_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b497e78adbb1c42cc07892ab514b9ae7.jpg","text":"TemporaryFile(/tmp/multipartBody8865547686390053099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990229929,"filename":"image_04012025_12_29_03_121573_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326540727","file1":"1326540675","file0":"1326540668"},"map_files_photo_id_array":[{"photo_id":"1326540727","filename":"file2"},{"photo_id":"1326540675","filename":"file1"},{"photo_id":"1326540668","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326540668":["hashtag1","hashtag2"]},{"1326540727":["hashtag1","hashtag2"]},{"1326540675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326540668, 1326540727, 1326540675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.783255100250244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:30:02.584092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:30:22.132861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/29/image_04012025_12_29_03_121573_0003.jpg', '/home/pi/Desktop/images/04012025/12/30/image_04012025_12_30_02_360036_0000.jpg', '/home/pi/Desktop/images/04012025/12/30/image_04012025_12_30_02_360036_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/29/image_04012025_12_29_03_121573_0003.jpg
/home/pi/Desktop/images/04012025/12/30/image_04012025_12_30_02_360036_0000.jpg
/home/pi/Desktop/images/04012025/12/30/image_04012025_12_30_02_360036_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.480985641479492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 12:30:32.086873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/29/image_04012025_12_29_03_121573_0003.jpg', '/home/pi/Desktop/images/04012025/12/30/image_04012025_12_30_02_360036_0000.jpg', '/home/pi/Desktop/images/04012025/12/30/image_04012025_12_30_02_360036_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/29/image_04012025_12_29_03_121573_0003.jpg
/home/pi/Desktop/images/04012025/12/30/image_04012025_12_30_02_360036_0000.jpg
/home/pi/Desktop/images/04012025/12/30/image_04012025_12_30_02_360036_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":["1326541414","1326541254","1326541388"],"photo_ids_order":["1326541254","1326541388","1326541414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1f2ba7c1809b8482ae83dad7c110b74c.jpg","text":"TemporaryFile(/tmp/multipartBody1886295090868985132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990299992,"filename":"image_04012025_12_30_02_360036_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/010069dbb8c44006c94ccf4e02ba75e9.jpg","text":"TemporaryFile(/tmp/multipartBody4006966577030249019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990299992,"filename":"image_04012025_12_29_03_121573_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/15c29a6f80d09216ff26f6a8642f42ca.jpg","text":"TemporaryFile(/tmp/multipartBody7802233178069391060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990299992,"filename":"image_04012025_12_30_02_360036_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326541414","file1":"1326541388","file0":"1326541254"},"map_files_photo_id_array":[{"photo_id":"1326541414","filename":"file2"},{"photo_id":"1326541388","filename":"file1"},{"photo_id":"1326541254","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326541414":["hashtag1","hashtag2"]},{"1326541254":["hashtag1","hashtag2"]},{"1326541388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326541414, 1326541254, 1326541388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.314788818359375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:31:22.290038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/30/image_04012025_12_30_02_360036_0002.jpg', '/home/pi/Desktop/images/04012025/12/31/image_04012025_12_31_02_485919_0000.jpg', '/home/pi/Desktop/images/04012025/12/31/image_04012025_12_31_02_485919_0001.jpg', '/home/pi/Desktop/images/04012025/12/31/image_04012025_12_31_02_485919_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/30/image_04012025_12_30_02_360036_0002.jpg
/home/pi/Desktop/images/04012025/12/31/image_04012025_12_31_02_485919_0000.jpg
/home/pi/Desktop/images/04012025/12/31/image_04012025_12_31_02_485919_0001.jpg
/home/pi/Desktop/images/04012025/12/31/image_04012025_12_31_02_485919_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326541475","1326541478","1326541483","1326541533"],"photo_ids_order":["1326541475","1326541478","1326541483","1326541533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9c129c84497c12e4f1f7219982367898.jpg","text":"TemporaryFile(/tmp/multipartBody1800903404556402871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990352581,"filename":"image_04012025_12_30_02_360036_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/098a92e4d27eee754098ae8fbdec6486.jpg","text":"TemporaryFile(/tmp/multipartBody4809776197025955021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990352581,"filename":"image_04012025_12_31_02_485919_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/764208492dc183c4e4b4a058278c8345.jpg","text":"TemporaryFile(/tmp/multipartBody4412760005620305318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990352581,"filename":"image_04012025_12_31_02_485919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/709758f577018acfe81dc79ec3fe3324.jpg","text":"TemporaryFile(/tmp/multipartBody1986388646164423708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990352581,"filename":"image_04012025_12_31_02_485919_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326541483","file1":"1326541478","file0":"1326541475","file3":"1326541533"},"map_files_photo_id_array":[{"photo_id":"1326541483","filename":"file2"},{"photo_id":"1326541478","filename":"file1"},{"photo_id":"1326541475","filename":"file0"},{"photo_id":"1326541533","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326541475":["hashtag1","hashtag2"]},{"1326541478":["hashtag1","hashtag2"]},{"1326541483":["hashtag1","hashtag2"]},{"1326541533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326541475, 1326541478, 1326541483, 1326541533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0523841381073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:32:02.817258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:32:22.441394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/31/image_04012025_12_31_02_485919_0003.jpg', '/home/pi/Desktop/images/04012025/12/32/image_04012025_12_32_02_634237_0000.jpg', '/home/pi/Desktop/images/04012025/12/32/image_04012025_12_32_02_634237_0001.jpg', '/home/pi/Desktop/images/04012025/12/32/image_04012025_12_32_02_634237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/31/image_04012025_12_31_02_485919_0003.jpg
/home/pi/Desktop/images/04012025/12/32/image_04012025_12_32_02_634237_0000.jpg
/home/pi/Desktop/images/04012025/12/32/image_04012025_12_32_02_634237_0001.jpg
/home/pi/Desktop/images/04012025/12/32/image_04012025_12_32_02_634237_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326541841","1326541835","1326541832","1326541839"],"photo_ids_order":["1326541832","1326541835","1326541839","1326541841"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/03293f3e8c08991e3c06d11e0f3df99d.jpg","text":"TemporaryFile(/tmp/multipartBody6098863169910667510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990412554,"filename":"image_04012025_12_32_02_634237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5ea48db0882ffce92d6a932f5c6a54b2.jpg","text":"TemporaryFile(/tmp/multipartBody578756402886793251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990412554,"filename":"image_04012025_12_32_02_634237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a9835172e29d270311371da891b7e2d4.jpg","text":"TemporaryFile(/tmp/multipartBody2960493613013581227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990412554,"filename":"image_04012025_12_31_02_485919_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/79ec526a7ed5db7cf76d0cd848ea9ba8.jpg","text":"TemporaryFile(/tmp/multipartBody2032031561824800954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990412554,"filename":"image_04012025_12_32_02_634237_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326541839","file1":"1326541835","file0":"1326541832","file3":"1326541841"},"map_files_photo_id_array":[{"photo_id":"1326541839","filename":"file2"},{"photo_id":"1326541835","filename":"file1"},{"photo_id":"1326541832","filename":"file0"},{"photo_id":"1326541841","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326541841":["hashtag1","hashtag2"]},{"1326541835":["hashtag1","hashtag2"]},{"1326541832":["hashtag1","hashtag2"]},{"1326541839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326541841, 1326541835, 1326541832, 1326541839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.59838318824768 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-04 12:33:22.633932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/32/image_04012025_12_32_02_634237_0003.jpg', '/home/pi/Desktop/images/04012025/12/33/image_04012025_12_33_02_789812_0000.jpg', '/home/pi/Desktop/images/04012025/12/33/image_04012025_12_33_02_789812_0001.jpg', '/home/pi/Desktop/images/04012025/12/33/image_04012025_12_33_02_789812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/32/image_04012025_12_32_02_634237_0003.jpg
/home/pi/Desktop/images/04012025/12/33/image_04012025_12_33_02_789812_0000.jpg
/home/pi/Desktop/images/04012025/12/33/image_04012025_12_33_02_789812_0001.jpg
/home/pi/Desktop/images/04012025/12/33/image_04012025_12_33_02_789812_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326542153","1326542156","1326542159","1326542150"],"photo_ids_order":["1326542150","1326542153","1326542156","1326542159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d3f9d35d04d17a1600b8601258118c0.jpg","text":"TemporaryFile(/tmp/multipartBody2610159282193911909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990472969,"filename":"image_04012025_12_33_02_789812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7c7bab336bb58db293df4e7de7da3e3f.jpg","text":"TemporaryFile(/tmp/multipartBody5284673521504449198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990472969,"filename":"image_04012025_12_33_02_789812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6c40d302ae941371cd2f92e956e99623.jpg","text":"TemporaryFile(/tmp/multipartBody7658205132292831801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990472969,"filename":"image_04012025_12_33_02_789812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b489002f87407deb7fbee8b4e02cb059.jpg","text":"TemporaryFile(/tmp/multipartBody6720038014838005636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990472969,"filename":"image_04012025_12_32_02_634237_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326542156","file1":"1326542153","file0":"1326542150","file3":"1326542159"},"map_files_photo_id_array":[{"photo_id":"1326542156","filename":"file2"},{"photo_id":"1326542153","filename":"file1"},{"photo_id":"1326542150","filename":"file0"},{"photo_id":"1326542159","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326542153":["hashtag1","hashtag2"]},{"1326542156":["hashtag1","hashtag2"]},{"1326542159":["hashtag1","hashtag2"]},{"1326542150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326542153, 1326542156, 1326542159, 1326542150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42362976074219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:34:21.834939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/33/image_04012025_12_33_02_789812_0003.jpg', '/home/pi/Desktop/images/04012025/12/34/image_04012025_12_34_02_992410_0000.jpg', '/home/pi/Desktop/images/04012025/12/34/image_04012025_12_34_02_992410_0001.jpg', '/home/pi/Desktop/images/04012025/12/34/image_04012025_12_34_02_992410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/33/image_04012025_12_33_02_789812_0003.jpg
/home/pi/Desktop/images/04012025/12/34/image_04012025_12_34_02_992410_0000.jpg
/home/pi/Desktop/images/04012025/12/34/image_04012025_12_34_02_992410_0001.jpg
/home/pi/Desktop/images/04012025/12/34/image_04012025_12_34_02_992410_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.924296140670776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 12:34:41.810618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/33/image_04012025_12_33_02_789812_0003.jpg', '/home/pi/Desktop/images/04012025/12/34/image_04012025_12_34_02_992410_0000.jpg', '/home/pi/Desktop/images/04012025/12/34/image_04012025_12_34_02_992410_0001.jpg', '/home/pi/Desktop/images/04012025/12/34/image_04012025_12_34_02_992410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/33/image_04012025_12_33_02_789812_0003.jpg
/home/pi/Desktop/images/04012025/12/34/image_04012025_12_34_02_992410_0000.jpg
/home/pi/Desktop/images/04012025/12/34/image_04012025_12_34_02_992410_0001.jpg
/home/pi/Desktop/images/04012025/12/34/image_04012025_12_34_02_992410_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326542509","1326542506","1326542496","1326542508"],"photo_ids_order":["1326542496","1326542506","1326542508","1326542509"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/89cef2d72bc3e3514b563dc0f375c9dd.jpg","text":"TemporaryFile(/tmp/multipartBody6821855766961694352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990552148,"filename":"image_04012025_12_34_02_992410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dd3b660eb3ce814856be4dac2610c164.jpg","text":"TemporaryFile(/tmp/multipartBody543111840225444089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990552148,"filename":"image_04012025_12_34_02_992410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/35262b1964d52b28a61f096a6793a8f1.jpg","text":"TemporaryFile(/tmp/multipartBody1824626287014348203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990552148,"filename":"image_04012025_12_33_02_789812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fda60a8871db74093b609281e42fe99b.jpg","text":"TemporaryFile(/tmp/multipartBody247817331668574269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990552148,"filename":"image_04012025_12_34_02_992410_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326542508","file1":"1326542506","file0":"1326542496","file3":"1326542509"},"map_files_photo_id_array":[{"photo_id":"1326542508","filename":"file2"},{"photo_id":"1326542506","filename":"file1"},{"photo_id":"1326542496","filename":"file0"},{"photo_id":"1326542509","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326542509":["hashtag1","hashtag2"]},{"1326542506":["hashtag1","hashtag2"]},{"1326542496":["hashtag1","hashtag2"]},{"1326542508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326542509, 1326542506, 1326542496, 1326542508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.7130081653595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:35:22.010998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/34/image_04012025_12_34_02_992410_0003.jpg', '/home/pi/Desktop/images/04012025/12/35/image_04012025_12_35_02_199747_0000.jpg', '/home/pi/Desktop/images/04012025/12/35/image_04012025_12_35_02_199747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/34/image_04012025_12_34_02_992410_0003.jpg
/home/pi/Desktop/images/04012025/12/35/image_04012025_12_35_02_199747_0000.jpg
/home/pi/Desktop/images/04012025/12/35/image_04012025_12_35_02_199747_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326542848","1326542926","1326542613"],"photo_ids_order":["1326542613","1326542848","1326542926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/59e3bd23f528e5c551c036d70916683e.jpg","text":"TemporaryFile(/tmp/multipartBody634952868201999294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990589871,"filename":"image_04012025_12_35_02_199747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ee13b234d3e9e76c6eda39b4382f3605.jpg","text":"TemporaryFile(/tmp/multipartBody6253377470466696526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990589871,"filename":"image_04012025_12_35_02_199747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f3ec45095dd27aed7f7c8e6c842b0153.jpg","text":"TemporaryFile(/tmp/multipartBody572057805103756163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990589871,"filename":"image_04012025_12_34_02_992410_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326542926","file1":"1326542848","file0":"1326542613"},"map_files_photo_id_array":[{"photo_id":"1326542926","filename":"file2"},{"photo_id":"1326542848","filename":"file1"},{"photo_id":"1326542613","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326542848":["hashtag1","hashtag2"]},{"1326542926":["hashtag1","hashtag2"]},{"1326542613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326542848, 1326542926, 1326542613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.36765694618225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:36:02.674251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:36:22.256681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/35/image_04012025_12_35_02_199747_0003.jpg', '/home/pi/Desktop/images/04012025/12/36/image_04012025_12_36_02_416032_0000.jpg', '/home/pi/Desktop/images/04012025/12/36/image_04012025_12_36_02_416032_0001.jpg', '/home/pi/Desktop/images/04012025/12/36/image_04012025_12_36_02_416032_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/35/image_04012025_12_35_02_199747_0003.jpg
/home/pi/Desktop/images/04012025/12/36/image_04012025_12_36_02_416032_0000.jpg
/home/pi/Desktop/images/04012025/12/36/image_04012025_12_36_02_416032_0001.jpg
/home/pi/Desktop/images/04012025/12/36/image_04012025_12_36_02_416032_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326543045","1326543039","1326543042","1326543036"],"photo_ids_order":["1326543036","1326543039","1326543042","1326543045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8941323aaf41a4e14919b8e147268666.jpg","text":"TemporaryFile(/tmp/multipartBody2120494792870607800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990652568,"filename":"image_04012025_12_36_02_416032_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/916b27b7f06d132070fbfe10917d34a6.jpg","text":"TemporaryFile(/tmp/multipartBody3420644002991533590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990652568,"filename":"image_04012025_12_36_02_416032_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a17de27d4c6f69c80ced8d7522ac6db1.jpg","text":"TemporaryFile(/tmp/multipartBody3937278416760047931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990652568,"filename":"image_04012025_12_36_02_416032_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/604ecd7a824ee30d1abb76ae759d1766.jpg","text":"TemporaryFile(/tmp/multipartBody5062722026497486950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990652568,"filename":"image_04012025_12_35_02_199747_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326543042","file1":"1326543039","file0":"1326543036","file3":"1326543045"},"map_files_photo_id_array":[{"photo_id":"1326543042","filename":"file2"},{"photo_id":"1326543039","filename":"file1"},{"photo_id":"1326543036","filename":"file0"},{"photo_id":"1326543045","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326543045":["hashtag1","hashtag2"]},{"1326543039":["hashtag1","hashtag2"]},{"1326543042":["hashtag1","hashtag2"]},{"1326543036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326543045, 1326543039, 1326543042, 1326543036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.776721239089966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:37:22.466640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/36/image_04012025_12_36_02_416032_0003.jpg', '/home/pi/Desktop/images/04012025/12/37/image_04012025_12_37_02_569831_0000.jpg', '/home/pi/Desktop/images/04012025/12/37/image_04012025_12_37_02_569831_0001.jpg', '/home/pi/Desktop/images/04012025/12/37/image_04012025_12_37_02_569831_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/36/image_04012025_12_36_02_416032_0003.jpg
/home/pi/Desktop/images/04012025/12/37/image_04012025_12_37_02_569831_0000.jpg
/home/pi/Desktop/images/04012025/12/37/image_04012025_12_37_02_569831_0001.jpg
/home/pi/Desktop/images/04012025/12/37/image_04012025_12_37_02_569831_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326543364","1326543421","1326543369","1326543320"],"photo_ids_order":["1326543320","1326543364","1326543369","1326543421"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8681949112b123b0c754e36175e4271f.jpg","text":"TemporaryFile(/tmp/multipartBody4566173143598673988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990712718,"filename":"image_04012025_12_37_02_569831_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/768078736acd8d259bd8db5259871f07.jpg","text":"TemporaryFile(/tmp/multipartBody2607880602164912279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990712718,"filename":"image_04012025_12_37_02_569831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bcdf1f9b67448199fcad6795cb00967d.jpg","text":"TemporaryFile(/tmp/multipartBody7984505705719623557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990712718,"filename":"image_04012025_12_37_02_569831_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/81e2a284e194774f10aec289143c92fb.jpg","text":"TemporaryFile(/tmp/multipartBody12150352022244947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990712718,"filename":"image_04012025_12_36_02_416032_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326543369","file1":"1326543364","file0":"1326543320","file3":"1326543421"},"map_files_photo_id_array":[{"photo_id":"1326543369","filename":"file2"},{"photo_id":"1326543364","filename":"file1"},{"photo_id":"1326543320","filename":"file0"},{"photo_id":"1326543421","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326543364":["hashtag1","hashtag2"]},{"1326543421":["hashtag1","hashtag2"]},{"1326543369":["hashtag1","hashtag2"]},{"1326543320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326543364, 1326543421, 1326543369, 1326543320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.06248092651367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:38:22.592855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/37/image_04012025_12_37_02_569831_0003.jpg', '/home/pi/Desktop/images/04012025/12/38/image_04012025_12_38_02_783572_0000.jpg', '/home/pi/Desktop/images/04012025/12/38/image_04012025_12_38_02_783572_0001.jpg', '/home/pi/Desktop/images/04012025/12/38/image_04012025_12_38_02_783572_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/37/image_04012025_12_37_02_569831_0003.jpg
/home/pi/Desktop/images/04012025/12/38/image_04012025_12_38_02_783572_0000.jpg
/home/pi/Desktop/images/04012025/12/38/image_04012025_12_38_02_783572_0001.jpg
/home/pi/Desktop/images/04012025/12/38/image_04012025_12_38_02_783572_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326543745","1326543732","1326543741","1326543735"],"photo_ids_order":["1326543732","1326543735","1326543741","1326543745"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5b5e6a5eefedb883254ffa2df8f8849b.jpg","text":"TemporaryFile(/tmp/multipartBody8412126766556205615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990772871,"filename":"image_04012025_12_38_02_783572_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49d2b16eb756ac3ee3e74e248103bbe0.jpg","text":"TemporaryFile(/tmp/multipartBody3059420949913274680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990772871,"filename":"image_04012025_12_37_02_569831_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c00570bb59795cdb17178c3379d24df3.jpg","text":"TemporaryFile(/tmp/multipartBody4539759597856654992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990772871,"filename":"image_04012025_12_38_02_783572_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4b6aecc9182b15dabd37ccaa2274852e.jpg","text":"TemporaryFile(/tmp/multipartBody6190331992555693084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990772871,"filename":"image_04012025_12_38_02_783572_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326543741","file1":"1326543735","file0":"1326543732","file3":"1326543745"},"map_files_photo_id_array":[{"photo_id":"1326543741","filename":"file2"},{"photo_id":"1326543735","filename":"file1"},{"photo_id":"1326543732","filename":"file0"},{"photo_id":"1326543745","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326543745":["hashtag1","hashtag2"]},{"1326543732":["hashtag1","hashtag2"]},{"1326543741":["hashtag1","hashtag2"]},{"1326543735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326543745, 1326543732, 1326543741, 1326543735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.16293787956238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:39:03.406276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:39:22.760689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/38/image_04012025_12_38_02_783572_0003.jpg', '/home/pi/Desktop/images/04012025/12/39/image_04012025_12_39_02_913270_0000.jpg', '/home/pi/Desktop/images/04012025/12/39/image_04012025_12_39_02_913270_0001.jpg', '/home/pi/Desktop/images/04012025/12/39/image_04012025_12_39_02_913270_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/38/image_04012025_12_38_02_783572_0003.jpg
/home/pi/Desktop/images/04012025/12/39/image_04012025_12_39_02_913270_0000.jpg
/home/pi/Desktop/images/04012025/12/39/image_04012025_12_39_02_913270_0001.jpg
/home/pi/Desktop/images/04012025/12/39/image_04012025_12_39_02_913270_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326543802","1326543789","1326543879","1326543792"],"photo_ids_order":["1326543789","1326543792","1326543802","1326543879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9cb2941168ec6e3025491f98cce88f66.jpg","text":"TemporaryFile(/tmp/multipartBody6142176393027620296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990833068,"filename":"image_04012025_12_39_02_913270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/18ddbcb45f7badefbc520b06d4a2d9e6.jpg","text":"TemporaryFile(/tmp/multipartBody3784386517954121126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990833068,"filename":"image_04012025_12_38_02_783572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2a7308083c97a40e3416e82ed7e54483.jpg","text":"TemporaryFile(/tmp/multipartBody6403042045456179836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990833068,"filename":"image_04012025_12_39_02_913270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/55be70fad6d32065a061741bd4e7f102.jpg","text":"TemporaryFile(/tmp/multipartBody1268897749058277844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990833068,"filename":"image_04012025_12_39_02_913270_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326543802","file1":"1326543792","file0":"1326543789","file3":"1326543879"},"map_files_photo_id_array":[{"photo_id":"1326543802","filename":"file2"},{"photo_id":"1326543792","filename":"file1"},{"photo_id":"1326543789","filename":"file0"},{"photo_id":"1326543879","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326543802":["hashtag1","hashtag2"]},{"1326543789":["hashtag1","hashtag2"]},{"1326543879":["hashtag1","hashtag2"]},{"1326543792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326543802, 1326543789, 1326543879, 1326543792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.72798156738281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:40:22.022307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/39/image_04012025_12_39_02_913270_0003.jpg', '/home/pi/Desktop/images/04012025/12/40/image_04012025_12_40_03_081549_0000.jpg', '/home/pi/Desktop/images/04012025/12/40/image_04012025_12_40_03_081549_0001.jpg', '/home/pi/Desktop/images/04012025/12/40/image_04012025_12_40_03_081549_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/39/image_04012025_12_39_02_913270_0003.jpg
/home/pi/Desktop/images/04012025/12/40/image_04012025_12_40_03_081549_0000.jpg
/home/pi/Desktop/images/04012025/12/40/image_04012025_12_40_03_081549_0001.jpg
/home/pi/Desktop/images/04012025/12/40/image_04012025_12_40_03_081549_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326544518","1326544688","1326544664","1326544514"],"photo_ids_order":["1326544514","1326544518","1326544664","1326544688"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3dbe7cb7ad9126eaa4602ac1825d8b52.jpg","text":"TemporaryFile(/tmp/multipartBody8943666986275283372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990892236,"filename":"image_04012025_12_40_03_081549_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9faa2c85b73ffb4bb12766e4a0b5211b.jpg","text":"TemporaryFile(/tmp/multipartBody3506300759368716000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990892236,"filename":"image_04012025_12_40_03_081549_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8138103dc06b01b348128adbeb7241a8.jpg","text":"TemporaryFile(/tmp/multipartBody3982297401500980317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990892236,"filename":"image_04012025_12_40_03_081549_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b2f58282c604827cfd29e597a8edfb79.jpg","text":"TemporaryFile(/tmp/multipartBody2790829006968116833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990892236,"filename":"image_04012025_12_39_02_913270_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326544664","file1":"1326544518","file0":"1326544514","file3":"1326544688"},"map_files_photo_id_array":[{"photo_id":"1326544664","filename":"file2"},{"photo_id":"1326544518","filename":"file1"},{"photo_id":"1326544514","filename":"file0"},{"photo_id":"1326544688","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326544518":["hashtag1","hashtag2"]},{"1326544688":["hashtag1","hashtag2"]},{"1326544664":["hashtag1","hashtag2"]},{"1326544514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326544518, 1326544688, 1326544664, 1326544514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44516611099243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:41:02.621191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:41:22.152527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/40/image_04012025_12_40_03_081549_0003.jpg', '/home/pi/Desktop/images/04012025/12/41/image_04012025_12_41_02_318957_0000.jpg', '/home/pi/Desktop/images/04012025/12/41/image_04012025_12_41_02_318957_0001.jpg', '/home/pi/Desktop/images/04012025/12/41/image_04012025_12_41_02_318957_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/40/image_04012025_12_40_03_081549_0003.jpg
/home/pi/Desktop/images/04012025/12/41/image_04012025_12_41_02_318957_0000.jpg
/home/pi/Desktop/images/04012025/12/41/image_04012025_12_41_02_318957_0001.jpg
/home/pi/Desktop/images/04012025/12/41/image_04012025_12_41_02_318957_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326544729","1326544769","1326544732","1326544726"],"photo_ids_order":["1326544726","1326544729","1326544732","1326544769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aaebeefebe5f75ea0142d3ce55b19387.jpg","text":"TemporaryFile(/tmp/multipartBody1847038632260309912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990952582,"filename":"image_04012025_12_41_02_318957_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/069069c3578b361bf2f2bf538cf3707e.jpg","text":"TemporaryFile(/tmp/multipartBody5681484480638239687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990952582,"filename":"image_04012025_12_41_02_318957_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a19b60e0ae5ef19d32fd026dd84d64ab.jpg","text":"TemporaryFile(/tmp/multipartBody8384315497174447632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990952582,"filename":"image_04012025_12_41_02_318957_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/34deacfad4299034f25f70dcc55de3d1.jpg","text":"TemporaryFile(/tmp/multipartBody4218553513228112589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735990952582,"filename":"image_04012025_12_40_03_081549_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326544732","file1":"1326544729","file0":"1326544726","file3":"1326544769"},"map_files_photo_id_array":[{"photo_id":"1326544732","filename":"file2"},{"photo_id":"1326544729","filename":"file1"},{"photo_id":"1326544726","filename":"file0"},{"photo_id":"1326544769","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326544729":["hashtag1","hashtag2"]},{"1326544769":["hashtag1","hashtag2"]},{"1326544732":["hashtag1","hashtag2"]},{"1326544726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326544729, 1326544769, 1326544732, 1326544726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.99160146713257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:42:02.731504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:42:22.278041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/41/image_04012025_12_41_02_318957_0003.jpg', '/home/pi/Desktop/images/04012025/12/42/image_04012025_12_42_02_524755_0000.jpg', '/home/pi/Desktop/images/04012025/12/42/image_04012025_12_42_02_524755_0001.jpg', '/home/pi/Desktop/images/04012025/12/42/image_04012025_12_42_02_524755_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/41/image_04012025_12_41_02_318957_0003.jpg
/home/pi/Desktop/images/04012025/12/42/image_04012025_12_42_02_524755_0000.jpg
/home/pi/Desktop/images/04012025/12/42/image_04012025_12_42_02_524755_0001.jpg
/home/pi/Desktop/images/04012025/12/42/image_04012025_12_42_02_524755_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326544983","1326545037","1326545019","1326544988"],"photo_ids_order":["1326544983","1326544988","1326545019","1326545037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd84749bde68862658116323ebd2bea5.jpg","text":"TemporaryFile(/tmp/multipartBody7561872206631954438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991012443,"filename":"image_04012025_12_41_02_318957_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/482df5e55590fc70ae040692852c0a48.jpg","text":"TemporaryFile(/tmp/multipartBody1846852727127584711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991012443,"filename":"image_04012025_12_42_02_524755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aeb238a785e8d15afbc1843e6a6840ed.jpg","text":"TemporaryFile(/tmp/multipartBody549417908527931617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991012443,"filename":"image_04012025_12_42_02_524755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8e93057e246e4bda1000acb0a5ddcfbf.jpg","text":"TemporaryFile(/tmp/multipartBody3797873609811623459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991012443,"filename":"image_04012025_12_42_02_524755_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326545019","file1":"1326544988","file0":"1326544983","file3":"1326545037"},"map_files_photo_id_array":[{"photo_id":"1326545019","filename":"file2"},{"photo_id":"1326544988","filename":"file1"},{"photo_id":"1326544983","filename":"file0"},{"photo_id":"1326545037","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326544983":["hashtag1","hashtag2"]},{"1326545037":["hashtag1","hashtag2"]},{"1326545019":["hashtag1","hashtag2"]},{"1326544988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326544983, 1326545037, 1326545019, 1326544988)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.69653391838074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:43:22.522480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/42/image_04012025_12_42_02_524755_0003.jpg', '/home/pi/Desktop/images/04012025/12/43/image_04012025_12_43_02_625635_0000.jpg', '/home/pi/Desktop/images/04012025/12/43/image_04012025_12_43_02_625635_0001.jpg', '/home/pi/Desktop/images/04012025/12/43/image_04012025_12_43_02_625635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/42/image_04012025_12_42_02_524755_0003.jpg
/home/pi/Desktop/images/04012025/12/43/image_04012025_12_43_02_625635_0000.jpg
/home/pi/Desktop/images/04012025/12/43/image_04012025_12_43_02_625635_0001.jpg
/home/pi/Desktop/images/04012025/12/43/image_04012025_12_43_02_625635_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326545109","1326545103","1326545106","1326545083"],"photo_ids_order":["1326545083","1326545103","1326545106","1326545109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af8573836ffb7e22220b14d96c35e2df.jpg","text":"TemporaryFile(/tmp/multipartBody5281833709171366752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991072799,"filename":"image_04012025_12_43_02_625635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/223677ce89875b7a54fe0f83fc9c2ddd.jpg","text":"TemporaryFile(/tmp/multipartBody3747680044131473280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991072799,"filename":"image_04012025_12_43_02_625635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3acc572a0c28a69608268b50bfd97dfc.jpg","text":"TemporaryFile(/tmp/multipartBody795767509149633495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991072799,"filename":"image_04012025_12_43_02_625635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85db922a2945648e074063e55831efa3.jpg","text":"TemporaryFile(/tmp/multipartBody1330306995959171757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991072799,"filename":"image_04012025_12_42_02_524755_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326545106","file1":"1326545103","file0":"1326545083","file3":"1326545109"},"map_files_photo_id_array":[{"photo_id":"1326545106","filename":"file2"},{"photo_id":"1326545103","filename":"file1"},{"photo_id":"1326545083","filename":"file0"},{"photo_id":"1326545109","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326545109":["hashtag1","hashtag2"]},{"1326545103":["hashtag1","hashtag2"]},{"1326545106":["hashtag1","hashtag2"]},{"1326545083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326545109, 1326545103, 1326545106, 1326545083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.266343116760254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:44:02.973305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:44:22.599863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/43/image_04012025_12_43_02_625635_0003.jpg', '/home/pi/Desktop/images/04012025/12/44/image_04012025_12_44_02_880391_0000.jpg', '/home/pi/Desktop/images/04012025/12/44/image_04012025_12_44_02_880391_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/43/image_04012025_12_43_02_625635_0003.jpg
/home/pi/Desktop/images/04012025/12/44/image_04012025_12_44_02_880391_0000.jpg
/home/pi/Desktop/images/04012025/12/44/image_04012025_12_44_02_880391_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":["1326545807","1326545782","1326545812"],"photo_ids_order":["1326545782","1326545807","1326545812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/46119ae3cdca4411ec1d84b40a56aa9a.jpg","text":"TemporaryFile(/tmp/multipartBody3539515029953788555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991130479,"filename":"image_04012025_12_44_02_880391_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3c154d9d35091cca975685133209d2a3.jpg","text":"TemporaryFile(/tmp/multipartBody4522058867343161137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991130479,"filename":"image_04012025_12_43_02_625635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2343a9eaa7e94e95903f0179452a00c9.jpg","text":"TemporaryFile(/tmp/multipartBody6463237683179061699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991130479,"filename":"image_04012025_12_44_02_880391_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326545812","file1":"1326545807","file0":"1326545782"},"map_files_photo_id_array":[{"photo_id":"1326545812","filename":"file2"},{"photo_id":"1326545807","filename":"file1"},{"photo_id":"1326545782","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326545807":["hashtag1","hashtag2"]},{"1326545782":["hashtag1","hashtag2"]},{"1326545812":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326545807, 1326545782, 1326545812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.706852197647095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:45:02.327955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:45:21.822200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/44/image_04012025_12_44_02_880391_0003.jpg', '/home/pi/Desktop/images/04012025/12/45/image_04012025_12_45_02_909387_0000.jpg', '/home/pi/Desktop/images/04012025/12/45/image_04012025_12_45_02_909387_0001.jpg', '/home/pi/Desktop/images/04012025/12/45/image_04012025_12_45_02_909387_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/44/image_04012025_12_44_02_880391_0003.jpg
/home/pi/Desktop/images/04012025/12/45/image_04012025_12_45_02_909387_0000.jpg
/home/pi/Desktop/images/04012025/12/45/image_04012025_12_45_02_909387_0001.jpg
/home/pi/Desktop/images/04012025/12/45/image_04012025_12_45_02_909387_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326546153","1326546140","1326546104","1326545968"],"photo_ids_order":["1326545968","1326546104","1326546140","1326546153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0c2a89eeed52392c0c5f9afcb636e757.jpg","text":"TemporaryFile(/tmp/multipartBody9129505924688314862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991191801,"filename":"image_04012025_12_45_02_909387_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b87060f25ba0dfd35134a4a1bb717e1.jpg","text":"TemporaryFile(/tmp/multipartBody7780358134801836748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991191801,"filename":"image_04012025_12_45_02_909387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b05525a7cf29011357638bab752f6cb5.jpg","text":"TemporaryFile(/tmp/multipartBody220180717067342779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991191801,"filename":"image_04012025_12_45_02_909387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3223a5c6c6b4c174a1bc0d8bd95992a3.jpg","text":"TemporaryFile(/tmp/multipartBody3142318611809674966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991191801,"filename":"image_04012025_12_44_02_880391_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326546140","file1":"1326546104","file0":"1326545968","file3":"1326546153"},"map_files_photo_id_array":[{"photo_id":"1326546140","filename":"file2"},{"photo_id":"1326546104","filename":"file1"},{"photo_id":"1326545968","filename":"file0"},{"photo_id":"1326546153","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326546153":["hashtag1","hashtag2"]},{"1326546140":["hashtag1","hashtag2"]},{"1326546104":["hashtag1","hashtag2"]},{"1326545968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326546153, 1326546140, 1326546104, 1326545968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.427398920059204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:46:02.421330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:46:21.996902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/45/image_04012025_12_45_02_909387_0003.jpg', '/home/pi/Desktop/images/04012025/12/46/image_04012025_12_46_02_138729_0000.jpg', '/home/pi/Desktop/images/04012025/12/46/image_04012025_12_46_02_138729_0001.jpg', '/home/pi/Desktop/images/04012025/12/46/image_04012025_12_46_02_138729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/45/image_04012025_12_45_02_909387_0003.jpg
/home/pi/Desktop/images/04012025/12/46/image_04012025_12_46_02_138729_0000.jpg
/home/pi/Desktop/images/04012025/12/46/image_04012025_12_46_02_138729_0001.jpg
/home/pi/Desktop/images/04012025/12/46/image_04012025_12_46_02_138729_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326546303","1326546553","1326546517","1326546547"],"photo_ids_order":["1326546303","1326546517","1326546547","1326546553"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9510ba0b2558f46cdf2b97c9c1450fff.jpg","text":"TemporaryFile(/tmp/multipartBody5067417918498832314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991252015,"filename":"image_04012025_12_45_02_909387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/482a861de7de9cab689e53a88982abf3.jpg","text":"TemporaryFile(/tmp/multipartBody458415778355542834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991252015,"filename":"image_04012025_12_46_02_138729_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1e0fd1322d158989f878d939f41e2d5c.jpg","text":"TemporaryFile(/tmp/multipartBody7531682691008972598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991252015,"filename":"image_04012025_12_46_02_138729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9f4e9bd94f9f34ff3ad323a94094ea28.jpg","text":"TemporaryFile(/tmp/multipartBody3858669779960138569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991252015,"filename":"image_04012025_12_46_02_138729_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326546547","file1":"1326546517","file0":"1326546303","file3":"1326546553"},"map_files_photo_id_array":[{"photo_id":"1326546547","filename":"file2"},{"photo_id":"1326546517","filename":"file1"},{"photo_id":"1326546303","filename":"file0"},{"photo_id":"1326546553","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326546303":["hashtag1","hashtag2"]},{"1326546553":["hashtag1","hashtag2"]},{"1326546517":["hashtag1","hashtag2"]},{"1326546547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326546303, 1326546553, 1326546517, 1326546547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.76917099952698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:47:22.103179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/46/image_04012025_12_46_02_138729_0003.jpg', '/home/pi/Desktop/images/04012025/12/47/image_04012025_12_47_02_332418_0000.jpg', '/home/pi/Desktop/images/04012025/12/47/image_04012025_12_47_02_332418_0001.jpg', '/home/pi/Desktop/images/04012025/12/47/image_04012025_12_47_02_332418_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/46/image_04012025_12_46_02_138729_0003.jpg
/home/pi/Desktop/images/04012025/12/47/image_04012025_12_47_02_332418_0000.jpg
/home/pi/Desktop/images/04012025/12/47/image_04012025_12_47_02_332418_0001.jpg
/home/pi/Desktop/images/04012025/12/47/image_04012025_12_47_02_332418_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326546761","1326546902","1326546830","1326546905"],"photo_ids_order":["1326546761","1326546830","1326546902","1326546905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/364f85408b304d71e7f7b4e6a5071238.jpg","text":"TemporaryFile(/tmp/multipartBody6607226734584540751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991312234,"filename":"image_04012025_12_46_02_138729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d64d3f2af58cb16acf43c0cfcd5bf9c5.jpg","text":"TemporaryFile(/tmp/multipartBody7749831297385647028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991312234,"filename":"image_04012025_12_47_02_332418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2c6e80f8fc223d1c2d136fcd9b517f38.jpg","text":"TemporaryFile(/tmp/multipartBody3721156536882079164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991312234,"filename":"image_04012025_12_47_02_332418_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/edc96be2719622135c50d95ac2a0d8fe.jpg","text":"TemporaryFile(/tmp/multipartBody3906300030280211139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991312234,"filename":"image_04012025_12_47_02_332418_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326546902","file1":"1326546830","file0":"1326546761","file3":"1326546905"},"map_files_photo_id_array":[{"photo_id":"1326546902","filename":"file2"},{"photo_id":"1326546830","filename":"file1"},{"photo_id":"1326546761","filename":"file0"},{"photo_id":"1326546905","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326546761":["hashtag1","hashtag2"]},{"1326546902":["hashtag1","hashtag2"]},{"1326546830":["hashtag1","hashtag2"]},{"1326546905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326546761, 1326546902, 1326546830, 1326546905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.07976794242859 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:48:02.789295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:48:22.297418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/47/image_04012025_12_47_02_332418_0003.jpg', '/home/pi/Desktop/images/04012025/12/48/image_04012025_12_48_02_498529_0000.jpg', '/home/pi/Desktop/images/04012025/12/48/image_04012025_12_48_02_498529_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/47/image_04012025_12_47_02_332418_0003.jpg
/home/pi/Desktop/images/04012025/12/48/image_04012025_12_48_02_498529_0000.jpg
/home/pi/Desktop/images/04012025/12/48/image_04012025_12_48_02_498529_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326547002","1326547004","1326547007"],"photo_ids_order":["1326547002","1326547004","1326547007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/103bfef0bd9777f6c76ae3cddba24d76.jpg","text":"TemporaryFile(/tmp/multipartBody8334345629612897025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991370079,"filename":"image_04012025_12_47_02_332418_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/41339b8b208f15c0685760e2219c4573.jpg","text":"TemporaryFile(/tmp/multipartBody2940054333274017461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991370079,"filename":"image_04012025_12_48_02_498529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c45dd1ea08c6a52fc0e1b832b1cfab76.jpg","text":"TemporaryFile(/tmp/multipartBody8103609961084690794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991370079,"filename":"image_04012025_12_48_02_498529_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326547007","file1":"1326547004","file0":"1326547002"},"map_files_photo_id_array":[{"photo_id":"1326547007","filename":"file2"},{"photo_id":"1326547004","filename":"file1"},{"photo_id":"1326547002","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326547002":["hashtag1","hashtag2"]},{"1326547004":["hashtag1","hashtag2"]},{"1326547007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326547002, 1326547004, 1326547007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.731273651123047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:49:03.136983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:49:22.583444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/48/image_04012025_12_48_02_498529_0003.jpg', '/home/pi/Desktop/images/04012025/12/49/image_04012025_12_49_02_670854_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/48/image_04012025_12_48_02_498529_0003.jpg
/home/pi/Desktop/images/04012025/12/49/image_04012025_12_49_02_670854_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":["1326547442","1326547444"],"photo_ids_order":["1326547442","1326547444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9835d9a7710ae41cf96475c2214d6013.jpg","text":"TemporaryFile(/tmp/multipartBody6701025476776830680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991428099,"filename":"image_04012025_12_48_02_498529_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/82fae40a7f4900ce44facdaa168a52ad.jpg","text":"TemporaryFile(/tmp/multipartBody2833498837705763369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991428099,"filename":"image_04012025_12_49_02_670854_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326547444","file0":"1326547442"},"map_files_photo_id_array":[{"photo_id":"1326547444","filename":"file1"},{"photo_id":"1326547442","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326547442":["hashtag1","hashtag2"]},{"1326547444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326547442, 1326547444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.33686065673828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 12:49:52.447095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:50:02.981507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:50:22.690685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/49/image_04012025_12_49_02_670854_0001.jpg', '/home/pi/Desktop/images/04012025/12/50/image_04012025_12_50_02_908690_0000.jpg', '/home/pi/Desktop/images/04012025/12/50/image_04012025_12_50_02_908690_0001.jpg', '/home/pi/Desktop/images/04012025/12/50/image_04012025_12_50_02_908690_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/49/image_04012025_12_49_02_670854_0001.jpg
/home/pi/Desktop/images/04012025/12/50/image_04012025_12_50_02_908690_0000.jpg
/home/pi/Desktop/images/04012025/12/50/image_04012025_12_50_02_908690_0001.jpg
/home/pi/Desktop/images/04012025/12/50/image_04012025_12_50_02_908690_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326547628","1326547794","1326548075","1326548072"],"photo_ids_order":["1326547628","1326547794","1326548072","1326548075"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/671a61c0acf32e58e1159c10ac5cbf0f.jpg","text":"TemporaryFile(/tmp/multipartBody5625916828167684162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991492826,"filename":"image_04012025_12_49_02_670854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6377584c5f1935e8651a3cbd8fb75889.jpg","text":"TemporaryFile(/tmp/multipartBody1493401234177088382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991492826,"filename":"image_04012025_12_50_02_908690_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b9efa9a4e47b799c78c0bdf7828b523.jpg","text":"TemporaryFile(/tmp/multipartBody8323062056147542209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991492826,"filename":"image_04012025_12_50_02_908690_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8e300a71ac7be24db7e9fe22d41a5569.jpg","text":"TemporaryFile(/tmp/multipartBody1612909099012527086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991492826,"filename":"image_04012025_12_50_02_908690_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326548072","file1":"1326547794","file0":"1326547628","file3":"1326548075"},"map_files_photo_id_array":[{"photo_id":"1326548072","filename":"file2"},{"photo_id":"1326547794","filename":"file1"},{"photo_id":"1326547628","filename":"file0"},{"photo_id":"1326548075","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326547628":["hashtag1","hashtag2"]},{"1326547794":["hashtag1","hashtag2"]},{"1326548075":["hashtag1","hashtag2"]},{"1326548072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326547628, 1326547794, 1326548075, 1326548072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.65674805641174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:51:03.225532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:51:22.675735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/50/image_04012025_12_50_02_908690_0003.jpg', '/home/pi/Desktop/images/04012025/12/51/image_04012025_12_51_02_969434_0000.jpg', '/home/pi/Desktop/images/04012025/12/51/image_04012025_12_51_02_969434_0001.jpg', '/home/pi/Desktop/images/04012025/12/51/image_04012025_12_51_02_969434_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/50/image_04012025_12_50_02_908690_0003.jpg
/home/pi/Desktop/images/04012025/12/51/image_04012025_12_51_02_969434_0000.jpg
/home/pi/Desktop/images/04012025/12/51/image_04012025_12_51_02_969434_0001.jpg
/home/pi/Desktop/images/04012025/12/51/image_04012025_12_51_02_969434_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326548542","1326548533","1326549083","1326548786"],"photo_ids_order":["1326548533","1326548542","1326548786","1326549083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/099c1e187464566a5ded9f1228eb0151.jpg","text":"TemporaryFile(/tmp/multipartBody8623431131219614048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991552810,"filename":"image_04012025_12_51_02_969434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7890e5bbaf26a5d5c17a887c226c3a80.jpg","text":"TemporaryFile(/tmp/multipartBody6966182795436682109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991552810,"filename":"image_04012025_12_50_02_908690_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4d0e02b4d6dcb2a16e618e196afdd69e.jpg","text":"TemporaryFile(/tmp/multipartBody8569277318398591951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991552810,"filename":"image_04012025_12_51_02_969434_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4a678d1819804acb70ee63a706273809.jpg","text":"TemporaryFile(/tmp/multipartBody7515556847818166882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991552810,"filename":"image_04012025_12_51_02_969434_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326548786","file1":"1326548542","file0":"1326548533","file3":"1326549083"},"map_files_photo_id_array":[{"photo_id":"1326548786","filename":"file2"},{"photo_id":"1326548542","filename":"file1"},{"photo_id":"1326548533","filename":"file0"},{"photo_id":"1326549083","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326548542":["hashtag1","hashtag2"]},{"1326548533":["hashtag1","hashtag2"]},{"1326549083":["hashtag1","hashtag2"]},{"1326548786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326548542, 1326548533, 1326549083, 1326548786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43759870529175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:52:02.393369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:52:21.960156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/51/image_04012025_12_51_02_969434_0003.jpg', '/home/pi/Desktop/images/04012025/12/52/image_04012025_12_52_03_094090_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/51/image_04012025_12_51_02_969434_0003.jpg
/home/pi/Desktop/images/04012025/12/52/image_04012025_12_52_03_094090_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":["1326549377","1326549280"],"photo_ids_order":["1326549280","1326549377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/848375f4641644541249052be666e596.jpg","text":"TemporaryFile(/tmp/multipartBody5663468323806175388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991607366,"filename":"image_04012025_12_52_03_094090_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/209edec928c7e3d2dc13f78a9aaa1849.jpg","text":"TemporaryFile(/tmp/multipartBody615827190964604526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991607366,"filename":"image_04012025_12_51_02_969434_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326549377","file0":"1326549280"},"map_files_photo_id_array":[{"photo_id":"1326549377","filename":"file1"},{"photo_id":"1326549280","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326549377":["hashtag1","hashtag2"]},{"1326549280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326549377, 1326549280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.62747883796692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 12:52:51.958817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:53:02.765149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:53:22.192774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/52/image_04012025_12_52_03_094090_0003.jpg', '/home/pi/Desktop/images/04012025/12/53/image_04012025_12_53_02_360903_0000.jpg', '/home/pi/Desktop/images/04012025/12/53/image_04012025_12_53_02_360903_0001.jpg', '/home/pi/Desktop/images/04012025/12/53/image_04012025_12_53_02_360903_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/52/image_04012025_12_52_03_094090_0003.jpg
/home/pi/Desktop/images/04012025/12/53/image_04012025_12_53_02_360903_0000.jpg
/home/pi/Desktop/images/04012025/12/53/image_04012025_12_53_02_360903_0001.jpg
/home/pi/Desktop/images/04012025/12/53/image_04012025_12_53_02_360903_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326550339","1326550263","1326550337","1326550331"],"photo_ids_order":["1326550263","1326550331","1326550337","1326550339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28635af8eb494f4d8625d2ca36ea9d61.jpg","text":"TemporaryFile(/tmp/multipartBody1734465121940946136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991672344,"filename":"image_04012025_12_53_02_360903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d42804d8d454074a15deb3207fb99185.jpg","text":"TemporaryFile(/tmp/multipartBody1214807430110553356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991672344,"filename":"image_04012025_12_52_03_094090_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/31b99ed0a9d6c2be3f178c373fb9e145.jpg","text":"TemporaryFile(/tmp/multipartBody5708723727222921788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991672344,"filename":"image_04012025_12_53_02_360903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/70f36157635e28c5de208fb771eded6b.jpg","text":"TemporaryFile(/tmp/multipartBody5682336121721510077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991672344,"filename":"image_04012025_12_53_02_360903_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326550337","file1":"1326550331","file0":"1326550263","file3":"1326550339"},"map_files_photo_id_array":[{"photo_id":"1326550337","filename":"file2"},{"photo_id":"1326550331","filename":"file1"},{"photo_id":"1326550263","filename":"file0"},{"photo_id":"1326550339","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326550339":["hashtag1","hashtag2"]},{"1326550263":["hashtag1","hashtag2"]},{"1326550337":["hashtag1","hashtag2"]},{"1326550331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326550339, 1326550263, 1326550337, 1326550331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.53034949302673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:54:22.442464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/53/image_04012025_12_53_02_360903_0003.jpg', '/home/pi/Desktop/images/04012025/12/54/image_04012025_12_54_02_604224_0000.jpg', '/home/pi/Desktop/images/04012025/12/54/image_04012025_12_54_02_604224_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/53/image_04012025_12_53_02_360903_0003.jpg
/home/pi/Desktop/images/04012025/12/54/image_04012025_12_54_02_604224_0000.jpg
/home/pi/Desktop/images/04012025/12/54/image_04012025_12_54_02_604224_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":["1326550564","1326550567","1326550536"],"photo_ids_order":["1326550536","1326550564","1326550567"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed60e331f487c1335f5ce743e72b7b50.jpg","text":"TemporaryFile(/tmp/multipartBody3438060748157569851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991730229,"filename":"image_04012025_12_54_02_604224_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/68a313060152dc4eb7088684f443a1b5.jpg","text":"TemporaryFile(/tmp/multipartBody2023054505003721250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991730229,"filename":"image_04012025_12_54_02_604224_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/15ea3ed2703b77fd513a7e11b1a50180.jpg","text":"TemporaryFile(/tmp/multipartBody2425301563087614026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991730229,"filename":"image_04012025_12_53_02_360903_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326550567","file1":"1326550564","file0":"1326550536"},"map_files_photo_id_array":[{"photo_id":"1326550567","filename":"file2"},{"photo_id":"1326550564","filename":"file1"},{"photo_id":"1326550536","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326550564":["hashtag1","hashtag2"]},{"1326550567":["hashtag1","hashtag2"]},{"1326550536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326550564, 1326550567, 1326550536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.562504768371582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:55:03.225657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:55:22.583280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/54/image_04012025_12_54_02_604224_0003.jpg', '/home/pi/Desktop/images/04012025/12/55/image_04012025_12_55_02_725101_0001.jpg', '/home/pi/Desktop/images/04012025/12/55/image_04012025_12_55_02_725101_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/54/image_04012025_12_54_02_604224_0003.jpg
/home/pi/Desktop/images/04012025/12/55/image_04012025_12_55_02_725101_0001.jpg
/home/pi/Desktop/images/04012025/12/55/image_04012025_12_55_02_725101_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326550586","1326550589","1326550583"],"photo_ids_order":["1326550583","1326550586","1326550589"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/668946c08bbeab3045b49630e0f9bd9b.jpg","text":"TemporaryFile(/tmp/multipartBody130306690098566327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991790345,"filename":"image_04012025_12_55_02_725101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8276c7b296cedcd5c90e5dea3684338d.jpg","text":"TemporaryFile(/tmp/multipartBody400450743504776625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991790345,"filename":"image_04012025_12_55_02_725101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/927770c0f195aef60c79d7f42cf6b12a.jpg","text":"TemporaryFile(/tmp/multipartBody3725185492755459336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991790345,"filename":"image_04012025_12_54_02_604224_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326550589","file1":"1326550586","file0":"1326550583"},"map_files_photo_id_array":[{"photo_id":"1326550589","filename":"file2"},{"photo_id":"1326550586","filename":"file1"},{"photo_id":"1326550583","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326550586":["hashtag1","hashtag2"]},{"1326550589":["hashtag1","hashtag2"]},{"1326550583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326550586, 1326550589, 1326550583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.587178230285645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:56:02.215702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:56:21.740394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/55/image_04012025_12_55_02_725101_0003.jpg', '/home/pi/Desktop/images/04012025/12/56/image_04012025_12_56_02_911508_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/55/image_04012025_12_55_02_725101_0003.jpg
/home/pi/Desktop/images/04012025/12/56/image_04012025_12_56_02_911508_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326550625","1326550623"],"photo_ids_order":["1326550623","1326550625"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/01f2283c5d5027e89ff9b7c31842b36a.jpg","text":"TemporaryFile(/tmp/multipartBody6300941769584689263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991847142,"filename":"image_04012025_12_56_02_911508_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6a8ead9314bce146dbf2aa304fcb2dd0.jpg","text":"TemporaryFile(/tmp/multipartBody5708161085545723942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991847142,"filename":"image_04012025_12_55_02_725101_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326550625","file0":"1326550623"},"map_files_photo_id_array":[{"photo_id":"1326550625","filename":"file1"},{"photo_id":"1326550623","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326550625":["hashtag1","hashtag2"]},{"1326550623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326550625, 1326550623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.189507007598877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 12:56:51.756555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:57:02.572331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:57:21.925112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/56/image_04012025_12_56_02_911508_0003.jpg', '/home/pi/Desktop/images/04012025/12/57/image_04012025_12_57_02_218835_0000.jpg', '/home/pi/Desktop/images/04012025/12/57/image_04012025_12_57_02_218835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/56/image_04012025_12_56_02_911508_0003.jpg
/home/pi/Desktop/images/04012025/12/57/image_04012025_12_57_02_218835_0000.jpg
/home/pi/Desktop/images/04012025/12/57/image_04012025_12_57_02_218835_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326551146","1326550963","1326551319"],"photo_ids_order":["1326550963","1326551146","1326551319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba58ff130519988d9f303923cc220862.jpg","text":"TemporaryFile(/tmp/multipartBody2551382496037377176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991909711,"filename":"image_04012025_12_57_02_218835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0db394d1ae99137cbdadc4359b6f60c5.jpg","text":"TemporaryFile(/tmp/multipartBody6196037298401861718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991909711,"filename":"image_04012025_12_56_02_911508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4b72e5d1204d4cfea3f5a83812d605d6.jpg","text":"TemporaryFile(/tmp/multipartBody4911434058886798627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735991909711,"filename":"image_04012025_12_57_02_218835_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326551319","file1":"1326551146","file0":"1326550963"},"map_files_photo_id_array":[{"photo_id":"1326551319","filename":"file2"},{"photo_id":"1326551146","filename":"file1"},{"photo_id":"1326550963","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326551146":["hashtag1","hashtag2"]},{"1326550963":["hashtag1","hashtag2"]},{"1326551319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326551146, 1326550963, 1326551319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.995639324188232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 12:59:02.950737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 12:59:22.346027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/57/image_04012025_12_57_02_218835_0003.jpg', '/home/pi/Desktop/images/04012025/12/58/image_04012025_12_58_02_297719_0000.jpg', '/home/pi/Desktop/images/04012025/12/58/image_04012025_12_58_02_297719_0001.jpg', '/home/pi/Desktop/images/04012025/12/58/image_04012025_12_58_02_297719_0002.jpg', '/home/pi/Desktop/images/04012025/12/58/image_04012025_12_58_02_297719_0003.jpg', '/home/pi/Desktop/images/04012025/12/59/image_04012025_12_59_02_499517_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/57/image_04012025_12_57_02_218835_0003.jpg
/home/pi/Desktop/images/04012025/12/58/image_04012025_12_58_02_297719_0000.jpg
/home/pi/Desktop/images/04012025/12/58/image_04012025_12_58_02_297719_0001.jpg
/home/pi/Desktop/images/04012025/12/58/image_04012025_12_58_02_297719_0002.jpg
/home/pi/Desktop/images/04012025/12/58/image_04012025_12_58_02_297719_0003.jpg
/home/pi/Desktop/images/04012025/12/59/image_04012025_12_59_02_499517_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":["1326552924","1326552741","1326553136","1326552743","1326552803","1326553105"],"photo_ids_order":["1326552741","1326552743","1326552803","1326552924","1326553105","1326553136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d286d3d0442cfc5fb5630bbab61ff9c.jpg","text":"TemporaryFile(/tmp/multipartBody2546992742511722268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992037187,"filename":"image_04012025_12_58_02_297719_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d21e63fd5169486eb056de636bf505a4.jpg","text":"TemporaryFile(/tmp/multipartBody4085370911333397861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992037187,"filename":"image_04012025_12_57_02_218835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d01c3a3d1922f50abd172ea58c14caee.jpg","text":"TemporaryFile(/tmp/multipartBody6215003276187289025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992037187,"filename":"image_04012025_12_59_02_499517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7d36af7276a8136fd1bc02213e6c5e5.jpg","text":"TemporaryFile(/tmp/multipartBody2426593025006336831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992037187,"filename":"image_04012025_12_58_02_297719_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c86e07ce5666a3948db6a7958493ada7.jpg","text":"TemporaryFile(/tmp/multipartBody7675887520381610347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992037187,"filename":"image_04012025_12_58_02_297719_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0cf043bbbac82f2f8a0b696d2cf2bc7c.jpg","text":"TemporaryFile(/tmp/multipartBody6507062762565531894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992037187,"filename":"image_04012025_12_58_02_297719_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326552803","file1":"1326552743","file0":"1326552741","file4":"1326553105","file5":"1326553136","file3":"1326552924"},"map_files_photo_id_array":[{"photo_id":"1326553136","filename":"file5"},{"photo_id":"1326552803","filename":"file2"},{"photo_id":"1326553105","filename":"file4"},{"photo_id":"1326552743","filename":"file1"},{"photo_id":"1326552741","filename":"file0"},{"photo_id":"1326552924","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326552924":["hashtag1","hashtag2"]},{"1326552741":["hashtag1","hashtag2"]},{"1326553136":["hashtag1","hashtag2"]},{"1326552743":["hashtag1","hashtag2"]},{"1326552803":["hashtag1","hashtag2"]},{"1326553105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326552924, 1326552741, 1326553136, 1326552743, 1326552803, 1326553105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.597092628479004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:00:22.592669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/12/59/image_04012025_12_59_02_499517_0003.jpg', '/home/pi/Desktop/images/04012025/13/00/image_04012025_13_00_02_731629_0001.jpg', '/home/pi/Desktop/images/04012025/13/00/image_04012025_13_00_02_731629_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/12/59/image_04012025_12_59_02_499517_0003.jpg
/home/pi/Desktop/images/04012025/13/00/image_04012025_13_00_02_731629_0001.jpg
/home/pi/Desktop/images/04012025/13/00/image_04012025_13_00_02_731629_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326553188","1326553190","1326553185"],"photo_ids_order":["1326553185","1326553188","1326553190"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5cdc91c9f5937c21213602a4116d9d23.jpg","text":"TemporaryFile(/tmp/multipartBody3638711260319939094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992090520,"filename":"image_04012025_13_00_02_731629_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca86999b486d36ce5e2db246ce2b20b9.jpg","text":"TemporaryFile(/tmp/multipartBody2438871113890252003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992090520,"filename":"image_04012025_13_00_02_731629_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ee873f80aeb19ac871065083326e7c73.jpg","text":"TemporaryFile(/tmp/multipartBody6025819918235591203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992090520,"filename":"image_04012025_12_59_02_499517_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326553190","file1":"1326553188","file0":"1326553185"},"map_files_photo_id_array":[{"photo_id":"1326553190","filename":"file2"},{"photo_id":"1326553188","filename":"file1"},{"photo_id":"1326553185","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326553188":["hashtag1","hashtag2"]},{"1326553190":["hashtag1","hashtag2"]},{"1326553185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326553188, 1326553190, 1326553185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.91505265235901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:01:03.359207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:01:22.807350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/00/image_04012025_13_00_02_731629_0003.jpg', '/home/pi/Desktop/images/04012025/13/01/image_04012025_13_01_02_911009_0000.jpg', '/home/pi/Desktop/images/04012025/13/01/image_04012025_13_01_02_911009_0001.jpg', '/home/pi/Desktop/images/04012025/13/01/image_04012025_13_01_02_911009_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/00/image_04012025_13_00_02_731629_0003.jpg
/home/pi/Desktop/images/04012025/13/01/image_04012025_13_01_02_911009_0000.jpg
/home/pi/Desktop/images/04012025/13/01/image_04012025_13_01_02_911009_0001.jpg
/home/pi/Desktop/images/04012025/13/01/image_04012025_13_01_02_911009_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326553527","1326553203","1326553384","1326553207"],"photo_ids_order":["1326553203","1326553207","1326553384","1326553527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/81b23bed3662c48b36ca3a41b00bdf0b.jpg","text":"TemporaryFile(/tmp/multipartBody6803010089944190162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992152936,"filename":"image_04012025_13_01_02_911009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/363a1c0541827c94f16eb4a4d81a7e15.jpg","text":"TemporaryFile(/tmp/multipartBody4873986684167913886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992152936,"filename":"image_04012025_13_00_02_731629_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed358509482d36530d00d2b68fe77b3c.jpg","text":"TemporaryFile(/tmp/multipartBody5696749812535875277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992152936,"filename":"image_04012025_13_01_02_911009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0a8cf09f5f182645c71f2871f486c7a1.jpg","text":"TemporaryFile(/tmp/multipartBody8300572090068190395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992152936,"filename":"image_04012025_13_01_02_911009_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326553384","file1":"1326553207","file0":"1326553203","file3":"1326553527"},"map_files_photo_id_array":[{"photo_id":"1326553384","filename":"file2"},{"photo_id":"1326553207","filename":"file1"},{"photo_id":"1326553203","filename":"file0"},{"photo_id":"1326553527","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326553527":["hashtag1","hashtag2"]},{"1326553203":["hashtag1","hashtag2"]},{"1326553384":["hashtag1","hashtag2"]},{"1326553207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326553527, 1326553203, 1326553384, 1326553207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.110204219818115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:02:21.988653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/01/image_04012025_13_01_02_911009_0003.jpg', '/home/pi/Desktop/images/04012025/13/02/image_04012025_13_02_03_112355_0000.jpg', '/home/pi/Desktop/images/04012025/13/02/image_04012025_13_02_03_112355_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/01/image_04012025_13_01_02_911009_0003.jpg
/home/pi/Desktop/images/04012025/13/02/image_04012025_13_02_03_112355_0000.jpg
/home/pi/Desktop/images/04012025/13/02/image_04012025_13_02_03_112355_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":["1326553659","1326553652","1326553655"],"photo_ids_order":["1326553652","1326553655","1326553659"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d253a93a9e7d3e31df7046f9dab5880a.jpg","text":"TemporaryFile(/tmp/multipartBody2406635281675960543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992209659,"filename":"image_04012025_13_02_03_112355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/52a396951f2f933c208953b5f4d3c43d.jpg","text":"TemporaryFile(/tmp/multipartBody1709971674740462760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992209659,"filename":"image_04012025_13_01_02_911009_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3a1fe0c3aa00a74e54dc5ee905e262fb.jpg","text":"TemporaryFile(/tmp/multipartBody4973823660196807896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992209659,"filename":"image_04012025_13_02_03_112355_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326553659","file1":"1326553655","file0":"1326553652"},"map_files_photo_id_array":[{"photo_id":"1326553659","filename":"file2"},{"photo_id":"1326553655","filename":"file1"},{"photo_id":"1326553652","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326553659":["hashtag1","hashtag2"]},{"1326553652":["hashtag1","hashtag2"]},{"1326553655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326553659, 1326553652, 1326553655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.462435483932495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:03:02.779020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:03:22.147949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/02/image_04012025_13_02_03_112355_0002.jpg', '/home/pi/Desktop/images/04012025/13/03/image_04012025_13_03_02_269398_0000.jpg', '/home/pi/Desktop/images/04012025/13/03/image_04012025_13_03_02_269398_0001.jpg', '/home/pi/Desktop/images/04012025/13/03/image_04012025_13_03_02_269398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/02/image_04012025_13_02_03_112355_0002.jpg
/home/pi/Desktop/images/04012025/13/03/image_04012025_13_03_02_269398_0000.jpg
/home/pi/Desktop/images/04012025/13/03/image_04012025_13_03_02_269398_0001.jpg
/home/pi/Desktop/images/04012025/13/03/image_04012025_13_03_02_269398_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326554186","1326554122","1326554101","1326554107"],"photo_ids_order":["1326554101","1326554107","1326554122","1326554186"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/82c94f86b680760e327c78eb80e52304.jpg","text":"TemporaryFile(/tmp/multipartBody7951516669781599174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992272389,"filename":"image_04012025_13_03_02_269398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b7c91e0f85127072fa3357893da6bf08.jpg","text":"TemporaryFile(/tmp/multipartBody6862082128919123566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992272389,"filename":"image_04012025_13_03_02_269398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2fac59b8e2f25fa89264e731dbc27169.jpg","text":"TemporaryFile(/tmp/multipartBody4076911636787599608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992272389,"filename":"image_04012025_13_02_03_112355_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d0d2380dab8eb477e201effa7698149f.jpg","text":"TemporaryFile(/tmp/multipartBody7959353141147503269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992272389,"filename":"image_04012025_13_03_02_269398_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326554122","file1":"1326554107","file0":"1326554101","file3":"1326554186"},"map_files_photo_id_array":[{"photo_id":"1326554122","filename":"file2"},{"photo_id":"1326554107","filename":"file1"},{"photo_id":"1326554101","filename":"file0"},{"photo_id":"1326554186","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326554186":["hashtag1","hashtag2"]},{"1326554122":["hashtag1","hashtag2"]},{"1326554101":["hashtag1","hashtag2"]},{"1326554107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326554186, 1326554122, 1326554101, 1326554107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53516149520874 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-04 13:04:22.259624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/03/image_04012025_13_03_02_269398_0003.jpg', '/home/pi/Desktop/images/04012025/13/04/image_04012025_13_04_02_464080_0000.jpg', '/home/pi/Desktop/images/04012025/13/04/image_04012025_13_04_02_464080_0001.jpg', '/home/pi/Desktop/images/04012025/13/04/image_04012025_13_04_02_464080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/03/image_04012025_13_03_02_269398_0003.jpg
/home/pi/Desktop/images/04012025/13/04/image_04012025_13_04_02_464080_0000.jpg
/home/pi/Desktop/images/04012025/13/04/image_04012025_13_04_02_464080_0001.jpg
/home/pi/Desktop/images/04012025/13/04/image_04012025_13_04_02_464080_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.833494186401367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 13:04:42.364697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/03/image_04012025_13_03_02_269398_0003.jpg', '/home/pi/Desktop/images/04012025/13/04/image_04012025_13_04_02_464080_0000.jpg', '/home/pi/Desktop/images/04012025/13/04/image_04012025_13_04_02_464080_0001.jpg', '/home/pi/Desktop/images/04012025/13/04/image_04012025_13_04_02_464080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/03/image_04012025_13_03_02_269398_0003.jpg
/home/pi/Desktop/images/04012025/13/04/image_04012025_13_04_02_464080_0000.jpg
/home/pi/Desktop/images/04012025/13/04/image_04012025_13_04_02_464080_0001.jpg
/home/pi/Desktop/images/04012025/13/04/image_04012025_13_04_02_464080_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326554767","1326554677","1326554731","1326554766"],"photo_ids_order":["1326554677","1326554731","1326554766","1326554767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b75c08f17736fbb52b99c7d86ed46dc1.jpg","text":"TemporaryFile(/tmp/multipartBody5724398331506072052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992352581,"filename":"image_04012025_13_04_02_464080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8aa9cf17b89936ed0ce8a7836f788916.jpg","text":"TemporaryFile(/tmp/multipartBody6026468767853337477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992352581,"filename":"image_04012025_13_03_02_269398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/193d27f1b1c55b064f6bea2c47d37f0c.jpg","text":"TemporaryFile(/tmp/multipartBody3387282307759060599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992352581,"filename":"image_04012025_13_04_02_464080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/95c351f67080074d39dc2ad1163788d1.jpg","text":"TemporaryFile(/tmp/multipartBody3349555648133408556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992352581,"filename":"image_04012025_13_04_02_464080_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326554766","file1":"1326554731","file0":"1326554677","file3":"1326554767"},"map_files_photo_id_array":[{"photo_id":"1326554766","filename":"file2"},{"photo_id":"1326554731","filename":"file1"},{"photo_id":"1326554677","filename":"file0"},{"photo_id":"1326554767","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326554767":["hashtag1","hashtag2"]},{"1326554677":["hashtag1","hashtag2"]},{"1326554731":["hashtag1","hashtag2"]},{"1326554766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326554767, 1326554677, 1326554731, 1326554766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.06348204612732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 13:05:32.459461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/04/image_04012025_13_04_02_464080_0003.jpg', '/home/pi/Desktop/images/04012025/13/05/image_04012025_13_05_02_661289_0000.jpg', '/home/pi/Desktop/images/04012025/13/05/image_04012025_13_05_02_661289_0001.jpg', '/home/pi/Desktop/images/04012025/13/05/image_04012025_13_05_02_661289_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/04/image_04012025_13_04_02_464080_0003.jpg
/home/pi/Desktop/images/04012025/13/05/image_04012025_13_05_02_661289_0000.jpg
/home/pi/Desktop/images/04012025/13/05/image_04012025_13_05_02_661289_0001.jpg
/home/pi/Desktop/images/04012025/13/05/image_04012025_13_05_02_661289_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326555577","1326555688","1326555579","1326555363"],"photo_ids_order":["1326555363","1326555577","1326555579","1326555688"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b665a41c847547d8d9b7ea9603e9c7fb.jpg","text":"TemporaryFile(/tmp/multipartBody5390023561641769693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992402807,"filename":"image_04012025_13_05_02_661289_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b77f275cc59e0d542702f4af7f0837ae.jpg","text":"TemporaryFile(/tmp/multipartBody5480507707067649464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992402807,"filename":"image_04012025_13_05_02_661289_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/784fb2691bedcc13ea597082af97a3d2.jpg","text":"TemporaryFile(/tmp/multipartBody1467857933937388656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992402807,"filename":"image_04012025_13_05_02_661289_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1dfb0d460ea61c78d11e14f23ccd1b30.jpg","text":"TemporaryFile(/tmp/multipartBody8312881531153224139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992402807,"filename":"image_04012025_13_04_02_464080_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326555579","file1":"1326555577","file0":"1326555363","file3":"1326555688"},"map_files_photo_id_array":[{"photo_id":"1326555579","filename":"file2"},{"photo_id":"1326555577","filename":"file1"},{"photo_id":"1326555363","filename":"file0"},{"photo_id":"1326555688","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326555577":["hashtag1","hashtag2"]},{"1326555688":["hashtag1","hashtag2"]},{"1326555579":["hashtag1","hashtag2"]},{"1326555363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326555577, 1326555688, 1326555579, 1326555363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.963359355926514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:06:22.645427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/05/image_04012025_13_05_02_661289_0003.jpg', '/home/pi/Desktop/images/04012025/13/06/image_04012025_13_06_02_837878_0000.jpg', '/home/pi/Desktop/images/04012025/13/06/image_04012025_13_06_02_837878_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/05/image_04012025_13_05_02_661289_0003.jpg
/home/pi/Desktop/images/04012025/13/06/image_04012025_13_06_02_837878_0000.jpg
/home/pi/Desktop/images/04012025/13/06/image_04012025_13_06_02_837878_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":["1326555809","1326555804","1326555807"],"photo_ids_order":["1326555804","1326555807","1326555809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/42ff73d043499e1837cb1504c5aca910.jpg","text":"TemporaryFile(/tmp/multipartBody2808641851369371061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992450517,"filename":"image_04012025_13_06_02_837878_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6bbf1aaa12dd79dce552d3ef9fffa312.jpg","text":"TemporaryFile(/tmp/multipartBody4885481160577022727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992450517,"filename":"image_04012025_13_05_02_661289_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d1041f98eae6d3151ef7307d260d5486.jpg","text":"TemporaryFile(/tmp/multipartBody7733253741389686522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992450517,"filename":"image_04012025_13_06_02_837878_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326555809","file1":"1326555807","file0":"1326555804"},"map_files_photo_id_array":[{"photo_id":"1326555809","filename":"file2"},{"photo_id":"1326555807","filename":"file1"},{"photo_id":"1326555804","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326555809":["hashtag1","hashtag2"]},{"1326555804":["hashtag1","hashtag2"]},{"1326555807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326555809, 1326555804, 1326555807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.58221983909607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:07:02.324128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:07:21.779852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/06/image_04012025_13_06_02_837878_0003.jpg', '/home/pi/Desktop/images/04012025/13/07/image_04012025_13_07_03_057153_0000.jpg', '/home/pi/Desktop/images/04012025/13/07/image_04012025_13_07_03_057153_0001.jpg', '/home/pi/Desktop/images/04012025/13/07/image_04012025_13_07_03_057153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/06/image_04012025_13_06_02_837878_0003.jpg
/home/pi/Desktop/images/04012025/13/07/image_04012025_13_07_03_057153_0000.jpg
/home/pi/Desktop/images/04012025/13/07/image_04012025_13_07_03_057153_0001.jpg
/home/pi/Desktop/images/04012025/13/07/image_04012025_13_07_03_057153_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326556316","1326556318","1326556248","1326556314"],"photo_ids_order":["1326556248","1326556314","1326556316","1326556318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/31b63ce9f3657cecd8e7693bb6f3cb66.jpg","text":"TemporaryFile(/tmp/multipartBody2062814755348849043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992512092,"filename":"image_04012025_13_07_03_057153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c2f95b7b5d454d46caf6ec23fcc72058.jpg","text":"TemporaryFile(/tmp/multipartBody7865711272809239543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992512092,"filename":"image_04012025_13_07_03_057153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b8cba73e89c6ef231c2ef7d32c1b1873.jpg","text":"TemporaryFile(/tmp/multipartBody1310219405566864334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992512092,"filename":"image_04012025_13_06_02_837878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fa7037d15fb741decb0e7d738bf5efc4.jpg","text":"TemporaryFile(/tmp/multipartBody7328616083371010277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992512092,"filename":"image_04012025_13_07_03_057153_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326556316","file1":"1326556314","file0":"1326556248","file3":"1326556318"},"map_files_photo_id_array":[{"photo_id":"1326556316","filename":"file2"},{"photo_id":"1326556314","filename":"file1"},{"photo_id":"1326556248","filename":"file0"},{"photo_id":"1326556318","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326556316":["hashtag1","hashtag2"]},{"1326556318":["hashtag1","hashtag2"]},{"1326556248":["hashtag1","hashtag2"]},{"1326556314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326556316, 1326556318, 1326556248, 1326556314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.01745653152466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:08:02.410524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:08:21.997144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/07/image_04012025_13_07_03_057153_0003.jpg', '/home/pi/Desktop/images/04012025/13/08/image_04012025_13_08_02_111696_0000.jpg', '/home/pi/Desktop/images/04012025/13/08/image_04012025_13_08_02_111696_0001.jpg', '/home/pi/Desktop/images/04012025/13/08/image_04012025_13_08_02_111696_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/07/image_04012025_13_07_03_057153_0003.jpg
/home/pi/Desktop/images/04012025/13/08/image_04012025_13_08_02_111696_0000.jpg
/home/pi/Desktop/images/04012025/13/08/image_04012025_13_08_02_111696_0001.jpg
/home/pi/Desktop/images/04012025/13/08/image_04012025_13_08_02_111696_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.997220993041992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 13:08:41.948562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/07/image_04012025_13_07_03_057153_0003.jpg', '/home/pi/Desktop/images/04012025/13/08/image_04012025_13_08_02_111696_0000.jpg', '/home/pi/Desktop/images/04012025/13/08/image_04012025_13_08_02_111696_0001.jpg', '/home/pi/Desktop/images/04012025/13/08/image_04012025_13_08_02_111696_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/07/image_04012025_13_07_03_057153_0003.jpg
/home/pi/Desktop/images/04012025/13/08/image_04012025_13_08_02_111696_0000.jpg
/home/pi/Desktop/images/04012025/13/08/image_04012025_13_08_02_111696_0001.jpg
/home/pi/Desktop/images/04012025/13/08/image_04012025_13_08_02_111696_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326556909","1326556905","1326556910","1326556907"],"photo_ids_order":["1326556905","1326556907","1326556909","1326556910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/060182fe553898bfca0716e3e11f4e3f.jpg","text":"TemporaryFile(/tmp/multipartBody5424527652480455373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992592339,"filename":"image_04012025_13_08_02_111696_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4971821312d071a3a9a355ae7147f05c.jpg","text":"TemporaryFile(/tmp/multipartBody4256765983512974926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992592339,"filename":"image_04012025_13_07_03_057153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/73db39999b031dfd9c5ed06ddb8f704f.jpg","text":"TemporaryFile(/tmp/multipartBody6754146817802569034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992592339,"filename":"image_04012025_13_08_02_111696_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/afab55b7374871757e4568acad5c6101.jpg","text":"TemporaryFile(/tmp/multipartBody2411662113615179724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992592339,"filename":"image_04012025_13_08_02_111696_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326556909","file1":"1326556907","file0":"1326556905","file3":"1326556910"},"map_files_photo_id_array":[{"photo_id":"1326556909","filename":"file2"},{"photo_id":"1326556907","filename":"file1"},{"photo_id":"1326556905","filename":"file0"},{"photo_id":"1326556910","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326556909":["hashtag1","hashtag2"]},{"1326556905":["hashtag1","hashtag2"]},{"1326556910":["hashtag1","hashtag2"]},{"1326556907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326556909, 1326556905, 1326556910, 1326556907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.12995100021362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 13:09:32.103178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/08/image_04012025_13_08_02_111696_0003.jpg', '/home/pi/Desktop/images/04012025/13/09/image_04012025_13_09_02_355250_0000.jpg', '/home/pi/Desktop/images/04012025/13/09/image_04012025_13_09_02_355250_0001.jpg', '/home/pi/Desktop/images/04012025/13/09/image_04012025_13_09_02_355250_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/08/image_04012025_13_08_02_111696_0003.jpg
/home/pi/Desktop/images/04012025/13/09/image_04012025_13_09_02_355250_0000.jpg
/home/pi/Desktop/images/04012025/13/09/image_04012025_13_09_02_355250_0001.jpg
/home/pi/Desktop/images/04012025/13/09/image_04012025_13_09_02_355250_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326557166","1326557031","1326557027","1326557461"],"photo_ids_order":["1326557027","1326557031","1326557166","1326557461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bbcfd0f76b125f4ac57e69c66dece27b.jpg","text":"TemporaryFile(/tmp/multipartBody56457661410219680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992642446,"filename":"image_04012025_13_09_02_355250_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/82ec05fe37050ddf39ef857e7e018bf2.jpg","text":"TemporaryFile(/tmp/multipartBody1461090544945762384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992642446,"filename":"image_04012025_13_09_02_355250_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0373d9e490497d26f87e266c31d6fb4e.jpg","text":"TemporaryFile(/tmp/multipartBody2423291733928528715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992642446,"filename":"image_04012025_13_08_02_111696_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/de4ea342553b59c12d12ad9d5dd1b440.jpg","text":"TemporaryFile(/tmp/multipartBody2854299309967750913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992642446,"filename":"image_04012025_13_09_02_355250_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326557166","file1":"1326557031","file0":"1326557027","file3":"1326557461"},"map_files_photo_id_array":[{"photo_id":"1326557166","filename":"file2"},{"photo_id":"1326557031","filename":"file1"},{"photo_id":"1326557027","filename":"file0"},{"photo_id":"1326557461","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326557166":["hashtag1","hashtag2"]},{"1326557031":["hashtag1","hashtag2"]},{"1326557027":["hashtag1","hashtag2"]},{"1326557461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326557166, 1326557031, 1326557027, 1326557461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.231401681900024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:10:22.416682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/09/image_04012025_13_09_02_355250_0003.jpg', '/home/pi/Desktop/images/04012025/13/10/image_04012025_13_10_02_558126_0000.jpg', '/home/pi/Desktop/images/04012025/13/10/image_04012025_13_10_02_558126_0001.jpg', '/home/pi/Desktop/images/04012025/13/10/image_04012025_13_10_02_558126_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/09/image_04012025_13_09_02_355250_0003.jpg
/home/pi/Desktop/images/04012025/13/10/image_04012025_13_10_02_558126_0000.jpg
/home/pi/Desktop/images/04012025/13/10/image_04012025_13_10_02_558126_0001.jpg
/home/pi/Desktop/images/04012025/13/10/image_04012025_13_10_02_558126_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326558019","1326557733","1326558134","1326557593"],"photo_ids_order":["1326557593","1326557733","1326558019","1326558134"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c5c645bbf50757fa60892d25533921cc.jpg","text":"TemporaryFile(/tmp/multipartBody7077165316446167083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992692859,"filename":"image_04012025_13_10_02_558126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6145365aee628941d7356e48d80ccfe7.jpg","text":"TemporaryFile(/tmp/multipartBody7901211165889678527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992692859,"filename":"image_04012025_13_10_02_558126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/512aa0e5352736e92f2f4fc8f57634bc.jpg","text":"TemporaryFile(/tmp/multipartBody5669053712443591123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992692859,"filename":"image_04012025_13_10_02_558126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4b415b04224ed586e3579e998eb14d31.jpg","text":"TemporaryFile(/tmp/multipartBody6677754692614453675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992692859,"filename":"image_04012025_13_09_02_355250_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326558019","file1":"1326557733","file0":"1326557593","file3":"1326558134"},"map_files_photo_id_array":[{"photo_id":"1326558019","filename":"file2"},{"photo_id":"1326557733","filename":"file1"},{"photo_id":"1326557593","filename":"file0"},{"photo_id":"1326558134","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326558019":["hashtag1","hashtag2"]},{"1326557733":["hashtag1","hashtag2"]},{"1326558134":["hashtag1","hashtag2"]},{"1326557593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326558019, 1326557733, 1326558134, 1326557593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.69292163848877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:11:03.098579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:11:22.550824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/10/image_04012025_13_10_02_558126_0003.jpg', '/home/pi/Desktop/images/04012025/13/11/image_04012025_13_11_02_728714_0000.jpg', '/home/pi/Desktop/images/04012025/13/11/image_04012025_13_11_02_728714_0001.jpg', '/home/pi/Desktop/images/04012025/13/11/image_04012025_13_11_02_728714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/10/image_04012025_13_10_02_558126_0003.jpg
/home/pi/Desktop/images/04012025/13/11/image_04012025_13_11_02_728714_0000.jpg
/home/pi/Desktop/images/04012025/13/11/image_04012025_13_11_02_728714_0001.jpg
/home/pi/Desktop/images/04012025/13/11/image_04012025_13_11_02_728714_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326558519","1326558276","1326558272","1326558274"],"photo_ids_order":["1326558272","1326558274","1326558276","1326558519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3681e30ff02f65f528a76c9e36d08368.jpg","text":"TemporaryFile(/tmp/multipartBody4864328208203206142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992752862,"filename":"image_04012025_13_11_02_728714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/42b57446fa43ccabfb0add5735584f7d.jpg","text":"TemporaryFile(/tmp/multipartBody5965215033678446302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992752862,"filename":"image_04012025_13_11_02_728714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3fa2e41fb7fedb79bdc735153bf551e6.jpg","text":"TemporaryFile(/tmp/multipartBody7852425878218022648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992752862,"filename":"image_04012025_13_10_02_558126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85cbe88e8ac2547124f5fb410aafcdaf.jpg","text":"TemporaryFile(/tmp/multipartBody6112323185626414830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992752862,"filename":"image_04012025_13_11_02_728714_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326558276","file1":"1326558274","file0":"1326558272","file3":"1326558519"},"map_files_photo_id_array":[{"photo_id":"1326558276","filename":"file2"},{"photo_id":"1326558274","filename":"file1"},{"photo_id":"1326558272","filename":"file0"},{"photo_id":"1326558519","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326558519":["hashtag1","hashtag2"]},{"1326558276":["hashtag1","hashtag2"]},{"1326558272":["hashtag1","hashtag2"]},{"1326558274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326558519, 1326558276, 1326558272, 1326558274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57419753074646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:12:03.024182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:12:22.622593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/11/image_04012025_13_11_02_728714_0003.jpg', '/home/pi/Desktop/images/04012025/13/12/image_04012025_13_12_02_857809_0000.jpg', '/home/pi/Desktop/images/04012025/13/12/image_04012025_13_12_02_857809_0001.jpg', '/home/pi/Desktop/images/04012025/13/12/image_04012025_13_12_02_857809_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/11/image_04012025_13_11_02_728714_0003.jpg
/home/pi/Desktop/images/04012025/13/12/image_04012025_13_12_02_857809_0000.jpg
/home/pi/Desktop/images/04012025/13/12/image_04012025_13_12_02_857809_0001.jpg
/home/pi/Desktop/images/04012025/13/12/image_04012025_13_12_02_857809_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.981114149093628 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 13:12:42.719041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/11/image_04012025_13_11_02_728714_0003.jpg', '/home/pi/Desktop/images/04012025/13/12/image_04012025_13_12_02_857809_0000.jpg', '/home/pi/Desktop/images/04012025/13/12/image_04012025_13_12_02_857809_0001.jpg', '/home/pi/Desktop/images/04012025/13/12/image_04012025_13_12_02_857809_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/11/image_04012025_13_11_02_728714_0003.jpg
/home/pi/Desktop/images/04012025/13/12/image_04012025_13_12_02_857809_0000.jpg
/home/pi/Desktop/images/04012025/13/12/image_04012025_13_12_02_857809_0001.jpg
/home/pi/Desktop/images/04012025/13/12/image_04012025_13_12_02_857809_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326558819","1326558821","1326558824","1326558823"],"photo_ids_order":["1326558819","1326558821","1326558823","1326558824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/67cc3bc6419d52bafc6a1b32b3418210.jpg","text":"TemporaryFile(/tmp/multipartBody8656126522152928668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992833108,"filename":"image_04012025_13_11_02_728714_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9c23fe867b73fe89b7a8860f2ff0f37e.jpg","text":"TemporaryFile(/tmp/multipartBody6377505494882066280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992833108,"filename":"image_04012025_13_12_02_857809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3331260eecee4001b11b03c6e9d624a0.jpg","text":"TemporaryFile(/tmp/multipartBody5895588107630134154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992833108,"filename":"image_04012025_13_12_02_857809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a950c07cd465c2cd644cfb28c1e54517.jpg","text":"TemporaryFile(/tmp/multipartBody882098708872259100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992833108,"filename":"image_04012025_13_12_02_857809_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326558823","file1":"1326558821","file0":"1326558819","file3":"1326558824"},"map_files_photo_id_array":[{"photo_id":"1326558823","filename":"file2"},{"photo_id":"1326558821","filename":"file1"},{"photo_id":"1326558819","filename":"file0"},{"photo_id":"1326558824","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326558819":["hashtag1","hashtag2"]},{"1326558821":["hashtag1","hashtag2"]},{"1326558824":["hashtag1","hashtag2"]},{"1326558823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326558819, 1326558821, 1326558824, 1326558823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.28464722633362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 13:13:31.799065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/12/image_04012025_13_12_02_857809_0003.jpg', '/home/pi/Desktop/images/04012025/13/13/image_04012025_13_13_03_042943_0000.jpg', '/home/pi/Desktop/images/04012025/13/13/image_04012025_13_13_03_042943_0001.jpg', '/home/pi/Desktop/images/04012025/13/13/image_04012025_13_13_03_042943_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/12/image_04012025_13_12_02_857809_0003.jpg
/home/pi/Desktop/images/04012025/13/13/image_04012025_13_13_03_042943_0000.jpg
/home/pi/Desktop/images/04012025/13/13/image_04012025_13_13_03_042943_0001.jpg
/home/pi/Desktop/images/04012025/13/13/image_04012025_13_13_03_042943_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326560125","1326559803","1326559919","1326559665"],"photo_ids_order":["1326559665","1326559803","1326559919","1326560125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d487cb08a69d2568b89c68687f52df9.jpg","text":"TemporaryFile(/tmp/multipartBody9096874015094364191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992882149,"filename":"image_04012025_13_13_03_042943_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5bc31ca7dca05df9296b59bb22e1a0e1.jpg","text":"TemporaryFile(/tmp/multipartBody343103754202122515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992882149,"filename":"image_04012025_13_13_03_042943_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/63d24546515c0b6c8d8264df51f7860f.jpg","text":"TemporaryFile(/tmp/multipartBody4401290041754220311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992882149,"filename":"image_04012025_13_13_03_042943_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0bb0a5b4eabdf609bc471d878aa6a5e7.jpg","text":"TemporaryFile(/tmp/multipartBody2526237085770743862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992882149,"filename":"image_04012025_13_12_02_857809_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326559919","file1":"1326559803","file0":"1326559665","file3":"1326560125"},"map_files_photo_id_array":[{"photo_id":"1326559919","filename":"file2"},{"photo_id":"1326559803","filename":"file1"},{"photo_id":"1326559665","filename":"file0"},{"photo_id":"1326560125","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326560125":["hashtag1","hashtag2"]},{"1326559803":["hashtag1","hashtag2"]},{"1326559919":["hashtag1","hashtag2"]},{"1326559665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326560125, 1326559803, 1326559919, 1326559665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.03783655166626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:14:22.091270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/13/image_04012025_13_13_03_042943_0003.jpg', '/home/pi/Desktop/images/04012025/13/14/image_04012025_13_14_02_201001_0000.jpg', '/home/pi/Desktop/images/04012025/13/14/image_04012025_13_14_02_201001_0001.jpg', '/home/pi/Desktop/images/04012025/13/14/image_04012025_13_14_02_201001_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/13/image_04012025_13_13_03_042943_0003.jpg
/home/pi/Desktop/images/04012025/13/14/image_04012025_13_14_02_201001_0000.jpg
/home/pi/Desktop/images/04012025/13/14/image_04012025_13_14_02_201001_0001.jpg
/home/pi/Desktop/images/04012025/13/14/image_04012025_13_14_02_201001_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326560238","1326560264","1326560398","1326560242"],"photo_ids_order":["1326560238","1326560242","1326560264","1326560398"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af761f48c3f51bd7e9d338625422bf9a.jpg","text":"TemporaryFile(/tmp/multipartBody1834679574678918017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992932340,"filename":"image_04012025_13_13_03_042943_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85b3037917d11d146043933c086fa082.jpg","text":"TemporaryFile(/tmp/multipartBody2508821345948495650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992932340,"filename":"image_04012025_13_14_02_201001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/de88541b81014a6fea7770b9d3909db6.jpg","text":"TemporaryFile(/tmp/multipartBody4422615588758022136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992932340,"filename":"image_04012025_13_14_02_201001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/93ac266b3989b696b11cb1f4dd74fa66.jpg","text":"TemporaryFile(/tmp/multipartBody4708258320893631053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992932340,"filename":"image_04012025_13_14_02_201001_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326560264","file1":"1326560242","file0":"1326560238","file3":"1326560398"},"map_files_photo_id_array":[{"photo_id":"1326560264","filename":"file2"},{"photo_id":"1326560242","filename":"file1"},{"photo_id":"1326560238","filename":"file0"},{"photo_id":"1326560398","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326560238":["hashtag1","hashtag2"]},{"1326560264":["hashtag1","hashtag2"]},{"1326560398":["hashtag1","hashtag2"]},{"1326560242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326560238, 1326560264, 1326560398, 1326560242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58640432357788 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-04 13:15:22.254498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/14/image_04012025_13_14_02_201001_0003.jpg', '/home/pi/Desktop/images/04012025/13/15/image_04012025_13_15_02_366508_0000.jpg', '/home/pi/Desktop/images/04012025/13/15/image_04012025_13_15_02_366508_0001.jpg', '/home/pi/Desktop/images/04012025/13/15/image_04012025_13_15_02_366508_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/14/image_04012025_13_14_02_201001_0003.jpg
/home/pi/Desktop/images/04012025/13/15/image_04012025_13_15_02_366508_0000.jpg
/home/pi/Desktop/images/04012025/13/15/image_04012025_13_15_02_366508_0001.jpg
/home/pi/Desktop/images/04012025/13/15/image_04012025_13_15_02_366508_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326560748","1326560756","1326560759","1326560753"],"photo_ids_order":["1326560748","1326560753","1326560756","1326560759"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/70a8f9ad28857e1da3790cc0e24f08c4.jpg","text":"TemporaryFile(/tmp/multipartBody4193315334794620833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992992768,"filename":"image_04012025_13_14_02_201001_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/22e57ebaee5b3730867db2bce847d4af.jpg","text":"TemporaryFile(/tmp/multipartBody8676781393980761723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992992768,"filename":"image_04012025_13_15_02_366508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/20de6941254df3e2952269e60cc95553.jpg","text":"TemporaryFile(/tmp/multipartBody4891926304365304862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992992768,"filename":"image_04012025_13_15_02_366508_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/58e0f0a75140a960dd512509c4daa5ff.jpg","text":"TemporaryFile(/tmp/multipartBody3513588407526906644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735992992768,"filename":"image_04012025_13_15_02_366508_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326560756","file1":"1326560753","file0":"1326560748","file3":"1326560759"},"map_files_photo_id_array":[{"photo_id":"1326560756","filename":"file2"},{"photo_id":"1326560753","filename":"file1"},{"photo_id":"1326560748","filename":"file0"},{"photo_id":"1326560759","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326560748":["hashtag1","hashtag2"]},{"1326560756":["hashtag1","hashtag2"]},{"1326560759":["hashtag1","hashtag2"]},{"1326560753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326560748, 1326560756, 1326560759, 1326560753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.806660652160645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:16:02.887599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:16:22.485210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/15/image_04012025_13_15_02_366508_0003.jpg', '/home/pi/Desktop/images/04012025/13/16/image_04012025_13_16_02_544224_0000.jpg', '/home/pi/Desktop/images/04012025/13/16/image_04012025_13_16_02_544224_0001.jpg', '/home/pi/Desktop/images/04012025/13/16/image_04012025_13_16_02_544224_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/15/image_04012025_13_15_02_366508_0003.jpg
/home/pi/Desktop/images/04012025/13/16/image_04012025_13_16_02_544224_0000.jpg
/home/pi/Desktop/images/04012025/13/16/image_04012025_13_16_02_544224_0001.jpg
/home/pi/Desktop/images/04012025/13/16/image_04012025_13_16_02_544224_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.027238607406616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 13:16:42.360961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/15/image_04012025_13_15_02_366508_0003.jpg', '/home/pi/Desktop/images/04012025/13/16/image_04012025_13_16_02_544224_0000.jpg', '/home/pi/Desktop/images/04012025/13/16/image_04012025_13_16_02_544224_0001.jpg', '/home/pi/Desktop/images/04012025/13/16/image_04012025_13_16_02_544224_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/15/image_04012025_13_15_02_366508_0003.jpg
/home/pi/Desktop/images/04012025/13/16/image_04012025_13_16_02_544224_0000.jpg
/home/pi/Desktop/images/04012025/13/16/image_04012025_13_16_02_544224_0001.jpg
/home/pi/Desktop/images/04012025/13/16/image_04012025_13_16_02_544224_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326561261","1326561853","1326561259","1326561409"],"photo_ids_order":["1326561259","1326561261","1326561409","1326561853"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ac94086ba9dffb5e40de1c4e0036457f.jpg","text":"TemporaryFile(/tmp/multipartBody6408144204496293501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993072814,"filename":"image_04012025_13_16_02_544224_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/791c927242da58c6982a3bd9ef6ea5fc.jpg","text":"TemporaryFile(/tmp/multipartBody4772758145102934044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993072814,"filename":"image_04012025_13_16_02_544224_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c17d53678edbccb25d2b8f3ba6ee1e89.jpg","text":"TemporaryFile(/tmp/multipartBody4602687636124668438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993072814,"filename":"image_04012025_13_15_02_366508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c44d5bc3585612214bce9c74f219af41.jpg","text":"TemporaryFile(/tmp/multipartBody493697909811991742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993072814,"filename":"image_04012025_13_16_02_544224_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326561409","file1":"1326561261","file0":"1326561259","file3":"1326561853"},"map_files_photo_id_array":[{"photo_id":"1326561409","filename":"file2"},{"photo_id":"1326561261","filename":"file1"},{"photo_id":"1326561259","filename":"file0"},{"photo_id":"1326561853","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326561261":["hashtag1","hashtag2"]},{"1326561853":["hashtag1","hashtag2"]},{"1326561259":["hashtag1","hashtag2"]},{"1326561409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326561261, 1326561853, 1326561259, 1326561409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12092614173889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:17:22.636203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/16/image_04012025_13_16_02_544224_0003.jpg', '/home/pi/Desktop/images/04012025/13/17/image_04012025_13_17_02_840349_0000.jpg', '/home/pi/Desktop/images/04012025/13/17/image_04012025_13_17_02_840349_0001.jpg', '/home/pi/Desktop/images/04012025/13/17/image_04012025_13_17_02_840349_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/16/image_04012025_13_16_02_544224_0003.jpg
/home/pi/Desktop/images/04012025/13/17/image_04012025_13_17_02_840349_0000.jpg
/home/pi/Desktop/images/04012025/13/17/image_04012025_13_17_02_840349_0001.jpg
/home/pi/Desktop/images/04012025/13/17/image_04012025_13_17_02_840349_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326562460","1326562832","1326562543","1326562788"],"photo_ids_order":["1326562460","1326562543","1326562788","1326562832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b7ddce05bb3d750625e52550fc657d23.jpg","text":"TemporaryFile(/tmp/multipartBody657067909458513518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993113007,"filename":"image_04012025_13_16_02_544224_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed4dea877971d4f9a7ef7e228ce7f1ba.jpg","text":"TemporaryFile(/tmp/multipartBody8908525068461019035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993113007,"filename":"image_04012025_13_17_02_840349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9660af376ebd756838846816a02b3f80.jpg","text":"TemporaryFile(/tmp/multipartBody881848728001885918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993113007,"filename":"image_04012025_13_17_02_840349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/59d69ecb6fb709a1de4a7d8ca2dd10ec.jpg","text":"TemporaryFile(/tmp/multipartBody2681905177866514544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993113007,"filename":"image_04012025_13_17_02_840349_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326562788","file1":"1326562543","file0":"1326562460","file3":"1326562832"},"map_files_photo_id_array":[{"photo_id":"1326562788","filename":"file2"},{"photo_id":"1326562543","filename":"file1"},{"photo_id":"1326562460","filename":"file0"},{"photo_id":"1326562832","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326562460":["hashtag1","hashtag2"]},{"1326562832":["hashtag1","hashtag2"]},{"1326562543":["hashtag1","hashtag2"]},{"1326562788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326562460, 1326562832, 1326562543, 1326562788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.82257032394409 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:18:02.277584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:18:21.749969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/17/image_04012025_13_17_02_840349_0003.jpg', '/home/pi/Desktop/images/04012025/13/18/image_04012025_13_18_03_023538_0000.jpg', '/home/pi/Desktop/images/04012025/13/18/image_04012025_13_18_03_023538_0001.jpg', '/home/pi/Desktop/images/04012025/13/18/image_04012025_13_18_03_023538_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/17/image_04012025_13_17_02_840349_0003.jpg
/home/pi/Desktop/images/04012025/13/18/image_04012025_13_18_03_023538_0000.jpg
/home/pi/Desktop/images/04012025/13/18/image_04012025_13_18_03_023538_0001.jpg
/home/pi/Desktop/images/04012025/13/18/image_04012025_13_18_03_023538_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326562970","1326563068","1326562966","1326563064"],"photo_ids_order":["1326562966","1326562970","1326563064","1326563068"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c55ad06de32567887dcc8cbb7c9f7f54.jpg","text":"TemporaryFile(/tmp/multipartBody5970472581956287557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993172175,"filename":"image_04012025_13_18_03_023538_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2b2c3a8a8853b3ee158f5bb085bb034c.jpg","text":"TemporaryFile(/tmp/multipartBody6885840614949004743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993172175,"filename":"image_04012025_13_18_03_023538_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/55554613dc2aacb0a9bda5dee67715f4.jpg","text":"TemporaryFile(/tmp/multipartBody5899217414816399749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993172175,"filename":"image_04012025_13_17_02_840349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/beb914f078e33ab143d3ff477f0463be.jpg","text":"TemporaryFile(/tmp/multipartBody694899314416498854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993172175,"filename":"image_04012025_13_18_03_023538_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326563064","file1":"1326562970","file0":"1326562966","file3":"1326563068"},"map_files_photo_id_array":[{"photo_id":"1326563064","filename":"file2"},{"photo_id":"1326562970","filename":"file1"},{"photo_id":"1326562966","filename":"file0"},{"photo_id":"1326563068","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326562970":["hashtag1","hashtag2"]},{"1326563068":["hashtag1","hashtag2"]},{"1326562966":["hashtag1","hashtag2"]},{"1326563064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326562970, 1326563068, 1326562966, 1326563064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58574390411377 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-04 13:19:21.982698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/18/image_04012025_13_18_03_023538_0003.jpg', '/home/pi/Desktop/images/04012025/13/19/image_04012025_13_19_02_118745_0000.jpg', '/home/pi/Desktop/images/04012025/13/19/image_04012025_13_19_02_118745_0001.jpg', '/home/pi/Desktop/images/04012025/13/19/image_04012025_13_19_02_118745_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/18/image_04012025_13_18_03_023538_0003.jpg
/home/pi/Desktop/images/04012025/13/19/image_04012025_13_19_02_118745_0000.jpg
/home/pi/Desktop/images/04012025/13/19/image_04012025_13_19_02_118745_0001.jpg
/home/pi/Desktop/images/04012025/13/19/image_04012025_13_19_02_118745_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326563497","1326563482","1326563493","1326563462"],"photo_ids_order":["1326563462","1326563482","1326563493","1326563497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9ef15d6ad2e272923b52ffa8715d4c93.jpg","text":"TemporaryFile(/tmp/multipartBody873354754270262919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993232370,"filename":"image_04012025_13_19_02_118745_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/62552f5566f7e39a9579a139e901f5d4.jpg","text":"TemporaryFile(/tmp/multipartBody4672875563591978531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993232370,"filename":"image_04012025_13_19_02_118745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e2797a559aeaa032d54e4167d15fd342.jpg","text":"TemporaryFile(/tmp/multipartBody8073954255539692541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993232370,"filename":"image_04012025_13_19_02_118745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b3c05c1dfdc9d15fb35cc8b8da7fe8d5.jpg","text":"TemporaryFile(/tmp/multipartBody6292573657526747510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993232370,"filename":"image_04012025_13_18_03_023538_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326563493","file1":"1326563482","file0":"1326563462","file3":"1326563497"},"map_files_photo_id_array":[{"photo_id":"1326563493","filename":"file2"},{"photo_id":"1326563482","filename":"file1"},{"photo_id":"1326563462","filename":"file0"},{"photo_id":"1326563497","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326563497":["hashtag1","hashtag2"]},{"1326563482":["hashtag1","hashtag2"]},{"1326563493":["hashtag1","hashtag2"]},{"1326563462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326563497, 1326563482, 1326563493, 1326563462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.292834758758545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:20:02.532406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:20:22.100929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/19/image_04012025_13_19_02_118745_0003.jpg', '/home/pi/Desktop/images/04012025/13/20/image_04012025_13_20_02_315896_0000.jpg', '/home/pi/Desktop/images/04012025/13/20/image_04012025_13_20_02_315896_0001.jpg', '/home/pi/Desktop/images/04012025/13/20/image_04012025_13_20_02_315896_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/19/image_04012025_13_19_02_118745_0003.jpg
/home/pi/Desktop/images/04012025/13/20/image_04012025_13_20_02_315896_0000.jpg
/home/pi/Desktop/images/04012025/13/20/image_04012025_13_20_02_315896_0001.jpg
/home/pi/Desktop/images/04012025/13/20/image_04012025_13_20_02_315896_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326563705","1326563695","1326563698","1326563702"],"photo_ids_order":["1326563695","1326563698","1326563702","1326563705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8cae2ce18a364afc4c5b0bf5019c0b43.jpg","text":"TemporaryFile(/tmp/multipartBody4417634713103322917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993292421,"filename":"image_04012025_13_20_02_315896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/29fd7b72d3837f4af89ab7f84e6d3ef8.jpg","text":"TemporaryFile(/tmp/multipartBody1603343254505273171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993292421,"filename":"image_04012025_13_19_02_118745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/22e6998919405d751340b275d9884e32.jpg","text":"TemporaryFile(/tmp/multipartBody3510753301441209670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993292421,"filename":"image_04012025_13_20_02_315896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/707ea23f3f5954cbb04d7a5b96d3259e.jpg","text":"TemporaryFile(/tmp/multipartBody6516428930508026195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993292421,"filename":"image_04012025_13_20_02_315896_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326563702","file1":"1326563698","file0":"1326563695","file3":"1326563705"},"map_files_photo_id_array":[{"photo_id":"1326563702","filename":"file2"},{"photo_id":"1326563698","filename":"file1"},{"photo_id":"1326563695","filename":"file0"},{"photo_id":"1326563705","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326563705":["hashtag1","hashtag2"]},{"1326563695":["hashtag1","hashtag2"]},{"1326563698":["hashtag1","hashtag2"]},{"1326563702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326563705, 1326563695, 1326563698, 1326563702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.279701471328735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:21:02.919339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:21:22.371296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/20/image_04012025_13_20_02_315896_0003.jpg', '/home/pi/Desktop/images/04012025/13/21/image_04012025_13_21_02_463623_0000.jpg', '/home/pi/Desktop/images/04012025/13/21/image_04012025_13_21_02_463623_0001.jpg', '/home/pi/Desktop/images/04012025/13/21/image_04012025_13_21_02_463623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/20/image_04012025_13_20_02_315896_0003.jpg
/home/pi/Desktop/images/04012025/13/21/image_04012025_13_21_02_463623_0000.jpg
/home/pi/Desktop/images/04012025/13/21/image_04012025_13_21_02_463623_0001.jpg
/home/pi/Desktop/images/04012025/13/21/image_04012025_13_21_02_463623_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326563924","1326563980","1326563721","1326563849"],"photo_ids_order":["1326563721","1326563849","1326563924","1326563980"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/29551864070810122cc3717346f95b40.jpg","text":"TemporaryFile(/tmp/multipartBody1447372324417149560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993352815,"filename":"image_04012025_13_21_02_463623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e943c41b6044060b606f287fe1a26f63.jpg","text":"TemporaryFile(/tmp/multipartBody7037279301076470375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993352815,"filename":"image_04012025_13_21_02_463623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f1f7b1bc54ec01f2507b15093e4539f2.jpg","text":"TemporaryFile(/tmp/multipartBody1630957441160145513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993352815,"filename":"image_04012025_13_20_02_315896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3e39aaf217853566ef69b9466383ea8e.jpg","text":"TemporaryFile(/tmp/multipartBody4689990692550452082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993352815,"filename":"image_04012025_13_21_02_463623_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326563924","file1":"1326563849","file0":"1326563721","file3":"1326563980"},"map_files_photo_id_array":[{"photo_id":"1326563924","filename":"file2"},{"photo_id":"1326563849","filename":"file1"},{"photo_id":"1326563721","filename":"file0"},{"photo_id":"1326563980","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326563924":["hashtag1","hashtag2"]},{"1326563980":["hashtag1","hashtag2"]},{"1326563721":["hashtag1","hashtag2"]},{"1326563849":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326563924, 1326563980, 1326563721, 1326563849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.923194885253906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:22:22.461485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/21/image_04012025_13_21_02_463623_0003.jpg', '/home/pi/Desktop/images/04012025/13/22/image_04012025_13_22_02_667083_0001.jpg', '/home/pi/Desktop/images/04012025/13/22/image_04012025_13_22_02_667083_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/21/image_04012025_13_21_02_463623_0003.jpg
/home/pi/Desktop/images/04012025/13/22/image_04012025_13_22_02_667083_0001.jpg
/home/pi/Desktop/images/04012025/13/22/image_04012025_13_22_02_667083_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.457148790359497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 13:22:32.572814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/21/image_04012025_13_21_02_463623_0003.jpg', '/home/pi/Desktop/images/04012025/13/22/image_04012025_13_22_02_667083_0001.jpg', '/home/pi/Desktop/images/04012025/13/22/image_04012025_13_22_02_667083_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/21/image_04012025_13_21_02_463623_0003.jpg
/home/pi/Desktop/images/04012025/13/22/image_04012025_13_22_02_667083_0001.jpg
/home/pi/Desktop/images/04012025/13/22/image_04012025_13_22_02_667083_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326564548","1326564542","1326564545"],"photo_ids_order":["1326564542","1326564545","1326564548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f92fe9314e11edfb6d9b4400e23d4986.jpg","text":"TemporaryFile(/tmp/multipartBody535482855833395148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993420435,"filename":"image_04012025_13_22_02_667083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8567e62ea416d333e93f0566c93aa054.jpg","text":"TemporaryFile(/tmp/multipartBody1341547901070082871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993420435,"filename":"image_04012025_13_21_02_463623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/40e0352ceea53b0274ae5c0dbc68dfad.jpg","text":"TemporaryFile(/tmp/multipartBody6726042220362294793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993420435,"filename":"image_04012025_13_22_02_667083_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326564548","file1":"1326564545","file0":"1326564542"},"map_files_photo_id_array":[{"photo_id":"1326564548","filename":"file2"},{"photo_id":"1326564545","filename":"file1"},{"photo_id":"1326564542","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326564548":["hashtag1","hashtag2"]},{"1326564542":["hashtag1","hashtag2"]},{"1326564545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326564548, 1326564542, 1326564545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.522801160812378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:23:22.794713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/22/image_04012025_13_22_02_667083_0003.jpg', '/home/pi/Desktop/images/04012025/13/23/image_04012025_13_23_02_873439_0000.jpg', '/home/pi/Desktop/images/04012025/13/23/image_04012025_13_23_02_873439_0001.jpg', '/home/pi/Desktop/images/04012025/13/23/image_04012025_13_23_02_873439_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/22/image_04012025_13_22_02_667083_0003.jpg
/home/pi/Desktop/images/04012025/13/23/image_04012025_13_23_02_873439_0000.jpg
/home/pi/Desktop/images/04012025/13/23/image_04012025_13_23_02_873439_0001.jpg
/home/pi/Desktop/images/04012025/13/23/image_04012025_13_23_02_873439_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326564760","1326564768","1326564764","1326564731"],"photo_ids_order":["1326564731","1326564760","1326564764","1326564768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0459447135e308857d04d91cc416deea.jpg","text":"TemporaryFile(/tmp/multipartBody8968955198266881453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993473081,"filename":"image_04012025_13_23_02_873439_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aba484dee8f97cc7b38e0c9b8c6a4518.jpg","text":"TemporaryFile(/tmp/multipartBody3387617940346156711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993473081,"filename":"image_04012025_13_23_02_873439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d555f70b5233348affce5b203b6e7d57.jpg","text":"TemporaryFile(/tmp/multipartBody7724180773174436543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993473081,"filename":"image_04012025_13_23_02_873439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/400e268897ff26001c86ebef194802fa.jpg","text":"TemporaryFile(/tmp/multipartBody3947553665590176123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993473081,"filename":"image_04012025_13_22_02_667083_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326564764","file1":"1326564760","file0":"1326564731","file3":"1326564768"},"map_files_photo_id_array":[{"photo_id":"1326564764","filename":"file2"},{"photo_id":"1326564760","filename":"file1"},{"photo_id":"1326564731","filename":"file0"},{"photo_id":"1326564768","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326564760":["hashtag1","hashtag2"]},{"1326564768":["hashtag1","hashtag2"]},{"1326564764":["hashtag1","hashtag2"]},{"1326564731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326564760, 1326564768, 1326564764, 1326564731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58638262748718 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-04 13:24:21.959363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/23/image_04012025_13_23_02_873439_0003.jpg', '/home/pi/Desktop/images/04012025/13/24/image_04012025_13_24_03_075869_0000.jpg', '/home/pi/Desktop/images/04012025/13/24/image_04012025_13_24_03_075869_0001.jpg', '/home/pi/Desktop/images/04012025/13/24/image_04012025_13_24_03_075869_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/23/image_04012025_13_23_02_873439_0003.jpg
/home/pi/Desktop/images/04012025/13/24/image_04012025_13_24_03_075869_0000.jpg
/home/pi/Desktop/images/04012025/13/24/image_04012025_13_24_03_075869_0001.jpg
/home/pi/Desktop/images/04012025/13/24/image_04012025_13_24_03_075869_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326565437","1326564900","1326565450","1326565189"],"photo_ids_order":["1326564900","1326565189","1326565437","1326565450"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bac586b449918309e31c1b9bf83900e3.jpg","text":"TemporaryFile(/tmp/multipartBody2426742009251323559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993532235,"filename":"image_04012025_13_24_03_075869_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b610287f90bcddaa4122a8d8e84ed9b9.jpg","text":"TemporaryFile(/tmp/multipartBody5502781561536742219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993532235,"filename":"image_04012025_13_23_02_873439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f589e5f3282fb37c6877ac861bc14e66.jpg","text":"TemporaryFile(/tmp/multipartBody7852486409480063017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993532235,"filename":"image_04012025_13_24_03_075869_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1785600b2681ce2c71d8c8d23a7c5c3b.jpg","text":"TemporaryFile(/tmp/multipartBody6439031789369983021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993532235,"filename":"image_04012025_13_24_03_075869_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326565437","file1":"1326565189","file0":"1326564900","file3":"1326565450"},"map_files_photo_id_array":[{"photo_id":"1326565437","filename":"file2"},{"photo_id":"1326565189","filename":"file1"},{"photo_id":"1326564900","filename":"file0"},{"photo_id":"1326565450","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326565437":["hashtag1","hashtag2"]},{"1326564900":["hashtag1","hashtag2"]},{"1326565450":["hashtag1","hashtag2"]},{"1326565189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326565437, 1326564900, 1326565450, 1326565189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.773268938064575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:25:02.486829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:25:22.102479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/24/image_04012025_13_24_03_075869_0003.jpg', '/home/pi/Desktop/images/04012025/13/25/image_04012025_13_25_02_281379_0000.jpg', '/home/pi/Desktop/images/04012025/13/25/image_04012025_13_25_02_281379_0001.jpg', '/home/pi/Desktop/images/04012025/13/25/image_04012025_13_25_02_281379_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/24/image_04012025_13_24_03_075869_0003.jpg
/home/pi/Desktop/images/04012025/13/25/image_04012025_13_25_02_281379_0000.jpg
/home/pi/Desktop/images/04012025/13/25/image_04012025_13_25_02_281379_0001.jpg
/home/pi/Desktop/images/04012025/13/25/image_04012025_13_25_02_281379_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326565468","1326565496","1326565499","1326565474"],"photo_ids_order":["1326565468","1326565474","1326565496","1326565499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6c9362058812e4d62d0cc9d2d7673876.jpg","text":"TemporaryFile(/tmp/multipartBody4723399438273259586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993592462,"filename":"image_04012025_13_24_03_075869_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eeb4941eeb9e5543cb95a989bde771f0.jpg","text":"TemporaryFile(/tmp/multipartBody7159398417610171900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993592462,"filename":"image_04012025_13_25_02_281379_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5eb90a6ec177a69ceaf6eb175a41c221.jpg","text":"TemporaryFile(/tmp/multipartBody8560073145754693083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993592462,"filename":"image_04012025_13_25_02_281379_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/195f60b476f5fbe6a00386ea25c07007.jpg","text":"TemporaryFile(/tmp/multipartBody432591068960963128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993592462,"filename":"image_04012025_13_25_02_281379_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326565496","file1":"1326565474","file0":"1326565468","file3":"1326565499"},"map_files_photo_id_array":[{"photo_id":"1326565496","filename":"file2"},{"photo_id":"1326565474","filename":"file1"},{"photo_id":"1326565468","filename":"file0"},{"photo_id":"1326565499","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326565468":["hashtag1","hashtag2"]},{"1326565496":["hashtag1","hashtag2"]},{"1326565499":["hashtag1","hashtag2"]},{"1326565474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326565468, 1326565496, 1326565499, 1326565474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.98840379714966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:26:02.766462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:26:22.284959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/25/image_04012025_13_25_02_281379_0003.jpg', '/home/pi/Desktop/images/04012025/13/26/image_04012025_13_26_02_439519_0000.jpg', '/home/pi/Desktop/images/04012025/13/26/image_04012025_13_26_02_439519_0001.jpg', '/home/pi/Desktop/images/04012025/13/26/image_04012025_13_26_02_439519_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/25/image_04012025_13_25_02_281379_0003.jpg
/home/pi/Desktop/images/04012025/13/26/image_04012025_13_26_02_439519_0000.jpg
/home/pi/Desktop/images/04012025/13/26/image_04012025_13_26_02_439519_0001.jpg
/home/pi/Desktop/images/04012025/13/26/image_04012025_13_26_02_439519_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.93147087097168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 13:26:42.331592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/25/image_04012025_13_25_02_281379_0003.jpg', '/home/pi/Desktop/images/04012025/13/26/image_04012025_13_26_02_439519_0000.jpg', '/home/pi/Desktop/images/04012025/13/26/image_04012025_13_26_02_439519_0001.jpg', '/home/pi/Desktop/images/04012025/13/26/image_04012025_13_26_02_439519_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/25/image_04012025_13_25_02_281379_0003.jpg
/home/pi/Desktop/images/04012025/13/26/image_04012025_13_26_02_439519_0000.jpg
/home/pi/Desktop/images/04012025/13/26/image_04012025_13_26_02_439519_0001.jpg
/home/pi/Desktop/images/04012025/13/26/image_04012025_13_26_02_439519_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326566328","1326566573","1326566180","1326566248"],"photo_ids_order":["1326566180","1326566248","1326566328","1326566573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7fb5a65dd2b3c8236e1f47fd2561d6af.jpg","text":"TemporaryFile(/tmp/multipartBody3956942680186145784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993672653,"filename":"image_04012025_13_26_02_439519_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/96c5ab39bc7d2be47756d2b9125ede1e.jpg","text":"TemporaryFile(/tmp/multipartBody5327513498896928923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993672653,"filename":"image_04012025_13_26_02_439519_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ef505841e31cc39c25bc2020afab7339.jpg","text":"TemporaryFile(/tmp/multipartBody8597038646540865285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993672653,"filename":"image_04012025_13_25_02_281379_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3b83c633125533beccc607487debda5f.jpg","text":"TemporaryFile(/tmp/multipartBody1002290538378827886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993672653,"filename":"image_04012025_13_26_02_439519_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326566328","file1":"1326566248","file0":"1326566180","file3":"1326566573"},"map_files_photo_id_array":[{"photo_id":"1326566328","filename":"file2"},{"photo_id":"1326566248","filename":"file1"},{"photo_id":"1326566180","filename":"file0"},{"photo_id":"1326566573","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326566328":["hashtag1","hashtag2"]},{"1326566573":["hashtag1","hashtag2"]},{"1326566180":["hashtag1","hashtag2"]},{"1326566248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326566328, 1326566573, 1326566180, 1326566248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.322118282318115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:27:22.513919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/26/image_04012025_13_26_02_439519_0003.jpg', '/home/pi/Desktop/images/04012025/13/27/image_04012025_13_27_02_632318_0000.jpg', '/home/pi/Desktop/images/04012025/13/27/image_04012025_13_27_02_632318_0001.jpg', '/home/pi/Desktop/images/04012025/13/27/image_04012025_13_27_02_632318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/26/image_04012025_13_26_02_439519_0003.jpg
/home/pi/Desktop/images/04012025/13/27/image_04012025_13_27_02_632318_0000.jpg
/home/pi/Desktop/images/04012025/13/27/image_04012025_13_27_02_632318_0001.jpg
/home/pi/Desktop/images/04012025/13/27/image_04012025_13_27_02_632318_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326566904","1326566894","1326566936","1326566932"],"photo_ids_order":["1326566894","1326566904","1326566932","1326566936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c3b3cc677e863aeac960c702200e1247.jpg","text":"TemporaryFile(/tmp/multipartBody2230668781482466181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993712877,"filename":"image_04012025_13_27_02_632318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c04610f399c2b7113a18690a66f4e8d8.jpg","text":"TemporaryFile(/tmp/multipartBody4113497176909702301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993712877,"filename":"image_04012025_13_26_02_439519_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cc02c8c042c93cd8b16c9d56072777da.jpg","text":"TemporaryFile(/tmp/multipartBody2074120572912284335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993712877,"filename":"image_04012025_13_27_02_632318_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a140fdb98ca76d6a3bc0a3f2eb3a7c64.jpg","text":"TemporaryFile(/tmp/multipartBody2920206778127409665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993712877,"filename":"image_04012025_13_27_02_632318_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326566932","file1":"1326566904","file0":"1326566894","file3":"1326566936"},"map_files_photo_id_array":[{"photo_id":"1326566932","filename":"file2"},{"photo_id":"1326566904","filename":"file1"},{"photo_id":"1326566894","filename":"file0"},{"photo_id":"1326566936","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326566904":["hashtag1","hashtag2"]},{"1326566894":["hashtag1","hashtag2"]},{"1326566936":["hashtag1","hashtag2"]},{"1326566932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326566904, 1326566894, 1326566936, 1326566932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32176423072815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:28:21.751017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/27/image_04012025_13_27_02_632318_0003.jpg', '/home/pi/Desktop/images/04012025/13/28/image_04012025_13_28_02_952654_0000.jpg', '/home/pi/Desktop/images/04012025/13/28/image_04012025_13_28_02_952654_0001.jpg', '/home/pi/Desktop/images/04012025/13/28/image_04012025_13_28_02_952654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/27/image_04012025_13_27_02_632318_0003.jpg
/home/pi/Desktop/images/04012025/13/28/image_04012025_13_28_02_952654_0000.jpg
/home/pi/Desktop/images/04012025/13/28/image_04012025_13_28_02_952654_0001.jpg
/home/pi/Desktop/images/04012025/13/28/image_04012025_13_28_02_952654_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326567154","1326567148","1326567157","1326567151"],"photo_ids_order":["1326567148","1326567151","1326567154","1326567157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/355f769acfc84df22cbcd490df7f5a94.jpg","text":"TemporaryFile(/tmp/multipartBody1753497973102067163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993772215,"filename":"image_04012025_13_28_02_952654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8dd68caf9dfaaaaf5d15c17aab28d632.jpg","text":"TemporaryFile(/tmp/multipartBody6867962186032807217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993772215,"filename":"image_04012025_13_27_02_632318_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fb3db49bee7f698fadf6221275aa9fa4.jpg","text":"TemporaryFile(/tmp/multipartBody1437783820007442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993772215,"filename":"image_04012025_13_28_02_952654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/40fb0bef7d4cd1bd4f1fbd9a0dfcc2fe.jpg","text":"TemporaryFile(/tmp/multipartBody6000651334652466886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993772215,"filename":"image_04012025_13_28_02_952654_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326567154","file1":"1326567151","file0":"1326567148","file3":"1326567157"},"map_files_photo_id_array":[{"photo_id":"1326567154","filename":"file2"},{"photo_id":"1326567151","filename":"file1"},{"photo_id":"1326567148","filename":"file0"},{"photo_id":"1326567157","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326567154":["hashtag1","hashtag2"]},{"1326567148":["hashtag1","hashtag2"]},{"1326567157":["hashtag1","hashtag2"]},{"1326567151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326567154, 1326567148, 1326567157, 1326567151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.521711587905884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:29:02.831660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:29:22.072232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/28/image_04012025_13_28_02_952654_0003.jpg', '/home/pi/Desktop/images/04012025/13/29/image_04012025_13_29_02_198043_0000.jpg', '/home/pi/Desktop/images/04012025/13/29/image_04012025_13_29_02_198043_0001.jpg', '/home/pi/Desktop/images/04012025/13/29/image_04012025_13_29_02_198043_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/28/image_04012025_13_28_02_952654_0003.jpg
/home/pi/Desktop/images/04012025/13/29/image_04012025_13_29_02_198043_0000.jpg
/home/pi/Desktop/images/04012025/13/29/image_04012025_13_29_02_198043_0001.jpg
/home/pi/Desktop/images/04012025/13/29/image_04012025_13_29_02_198043_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326567318","1326567481","1326567493","1326567456"],"photo_ids_order":["1326567318","1326567456","1326567481","1326567493"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d61a1c62ee2c23203502bc46f6468d0e.jpg","text":"TemporaryFile(/tmp/multipartBody6583415850248305740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993832280,"filename":"image_04012025_13_28_02_952654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/56ccf6c1df5b0ccfbcaf5ea858a534dd.jpg","text":"TemporaryFile(/tmp/multipartBody1712475373417642382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993832280,"filename":"image_04012025_13_29_02_198043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/60342a0c2445a4cba982f49febbd91d6.jpg","text":"TemporaryFile(/tmp/multipartBody3322593778455548985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993832280,"filename":"image_04012025_13_29_02_198043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e4122adc941a4347d390aaf437719514.jpg","text":"TemporaryFile(/tmp/multipartBody4437252099753611493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993832280,"filename":"image_04012025_13_29_02_198043_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326567481","file1":"1326567456","file0":"1326567318","file3":"1326567493"},"map_files_photo_id_array":[{"photo_id":"1326567481","filename":"file2"},{"photo_id":"1326567456","filename":"file1"},{"photo_id":"1326567318","filename":"file0"},{"photo_id":"1326567493","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326567318":["hashtag1","hashtag2"]},{"1326567481":["hashtag1","hashtag2"]},{"1326567493":["hashtag1","hashtag2"]},{"1326567456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326567318, 1326567481, 1326567493, 1326567456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.1564826965332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:30:22.138932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/29/image_04012025_13_29_02_198043_0003.jpg', '/home/pi/Desktop/images/04012025/13/30/image_04012025_13_30_02_359153_0001.jpg', '/home/pi/Desktop/images/04012025/13/30/image_04012025_13_30_02_359153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/29/image_04012025_13_29_02_198043_0003.jpg
/home/pi/Desktop/images/04012025/13/30/image_04012025_13_30_02_359153_0001.jpg
/home/pi/Desktop/images/04012025/13/30/image_04012025_13_30_02_359153_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326567593","1326567601","1326567597"],"photo_ids_order":["1326567593","1326567597","1326567601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/123e6b13d1c09743d7444c4faae56a68.jpg","text":"TemporaryFile(/tmp/multipartBody2437013796342453257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993890079,"filename":"image_04012025_13_29_02_198043_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/565527a65a625b351ca6b472758cd207.jpg","text":"TemporaryFile(/tmp/multipartBody3401523389911469749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993890079,"filename":"image_04012025_13_30_02_359153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2e4940ba47b677e99a5970eef5eab564.jpg","text":"TemporaryFile(/tmp/multipartBody6895245613909486137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993890079,"filename":"image_04012025_13_30_02_359153_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326567601","file1":"1326567597","file0":"1326567593"},"map_files_photo_id_array":[{"photo_id":"1326567601","filename":"file2"},{"photo_id":"1326567597","filename":"file1"},{"photo_id":"1326567593","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326567593":["hashtag1","hashtag2"]},{"1326567601":["hashtag1","hashtag2"]},{"1326567597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326567593, 1326567601, 1326567597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.027405977249146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:31:02.943942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:31:22.416695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/30/image_04012025_13_30_02_359153_0003.jpg', '/home/pi/Desktop/images/04012025/13/31/image_04012025_13_31_02_527939_0000.jpg', '/home/pi/Desktop/images/04012025/13/31/image_04012025_13_31_02_527939_0001.jpg', '/home/pi/Desktop/images/04012025/13/31/image_04012025_13_31_02_527939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/30/image_04012025_13_30_02_359153_0003.jpg
/home/pi/Desktop/images/04012025/13/31/image_04012025_13_31_02_527939_0000.jpg
/home/pi/Desktop/images/04012025/13/31/image_04012025_13_31_02_527939_0001.jpg
/home/pi/Desktop/images/04012025/13/31/image_04012025_13_31_02_527939_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326567614","1326567617","1326567611","1326567784"],"photo_ids_order":["1326567611","1326567614","1326567617","1326567784"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2f779d78ec9511535cb5accbe17ddae7.jpg","text":"TemporaryFile(/tmp/multipartBody3982484454647080563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993952691,"filename":"image_04012025_13_31_02_527939_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a439471c4e922ba9dcf79b0c68b9fc46.jpg","text":"TemporaryFile(/tmp/multipartBody6589469766440249031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993952691,"filename":"image_04012025_13_31_02_527939_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3d93bb94b100ef9b9bda5550927ba273.jpg","text":"TemporaryFile(/tmp/multipartBody8137327344086474366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993952691,"filename":"image_04012025_13_30_02_359153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f9f6994baa084ec3c82fe4ab72f320b3.jpg","text":"TemporaryFile(/tmp/multipartBody8968334227875291336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735993952691,"filename":"image_04012025_13_31_02_527939_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326567617","file1":"1326567614","file0":"1326567611","file3":"1326567784"},"map_files_photo_id_array":[{"photo_id":"1326567617","filename":"file2"},{"photo_id":"1326567614","filename":"file1"},{"photo_id":"1326567611","filename":"file0"},{"photo_id":"1326567784","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326567614":["hashtag1","hashtag2"]},{"1326567617":["hashtag1","hashtag2"]},{"1326567611":["hashtag1","hashtag2"]},{"1326567784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326567614, 1326567617, 1326567611, 1326567784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.23300862312317 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:32:03.090654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:32:22.673139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/31/image_04012025_13_31_02_527939_0003.jpg', '/home/pi/Desktop/images/04012025/13/32/image_04012025_13_32_02_758494_0000.jpg', '/home/pi/Desktop/images/04012025/13/32/image_04012025_13_32_02_758494_0001.jpg', '/home/pi/Desktop/images/04012025/13/32/image_04012025_13_32_02_758494_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/31/image_04012025_13_31_02_527939_0003.jpg
/home/pi/Desktop/images/04012025/13/32/image_04012025_13_32_02_758494_0000.jpg
/home/pi/Desktop/images/04012025/13/32/image_04012025_13_32_02_758494_0001.jpg
/home/pi/Desktop/images/04012025/13/32/image_04012025_13_32_02_758494_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326567992","1326567884","1326568016","1326567985"],"photo_ids_order":["1326567884","1326567985","1326567992","1326568016"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/73788cfa5fc1268e5bdc722c9bbbd2db.jpg","text":"TemporaryFile(/tmp/multipartBody1252775938617504952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994012986,"filename":"image_04012025_13_32_02_758494_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/19e04330a3d12b63d00ec90e1a50152a.jpg","text":"TemporaryFile(/tmp/multipartBody3188177560851414966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994012986,"filename":"image_04012025_13_31_02_527939_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b178988c537d1155a18f463169ec870e.jpg","text":"TemporaryFile(/tmp/multipartBody6858710052520099883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994012986,"filename":"image_04012025_13_32_02_758494_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/25cb7453833de6b096fae5ecba4b1b6a.jpg","text":"TemporaryFile(/tmp/multipartBody3660957383113379818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994012986,"filename":"image_04012025_13_32_02_758494_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326567992","file1":"1326567985","file0":"1326567884","file3":"1326568016"},"map_files_photo_id_array":[{"photo_id":"1326567992","filename":"file2"},{"photo_id":"1326567985","filename":"file1"},{"photo_id":"1326567884","filename":"file0"},{"photo_id":"1326568016","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326567992":["hashtag1","hashtag2"]},{"1326567884":["hashtag1","hashtag2"]},{"1326568016":["hashtag1","hashtag2"]},{"1326567985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326567992, 1326567884, 1326568016, 1326567985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.75307083129883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:33:21.881622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/32/image_04012025_13_32_02_758494_0003.jpg', '/home/pi/Desktop/images/04012025/13/33/image_04012025_13_33_02_966759_0000.jpg', '/home/pi/Desktop/images/04012025/13/33/image_04012025_13_33_02_966759_0001.jpg', '/home/pi/Desktop/images/04012025/13/33/image_04012025_13_33_02_966759_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/32/image_04012025_13_32_02_758494_0003.jpg
/home/pi/Desktop/images/04012025/13/33/image_04012025_13_33_02_966759_0000.jpg
/home/pi/Desktop/images/04012025/13/33/image_04012025_13_33_02_966759_0001.jpg
/home/pi/Desktop/images/04012025/13/33/image_04012025_13_33_02_966759_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326568567","1326568582","1326568734","1326568818"],"photo_ids_order":["1326568567","1326568582","1326568734","1326568818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/48d8bf3461f5bef0415c8035a37b2074.jpg","text":"TemporaryFile(/tmp/multipartBody2228201089106567490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994072194,"filename":"image_04012025_13_32_02_758494_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/670fb41c3da76ecc9ceff75b024c8d28.jpg","text":"TemporaryFile(/tmp/multipartBody5779550740788765831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994072194,"filename":"image_04012025_13_33_02_966759_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d0b5085718e9a5a774ad38afa7148246.jpg","text":"TemporaryFile(/tmp/multipartBody4955562297372947375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994072194,"filename":"image_04012025_13_33_02_966759_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d9e8f03ff1b7328d68db00d93fa846ed.jpg","text":"TemporaryFile(/tmp/multipartBody887676596621900008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994072194,"filename":"image_04012025_13_33_02_966759_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326568734","file1":"1326568582","file0":"1326568567","file3":"1326568818"},"map_files_photo_id_array":[{"photo_id":"1326568734","filename":"file2"},{"photo_id":"1326568582","filename":"file1"},{"photo_id":"1326568567","filename":"file0"},{"photo_id":"1326568818","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326568567":["hashtag1","hashtag2"]},{"1326568582":["hashtag1","hashtag2"]},{"1326568734":["hashtag1","hashtag2"]},{"1326568818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326568567, 1326568582, 1326568734, 1326568818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.48847794532776 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-04 13:34:22.119387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/33/image_04012025_13_33_02_966759_0003.jpg', '/home/pi/Desktop/images/04012025/13/34/image_04012025_13_34_02_153851_0000.jpg', '/home/pi/Desktop/images/04012025/13/34/image_04012025_13_34_02_153851_0001.jpg', '/home/pi/Desktop/images/04012025/13/34/image_04012025_13_34_02_153851_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/33/image_04012025_13_33_02_966759_0003.jpg
/home/pi/Desktop/images/04012025/13/34/image_04012025_13_34_02_153851_0000.jpg
/home/pi/Desktop/images/04012025/13/34/image_04012025_13_34_02_153851_0001.jpg
/home/pi/Desktop/images/04012025/13/34/image_04012025_13_34_02_153851_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326569191","1326569185","1326569175","1326569189"],"photo_ids_order":["1326569175","1326569185","1326569189","1326569191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c11c5ce4705acd97115e2856fa8f049c.jpg","text":"TemporaryFile(/tmp/multipartBody8616994439773000014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994132469,"filename":"image_04012025_13_34_02_153851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/367c8b9f952cb34681aae3355e165f5f.jpg","text":"TemporaryFile(/tmp/multipartBody8673980277228858047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994132469,"filename":"image_04012025_13_34_02_153851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3f20b23c23c3ca6f95c9d563b13052d5.jpg","text":"TemporaryFile(/tmp/multipartBody3076299140363058900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994132469,"filename":"image_04012025_13_33_02_966759_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8dccc96ed29f84c8c3dc792388e2fa5c.jpg","text":"TemporaryFile(/tmp/multipartBody7486724607025462095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994132469,"filename":"image_04012025_13_34_02_153851_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326569189","file1":"1326569185","file0":"1326569175","file3":"1326569191"},"map_files_photo_id_array":[{"photo_id":"1326569189","filename":"file2"},{"photo_id":"1326569185","filename":"file1"},{"photo_id":"1326569175","filename":"file0"},{"photo_id":"1326569191","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326569191":["hashtag1","hashtag2"]},{"1326569185":["hashtag1","hashtag2"]},{"1326569175":["hashtag1","hashtag2"]},{"1326569189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326569191, 1326569185, 1326569175, 1326569189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.37077808380127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:35:22.179948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/34/image_04012025_13_34_02_153851_0003.jpg', '/home/pi/Desktop/images/04012025/13/35/image_04012025_13_35_02_396637_0000.jpg', '/home/pi/Desktop/images/04012025/13/35/image_04012025_13_35_02_396637_0001.jpg', '/home/pi/Desktop/images/04012025/13/35/image_04012025_13_35_02_396637_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/34/image_04012025_13_34_02_153851_0003.jpg
/home/pi/Desktop/images/04012025/13/35/image_04012025_13_35_02_396637_0000.jpg
/home/pi/Desktop/images/04012025/13/35/image_04012025_13_35_02_396637_0001.jpg
/home/pi/Desktop/images/04012025/13/35/image_04012025_13_35_02_396637_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326569335","1326569332","1326569326","1326569329"],"photo_ids_order":["1326569326","1326569329","1326569332","1326569335"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/53d746f8d78223cb9fede60e042363e8.jpg","text":"TemporaryFile(/tmp/multipartBody7388612041111275724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994192693,"filename":"image_04012025_13_35_02_396637_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1cb33671f04527406902d6545b4b6170.jpg","text":"TemporaryFile(/tmp/multipartBody6536298255155905462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994192693,"filename":"image_04012025_13_35_02_396637_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3bb60e11082c13f5760cad756ab27650.jpg","text":"TemporaryFile(/tmp/multipartBody3740676277372161762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994192693,"filename":"image_04012025_13_34_02_153851_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9e0a2bfd26fc1d6263a4e2d08647dfb7.jpg","text":"TemporaryFile(/tmp/multipartBody5417107223231332017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994192693,"filename":"image_04012025_13_35_02_396637_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326569332","file1":"1326569329","file0":"1326569326","file3":"1326569335"},"map_files_photo_id_array":[{"photo_id":"1326569332","filename":"file2"},{"photo_id":"1326569329","filename":"file1"},{"photo_id":"1326569326","filename":"file0"},{"photo_id":"1326569335","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326569335":["hashtag1","hashtag2"]},{"1326569332":["hashtag1","hashtag2"]},{"1326569326":["hashtag1","hashtag2"]},{"1326569329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326569335, 1326569332, 1326569326, 1326569329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66217041015625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:36:02.722565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:36:22.430593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/35/image_04012025_13_35_02_396637_0003.jpg', '/home/pi/Desktop/images/04012025/13/36/image_04012025_13_36_02_542245_0000.jpg', '/home/pi/Desktop/images/04012025/13/36/image_04012025_13_36_02_542245_0001.jpg', '/home/pi/Desktop/images/04012025/13/36/image_04012025_13_36_02_542245_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/35/image_04012025_13_35_02_396637_0003.jpg
/home/pi/Desktop/images/04012025/13/36/image_04012025_13_36_02_542245_0000.jpg
/home/pi/Desktop/images/04012025/13/36/image_04012025_13_36_02_542245_0001.jpg
/home/pi/Desktop/images/04012025/13/36/image_04012025_13_36_02_542245_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326569544","1326569526","1326569495","1326569540"],"photo_ids_order":["1326569495","1326569526","1326569540","1326569544"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d74b8db1ec78d0d279f654d8f805ed1.jpg","text":"TemporaryFile(/tmp/multipartBody1491786562173037843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994252771,"filename":"image_04012025_13_36_02_542245_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2e2437b0aed544e3fe86a2120e5ae953.jpg","text":"TemporaryFile(/tmp/multipartBody712915098539861991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994252771,"filename":"image_04012025_13_36_02_542245_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9f5b1b0677bf80ba8df7069fa313f464.jpg","text":"TemporaryFile(/tmp/multipartBody1002320218931150891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994252771,"filename":"image_04012025_13_35_02_396637_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/015849c2f9cbce9992a22ee55d1cb80c.jpg","text":"TemporaryFile(/tmp/multipartBody2542215724638072956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994252771,"filename":"image_04012025_13_36_02_542245_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326569540","file1":"1326569526","file0":"1326569495","file3":"1326569544"},"map_files_photo_id_array":[{"photo_id":"1326569540","filename":"file2"},{"photo_id":"1326569526","filename":"file1"},{"photo_id":"1326569495","filename":"file0"},{"photo_id":"1326569544","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326569544":["hashtag1","hashtag2"]},{"1326569526":["hashtag1","hashtag2"]},{"1326569495":["hashtag1","hashtag2"]},{"1326569540":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326569544, 1326569526, 1326569495, 1326569540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.49287796020508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:37:03.156985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:37:22.551667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/36/image_04012025_13_36_02_542245_0003.jpg', '/home/pi/Desktop/images/04012025/13/37/image_04012025_13_37_02_633153_0000.jpg', '/home/pi/Desktop/images/04012025/13/37/image_04012025_13_37_02_633153_0001.jpg', '/home/pi/Desktop/images/04012025/13/37/image_04012025_13_37_02_633153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/36/image_04012025_13_36_02_542245_0003.jpg
/home/pi/Desktop/images/04012025/13/37/image_04012025_13_37_02_633153_0000.jpg
/home/pi/Desktop/images/04012025/13/37/image_04012025_13_37_02_633153_0001.jpg
/home/pi/Desktop/images/04012025/13/37/image_04012025_13_37_02_633153_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326569788","1326569662","1326569665","1326569911"],"photo_ids_order":["1326569662","1326569665","1326569788","1326569911"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/93ab9d971f586265f20b8aedf579f1d8.jpg","text":"TemporaryFile(/tmp/multipartBody1262291763080517353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994312885,"filename":"image_04012025_13_37_02_633153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5071223e72cc6ac43178585b0a229088.jpg","text":"TemporaryFile(/tmp/multipartBody8181132905567331849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994312885,"filename":"image_04012025_13_36_02_542245_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dd35cf7c31c041e6d553f3aea04d11a7.jpg","text":"TemporaryFile(/tmp/multipartBody9105240001346805859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994312885,"filename":"image_04012025_13_37_02_633153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4895eca316d841690ec4a4faa2392930.jpg","text":"TemporaryFile(/tmp/multipartBody942739879009065742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994312885,"filename":"image_04012025_13_37_02_633153_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326569788","file1":"1326569665","file0":"1326569662","file3":"1326569911"},"map_files_photo_id_array":[{"photo_id":"1326569788","filename":"file2"},{"photo_id":"1326569665","filename":"file1"},{"photo_id":"1326569662","filename":"file0"},{"photo_id":"1326569911","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326569788":["hashtag1","hashtag2"]},{"1326569662":["hashtag1","hashtag2"]},{"1326569665":["hashtag1","hashtag2"]},{"1326569911":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326569788, 1326569662, 1326569665, 1326569911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.92416262626648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:38:22.731169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/37/image_04012025_13_37_02_633153_0003.jpg', '/home/pi/Desktop/images/04012025/13/38/image_04012025_13_38_02_863581_0000.jpg', '/home/pi/Desktop/images/04012025/13/38/image_04012025_13_38_02_863581_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/37/image_04012025_13_37_02_633153_0003.jpg
/home/pi/Desktop/images/04012025/13/38/image_04012025_13_38_02_863581_0000.jpg
/home/pi/Desktop/images/04012025/13/38/image_04012025_13_38_02_863581_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":["1326570374","1326570478","1326570370"],"photo_ids_order":["1326570370","1326570374","1326570478"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6a094a27583dd2bd816847fea1d6fe62.jpg","text":"TemporaryFile(/tmp/multipartBody5683233694304684252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994370640,"filename":"image_04012025_13_38_02_863581_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/341dee1624ea48d0edddbf2a79075991.jpg","text":"TemporaryFile(/tmp/multipartBody3769681294823640134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994370640,"filename":"image_04012025_13_38_02_863581_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc4956bfd6bc8cad3ef78e52a2b7f89c.jpg","text":"TemporaryFile(/tmp/multipartBody6812322945569411540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994370640,"filename":"image_04012025_13_37_02_633153_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326570478","file1":"1326570374","file0":"1326570370"},"map_files_photo_id_array":[{"photo_id":"1326570478","filename":"file2"},{"photo_id":"1326570374","filename":"file1"},{"photo_id":"1326570370","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326570374":["hashtag1","hashtag2"]},{"1326570478":["hashtag1","hashtag2"]},{"1326570370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326570374, 1326570478, 1326570370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.42755317687988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:39:02.577496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:39:21.895106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/38/image_04012025_13_38_02_863581_0003.jpg', '/home/pi/Desktop/images/04012025/13/39/image_04012025_13_39_03_094952_0000.jpg', '/home/pi/Desktop/images/04012025/13/39/image_04012025_13_39_03_094952_0001.jpg', '/home/pi/Desktop/images/04012025/13/39/image_04012025_13_39_03_094952_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/38/image_04012025_13_38_02_863581_0003.jpg
/home/pi/Desktop/images/04012025/13/39/image_04012025_13_39_03_094952_0000.jpg
/home/pi/Desktop/images/04012025/13/39/image_04012025_13_39_03_094952_0001.jpg
/home/pi/Desktop/images/04012025/13/39/image_04012025_13_39_03_094952_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326570767","1326570746","1326570710","1326570727"],"photo_ids_order":["1326570710","1326570727","1326570746","1326570767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bb263757324e66802c1d26dfb24b444f.jpg","text":"TemporaryFile(/tmp/multipartBody8310716412110692887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994432139,"filename":"image_04012025_13_39_03_094952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/036093a86da551f1f82ab5fd93f4add7.jpg","text":"TemporaryFile(/tmp/multipartBody5663864897987643863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994432139,"filename":"image_04012025_13_39_03_094952_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/11bce7c5c523908f94cf50438150cb86.jpg","text":"TemporaryFile(/tmp/multipartBody2801638613015882593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994432139,"filename":"image_04012025_13_38_02_863581_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a56336fcb805275865463c776d03f882.jpg","text":"TemporaryFile(/tmp/multipartBody3094394287121803487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994432139,"filename":"image_04012025_13_39_03_094952_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326570746","file1":"1326570727","file0":"1326570710","file3":"1326570767"},"map_files_photo_id_array":[{"photo_id":"1326570746","filename":"file2"},{"photo_id":"1326570727","filename":"file1"},{"photo_id":"1326570710","filename":"file0"},{"photo_id":"1326570767","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326570767":["hashtag1","hashtag2"]},{"1326570746":["hashtag1","hashtag2"]},{"1326570710":["hashtag1","hashtag2"]},{"1326570727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326570767, 1326570746, 1326570710, 1326570727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.34239387512207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:40:02.542696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:40:22.076951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/39/image_04012025_13_39_03_094952_0003.jpg', '/home/pi/Desktop/images/04012025/13/40/image_04012025_13_40_02_223189_0000.jpg', '/home/pi/Desktop/images/04012025/13/40/image_04012025_13_40_02_223189_0001.jpg', '/home/pi/Desktop/images/04012025/13/40/image_04012025_13_40_02_223189_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/39/image_04012025_13_39_03_094952_0003.jpg
/home/pi/Desktop/images/04012025/13/40/image_04012025_13_40_02_223189_0000.jpg
/home/pi/Desktop/images/04012025/13/40/image_04012025_13_40_02_223189_0001.jpg
/home/pi/Desktop/images/04012025/13/40/image_04012025_13_40_02_223189_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326570976","1326570978","1326570972","1326570942"],"photo_ids_order":["1326570942","1326570972","1326570976","1326570978"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8d05fb67099927284db1cc70bfc0cde4.jpg","text":"TemporaryFile(/tmp/multipartBody1935457987466031425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994492578,"filename":"image_04012025_13_40_02_223189_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/78e10663bfdea909c35afe098b73a15a.jpg","text":"TemporaryFile(/tmp/multipartBody6670082153296117108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994492578,"filename":"image_04012025_13_40_02_223189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6d1fb60738083d5a536439af537df95f.jpg","text":"TemporaryFile(/tmp/multipartBody7240797153299684547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994492578,"filename":"image_04012025_13_40_02_223189_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/55ee438509095da9c414b2054b09e0f3.jpg","text":"TemporaryFile(/tmp/multipartBody8621113906698384911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994492578,"filename":"image_04012025_13_39_03_094952_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326570976","file1":"1326570972","file0":"1326570942","file3":"1326570978"},"map_files_photo_id_array":[{"photo_id":"1326570976","filename":"file2"},{"photo_id":"1326570972","filename":"file1"},{"photo_id":"1326570942","filename":"file0"},{"photo_id":"1326570978","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326570976":["hashtag1","hashtag2"]},{"1326570978":["hashtag1","hashtag2"]},{"1326570972":["hashtag1","hashtag2"]},{"1326570942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326570976, 1326570978, 1326570972, 1326570942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.56221270561218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:41:22.278341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/40/image_04012025_13_40_02_223189_0003.jpg', '/home/pi/Desktop/images/04012025/13/41/image_04012025_13_41_02_432350_0000.jpg', '/home/pi/Desktop/images/04012025/13/41/image_04012025_13_41_02_432350_0001.jpg', '/home/pi/Desktop/images/04012025/13/41/image_04012025_13_41_02_432350_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/40/image_04012025_13_40_02_223189_0003.jpg
/home/pi/Desktop/images/04012025/13/41/image_04012025_13_41_02_432350_0000.jpg
/home/pi/Desktop/images/04012025/13/41/image_04012025_13_41_02_432350_0001.jpg
/home/pi/Desktop/images/04012025/13/41/image_04012025_13_41_02_432350_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326570997","1326570994","1326570988","1326570992"],"photo_ids_order":["1326570988","1326570992","1326570994","1326570997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bce248a1d770da703dc3f832360a5a64.jpg","text":"TemporaryFile(/tmp/multipartBody6469809742306066932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994552571,"filename":"image_04012025_13_41_02_432350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/881463d9d05e960d73c93b5a15125bc6.jpg","text":"TemporaryFile(/tmp/multipartBody2745536513720275839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994552571,"filename":"image_04012025_13_41_02_432350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49cde6d77333d74657214f93b55f3199.jpg","text":"TemporaryFile(/tmp/multipartBody5021270107957687044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994552571,"filename":"image_04012025_13_40_02_223189_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/67ac791e1e9d8fa23dd99b58acc65cc0.jpg","text":"TemporaryFile(/tmp/multipartBody4445908401729820733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994552571,"filename":"image_04012025_13_41_02_432350_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326570994","file1":"1326570992","file0":"1326570988","file3":"1326570997"},"map_files_photo_id_array":[{"photo_id":"1326570994","filename":"file2"},{"photo_id":"1326570992","filename":"file1"},{"photo_id":"1326570988","filename":"file0"},{"photo_id":"1326570997","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326570997":["hashtag1","hashtag2"]},{"1326570994":["hashtag1","hashtag2"]},{"1326570988":["hashtag1","hashtag2"]},{"1326570992":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326570997, 1326570994, 1326570988, 1326570992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.719088077545166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:42:02.788068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:42:22.396093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/41/image_04012025_13_41_02_432350_0003.jpg', '/home/pi/Desktop/images/04012025/13/42/image_04012025_13_42_02_597445_0000.jpg', '/home/pi/Desktop/images/04012025/13/42/image_04012025_13_42_02_597445_0001.jpg', '/home/pi/Desktop/images/04012025/13/42/image_04012025_13_42_02_597445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/41/image_04012025_13_41_02_432350_0003.jpg
/home/pi/Desktop/images/04012025/13/42/image_04012025_13_42_02_597445_0000.jpg
/home/pi/Desktop/images/04012025/13/42/image_04012025_13_42_02_597445_0001.jpg
/home/pi/Desktop/images/04012025/13/42/image_04012025_13_42_02_597445_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326571327","1326571324","1326571380","1326571475"],"photo_ids_order":["1326571324","1326571327","1326571380","1326571475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3060d8410dd0314fc6c7995177d5d748.jpg","text":"TemporaryFile(/tmp/multipartBody4030489237837351268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994612734,"filename":"image_04012025_13_42_02_597445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1da677c2896c92720ca9525df2dd4411.jpg","text":"TemporaryFile(/tmp/multipartBody7200064280845470526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994612734,"filename":"image_04012025_13_41_02_432350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7868a6a41fc75be02efca7a4d0f8bb03.jpg","text":"TemporaryFile(/tmp/multipartBody3500987205436287133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994612734,"filename":"image_04012025_13_42_02_597445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/381dd68ccb792b67253f35e819a1ef9f.jpg","text":"TemporaryFile(/tmp/multipartBody2057987133640476640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994612734,"filename":"image_04012025_13_42_02_597445_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326571380","file1":"1326571327","file0":"1326571324","file3":"1326571475"},"map_files_photo_id_array":[{"photo_id":"1326571380","filename":"file2"},{"photo_id":"1326571327","filename":"file1"},{"photo_id":"1326571324","filename":"file0"},{"photo_id":"1326571475","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326571327":["hashtag1","hashtag2"]},{"1326571324":["hashtag1","hashtag2"]},{"1326571380":["hashtag1","hashtag2"]},{"1326571475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326571327, 1326571324, 1326571380, 1326571475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.73378849029541 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-04 13:43:22.599369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/42/image_04012025_13_42_02_597445_0003.jpg', '/home/pi/Desktop/images/04012025/13/43/image_04012025_13_43_02_752377_0000.jpg', '/home/pi/Desktop/images/04012025/13/43/image_04012025_13_43_02_752377_0001.jpg', '/home/pi/Desktop/images/04012025/13/43/image_04012025_13_43_02_752377_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/42/image_04012025_13_42_02_597445_0003.jpg
/home/pi/Desktop/images/04012025/13/43/image_04012025_13_43_02_752377_0000.jpg
/home/pi/Desktop/images/04012025/13/43/image_04012025_13_43_02_752377_0001.jpg
/home/pi/Desktop/images/04012025/13/43/image_04012025_13_43_02_752377_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326571727","1326571860","1326571854","1326571943"],"photo_ids_order":["1326571727","1326571854","1326571860","1326571943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c4e84e952283169e428a1a153c40e722.jpg","text":"TemporaryFile(/tmp/multipartBody1965885309916855168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994672993,"filename":"image_04012025_13_42_02_597445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bd2318a2a33a6efae58a79c496add78f.jpg","text":"TemporaryFile(/tmp/multipartBody495787756757128873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994672993,"filename":"image_04012025_13_43_02_752377_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aed7dccfb0ee4ffa3236429fe0b8878a.jpg","text":"TemporaryFile(/tmp/multipartBody3540515185423196049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994672993,"filename":"image_04012025_13_43_02_752377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/597998dd41407c7480cf20766ba7667e.jpg","text":"TemporaryFile(/tmp/multipartBody7950102625019968273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994672993,"filename":"image_04012025_13_43_02_752377_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326571860","file1":"1326571854","file0":"1326571727","file3":"1326571943"},"map_files_photo_id_array":[{"photo_id":"1326571860","filename":"file2"},{"photo_id":"1326571854","filename":"file1"},{"photo_id":"1326571727","filename":"file0"},{"photo_id":"1326571943","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326571727":["hashtag1","hashtag2"]},{"1326571860":["hashtag1","hashtag2"]},{"1326571854":["hashtag1","hashtag2"]},{"1326571943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326571727, 1326571860, 1326571854, 1326571943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.85634207725525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:44:03.114311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:44:22.717904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/43/image_04012025_13_43_02_752377_0003.jpg', '/home/pi/Desktop/images/04012025/13/44/image_04012025_13_44_02_926867_0000.jpg', '/home/pi/Desktop/images/04012025/13/44/image_04012025_13_44_02_926867_0001.jpg', '/home/pi/Desktop/images/04012025/13/44/image_04012025_13_44_02_926867_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/43/image_04012025_13_43_02_752377_0003.jpg
/home/pi/Desktop/images/04012025/13/44/image_04012025_13_44_02_926867_0000.jpg
/home/pi/Desktop/images/04012025/13/44/image_04012025_13_44_02_926867_0001.jpg
/home/pi/Desktop/images/04012025/13/44/image_04012025_13_44_02_926867_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326572455","1326572458","1326572460","1326572450"],"photo_ids_order":["1326572450","1326572455","1326572458","1326572460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3c5962c3f58a89b00ca97ad4d7a47616.jpg","text":"TemporaryFile(/tmp/multipartBody2732166379979220801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994733031,"filename":"image_04012025_13_44_02_926867_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a8babcb9e8886e0b110d9828c91e1055.jpg","text":"TemporaryFile(/tmp/multipartBody2036230398987988104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994733031,"filename":"image_04012025_13_44_02_926867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/75a5ce2e2e4d13db26ea0a5fe0dd8454.jpg","text":"TemporaryFile(/tmp/multipartBody787794255061640733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994733031,"filename":"image_04012025_13_44_02_926867_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cb419de400e0139cf437848dd02eab82.jpg","text":"TemporaryFile(/tmp/multipartBody7881698365214729425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994733031,"filename":"image_04012025_13_43_02_752377_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326572458","file1":"1326572455","file0":"1326572450","file3":"1326572460"},"map_files_photo_id_array":[{"photo_id":"1326572458","filename":"file2"},{"photo_id":"1326572455","filename":"file1"},{"photo_id":"1326572450","filename":"file0"},{"photo_id":"1326572460","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326572455":["hashtag1","hashtag2"]},{"1326572458":["hashtag1","hashtag2"]},{"1326572460":["hashtag1","hashtag2"]},{"1326572450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326572455, 1326572458, 1326572460, 1326572450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.95795035362244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:45:21.908539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/44/image_04012025_13_44_02_926867_0003.jpg', '/home/pi/Desktop/images/04012025/13/45/image_04012025_13_45_03_067017_0000.jpg', '/home/pi/Desktop/images/04012025/13/45/image_04012025_13_45_03_067017_0001.jpg', '/home/pi/Desktop/images/04012025/13/45/image_04012025_13_45_03_067017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/44/image_04012025_13_44_02_926867_0003.jpg
/home/pi/Desktop/images/04012025/13/45/image_04012025_13_45_03_067017_0000.jpg
/home/pi/Desktop/images/04012025/13/45/image_04012025_13_45_03_067017_0001.jpg
/home/pi/Desktop/images/04012025/13/45/image_04012025_13_45_03_067017_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326572515","1326572480","1326572474","1326572477"],"photo_ids_order":["1326572474","1326572477","1326572480","1326572515"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/696b1c3b9973a30cccab4a0fc8c17e1c.jpg","text":"TemporaryFile(/tmp/multipartBody4286461230634511604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994792155,"filename":"image_04012025_13_45_03_067017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3a22e33b49b58a9c3617d3279bca12e1.jpg","text":"TemporaryFile(/tmp/multipartBody6117298720673908184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994792155,"filename":"image_04012025_13_45_03_067017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/360c3c35ed3b3bf4179fffbe310ccef9.jpg","text":"TemporaryFile(/tmp/multipartBody2479048557480305936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994792155,"filename":"image_04012025_13_44_02_926867_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/91f7994b358dae5a17e3bea2524e1e57.jpg","text":"TemporaryFile(/tmp/multipartBody1154261313018387973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994792155,"filename":"image_04012025_13_45_03_067017_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326572480","file1":"1326572477","file0":"1326572474","file3":"1326572515"},"map_files_photo_id_array":[{"photo_id":"1326572480","filename":"file2"},{"photo_id":"1326572477","filename":"file1"},{"photo_id":"1326572474","filename":"file0"},{"photo_id":"1326572515","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326572515":["hashtag1","hashtag2"]},{"1326572480":["hashtag1","hashtag2"]},{"1326572474":["hashtag1","hashtag2"]},{"1326572477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326572515, 1326572480, 1326572474, 1326572477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74929928779602 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:46:02.568362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:46:22.238922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/45/image_04012025_13_45_03_067017_0003.jpg', '/home/pi/Desktop/images/04012025/13/46/image_04012025_13_46_02_252663_0000.jpg', '/home/pi/Desktop/images/04012025/13/46/image_04012025_13_46_02_252663_0001.jpg', '/home/pi/Desktop/images/04012025/13/46/image_04012025_13_46_02_252663_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/45/image_04012025_13_45_03_067017_0003.jpg
/home/pi/Desktop/images/04012025/13/46/image_04012025_13_46_02_252663_0000.jpg
/home/pi/Desktop/images/04012025/13/46/image_04012025_13_46_02_252663_0001.jpg
/home/pi/Desktop/images/04012025/13/46/image_04012025_13_46_02_252663_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326572686","1326572755","1326572789","1326572750"],"photo_ids_order":["1326572686","1326572750","1326572755","1326572789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/771e690634b6d03f1836bf88e5212480.jpg","text":"TemporaryFile(/tmp/multipartBody5039479231500808730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994852620,"filename":"image_04012025_13_45_03_067017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c6a3802c0d99453b829d8ea76ce1a4b6.jpg","text":"TemporaryFile(/tmp/multipartBody285263131666084353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994852620,"filename":"image_04012025_13_46_02_252663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3bf979fc7c9adc7ed84df39efc5d99da.jpg","text":"TemporaryFile(/tmp/multipartBody4629758250689668357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994852620,"filename":"image_04012025_13_46_02_252663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aebf030f1135e7673f4d33f57549903b.jpg","text":"TemporaryFile(/tmp/multipartBody2390905955873677800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994852620,"filename":"image_04012025_13_46_02_252663_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326572755","file1":"1326572750","file0":"1326572686","file3":"1326572789"},"map_files_photo_id_array":[{"photo_id":"1326572755","filename":"file2"},{"photo_id":"1326572750","filename":"file1"},{"photo_id":"1326572686","filename":"file0"},{"photo_id":"1326572789","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326572686":["hashtag1","hashtag2"]},{"1326572755":["hashtag1","hashtag2"]},{"1326572789":["hashtag1","hashtag2"]},{"1326572750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326572686, 1326572755, 1326572789, 1326572750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.5396089553833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:47:22.289547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/46/image_04012025_13_46_02_252663_0003.jpg', '/home/pi/Desktop/images/04012025/13/47/image_04012025_13_47_02_447597_0000.jpg', '/home/pi/Desktop/images/04012025/13/47/image_04012025_13_47_02_447597_0001.jpg', '/home/pi/Desktop/images/04012025/13/47/image_04012025_13_47_02_447597_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/46/image_04012025_13_46_02_252663_0003.jpg
/home/pi/Desktop/images/04012025/13/47/image_04012025_13_47_02_447597_0000.jpg
/home/pi/Desktop/images/04012025/13/47/image_04012025_13_47_02_447597_0001.jpg
/home/pi/Desktop/images/04012025/13/47/image_04012025_13_47_02_447597_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326573395","1326573845","1326573620","1326573928"],"photo_ids_order":["1326573395","1326573620","1326573845","1326573928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/092bc34fe024ef6798c8ae212e3a16c3.jpg","text":"TemporaryFile(/tmp/multipartBody5779863609554214979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994912552,"filename":"image_04012025_13_46_02_252663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0ecf38c1983ef49935ed843c32e55f8.jpg","text":"TemporaryFile(/tmp/multipartBody8949079362687339499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994912552,"filename":"image_04012025_13_47_02_447597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d7b74cd7faaef53468761fcab172a931.jpg","text":"TemporaryFile(/tmp/multipartBody2716932256309490634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994912552,"filename":"image_04012025_13_47_02_447597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/052418eb0eadbde9d8a2aa2e42497d5d.jpg","text":"TemporaryFile(/tmp/multipartBody370533949952800838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994912552,"filename":"image_04012025_13_47_02_447597_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326573845","file1":"1326573620","file0":"1326573395","file3":"1326573928"},"map_files_photo_id_array":[{"photo_id":"1326573845","filename":"file2"},{"photo_id":"1326573620","filename":"file1"},{"photo_id":"1326573395","filename":"file0"},{"photo_id":"1326573928","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326573395":["hashtag1","hashtag2"]},{"1326573845":["hashtag1","hashtag2"]},{"1326573620":["hashtag1","hashtag2"]},{"1326573928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326573395, 1326573845, 1326573620, 1326573928)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.7306432723999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:48:22.573648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/47/image_04012025_13_47_02_447597_0003.jpg', '/home/pi/Desktop/images/04012025/13/48/image_04012025_13_48_02_731462_0000.jpg', '/home/pi/Desktop/images/04012025/13/48/image_04012025_13_48_02_731462_0001.jpg', '/home/pi/Desktop/images/04012025/13/48/image_04012025_13_48_02_731462_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/47/image_04012025_13_47_02_447597_0003.jpg
/home/pi/Desktop/images/04012025/13/48/image_04012025_13_48_02_731462_0000.jpg
/home/pi/Desktop/images/04012025/13/48/image_04012025_13_48_02_731462_0001.jpg
/home/pi/Desktop/images/04012025/13/48/image_04012025_13_48_02_731462_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326574478","1326574570","1326574573","1326574290"],"photo_ids_order":["1326574290","1326574478","1326574570","1326574573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ee8fa7fe80b2a01ff9b9aa876722f40a.jpg","text":"TemporaryFile(/tmp/multipartBody6580630927505956830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994972851,"filename":"image_04012025_13_48_02_731462_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f72742eeba1f8e2678c17b5b31c7ae63.jpg","text":"TemporaryFile(/tmp/multipartBody758854015670896745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994972851,"filename":"image_04012025_13_48_02_731462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc3b915efd4cda6ebab54cb428a27bba.jpg","text":"TemporaryFile(/tmp/multipartBody6846422113738104462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994972851,"filename":"image_04012025_13_48_02_731462_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e045c0b806ca2fea29db6191fbb6b357.jpg","text":"TemporaryFile(/tmp/multipartBody15624735106543131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735994972851,"filename":"image_04012025_13_47_02_447597_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326574570","file1":"1326574478","file0":"1326574290","file3":"1326574573"},"map_files_photo_id_array":[{"photo_id":"1326574570","filename":"file2"},{"photo_id":"1326574478","filename":"file1"},{"photo_id":"1326574290","filename":"file0"},{"photo_id":"1326574573","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326574478":["hashtag1","hashtag2"]},{"1326574570":["hashtag1","hashtag2"]},{"1326574573":["hashtag1","hashtag2"]},{"1326574290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326574478, 1326574570, 1326574573, 1326574290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.90304970741272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:49:22.685610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/48/image_04012025_13_48_02_731462_0003.jpg', '/home/pi/Desktop/images/04012025/13/49/image_04012025_13_49_02_868791_0000.jpg', '/home/pi/Desktop/images/04012025/13/49/image_04012025_13_49_02_868791_0001.jpg', '/home/pi/Desktop/images/04012025/13/49/image_04012025_13_49_02_868791_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/48/image_04012025_13_48_02_731462_0003.jpg
/home/pi/Desktop/images/04012025/13/49/image_04012025_13_49_02_868791_0000.jpg
/home/pi/Desktop/images/04012025/13/49/image_04012025_13_49_02_868791_0001.jpg
/home/pi/Desktop/images/04012025/13/49/image_04012025_13_49_02_868791_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326575130","1326574772","1326575133","1326574918"],"photo_ids_order":["1326574772","1326574918","1326575130","1326575133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/53cb8c4359cc1871c44db4bb7a6cc14b.jpg","text":"TemporaryFile(/tmp/multipartBody4933762398283353013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995032966,"filename":"image_04012025_13_49_02_868791_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/57ecccf263730ef92ec90fdb497ca072.jpg","text":"TemporaryFile(/tmp/multipartBody2719723302522130348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995032966,"filename":"image_04012025_13_48_02_731462_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2e45988f3966a72ade238e09ad432067.jpg","text":"TemporaryFile(/tmp/multipartBody5225688874685313072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995032966,"filename":"image_04012025_13_49_02_868791_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/48b0df92d0abf5a00bcb86c92bcf42a0.jpg","text":"TemporaryFile(/tmp/multipartBody8872341565154392757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995032966,"filename":"image_04012025_13_49_02_868791_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326575130","file1":"1326574918","file0":"1326574772","file3":"1326575133"},"map_files_photo_id_array":[{"photo_id":"1326575130","filename":"file2"},{"photo_id":"1326574918","filename":"file1"},{"photo_id":"1326574772","filename":"file0"},{"photo_id":"1326575133","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326575130":["hashtag1","hashtag2"]},{"1326574772":["hashtag1","hashtag2"]},{"1326575133":["hashtag1","hashtag2"]},{"1326574918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326575130, 1326574772, 1326575133, 1326574918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.33817911148071 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:50:02.328481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:50:21.830009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/49/image_04012025_13_49_02_868791_0003.jpg', '/home/pi/Desktop/images/04012025/13/50/image_04012025_13_50_02_996045_0000.jpg', '/home/pi/Desktop/images/04012025/13/50/image_04012025_13_50_02_996045_0001.jpg', '/home/pi/Desktop/images/04012025/13/50/image_04012025_13_50_02_996045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/49/image_04012025_13_49_02_868791_0003.jpg
/home/pi/Desktop/images/04012025/13/50/image_04012025_13_50_02_996045_0000.jpg
/home/pi/Desktop/images/04012025/13/50/image_04012025_13_50_02_996045_0001.jpg
/home/pi/Desktop/images/04012025/13/50/image_04012025_13_50_02_996045_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.979660511016846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 13:50:41.825429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/49/image_04012025_13_49_02_868791_0003.jpg', '/home/pi/Desktop/images/04012025/13/50/image_04012025_13_50_02_996045_0000.jpg', '/home/pi/Desktop/images/04012025/13/50/image_04012025_13_50_02_996045_0001.jpg', '/home/pi/Desktop/images/04012025/13/50/image_04012025_13_50_02_996045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/49/image_04012025_13_49_02_868791_0003.jpg
/home/pi/Desktop/images/04012025/13/50/image_04012025_13_50_02_996045_0000.jpg
/home/pi/Desktop/images/04012025/13/50/image_04012025_13_50_02_996045_0001.jpg
/home/pi/Desktop/images/04012025/13/50/image_04012025_13_50_02_996045_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326575706","1326576023","1326575755","1326575736"],"photo_ids_order":["1326575706","1326575736","1326575755","1326576023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9cfbf0dd85b0bae4f49a1c332bd887aa.jpg","text":"TemporaryFile(/tmp/multipartBody8112456294704527773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995112192,"filename":"image_04012025_13_49_02_868791_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/613f575536dc71f97578b3b9f3cce956.jpg","text":"TemporaryFile(/tmp/multipartBody8967862094972320308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995112192,"filename":"image_04012025_13_50_02_996045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8f3cf3f33327a3a1587c1ef7c6fbf7f1.jpg","text":"TemporaryFile(/tmp/multipartBody1981992036601139933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995112192,"filename":"image_04012025_13_50_02_996045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/04eb2f2b1d28b007a4487bf609da0b46.jpg","text":"TemporaryFile(/tmp/multipartBody6261258507092823635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995112192,"filename":"image_04012025_13_50_02_996045_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326575755","file1":"1326575736","file0":"1326575706","file3":"1326576023"},"map_files_photo_id_array":[{"photo_id":"1326575755","filename":"file2"},{"photo_id":"1326575736","filename":"file1"},{"photo_id":"1326575706","filename":"file0"},{"photo_id":"1326576023","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326575706":["hashtag1","hashtag2"]},{"1326576023":["hashtag1","hashtag2"]},{"1326575755":["hashtag1","hashtag2"]},{"1326575736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326575706, 1326576023, 1326575755, 1326575736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.610066413879395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:51:21.984158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/50/image_04012025_13_50_02_996045_0003.jpg', '/home/pi/Desktop/images/04012025/13/51/image_04012025_13_51_02_198560_0000.jpg', '/home/pi/Desktop/images/04012025/13/51/image_04012025_13_51_02_198560_0001.jpg', '/home/pi/Desktop/images/04012025/13/51/image_04012025_13_51_02_198560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/50/image_04012025_13_50_02_996045_0003.jpg
/home/pi/Desktop/images/04012025/13/51/image_04012025_13_51_02_198560_0000.jpg
/home/pi/Desktop/images/04012025/13/51/image_04012025_13_51_02_198560_0001.jpg
/home/pi/Desktop/images/04012025/13/51/image_04012025_13_51_02_198560_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326576341","1326576436","1326576390","1326576386"],"photo_ids_order":["1326576341","1326576386","1326576390","1326576436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bbdc11120510657cb2abdcf2f5ef7be9.jpg","text":"TemporaryFile(/tmp/multipartBody1397151703632150542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995152428,"filename":"image_04012025_13_50_02_996045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fb347eabfefdcc89873f1124ad75a18d.jpg","text":"TemporaryFile(/tmp/multipartBody1591759168752656743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995152428,"filename":"image_04012025_13_51_02_198560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/001dbe179b0a518cb1ec835310fd22fe.jpg","text":"TemporaryFile(/tmp/multipartBody3884184114842835520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995152428,"filename":"image_04012025_13_51_02_198560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/939cc0a00d680d610058ea2624ebbde4.jpg","text":"TemporaryFile(/tmp/multipartBody8187145058041776110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995152428,"filename":"image_04012025_13_51_02_198560_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326576390","file1":"1326576386","file0":"1326576341","file3":"1326576436"},"map_files_photo_id_array":[{"photo_id":"1326576390","filename":"file2"},{"photo_id":"1326576386","filename":"file1"},{"photo_id":"1326576341","filename":"file0"},{"photo_id":"1326576436","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326576341":["hashtag1","hashtag2"]},{"1326576436":["hashtag1","hashtag2"]},{"1326576390":["hashtag1","hashtag2"]},{"1326576386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326576341, 1326576436, 1326576390, 1326576386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.755457639694214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:52:02.678539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:52:22.223873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/51/image_04012025_13_51_02_198560_0003.jpg', '/home/pi/Desktop/images/04012025/13/52/image_04012025_13_52_02_352107_0000.jpg', '/home/pi/Desktop/images/04012025/13/52/image_04012025_13_52_02_352107_0001.jpg', '/home/pi/Desktop/images/04012025/13/52/image_04012025_13_52_02_352107_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/51/image_04012025_13_51_02_198560_0003.jpg
/home/pi/Desktop/images/04012025/13/52/image_04012025_13_52_02_352107_0000.jpg
/home/pi/Desktop/images/04012025/13/52/image_04012025_13_52_02_352107_0001.jpg
/home/pi/Desktop/images/04012025/13/52/image_04012025_13_52_02_352107_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326576484","1326576474","1326576477","1326576479"],"photo_ids_order":["1326576474","1326576477","1326576479","1326576484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c1ee03f535f5cd3ce95487e2ec32aab2.jpg","text":"TemporaryFile(/tmp/multipartBody6179580602420434620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995212668,"filename":"image_04012025_13_52_02_352107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f8bcef567dcbadee1a36da8bea602d73.jpg","text":"TemporaryFile(/tmp/multipartBody619178451340606892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995212668,"filename":"image_04012025_13_51_02_198560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c9977dcbd513dedcfd6bcf37b8d88974.jpg","text":"TemporaryFile(/tmp/multipartBody7756544008020814419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995212668,"filename":"image_04012025_13_52_02_352107_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/79031fd69fc4bac103f5971f0f87e318.jpg","text":"TemporaryFile(/tmp/multipartBody3240763601633643903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995212668,"filename":"image_04012025_13_52_02_352107_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326576479","file1":"1326576477","file0":"1326576474","file3":"1326576484"},"map_files_photo_id_array":[{"photo_id":"1326576479","filename":"file2"},{"photo_id":"1326576477","filename":"file1"},{"photo_id":"1326576474","filename":"file0"},{"photo_id":"1326576484","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326576484":["hashtag1","hashtag2"]},{"1326576474":["hashtag1","hashtag2"]},{"1326576477":["hashtag1","hashtag2"]},{"1326576479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326576484, 1326576474, 1326576477, 1326576479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63428258895874 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-04 13:53:22.374864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/52/image_04012025_13_52_02_352107_0003.jpg', '/home/pi/Desktop/images/04012025/13/53/image_04012025_13_53_02_548891_0000.jpg', '/home/pi/Desktop/images/04012025/13/53/image_04012025_13_53_02_548891_0001.jpg', '/home/pi/Desktop/images/04012025/13/53/image_04012025_13_53_02_548891_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/52/image_04012025_13_52_02_352107_0003.jpg
/home/pi/Desktop/images/04012025/13/53/image_04012025_13_53_02_548891_0000.jpg
/home/pi/Desktop/images/04012025/13/53/image_04012025_13_53_02_548891_0001.jpg
/home/pi/Desktop/images/04012025/13/53/image_04012025_13_53_02_548891_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326577514","1326577100","1326577303","1326577029"],"photo_ids_order":["1326577029","1326577100","1326577303","1326577514"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ae4598766b3f2a6accd19a4ca43017b.jpg","text":"TemporaryFile(/tmp/multipartBody2166912800709018328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995272743,"filename":"image_04012025_13_53_02_548891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/52cd872ef9162795a2b6ba572d386b1c.jpg","text":"TemporaryFile(/tmp/multipartBody2922224157983605879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995272743,"filename":"image_04012025_13_53_02_548891_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/75da8abfe5040a055816f7bf6410c049.jpg","text":"TemporaryFile(/tmp/multipartBody3392169956072336046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995272743,"filename":"image_04012025_13_53_02_548891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b2e17e5533eff5214183b59f420427a3.jpg","text":"TemporaryFile(/tmp/multipartBody7147497230166346100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995272743,"filename":"image_04012025_13_52_02_352107_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326577303","file1":"1326577100","file0":"1326577029","file3":"1326577514"},"map_files_photo_id_array":[{"photo_id":"1326577303","filename":"file2"},{"photo_id":"1326577100","filename":"file1"},{"photo_id":"1326577029","filename":"file0"},{"photo_id":"1326577514","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326577514":["hashtag1","hashtag2"]},{"1326577100":["hashtag1","hashtag2"]},{"1326577303":["hashtag1","hashtag2"]},{"1326577029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326577514, 1326577100, 1326577303, 1326577029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.99274206161499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:54:22.533982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/53/image_04012025_13_53_02_548891_0003.jpg', '/home/pi/Desktop/images/04012025/13/54/image_04012025_13_54_02_712006_0000.jpg', '/home/pi/Desktop/images/04012025/13/54/image_04012025_13_54_02_712006_0001.jpg', '/home/pi/Desktop/images/04012025/13/54/image_04012025_13_54_02_712006_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/53/image_04012025_13_53_02_548891_0003.jpg
/home/pi/Desktop/images/04012025/13/54/image_04012025_13_54_02_712006_0000.jpg
/home/pi/Desktop/images/04012025/13/54/image_04012025_13_54_02_712006_0001.jpg
/home/pi/Desktop/images/04012025/13/54/image_04012025_13_54_02_712006_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326577666","1326578055","1326577655","1326577658"],"photo_ids_order":["1326577655","1326577658","1326577666","1326578055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/14e6baee7e4b2b9da7337dd2117f30bb.jpg","text":"TemporaryFile(/tmp/multipartBody6765801161149247208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995332905,"filename":"image_04012025_13_54_02_712006_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6d3e51f7e5a077773928212dd734be0b.jpg","text":"TemporaryFile(/tmp/multipartBody9217336066457695889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995332905,"filename":"image_04012025_13_54_02_712006_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0e6d1113f36fc86394a2038f12f11840.jpg","text":"TemporaryFile(/tmp/multipartBody7792405535757897976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995332905,"filename":"image_04012025_13_53_02_548891_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a136356d15e12af75387c382b76c5f4c.jpg","text":"TemporaryFile(/tmp/multipartBody1322867115055647330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995332905,"filename":"image_04012025_13_54_02_712006_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326577666","file1":"1326577658","file0":"1326577655","file3":"1326578055"},"map_files_photo_id_array":[{"photo_id":"1326577666","filename":"file2"},{"photo_id":"1326577658","filename":"file1"},{"photo_id":"1326577655","filename":"file0"},{"photo_id":"1326578055","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326577666":["hashtag1","hashtag2"]},{"1326578055":["hashtag1","hashtag2"]},{"1326577655":["hashtag1","hashtag2"]},{"1326577658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326577666, 1326578055, 1326577655, 1326577658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.60126781463623 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-04 13:55:22.730489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/54/image_04012025_13_54_02_712006_0003.jpg', '/home/pi/Desktop/images/04012025/13/55/image_04012025_13_55_02_857005_0000.jpg', '/home/pi/Desktop/images/04012025/13/55/image_04012025_13_55_02_857005_0001.jpg', '/home/pi/Desktop/images/04012025/13/55/image_04012025_13_55_02_857005_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/54/image_04012025_13_54_02_712006_0003.jpg
/home/pi/Desktop/images/04012025/13/55/image_04012025_13_55_02_857005_0000.jpg
/home/pi/Desktop/images/04012025/13/55/image_04012025_13_55_02_857005_0001.jpg
/home/pi/Desktop/images/04012025/13/55/image_04012025_13_55_02_857005_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326578638","1326578632","1326578635","1326578588"],"photo_ids_order":["1326578588","1326578632","1326578635","1326578638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f8e53967602b73ec52e262cca05a22ac.jpg","text":"TemporaryFile(/tmp/multipartBody6770892210006641648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995392983,"filename":"image_04012025_13_55_02_857005_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/17d4bc48072144b2c0267aa59521bd43.jpg","text":"TemporaryFile(/tmp/multipartBody1564414822181034822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995392983,"filename":"image_04012025_13_55_02_857005_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/039653dd00f2695a574d01cc0325bedf.jpg","text":"TemporaryFile(/tmp/multipartBody348809914361683659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995392983,"filename":"image_04012025_13_55_02_857005_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b0b53022913f1233aabd764c60de5f1f.jpg","text":"TemporaryFile(/tmp/multipartBody970549582991687773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995392983,"filename":"image_04012025_13_54_02_712006_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326578635","file1":"1326578632","file0":"1326578588","file3":"1326578638"},"map_files_photo_id_array":[{"photo_id":"1326578635","filename":"file2"},{"photo_id":"1326578632","filename":"file1"},{"photo_id":"1326578588","filename":"file0"},{"photo_id":"1326578638","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326578638":["hashtag1","hashtag2"]},{"1326578632":["hashtag1","hashtag2"]},{"1326578635":["hashtag1","hashtag2"]},{"1326578588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326578638, 1326578632, 1326578635, 1326578588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.76717710494995 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-04 13:56:22.047399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/55/image_04012025_13_55_02_857005_0003.jpg', '/home/pi/Desktop/images/04012025/13/56/image_04012025_13_56_03_099098_0000.jpg', '/home/pi/Desktop/images/04012025/13/56/image_04012025_13_56_03_099098_0001.jpg', '/home/pi/Desktop/images/04012025/13/56/image_04012025_13_56_03_099098_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/55/image_04012025_13_55_02_857005_0003.jpg
/home/pi/Desktop/images/04012025/13/56/image_04012025_13_56_03_099098_0000.jpg
/home/pi/Desktop/images/04012025/13/56/image_04012025_13_56_03_099098_0001.jpg
/home/pi/Desktop/images/04012025/13/56/image_04012025_13_56_03_099098_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326579026","1326579097","1326579029","1326579076"],"photo_ids_order":["1326579026","1326579029","1326579076","1326579097"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b9615bc3558c4005172a7c817096e76f.jpg","text":"TemporaryFile(/tmp/multipartBody467694123895677396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995451918,"filename":"image_04012025_13_55_02_857005_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/309bde01c6c38d7633c740843fbc87cc.jpg","text":"TemporaryFile(/tmp/multipartBody4062826421262375151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995451918,"filename":"image_04012025_13_56_03_099098_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5240e78a3f92b1e4cb36e4c3e3e6a74b.jpg","text":"TemporaryFile(/tmp/multipartBody2701782634631466706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995451918,"filename":"image_04012025_13_56_03_099098_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b1ead08c6df174efe1186692c79aeaac.jpg","text":"TemporaryFile(/tmp/multipartBody7354631840409858326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995451918,"filename":"image_04012025_13_56_03_099098_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326579076","file1":"1326579029","file0":"1326579026","file3":"1326579097"},"map_files_photo_id_array":[{"photo_id":"1326579076","filename":"file2"},{"photo_id":"1326579029","filename":"file1"},{"photo_id":"1326579026","filename":"file0"},{"photo_id":"1326579097","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326579026":["hashtag1","hashtag2"]},{"1326579097":["hashtag1","hashtag2"]},{"1326579029":["hashtag1","hashtag2"]},{"1326579076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326579026, 1326579097, 1326579029, 1326579076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.40691304206848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:57:22.135860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/56/image_04012025_13_56_03_099098_0003.jpg', '/home/pi/Desktop/images/04012025/13/57/image_04012025_13_57_02_329208_0000.jpg', '/home/pi/Desktop/images/04012025/13/57/image_04012025_13_57_02_329208_0001.jpg', '/home/pi/Desktop/images/04012025/13/57/image_04012025_13_57_02_329208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/56/image_04012025_13_56_03_099098_0003.jpg
/home/pi/Desktop/images/04012025/13/57/image_04012025_13_57_02_329208_0000.jpg
/home/pi/Desktop/images/04012025/13/57/image_04012025_13_57_02_329208_0001.jpg
/home/pi/Desktop/images/04012025/13/57/image_04012025_13_57_02_329208_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326579243","1326579237","1326579240","1326579233"],"photo_ids_order":["1326579233","1326579237","1326579240","1326579243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f2969aa0f680a5024e6c0191cd587547.jpg","text":"TemporaryFile(/tmp/multipartBody6256849189175811395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995512479,"filename":"image_04012025_13_57_02_329208_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/826dfedfd23edd17cf7741847a76c125.jpg","text":"TemporaryFile(/tmp/multipartBody7090469128386710388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995512479,"filename":"image_04012025_13_57_02_329208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/399178e0c6b573a66ac0b9c8b8ae50a9.jpg","text":"TemporaryFile(/tmp/multipartBody2687207187182683519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995512479,"filename":"image_04012025_13_57_02_329208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6d0391c381c507f746da838920a6f66a.jpg","text":"TemporaryFile(/tmp/multipartBody9182691996658457675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995512479,"filename":"image_04012025_13_56_03_099098_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326579240","file1":"1326579237","file0":"1326579233","file3":"1326579243"},"map_files_photo_id_array":[{"photo_id":"1326579240","filename":"file2"},{"photo_id":"1326579237","filename":"file1"},{"photo_id":"1326579233","filename":"file0"},{"photo_id":"1326579243","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326579243":["hashtag1","hashtag2"]},{"1326579237":["hashtag1","hashtag2"]},{"1326579240":["hashtag1","hashtag2"]},{"1326579233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326579243, 1326579237, 1326579240, 1326579233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.47114825248718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 13:59:02.995907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 13:59:22.551197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/57/image_04012025_13_57_02_329208_0003.jpg', '/home/pi/Desktop/images/04012025/13/58/image_04012025_13_58_02_473625_0000.jpg', '/home/pi/Desktop/images/04012025/13/58/image_04012025_13_58_02_473625_0001.jpg', '/home/pi/Desktop/images/04012025/13/58/image_04012025_13_58_02_473625_0002.jpg', '/home/pi/Desktop/images/04012025/13/58/image_04012025_13_58_02_473625_0003.jpg', '/home/pi/Desktop/images/04012025/13/59/image_04012025_13_59_02_655400_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/57/image_04012025_13_57_02_329208_0003.jpg
/home/pi/Desktop/images/04012025/13/58/image_04012025_13_58_02_473625_0000.jpg
/home/pi/Desktop/images/04012025/13/58/image_04012025_13_58_02_473625_0001.jpg
/home/pi/Desktop/images/04012025/13/58/image_04012025_13_58_02_473625_0002.jpg
/home/pi/Desktop/images/04012025/13/58/image_04012025_13_58_02_473625_0003.jpg
/home/pi/Desktop/images/04012025/13/59/image_04012025_13_59_02_655400_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":["1326582159","1326582218","1326582184","1326582232","1326582226","1326582465"],"photo_ids_order":["1326582159","1326582184","1326582218","1326582226","1326582232","1326582465"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/44aa0d87f4de4cbcce3113280ba40d3b.jpg","text":"TemporaryFile(/tmp/multipartBody1895630171721556512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995637800,"filename":"image_04012025_13_57_02_329208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c85538a047df791c5631a65b8ec32c5e.jpg","text":"TemporaryFile(/tmp/multipartBody5001141421302272064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995637800,"filename":"image_04012025_13_58_02_473625_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ef92d67c057344d4745cfc16d08d622b.jpg","text":"TemporaryFile(/tmp/multipartBody2772100045298546819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995637800,"filename":"image_04012025_13_58_02_473625_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/457ff12e68a9f07a12876da318650b47.jpg","text":"TemporaryFile(/tmp/multipartBody5370854986781826644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995637800,"filename":"image_04012025_13_58_02_473625_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/89cf81946442705ba9969f69560b0108.jpg","text":"TemporaryFile(/tmp/multipartBody7801748879909619764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995637800,"filename":"image_04012025_13_58_02_473625_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/09c4e127c801be9d852de24ee01dedd0.jpg","text":"TemporaryFile(/tmp/multipartBody6401696499405192256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995637800,"filename":"image_04012025_13_59_02_655400_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326582218","file1":"1326582184","file0":"1326582159","file4":"1326582232","file5":"1326582465","file3":"1326582226"},"map_files_photo_id_array":[{"photo_id":"1326582465","filename":"file5"},{"photo_id":"1326582218","filename":"file2"},{"photo_id":"1326582232","filename":"file4"},{"photo_id":"1326582184","filename":"file1"},{"photo_id":"1326582159","filename":"file0"},{"photo_id":"1326582226","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326582159":["hashtag1","hashtag2"]},{"1326582218":["hashtag1","hashtag2"]},{"1326582184":["hashtag1","hashtag2"]},{"1326582232":["hashtag1","hashtag2"]},{"1326582226":["hashtag1","hashtag2"]},{"1326582465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326582159, 1326582218, 1326582184, 1326582232, 1326582226, 1326582465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.84779715538025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:00:22.666758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/13/59/image_04012025_13_59_02_655400_0001.jpg', '/home/pi/Desktop/images/04012025/13/59/image_04012025_13_59_02_655400_0002.jpg', '/home/pi/Desktop/images/04012025/13/59/image_04012025_13_59_02_655400_0003.jpg', '/home/pi/Desktop/images/04012025/14/00/image_04012025_14_00_02_873488_0000.jpg', '/home/pi/Desktop/images/04012025/14/00/image_04012025_14_00_02_873488_0001.jpg', '/home/pi/Desktop/images/04012025/14/00/image_04012025_14_00_02_873488_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/13/59/image_04012025_13_59_02_655400_0001.jpg
/home/pi/Desktop/images/04012025/13/59/image_04012025_13_59_02_655400_0002.jpg
/home/pi/Desktop/images/04012025/13/59/image_04012025_13_59_02_655400_0003.jpg
/home/pi/Desktop/images/04012025/14/00/image_04012025_14_00_02_873488_0000.jpg
/home/pi/Desktop/images/04012025/14/00/image_04012025_14_00_02_873488_0001.jpg
/home/pi/Desktop/images/04012025/14/00/image_04012025_14_00_02_873488_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326582708","1326582725","1326582701","1326582691","1326582704","1326582696"],"photo_ids_order":["1326582691","1326582696","1326582701","1326582704","1326582708","1326582725"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7d25cb541544a476770431961daccd4d.jpg","text":"TemporaryFile(/tmp/multipartBody8897299338794178272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995697932,"filename":"image_04012025_14_00_02_873488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/13f6962825096969a5c13fe55473a805.jpg","text":"TemporaryFile(/tmp/multipartBody6867897217984335663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995697932,"filename":"image_04012025_14_00_02_873488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b7d89c73815d98db2f662da3a9e4fd4.jpg","text":"TemporaryFile(/tmp/multipartBody4655533481109560579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995697932,"filename":"image_04012025_13_59_02_655400_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3cac9a343477cd74c01b2ec580004fbe.jpg","text":"TemporaryFile(/tmp/multipartBody2119206485469490846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995697932,"filename":"image_04012025_13_59_02_655400_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8c77a10694d1b39cb9ebfda41330878f.jpg","text":"TemporaryFile(/tmp/multipartBody5700701364717487073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995697932,"filename":"image_04012025_14_00_02_873488_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/47f07154741a2d0cb5fbd7542d3ce6aa.jpg","text":"TemporaryFile(/tmp/multipartBody3474991197951355996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995697932,"filename":"image_04012025_13_59_02_655400_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326582701","file1":"1326582696","file0":"1326582691","file4":"1326582708","file5":"1326582725","file3":"1326582704"},"map_files_photo_id_array":[{"photo_id":"1326582725","filename":"file5"},{"photo_id":"1326582701","filename":"file2"},{"photo_id":"1326582708","filename":"file4"},{"photo_id":"1326582696","filename":"file1"},{"photo_id":"1326582691","filename":"file0"},{"photo_id":"1326582704","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326582708":["hashtag1","hashtag2"]},{"1326582725":["hashtag1","hashtag2"]},{"1326582701":["hashtag1","hashtag2"]},{"1326582691":["hashtag1","hashtag2"]},{"1326582704":["hashtag1","hashtag2"]},{"1326582696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326582708, 1326582725, 1326582701, 1326582691, 1326582704, 1326582696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.89883089065552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:01:21.814213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/00/image_04012025_14_00_02_873488_0003.jpg', '/home/pi/Desktop/images/04012025/14/01/image_04012025_14_01_03_016802_0000.jpg', '/home/pi/Desktop/images/04012025/14/01/image_04012025_14_01_03_016802_0001.jpg', '/home/pi/Desktop/images/04012025/14/01/image_04012025_14_01_03_016802_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/00/image_04012025_14_00_02_873488_0003.jpg
/home/pi/Desktop/images/04012025/14/01/image_04012025_14_01_03_016802_0000.jpg
/home/pi/Desktop/images/04012025/14/01/image_04012025_14_01_03_016802_0001.jpg
/home/pi/Desktop/images/04012025/14/01/image_04012025_14_01_03_016802_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326583206","1326583073","1326582987","1326583242"],"photo_ids_order":["1326582987","1326583073","1326583206","1326583242"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7c09ffea3e952c21ee1a0840516e88f9.jpg","text":"TemporaryFile(/tmp/multipartBody8649658505289871210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995752384,"filename":"image_04012025_14_01_03_016802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d0b1c7ce9c2ac3dd1cf3b71721e61ec7.jpg","text":"TemporaryFile(/tmp/multipartBody530815611411842927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995752384,"filename":"image_04012025_14_01_03_016802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ec7d73fba4ce2719a58c259d872b37a2.jpg","text":"TemporaryFile(/tmp/multipartBody5444104962598158238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995752384,"filename":"image_04012025_14_00_02_873488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/39a1f77c0802dd5bb5a14204412476a3.jpg","text":"TemporaryFile(/tmp/multipartBody7041852618144331415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995752384,"filename":"image_04012025_14_01_03_016802_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326583206","file1":"1326583073","file0":"1326582987","file3":"1326583242"},"map_files_photo_id_array":[{"photo_id":"1326583206","filename":"file2"},{"photo_id":"1326583073","filename":"file1"},{"photo_id":"1326582987","filename":"file0"},{"photo_id":"1326583242","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326583206":["hashtag1","hashtag2"]},{"1326583073":["hashtag1","hashtag2"]},{"1326582987":["hashtag1","hashtag2"]},{"1326583242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326583206, 1326583073, 1326582987, 1326583242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.779075622558594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:02:21.977065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/01/image_04012025_14_01_03_016802_0003.jpg', '/home/pi/Desktop/images/04012025/14/02/image_04012025_14_02_02_143656_0000.jpg', '/home/pi/Desktop/images/04012025/14/02/image_04012025_14_02_02_143656_0001.jpg', '/home/pi/Desktop/images/04012025/14/02/image_04012025_14_02_02_143656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/01/image_04012025_14_01_03_016802_0003.jpg
/home/pi/Desktop/images/04012025/14/02/image_04012025_14_02_02_143656_0000.jpg
/home/pi/Desktop/images/04012025/14/02/image_04012025_14_02_02_143656_0001.jpg
/home/pi/Desktop/images/04012025/14/02/image_04012025_14_02_02_143656_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326584083","1326583993","1326583963","1326584212"],"photo_ids_order":["1326583963","1326583993","1326584083","1326584212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3aa00df3617c92220739d90c9858c275.jpg","text":"TemporaryFile(/tmp/multipartBody1176710864604551894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995812531,"filename":"image_04012025_14_02_02_143656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/95be8717ff7eb8437940b1385c7fccee.jpg","text":"TemporaryFile(/tmp/multipartBody4127279264345302768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995812531,"filename":"image_04012025_14_02_02_143656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cd352e86a2f9174b87d4b7571c6a5c93.jpg","text":"TemporaryFile(/tmp/multipartBody7275928345167016916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995812531,"filename":"image_04012025_14_01_03_016802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c4931a7edeba2a105544f6fc58f5103a.jpg","text":"TemporaryFile(/tmp/multipartBody5012046132278878756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995812531,"filename":"image_04012025_14_02_02_143656_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326584083","file1":"1326583993","file0":"1326583963","file3":"1326584212"},"map_files_photo_id_array":[{"photo_id":"1326584083","filename":"file2"},{"photo_id":"1326583993","filename":"file1"},{"photo_id":"1326583963","filename":"file0"},{"photo_id":"1326584212","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326584083":["hashtag1","hashtag2"]},{"1326583993":["hashtag1","hashtag2"]},{"1326583963":["hashtag1","hashtag2"]},{"1326584212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326584083, 1326583993, 1326583963, 1326584212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.866196632385254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:03:02.865261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:03:22.158817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/02/image_04012025_14_02_02_143656_0003.jpg', '/home/pi/Desktop/images/04012025/14/03/image_04012025_14_03_02_324831_0000.jpg', '/home/pi/Desktop/images/04012025/14/03/image_04012025_14_03_02_324831_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/02/image_04012025_14_02_02_143656_0003.jpg
/home/pi/Desktop/images/04012025/14/03/image_04012025_14_03_02_324831_0000.jpg
/home/pi/Desktop/images/04012025/14/03/image_04012025_14_03_02_324831_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":["1326584320","1326584323","1326584317"],"photo_ids_order":["1326584317","1326584320","1326584323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ff26027a0c3f41e2634ce163757cfeb8.jpg","text":"TemporaryFile(/tmp/multipartBody7851004228139559103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995870176,"filename":"image_04012025_14_03_02_324831_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a30a436f4b683b94df69b7f727d4e2f8.jpg","text":"TemporaryFile(/tmp/multipartBody1580409471171398802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995870176,"filename":"image_04012025_14_03_02_324831_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b98527eb2da0b3846966d9476384a280.jpg","text":"TemporaryFile(/tmp/multipartBody438671819894611350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995870176,"filename":"image_04012025_14_02_02_143656_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326584323","file1":"1326584320","file0":"1326584317"},"map_files_photo_id_array":[{"photo_id":"1326584323","filename":"file2"},{"photo_id":"1326584320","filename":"file1"},{"photo_id":"1326584317","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326584320":["hashtag1","hashtag2"]},{"1326584323":["hashtag1","hashtag2"]},{"1326584317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326584320, 1326584323, 1326584317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.404033660888672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:04:02.805298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:04:22.305457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/03/image_04012025_14_03_02_324831_0002.jpg', '/home/pi/Desktop/images/04012025/14/04/image_04012025_14_04_02_522882_0000.jpg', '/home/pi/Desktop/images/04012025/14/04/image_04012025_14_04_02_522882_0001.jpg', '/home/pi/Desktop/images/04012025/14/04/image_04012025_14_04_02_522882_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/03/image_04012025_14_03_02_324831_0002.jpg
/home/pi/Desktop/images/04012025/14/04/image_04012025_14_04_02_522882_0000.jpg
/home/pi/Desktop/images/04012025/14/04/image_04012025_14_04_02_522882_0001.jpg
/home/pi/Desktop/images/04012025/14/04/image_04012025_14_04_02_522882_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326584741","1326584661","1326584658","1326584738"],"photo_ids_order":["1326584658","1326584661","1326584738","1326584741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e03a6b7306232592e7776b72ade2c438.jpg","text":"TemporaryFile(/tmp/multipartBody2490036066490471211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995932444,"filename":"image_04012025_14_04_02_522882_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7cc9688b3033d89670989ee2b7636dd5.jpg","text":"TemporaryFile(/tmp/multipartBody6180418820592023669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995932444,"filename":"image_04012025_14_04_02_522882_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e3c97906b3a5743c74de3b105450b818.jpg","text":"TemporaryFile(/tmp/multipartBody4046529797510671467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995932444,"filename":"image_04012025_14_03_02_324831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8826045b2b9482b29c27da0444e432d1.jpg","text":"TemporaryFile(/tmp/multipartBody5003288830476922384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995932444,"filename":"image_04012025_14_04_02_522882_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326584738","file1":"1326584661","file0":"1326584658","file3":"1326584741"},"map_files_photo_id_array":[{"photo_id":"1326584738","filename":"file2"},{"photo_id":"1326584661","filename":"file1"},{"photo_id":"1326584658","filename":"file0"},{"photo_id":"1326584741","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326584741":["hashtag1","hashtag2"]},{"1326584661":["hashtag1","hashtag2"]},{"1326584658":["hashtag1","hashtag2"]},{"1326584738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326584741, 1326584661, 1326584658, 1326584738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.395660400390625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:05:03.133837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:05:22.457466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/04/image_04012025_14_04_02_522882_0003.jpg', '/home/pi/Desktop/images/04012025/14/05/image_04012025_14_05_02_657007_0000.jpg', '/home/pi/Desktop/images/04012025/14/05/image_04012025_14_05_02_657007_0001.jpg', '/home/pi/Desktop/images/04012025/14/05/image_04012025_14_05_02_657007_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/04/image_04012025_14_04_02_522882_0003.jpg
/home/pi/Desktop/images/04012025/14/05/image_04012025_14_05_02_657007_0000.jpg
/home/pi/Desktop/images/04012025/14/05/image_04012025_14_05_02_657007_0001.jpg
/home/pi/Desktop/images/04012025/14/05/image_04012025_14_05_02_657007_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326584820","1326584814","1326584823","1326584817"],"photo_ids_order":["1326584814","1326584817","1326584820","1326584823"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/792e6f41c3f22d055b74de3e3bb53304.jpg","text":"TemporaryFile(/tmp/multipartBody5879904001659837074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995992623,"filename":"image_04012025_14_05_02_657007_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c71f214089d100a9f4b27a13a3e87eb0.jpg","text":"TemporaryFile(/tmp/multipartBody87443821578440879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995992623,"filename":"image_04012025_14_04_02_522882_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f8d9c6e7228d6607d96819941e4c716.jpg","text":"TemporaryFile(/tmp/multipartBody7567608895661483881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995992623,"filename":"image_04012025_14_05_02_657007_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7dc6ad9ebf2ef15b871968d597eef047.jpg","text":"TemporaryFile(/tmp/multipartBody8618734656210879751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735995992623,"filename":"image_04012025_14_05_02_657007_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326584820","file1":"1326584817","file0":"1326584814","file3":"1326584823"},"map_files_photo_id_array":[{"photo_id":"1326584820","filename":"file2"},{"photo_id":"1326584817","filename":"file1"},{"photo_id":"1326584814","filename":"file0"},{"photo_id":"1326584823","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326584820":["hashtag1","hashtag2"]},{"1326584814":["hashtag1","hashtag2"]},{"1326584823":["hashtag1","hashtag2"]},{"1326584817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326584820, 1326584814, 1326584823, 1326584817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.76219439506531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:06:03.009886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:06:22.634268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/05/image_04012025_14_05_02_657007_0003.jpg', '/home/pi/Desktop/images/04012025/14/06/image_04012025_14_06_02_844032_0000.jpg', '/home/pi/Desktop/images/04012025/14/06/image_04012025_14_06_02_844032_0001.jpg', '/home/pi/Desktop/images/04012025/14/06/image_04012025_14_06_02_844032_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/05/image_04012025_14_05_02_657007_0003.jpg
/home/pi/Desktop/images/04012025/14/06/image_04012025_14_06_02_844032_0000.jpg
/home/pi/Desktop/images/04012025/14/06/image_04012025_14_06_02_844032_0001.jpg
/home/pi/Desktop/images/04012025/14/06/image_04012025_14_06_02_844032_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326585471","1326585723","1326585332","1326585401"],"photo_ids_order":["1326585332","1326585401","1326585471","1326585723"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/882189dfa16b978112396d6b9c8d20dc.jpg","text":"TemporaryFile(/tmp/multipartBody1964427413676101324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996052822,"filename":"image_04012025_14_06_02_844032_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/073c469347bba02d2ee1212d6ed84e05.jpg","text":"TemporaryFile(/tmp/multipartBody3006721384715102985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996052822,"filename":"image_04012025_14_06_02_844032_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a2e375d17fe9e1f6def0067eaecb8f7f.jpg","text":"TemporaryFile(/tmp/multipartBody2900378935816233263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996052822,"filename":"image_04012025_14_05_02_657007_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/103a944967de109956db0e5d71141864.jpg","text":"TemporaryFile(/tmp/multipartBody1317394296648279067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996052822,"filename":"image_04012025_14_06_02_844032_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326585471","file1":"1326585401","file0":"1326585332","file3":"1326585723"},"map_files_photo_id_array":[{"photo_id":"1326585471","filename":"file2"},{"photo_id":"1326585401","filename":"file1"},{"photo_id":"1326585332","filename":"file0"},{"photo_id":"1326585723","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326585471":["hashtag1","hashtag2"]},{"1326585723":["hashtag1","hashtag2"]},{"1326585332":["hashtag1","hashtag2"]},{"1326585401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326585471, 1326585723, 1326585332, 1326585401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92418575286865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:07:21.844162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/06/image_04012025_14_06_02_844032_0003.jpg', '/home/pi/Desktop/images/04012025/14/07/image_04012025_14_07_02_981775_0000.jpg', '/home/pi/Desktop/images/04012025/14/07/image_04012025_14_07_02_981775_0001.jpg', '/home/pi/Desktop/images/04012025/14/07/image_04012025_14_07_02_981775_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/06/image_04012025_14_06_02_844032_0003.jpg
/home/pi/Desktop/images/04012025/14/07/image_04012025_14_07_02_981775_0000.jpg
/home/pi/Desktop/images/04012025/14/07/image_04012025_14_07_02_981775_0001.jpg
/home/pi/Desktop/images/04012025/14/07/image_04012025_14_07_02_981775_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326586513","1326586458","1326586548","1326586553"],"photo_ids_order":["1326586458","1326586513","1326586548","1326586553"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1692b45d218317d7b433fe2dda7133b2.jpg","text":"TemporaryFile(/tmp/multipartBody4954275013539550271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996112114,"filename":"image_04012025_14_07_02_981775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fce74cc015a96210dc8b3cfb874c2901.jpg","text":"TemporaryFile(/tmp/multipartBody6777940892068034561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996112114,"filename":"image_04012025_14_06_02_844032_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e35d2dbf7b961ff3f08f5a9a132a2164.jpg","text":"TemporaryFile(/tmp/multipartBody4047323760025479950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996112114,"filename":"image_04012025_14_07_02_981775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d736f1fa6e1bdeccf4ecbab6b9f114e1.jpg","text":"TemporaryFile(/tmp/multipartBody5972331860229375947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996112114,"filename":"image_04012025_14_07_02_981775_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326586548","file1":"1326586513","file0":"1326586458","file3":"1326586553"},"map_files_photo_id_array":[{"photo_id":"1326586548","filename":"file2"},{"photo_id":"1326586513","filename":"file1"},{"photo_id":"1326586458","filename":"file0"},{"photo_id":"1326586553","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326586513":["hashtag1","hashtag2"]},{"1326586458":["hashtag1","hashtag2"]},{"1326586548":["hashtag1","hashtag2"]},{"1326586553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326586513, 1326586458, 1326586548, 1326586553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.033751249313354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:08:02.290783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:08:21.976678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/07/image_04012025_14_07_02_981775_0003.jpg', '/home/pi/Desktop/images/04012025/14/08/image_04012025_14_08_02_123169_0000.jpg', '/home/pi/Desktop/images/04012025/14/08/image_04012025_14_08_02_123169_0001.jpg', '/home/pi/Desktop/images/04012025/14/08/image_04012025_14_08_02_123169_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/07/image_04012025_14_07_02_981775_0003.jpg
/home/pi/Desktop/images/04012025/14/08/image_04012025_14_08_02_123169_0000.jpg
/home/pi/Desktop/images/04012025/14/08/image_04012025_14_08_02_123169_0001.jpg
/home/pi/Desktop/images/04012025/14/08/image_04012025_14_08_02_123169_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326587372","1326587533","1326587449","1326587401"],"photo_ids_order":["1326587372","1326587401","1326587449","1326587533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5f2aafc6ee9392a904daaf57e70d6642.jpg","text":"TemporaryFile(/tmp/multipartBody5303408727129498189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996172412,"filename":"image_04012025_14_07_02_981775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ad0896ccabd3be98939ed29ad4d4bb8a.jpg","text":"TemporaryFile(/tmp/multipartBody4890107942561255160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996172412,"filename":"image_04012025_14_08_02_123169_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce53422168c89c5e94ed8444a2344f81.jpg","text":"TemporaryFile(/tmp/multipartBody3831227623938094996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996172412,"filename":"image_04012025_14_08_02_123169_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/114094e0044f93bf27fc2a1c08d6ba24.jpg","text":"TemporaryFile(/tmp/multipartBody3661574011938571041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996172412,"filename":"image_04012025_14_08_02_123169_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326587449","file1":"1326587401","file0":"1326587372","file3":"1326587533"},"map_files_photo_id_array":[{"photo_id":"1326587449","filename":"file2"},{"photo_id":"1326587401","filename":"file1"},{"photo_id":"1326587372","filename":"file0"},{"photo_id":"1326587533","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326587372":["hashtag1","hashtag2"]},{"1326587533":["hashtag1","hashtag2"]},{"1326587449":["hashtag1","hashtag2"]},{"1326587401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326587372, 1326587533, 1326587449, 1326587401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.856937885284424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:09:22.118627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/08/image_04012025_14_08_02_123169_0003.jpg', '/home/pi/Desktop/images/04012025/14/09/image_04012025_14_09_02_344015_0000.jpg', '/home/pi/Desktop/images/04012025/14/09/image_04012025_14_09_02_344015_0001.jpg', '/home/pi/Desktop/images/04012025/14/09/image_04012025_14_09_02_344015_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/08/image_04012025_14_08_02_123169_0003.jpg
/home/pi/Desktop/images/04012025/14/09/image_04012025_14_09_02_344015_0000.jpg
/home/pi/Desktop/images/04012025/14/09/image_04012025_14_09_02_344015_0001.jpg
/home/pi/Desktop/images/04012025/14/09/image_04012025_14_09_02_344015_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326587925","1326587928","1326587867","1326587962"],"photo_ids_order":["1326587867","1326587925","1326587928","1326587962"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7a04c760605bd3051400026750f6f8ab.jpg","text":"TemporaryFile(/tmp/multipartBody1848390877653953027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996232455,"filename":"image_04012025_14_09_02_344015_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5c6bd8780e832aa7783a5cfa47230fcc.jpg","text":"TemporaryFile(/tmp/multipartBody3550157072728388779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996232455,"filename":"image_04012025_14_09_02_344015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7fdfffb55335cf03d17adf39b830f98.jpg","text":"TemporaryFile(/tmp/multipartBody3538234675782795868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996232455,"filename":"image_04012025_14_08_02_123169_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/295c44799a6bda0386cdf2e5ec24657e.jpg","text":"TemporaryFile(/tmp/multipartBody323989097985820383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996232455,"filename":"image_04012025_14_09_02_344015_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326587928","file1":"1326587925","file0":"1326587867","file3":"1326587962"},"map_files_photo_id_array":[{"photo_id":"1326587928","filename":"file2"},{"photo_id":"1326587925","filename":"file1"},{"photo_id":"1326587867","filename":"file0"},{"photo_id":"1326587962","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326587925":["hashtag1","hashtag2"]},{"1326587928":["hashtag1","hashtag2"]},{"1326587867":["hashtag1","hashtag2"]},{"1326587962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326587925, 1326587928, 1326587867, 1326587962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.740694999694824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:10:22.310871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/09/image_04012025_14_09_02_344015_0003.jpg', '/home/pi/Desktop/images/04012025/14/10/image_04012025_14_10_02_576026_0000.jpg', '/home/pi/Desktop/images/04012025/14/10/image_04012025_14_10_02_576026_0001.jpg', '/home/pi/Desktop/images/04012025/14/10/image_04012025_14_10_02_576026_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/09/image_04012025_14_09_02_344015_0003.jpg
/home/pi/Desktop/images/04012025/14/10/image_04012025_14_10_02_576026_0000.jpg
/home/pi/Desktop/images/04012025/14/10/image_04012025_14_10_02_576026_0001.jpg
/home/pi/Desktop/images/04012025/14/10/image_04012025_14_10_02_576026_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326588018","1326588046","1326588040","1326588043"],"photo_ids_order":["1326588018","1326588040","1326588043","1326588046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/39943df607221feb9f1521fe360ab64b.jpg","text":"TemporaryFile(/tmp/multipartBody8905506574560830918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996292711,"filename":"image_04012025_14_09_02_344015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cbd1df7cccdd780d32a341ec5ad2e4e1.jpg","text":"TemporaryFile(/tmp/multipartBody5781558116611141655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996292711,"filename":"image_04012025_14_10_02_576026_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8749a330b0540446d2fa2c9c6e48df27.jpg","text":"TemporaryFile(/tmp/multipartBody2468031329100094185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996292711,"filename":"image_04012025_14_10_02_576026_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/94a9ea623ed33fbba9a6b58ad68635c9.jpg","text":"TemporaryFile(/tmp/multipartBody8081322772838109862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996292711,"filename":"image_04012025_14_10_02_576026_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326588043","file1":"1326588040","file0":"1326588018","file3":"1326588046"},"map_files_photo_id_array":[{"photo_id":"1326588043","filename":"file2"},{"photo_id":"1326588040","filename":"file1"},{"photo_id":"1326588018","filename":"file0"},{"photo_id":"1326588046","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326588018":["hashtag1","hashtag2"]},{"1326588046":["hashtag1","hashtag2"]},{"1326588040":["hashtag1","hashtag2"]},{"1326588043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326588018, 1326588046, 1326588040, 1326588043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53817701339722 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-04 14:11:22.476289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/10/image_04012025_14_10_02_576026_0003.jpg', '/home/pi/Desktop/images/04012025/14/11/image_04012025_14_11_02_715117_0000.jpg', '/home/pi/Desktop/images/04012025/14/11/image_04012025_14_11_02_715117_0001.jpg', '/home/pi/Desktop/images/04012025/14/11/image_04012025_14_11_02_715117_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/10/image_04012025_14_10_02_576026_0003.jpg
/home/pi/Desktop/images/04012025/14/11/image_04012025_14_11_02_715117_0000.jpg
/home/pi/Desktop/images/04012025/14/11/image_04012025_14_11_02_715117_0001.jpg
/home/pi/Desktop/images/04012025/14/11/image_04012025_14_11_02_715117_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326588899","1326588491","1326588659","1326588841"],"photo_ids_order":["1326588491","1326588659","1326588841","1326588899"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9e3a07b2d0c518895676c2bf3f19252c.jpg","text":"TemporaryFile(/tmp/multipartBody6896859836643613603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996352754,"filename":"image_04012025_14_11_02_715117_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b7375243d6aa2f4e9b2f5b0f9a1ab197.jpg","text":"TemporaryFile(/tmp/multipartBody6675710420194805744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996352754,"filename":"image_04012025_14_10_02_576026_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f5678108e40074aa97b07b5f5822bfc0.jpg","text":"TemporaryFile(/tmp/multipartBody688965138299694887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996352754,"filename":"image_04012025_14_11_02_715117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/14f86d14b846f7d3cdcfb496693d50a5.jpg","text":"TemporaryFile(/tmp/multipartBody322647651964668005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996352754,"filename":"image_04012025_14_11_02_715117_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326588841","file1":"1326588659","file0":"1326588491","file3":"1326588899"},"map_files_photo_id_array":[{"photo_id":"1326588841","filename":"file2"},{"photo_id":"1326588659","filename":"file1"},{"photo_id":"1326588491","filename":"file0"},{"photo_id":"1326588899","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326588899":["hashtag1","hashtag2"]},{"1326588491":["hashtag1","hashtag2"]},{"1326588659":["hashtag1","hashtag2"]},{"1326588841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326588899, 1326588491, 1326588659, 1326588841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.82257890701294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:12:22.645836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/11/image_04012025_14_11_02_715117_0003.jpg', '/home/pi/Desktop/images/04012025/14/12/image_04012025_14_12_02_832889_0000.jpg', '/home/pi/Desktop/images/04012025/14/12/image_04012025_14_12_02_832889_0001.jpg', '/home/pi/Desktop/images/04012025/14/12/image_04012025_14_12_02_832889_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/11/image_04012025_14_11_02_715117_0003.jpg
/home/pi/Desktop/images/04012025/14/12/image_04012025_14_12_02_832889_0000.jpg
/home/pi/Desktop/images/04012025/14/12/image_04012025_14_12_02_832889_0001.jpg
/home/pi/Desktop/images/04012025/14/12/image_04012025_14_12_02_832889_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326589792","1326589771","1326589842","1326589836"],"photo_ids_order":["1326589771","1326589792","1326589836","1326589842"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e344618fda1c658ca455b2e25542e98b.jpg","text":"TemporaryFile(/tmp/multipartBody4132764933492019902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996413009,"filename":"image_04012025_14_12_02_832889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9c87f7de3c0086f22def5358a2dce7ce.jpg","text":"TemporaryFile(/tmp/multipartBody7082467489931328969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996413009,"filename":"image_04012025_14_11_02_715117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a088720af2966a0b75eb1c3d5735b470.jpg","text":"TemporaryFile(/tmp/multipartBody7191958513432348346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996413009,"filename":"image_04012025_14_12_02_832889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d646cd3823efd3135a746ca316c04eb6.jpg","text":"TemporaryFile(/tmp/multipartBody6469732093267670400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996413009,"filename":"image_04012025_14_12_02_832889_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326589836","file1":"1326589792","file0":"1326589771","file3":"1326589842"},"map_files_photo_id_array":[{"photo_id":"1326589836","filename":"file2"},{"photo_id":"1326589792","filename":"file1"},{"photo_id":"1326589771","filename":"file0"},{"photo_id":"1326589842","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326589792":["hashtag1","hashtag2"]},{"1326589771":["hashtag1","hashtag2"]},{"1326589842":["hashtag1","hashtag2"]},{"1326589836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326589792, 1326589771, 1326589842, 1326589836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.35298299789429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:13:21.818602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/12/image_04012025_14_12_02_832889_0003.jpg', '/home/pi/Desktop/images/04012025/14/13/image_04012025_14_13_03_012583_0000.jpg', '/home/pi/Desktop/images/04012025/14/13/image_04012025_14_13_03_012583_0001.jpg', '/home/pi/Desktop/images/04012025/14/13/image_04012025_14_13_03_012583_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/12/image_04012025_14_12_02_832889_0003.jpg
/home/pi/Desktop/images/04012025/14/13/image_04012025_14_13_03_012583_0000.jpg
/home/pi/Desktop/images/04012025/14/13/image_04012025_14_13_03_012583_0001.jpg
/home/pi/Desktop/images/04012025/14/13/image_04012025_14_13_03_012583_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326590024","1326590333","1326590227","1326590337"],"photo_ids_order":["1326590024","1326590227","1326590333","1326590337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/688ad8745852ded90fd585f686ef9ea7.jpg","text":"TemporaryFile(/tmp/multipartBody6204513660037600912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996472247,"filename":"image_04012025_14_12_02_832889_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5599f30f9b1246601620c9d66c21db62.jpg","text":"TemporaryFile(/tmp/multipartBody6519100996323415621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996472247,"filename":"image_04012025_14_13_03_012583_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5e0f6af65d5c0e4377bd62f3c5b1445b.jpg","text":"TemporaryFile(/tmp/multipartBody2159250603245671856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996472247,"filename":"image_04012025_14_13_03_012583_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ae3e6effd2323313c61a57609fed9bb.jpg","text":"TemporaryFile(/tmp/multipartBody477966171542532955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996472247,"filename":"image_04012025_14_13_03_012583_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326590333","file1":"1326590227","file0":"1326590024","file3":"1326590337"},"map_files_photo_id_array":[{"photo_id":"1326590333","filename":"file2"},{"photo_id":"1326590227","filename":"file1"},{"photo_id":"1326590024","filename":"file0"},{"photo_id":"1326590337","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326590024":["hashtag1","hashtag2"]},{"1326590333":["hashtag1","hashtag2"]},{"1326590227":["hashtag1","hashtag2"]},{"1326590337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326590024, 1326590333, 1326590227, 1326590337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63786554336548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:14:02.487985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:14:22.035444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/13/image_04012025_14_13_03_012583_0003.jpg', '/home/pi/Desktop/images/04012025/14/14/image_04012025_14_14_02_197750_0000.jpg', '/home/pi/Desktop/images/04012025/14/14/image_04012025_14_14_02_197750_0001.jpg', '/home/pi/Desktop/images/04012025/14/14/image_04012025_14_14_02_197750_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/13/image_04012025_14_13_03_012583_0003.jpg
/home/pi/Desktop/images/04012025/14/14/image_04012025_14_14_02_197750_0000.jpg
/home/pi/Desktop/images/04012025/14/14/image_04012025_14_14_02_197750_0001.jpg
/home/pi/Desktop/images/04012025/14/14/image_04012025_14_14_02_197750_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326590537","1326590525","1326590533","1326590529"],"photo_ids_order":["1326590525","1326590529","1326590533","1326590537"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a582bf23e0afa1b2e5145684fc3d1797.jpg","text":"TemporaryFile(/tmp/multipartBody3062595587329797764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996532134,"filename":"image_04012025_14_14_02_197750_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/42a38012acc7aafa513c39a15c1d0b9a.jpg","text":"TemporaryFile(/tmp/multipartBody2765038134339936723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996532134,"filename":"image_04012025_14_13_03_012583_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b6cb97f147290c5ab2aaa5991e6e66d2.jpg","text":"TemporaryFile(/tmp/multipartBody2288958586277472602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996532134,"filename":"image_04012025_14_14_02_197750_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/46585988349c0555595fe814eccf4e91.jpg","text":"TemporaryFile(/tmp/multipartBody1964177077312824805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996532134,"filename":"image_04012025_14_14_02_197750_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326590533","file1":"1326590529","file0":"1326590525","file3":"1326590537"},"map_files_photo_id_array":[{"photo_id":"1326590533","filename":"file2"},{"photo_id":"1326590529","filename":"file1"},{"photo_id":"1326590525","filename":"file0"},{"photo_id":"1326590537","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326590537":["hashtag1","hashtag2"]},{"1326590525":["hashtag1","hashtag2"]},{"1326590533":["hashtag1","hashtag2"]},{"1326590529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326590537, 1326590525, 1326590533, 1326590529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.75638151168823 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-04 14:15:22.268126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/14/image_04012025_14_14_02_197750_0003.jpg', '/home/pi/Desktop/images/04012025/14/15/image_04012025_14_15_02_466709_0000.jpg', '/home/pi/Desktop/images/04012025/14/15/image_04012025_14_15_02_466709_0001.jpg', '/home/pi/Desktop/images/04012025/14/15/image_04012025_14_15_02_466709_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/14/image_04012025_14_14_02_197750_0003.jpg
/home/pi/Desktop/images/04012025/14/15/image_04012025_14_15_02_466709_0000.jpg
/home/pi/Desktop/images/04012025/14/15/image_04012025_14_15_02_466709_0001.jpg
/home/pi/Desktop/images/04012025/14/15/image_04012025_14_15_02_466709_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326590687","1326590705","1326590697","1326590701"],"photo_ids_order":["1326590687","1326590697","1326590701","1326590705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/78e470e44882a2abd61e83c780eb14a6.jpg","text":"TemporaryFile(/tmp/multipartBody4676680345505353679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996592702,"filename":"image_04012025_14_14_02_197750_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e28ccebb915242d5364e62019e774616.jpg","text":"TemporaryFile(/tmp/multipartBody612273692072992296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996592702,"filename":"image_04012025_14_15_02_466709_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0e17948dad383a266694caa07157e53b.jpg","text":"TemporaryFile(/tmp/multipartBody1580974811169888146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996592702,"filename":"image_04012025_14_15_02_466709_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b9d84238d6ff95be3a4882748c94eff.jpg","text":"TemporaryFile(/tmp/multipartBody5888481112663288834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996592702,"filename":"image_04012025_14_15_02_466709_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326590701","file1":"1326590697","file0":"1326590687","file3":"1326590705"},"map_files_photo_id_array":[{"photo_id":"1326590701","filename":"file2"},{"photo_id":"1326590697","filename":"file1"},{"photo_id":"1326590687","filename":"file0"},{"photo_id":"1326590705","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326590687":["hashtag1","hashtag2"]},{"1326590705":["hashtag1","hashtag2"]},{"1326590697":["hashtag1","hashtag2"]},{"1326590701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326590687, 1326590705, 1326590697, 1326590701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2696967124939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:16:02.901973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:16:22.454106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/15/image_04012025_14_15_02_466709_0003.jpg', '/home/pi/Desktop/images/04012025/14/16/image_04012025_14_16_02_567060_0000.jpg', '/home/pi/Desktop/images/04012025/14/16/image_04012025_14_16_02_567060_0001.jpg', '/home/pi/Desktop/images/04012025/14/16/image_04012025_14_16_02_567060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/15/image_04012025_14_15_02_466709_0003.jpg
/home/pi/Desktop/images/04012025/14/16/image_04012025_14_16_02_567060_0000.jpg
/home/pi/Desktop/images/04012025/14/16/image_04012025_14_16_02_567060_0001.jpg
/home/pi/Desktop/images/04012025/14/16/image_04012025_14_16_02_567060_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326591914","1326591863","1326591414","1326591770"],"photo_ids_order":["1326591414","1326591770","1326591863","1326591914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5d52eec866bd279a599d046116fc4a0c.jpg","text":"TemporaryFile(/tmp/multipartBody7413322441041320860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996652684,"filename":"image_04012025_14_16_02_567060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a2d06b0f0a5197c781da6ab406a93a68.jpg","text":"TemporaryFile(/tmp/multipartBody4526780498231806733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996652684,"filename":"image_04012025_14_16_02_567060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d2c9116270f2cf241527b7a1ef345e54.jpg","text":"TemporaryFile(/tmp/multipartBody4150887678533614228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996652684,"filename":"image_04012025_14_15_02_466709_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a81f687f7fca12c6ba9d7d040be8207e.jpg","text":"TemporaryFile(/tmp/multipartBody9059737854836794817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996652684,"filename":"image_04012025_14_16_02_567060_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326591863","file1":"1326591770","file0":"1326591414","file3":"1326591914"},"map_files_photo_id_array":[{"photo_id":"1326591863","filename":"file2"},{"photo_id":"1326591770","filename":"file1"},{"photo_id":"1326591414","filename":"file0"},{"photo_id":"1326591914","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326591914":["hashtag1","hashtag2"]},{"1326591863":["hashtag1","hashtag2"]},{"1326591414":["hashtag1","hashtag2"]},{"1326591770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326591914, 1326591863, 1326591414, 1326591770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.96575999259949 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:17:03.223751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:17:22.560811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/16/image_04012025_14_16_02_567060_0003.jpg', '/home/pi/Desktop/images/04012025/14/17/image_04012025_14_17_02_924491_0000.jpg', '/home/pi/Desktop/images/04012025/14/17/image_04012025_14_17_02_924491_0001.jpg', '/home/pi/Desktop/images/04012025/14/17/image_04012025_14_17_02_924491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/16/image_04012025_14_16_02_567060_0003.jpg
/home/pi/Desktop/images/04012025/14/17/image_04012025_14_17_02_924491_0000.jpg
/home/pi/Desktop/images/04012025/14/17/image_04012025_14_17_02_924491_0001.jpg
/home/pi/Desktop/images/04012025/14/17/image_04012025_14_17_02_924491_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326592552","1326592441","1326592735","1326592437"],"photo_ids_order":["1326592437","1326592441","1326592552","1326592735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cee74f8239a5012aae51649bb90fc067.jpg","text":"TemporaryFile(/tmp/multipartBody1151939481633765782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996712937,"filename":"image_04012025_14_17_02_924491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/34ef1eb3c0ace06780847528fcf0ec2f.jpg","text":"TemporaryFile(/tmp/multipartBody4760650383789376854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996712937,"filename":"image_04012025_14_17_02_924491_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/beb16228f30ed7e80885e346a612db7e.jpg","text":"TemporaryFile(/tmp/multipartBody778219067785782681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996712937,"filename":"image_04012025_14_17_02_924491_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6958de298c8f0c267352011b466fe279.jpg","text":"TemporaryFile(/tmp/multipartBody5328470286968819544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996712937,"filename":"image_04012025_14_16_02_567060_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326592552","file1":"1326592441","file0":"1326592437","file3":"1326592735"},"map_files_photo_id_array":[{"photo_id":"1326592552","filename":"file2"},{"photo_id":"1326592441","filename":"file1"},{"photo_id":"1326592437","filename":"file0"},{"photo_id":"1326592735","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326592552":["hashtag1","hashtag2"]},{"1326592441":["hashtag1","hashtag2"]},{"1326592735":["hashtag1","hashtag2"]},{"1326592437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326592552, 1326592441, 1326592735, 1326592437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.24357342720032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:18:21.786888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/17/image_04012025_14_17_02_924491_0003.jpg', '/home/pi/Desktop/images/04012025/14/18/image_04012025_14_18_02_978320_0001.jpg', '/home/pi/Desktop/images/04012025/14/18/image_04012025_14_18_02_978320_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/17/image_04012025_14_17_02_924491_0003.jpg
/home/pi/Desktop/images/04012025/14/18/image_04012025_14_18_02_978320_0001.jpg
/home/pi/Desktop/images/04012025/14/18/image_04012025_14_18_02_978320_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326592942","1326592936","1326592938"],"photo_ids_order":["1326592936","1326592938","1326592942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3aac425a343aa916298ad450a773deaa.jpg","text":"TemporaryFile(/tmp/multipartBody8035319156112379489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996769745,"filename":"image_04012025_14_18_02_978320_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8cd12a755438167d61e6d6a4d3e07e72.jpg","text":"TemporaryFile(/tmp/multipartBody922549137661523814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996769745,"filename":"image_04012025_14_17_02_924491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/57fb581540e447d5bdfc849ae6ae11b8.jpg","text":"TemporaryFile(/tmp/multipartBody914920334211778787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996769745,"filename":"image_04012025_14_18_02_978320_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326592942","file1":"1326592938","file0":"1326592936"},"map_files_photo_id_array":[{"photo_id":"1326592942","filename":"file2"},{"photo_id":"1326592938","filename":"file1"},{"photo_id":"1326592936","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326592942":["hashtag1","hashtag2"]},{"1326592936":["hashtag1","hashtag2"]},{"1326592938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326592942, 1326592936, 1326592938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.27632713317871 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:19:02.593909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:19:22.025573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/18/image_04012025_14_18_02_978320_0003.jpg', '/home/pi/Desktop/images/04012025/14/19/image_04012025_14_19_02_154614_0000.jpg', '/home/pi/Desktop/images/04012025/14/19/image_04012025_14_19_02_154614_0001.jpg', '/home/pi/Desktop/images/04012025/14/19/image_04012025_14_19_02_154614_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/18/image_04012025_14_18_02_978320_0003.jpg
/home/pi/Desktop/images/04012025/14/19/image_04012025_14_19_02_154614_0000.jpg
/home/pi/Desktop/images/04012025/14/19/image_04012025_14_19_02_154614_0001.jpg
/home/pi/Desktop/images/04012025/14/19/image_04012025_14_19_02_154614_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326593386","1326593403","1326593390","1326593381"],"photo_ids_order":["1326593381","1326593386","1326593390","1326593403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6b40e7a44baffa40aec297b651261a5e.jpg","text":"TemporaryFile(/tmp/multipartBody7789454424805523620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996832522,"filename":"image_04012025_14_19_02_154614_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/808a963a59560dd2f1363309d448a209.jpg","text":"TemporaryFile(/tmp/multipartBody4057307551188057599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996832522,"filename":"image_04012025_14_19_02_154614_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aed08b085f0f319509823bffe1d667ad.jpg","text":"TemporaryFile(/tmp/multipartBody2345757485416123939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996832522,"filename":"image_04012025_14_19_02_154614_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a6c6027a50dacf396a2499b49bbf880c.jpg","text":"TemporaryFile(/tmp/multipartBody2677244106222330621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996832522,"filename":"image_04012025_14_18_02_978320_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326593390","file1":"1326593386","file0":"1326593381","file3":"1326593403"},"map_files_photo_id_array":[{"photo_id":"1326593390","filename":"file2"},{"photo_id":"1326593386","filename":"file1"},{"photo_id":"1326593381","filename":"file0"},{"photo_id":"1326593403","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326593386":["hashtag1","hashtag2"]},{"1326593403":["hashtag1","hashtag2"]},{"1326593390":["hashtag1","hashtag2"]},{"1326593381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326593386, 1326593403, 1326593390, 1326593381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82964754104614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:20:22.141299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/19/image_04012025_14_19_02_154614_0003.jpg', '/home/pi/Desktop/images/04012025/14/20/image_04012025_14_20_02_304892_0000.jpg', '/home/pi/Desktop/images/04012025/14/20/image_04012025_14_20_02_304892_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/19/image_04012025_14_19_02_154614_0003.jpg
/home/pi/Desktop/images/04012025/14/20/image_04012025_14_20_02_304892_0000.jpg
/home/pi/Desktop/images/04012025/14/20/image_04012025_14_20_02_304892_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326593772","1326593769","1326593411"],"photo_ids_order":["1326593411","1326593769","1326593772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/21e6394c89bf5d114db9101bc67b603e.jpg","text":"TemporaryFile(/tmp/multipartBody3849637149673114105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996890023,"filename":"image_04012025_14_20_02_304892_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/985f270e0e5251661de92d21affde3fc.jpg","text":"TemporaryFile(/tmp/multipartBody6554641692569604734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996890023,"filename":"image_04012025_14_20_02_304892_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a9d4a8c1dbde922113be8b6eda038a7d.jpg","text":"TemporaryFile(/tmp/multipartBody8207468867847580335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996890023,"filename":"image_04012025_14_19_02_154614_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326593772","file1":"1326593769","file0":"1326593411"},"map_files_photo_id_array":[{"photo_id":"1326593772","filename":"file2"},{"photo_id":"1326593769","filename":"file1"},{"photo_id":"1326593411","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326593772":["hashtag1","hashtag2"]},{"1326593769":["hashtag1","hashtag2"]},{"1326593411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326593772, 1326593769, 1326593411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.968916416168213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:21:03.022106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:21:22.399790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/20/image_04012025_14_20_02_304892_0003.jpg', '/home/pi/Desktop/images/04012025/14/21/image_04012025_14_21_02_521970_0000.jpg', '/home/pi/Desktop/images/04012025/14/21/image_04012025_14_21_02_521970_0001.jpg', '/home/pi/Desktop/images/04012025/14/21/image_04012025_14_21_02_521970_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/20/image_04012025_14_20_02_304892_0003.jpg
/home/pi/Desktop/images/04012025/14/21/image_04012025_14_21_02_521970_0000.jpg
/home/pi/Desktop/images/04012025/14/21/image_04012025_14_21_02_521970_0001.jpg
/home/pi/Desktop/images/04012025/14/21/image_04012025_14_21_02_521970_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326593954","1326593957","1326593951","1326594031"],"photo_ids_order":["1326593951","1326593954","1326593957","1326594031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2807fb955fea9139e034ed46138379f4.jpg","text":"TemporaryFile(/tmp/multipartBody3453961939243092301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996952816,"filename":"image_04012025_14_21_02_521970_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/19e21c099f795507306111c41f7b022b.jpg","text":"TemporaryFile(/tmp/multipartBody2467112407004325705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996952816,"filename":"image_04012025_14_21_02_521970_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6d54ef6922cf324174ee4158d5be2224.jpg","text":"TemporaryFile(/tmp/multipartBody4672926276943964356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996952816,"filename":"image_04012025_14_20_02_304892_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/37e3263e9100683518723606dbfdb538.jpg","text":"TemporaryFile(/tmp/multipartBody1233989196565924881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735996952816,"filename":"image_04012025_14_21_02_521970_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326593957","file1":"1326593954","file0":"1326593951","file3":"1326594031"},"map_files_photo_id_array":[{"photo_id":"1326593957","filename":"file2"},{"photo_id":"1326593954","filename":"file1"},{"photo_id":"1326593951","filename":"file0"},{"photo_id":"1326594031","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326593954":["hashtag1","hashtag2"]},{"1326593957":["hashtag1","hashtag2"]},{"1326593951":["hashtag1","hashtag2"]},{"1326594031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326593954, 1326593957, 1326593951, 1326594031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2118616104126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:22:02.846962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:22:22.481969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/21/image_04012025_14_21_02_521970_0003.jpg', '/home/pi/Desktop/images/04012025/14/22/image_04012025_14_22_02_738338_0000.jpg', '/home/pi/Desktop/images/04012025/14/22/image_04012025_14_22_02_738338_0001.jpg', '/home/pi/Desktop/images/04012025/14/22/image_04012025_14_22_02_738338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/21/image_04012025_14_21_02_521970_0003.jpg
/home/pi/Desktop/images/04012025/14/22/image_04012025_14_22_02_738338_0000.jpg
/home/pi/Desktop/images/04012025/14/22/image_04012025_14_22_02_738338_0001.jpg
/home/pi/Desktop/images/04012025/14/22/image_04012025_14_22_02_738338_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326594756","1326594942","1326594939","1326594554"],"photo_ids_order":["1326594554","1326594756","1326594939","1326594942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f8b3c29dfc24ca76a26efa6d867b3f34.jpg","text":"TemporaryFile(/tmp/multipartBody2600216342015193085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997012802,"filename":"image_04012025_14_22_02_738338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0fe47236a02a5e687fa78a18345579ce.jpg","text":"TemporaryFile(/tmp/multipartBody5328868231223818162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997012802,"filename":"image_04012025_14_22_02_738338_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/69cae0862c0d370229cd85c756237079.jpg","text":"TemporaryFile(/tmp/multipartBody7288489607217580279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997012802,"filename":"image_04012025_14_22_02_738338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c1594ec966a02da8334b16c769272882.jpg","text":"TemporaryFile(/tmp/multipartBody5094321671656782937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997012802,"filename":"image_04012025_14_21_02_521970_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326594939","file1":"1326594756","file0":"1326594554","file3":"1326594942"},"map_files_photo_id_array":[{"photo_id":"1326594939","filename":"file2"},{"photo_id":"1326594756","filename":"file1"},{"photo_id":"1326594554","filename":"file0"},{"photo_id":"1326594942","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326594756":["hashtag1","hashtag2"]},{"1326594942":["hashtag1","hashtag2"]},{"1326594939":["hashtag1","hashtag2"]},{"1326594554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326594756, 1326594942, 1326594939, 1326594554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.09113836288452 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:23:03.085828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:23:22.618431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/22/image_04012025_14_22_02_738338_0003.jpg', '/home/pi/Desktop/images/04012025/14/23/image_04012025_14_23_02_931181_0000.jpg', '/home/pi/Desktop/images/04012025/14/23/image_04012025_14_23_02_931181_0001.jpg', '/home/pi/Desktop/images/04012025/14/23/image_04012025_14_23_02_931181_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/22/image_04012025_14_22_02_738338_0003.jpg
/home/pi/Desktop/images/04012025/14/23/image_04012025_14_23_02_931181_0000.jpg
/home/pi/Desktop/images/04012025/14/23/image_04012025_14_23_02_931181_0001.jpg
/home/pi/Desktop/images/04012025/14/23/image_04012025_14_23_02_931181_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326595094","1326595097","1326595091","1326595100"],"photo_ids_order":["1326595091","1326595094","1326595097","1326595100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bbbbca899564725d442206a1a2e3a75c.jpg","text":"TemporaryFile(/tmp/multipartBody3367361156440761354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997073024,"filename":"image_04012025_14_23_02_931181_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aa3ab86362bdbf24afbce27a5898efd4.jpg","text":"TemporaryFile(/tmp/multipartBody231179076426623125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997073024,"filename":"image_04012025_14_23_02_931181_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6f1a50fc572f26f8f507110b06f8f09b.jpg","text":"TemporaryFile(/tmp/multipartBody1136958133089348082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997073024,"filename":"image_04012025_14_22_02_738338_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/013a5585cf1d5881d064e8039340cd10.jpg","text":"TemporaryFile(/tmp/multipartBody4244482889590220084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997073024,"filename":"image_04012025_14_23_02_931181_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326595097","file1":"1326595094","file0":"1326595091","file3":"1326595100"},"map_files_photo_id_array":[{"photo_id":"1326595097","filename":"file2"},{"photo_id":"1326595094","filename":"file1"},{"photo_id":"1326595091","filename":"file0"},{"photo_id":"1326595100","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326595094":["hashtag1","hashtag2"]},{"1326595097":["hashtag1","hashtag2"]},{"1326595091":["hashtag1","hashtag2"]},{"1326595100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326595094, 1326595097, 1326595091, 1326595100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.653321504592896 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-04 14:24:21.866285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/23/image_04012025_14_23_02_931181_0003.jpg', '/home/pi/Desktop/images/04012025/14/24/image_04012025_14_24_03_012623_0000.jpg', '/home/pi/Desktop/images/04012025/14/24/image_04012025_14_24_03_012623_0001.jpg', '/home/pi/Desktop/images/04012025/14/24/image_04012025_14_24_03_012623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/23/image_04012025_14_23_02_931181_0003.jpg
/home/pi/Desktop/images/04012025/14/24/image_04012025_14_24_03_012623_0000.jpg
/home/pi/Desktop/images/04012025/14/24/image_04012025_14_24_03_012623_0001.jpg
/home/pi/Desktop/images/04012025/14/24/image_04012025_14_24_03_012623_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326596055","1326596016","1326596012","1326596052"],"photo_ids_order":["1326596012","1326596016","1326596052","1326596055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3cf37ba0ba397547ca36f0b632103fca.jpg","text":"TemporaryFile(/tmp/multipartBody1185511237817403564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997132256,"filename":"image_04012025_14_24_03_012623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e179a9995764270b43b04001c2426111.jpg","text":"TemporaryFile(/tmp/multipartBody4643243442202233787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997132256,"filename":"image_04012025_14_24_03_012623_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/78dcddfcd7ba9f9e9c3d349103cd2a7d.jpg","text":"TemporaryFile(/tmp/multipartBody8479887507418983124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997132256,"filename":"image_04012025_14_23_02_931181_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/351dd135e5d939b94b9d3d431921df18.jpg","text":"TemporaryFile(/tmp/multipartBody9068725318207280161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997132256,"filename":"image_04012025_14_24_03_012623_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326596052","file1":"1326596016","file0":"1326596012","file3":"1326596055"},"map_files_photo_id_array":[{"photo_id":"1326596052","filename":"file2"},{"photo_id":"1326596016","filename":"file1"},{"photo_id":"1326596012","filename":"file0"},{"photo_id":"1326596055","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326596055":["hashtag1","hashtag2"]},{"1326596016":["hashtag1","hashtag2"]},{"1326596012":["hashtag1","hashtag2"]},{"1326596052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326596055, 1326596016, 1326596012, 1326596052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.08894228935242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:25:02.656247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:25:21.980395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/24/image_04012025_14_24_03_012623_0003.jpg', '/home/pi/Desktop/images/04012025/14/25/image_04012025_14_25_02_165581_0000.jpg', '/home/pi/Desktop/images/04012025/14/25/image_04012025_14_25_02_165581_0001.jpg', '/home/pi/Desktop/images/04012025/14/25/image_04012025_14_25_02_165581_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/24/image_04012025_14_24_03_012623_0003.jpg
/home/pi/Desktop/images/04012025/14/25/image_04012025_14_25_02_165581_0000.jpg
/home/pi/Desktop/images/04012025/14/25/image_04012025_14_25_02_165581_0001.jpg
/home/pi/Desktop/images/04012025/14/25/image_04012025_14_25_02_165581_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326596346","1326596342","1326596352","1326596349"],"photo_ids_order":["1326596342","1326596346","1326596349","1326596352"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5f9b98c7dc9b74cf2c2e972598684ca9.jpg","text":"TemporaryFile(/tmp/multipartBody7422873216477752069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997192319,"filename":"image_04012025_14_25_02_165581_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b49ceb26be47be356691607969fb066e.jpg","text":"TemporaryFile(/tmp/multipartBody1602701520055885620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997192319,"filename":"image_04012025_14_24_03_012623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c4c177ea9cb01a3b1e921b4f498f20ae.jpg","text":"TemporaryFile(/tmp/multipartBody2785914883051475482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997192319,"filename":"image_04012025_14_25_02_165581_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0f36f0e42b5655fa8b10bdec21e6072d.jpg","text":"TemporaryFile(/tmp/multipartBody7214062615413031323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997192319,"filename":"image_04012025_14_25_02_165581_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326596349","file1":"1326596346","file0":"1326596342","file3":"1326596352"},"map_files_photo_id_array":[{"photo_id":"1326596349","filename":"file2"},{"photo_id":"1326596346","filename":"file1"},{"photo_id":"1326596342","filename":"file0"},{"photo_id":"1326596352","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326596346":["hashtag1","hashtag2"]},{"1326596342":["hashtag1","hashtag2"]},{"1326596352":["hashtag1","hashtag2"]},{"1326596349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326596346, 1326596342, 1326596352, 1326596349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.99196672439575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:26:02.506120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:26:22.159106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/25/image_04012025_14_25_02_165581_0003.jpg', '/home/pi/Desktop/images/04012025/14/26/image_04012025_14_26_02_328063_0000.jpg', '/home/pi/Desktop/images/04012025/14/26/image_04012025_14_26_02_328063_0001.jpg', '/home/pi/Desktop/images/04012025/14/26/image_04012025_14_26_02_328063_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/25/image_04012025_14_25_02_165581_0003.jpg
/home/pi/Desktop/images/04012025/14/26/image_04012025_14_26_02_328063_0000.jpg
/home/pi/Desktop/images/04012025/14/26/image_04012025_14_26_02_328063_0001.jpg
/home/pi/Desktop/images/04012025/14/26/image_04012025_14_26_02_328063_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326596881","1326597148","1326596815","1326597021"],"photo_ids_order":["1326596815","1326596881","1326597021","1326597148"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a53297c425fb016add481e31487d26cf.jpg","text":"TemporaryFile(/tmp/multipartBody519621232385733080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997252558,"filename":"image_04012025_14_26_02_328063_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bc37329bfbc3a6e918e2e92bcc3bda59.jpg","text":"TemporaryFile(/tmp/multipartBody2113792424008512027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997252558,"filename":"image_04012025_14_26_02_328063_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/73088063148f95f773deaadec2c94d50.jpg","text":"TemporaryFile(/tmp/multipartBody2524114623783932295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997252558,"filename":"image_04012025_14_25_02_165581_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eaa16fbafa06bc9fd080b20f91b8fa0d.jpg","text":"TemporaryFile(/tmp/multipartBody7023462414796231296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997252558,"filename":"image_04012025_14_26_02_328063_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326597021","file1":"1326596881","file0":"1326596815","file3":"1326597148"},"map_files_photo_id_array":[{"photo_id":"1326597021","filename":"file2"},{"photo_id":"1326596881","filename":"file1"},{"photo_id":"1326596815","filename":"file0"},{"photo_id":"1326597148","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326596881":["hashtag1","hashtag2"]},{"1326597148":["hashtag1","hashtag2"]},{"1326596815":["hashtag1","hashtag2"]},{"1326597021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326596881, 1326597148, 1326596815, 1326597021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.25455927848816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:27:22.397905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/26/image_04012025_14_26_02_328063_0003.jpg', '/home/pi/Desktop/images/04012025/14/27/image_04012025_14_27_02_573414_0000.jpg', '/home/pi/Desktop/images/04012025/14/27/image_04012025_14_27_02_573414_0001.jpg', '/home/pi/Desktop/images/04012025/14/27/image_04012025_14_27_02_573414_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/26/image_04012025_14_26_02_328063_0003.jpg
/home/pi/Desktop/images/04012025/14/27/image_04012025_14_27_02_573414_0000.jpg
/home/pi/Desktop/images/04012025/14/27/image_04012025_14_27_02_573414_0001.jpg
/home/pi/Desktop/images/04012025/14/27/image_04012025_14_27_02_573414_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326597691","1326597792","1326597816","1326597765"],"photo_ids_order":["1326597691","1326597765","1326597792","1326597816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0cd9388f51dabc9f0f0a20582eb2e655.jpg","text":"TemporaryFile(/tmp/multipartBody8744062598522991694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997312665,"filename":"image_04012025_14_26_02_328063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a7c2a8f83a69a1361e08ab98cfe0bd78.jpg","text":"TemporaryFile(/tmp/multipartBody637373883379614273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997312665,"filename":"image_04012025_14_27_02_573414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9deecfa0cf271c1f1c6d71f0d9d449cb.jpg","text":"TemporaryFile(/tmp/multipartBody4954170244079955819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997312665,"filename":"image_04012025_14_27_02_573414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/210a7c13f6998e4719246fa522e1c57c.jpg","text":"TemporaryFile(/tmp/multipartBody1100944313232504100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997312665,"filename":"image_04012025_14_27_02_573414_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326597792","file1":"1326597765","file0":"1326597691","file3":"1326597816"},"map_files_photo_id_array":[{"photo_id":"1326597792","filename":"file2"},{"photo_id":"1326597765","filename":"file1"},{"photo_id":"1326597691","filename":"file0"},{"photo_id":"1326597816","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326597691":["hashtag1","hashtag2"]},{"1326597792":["hashtag1","hashtag2"]},{"1326597816":["hashtag1","hashtag2"]},{"1326597765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326597691, 1326597792, 1326597816, 1326597765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.52678942680359 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:28:22.553570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/27/image_04012025_14_27_02_573414_0003.jpg', '/home/pi/Desktop/images/04012025/14/28/image_04012025_14_28_02_680778_0000.jpg', '/home/pi/Desktop/images/04012025/14/28/image_04012025_14_28_02_680778_0001.jpg', '/home/pi/Desktop/images/04012025/14/28/image_04012025_14_28_02_680778_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/27/image_04012025_14_27_02_573414_0003.jpg
/home/pi/Desktop/images/04012025/14/28/image_04012025_14_28_02_680778_0000.jpg
/home/pi/Desktop/images/04012025/14/28/image_04012025_14_28_02_680778_0001.jpg
/home/pi/Desktop/images/04012025/14/28/image_04012025_14_28_02_680778_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326598372","1326598369","1326598671","1326598416"],"photo_ids_order":["1326598369","1326598372","1326598416","1326598671"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8a267974420de1f2590cf4081ad11575.jpg","text":"TemporaryFile(/tmp/multipartBody9108463520789804814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997372868,"filename":"image_04012025_14_28_02_680778_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cd20221ef14c0beedd652e81936e4b13.jpg","text":"TemporaryFile(/tmp/multipartBody4616520927777284475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997372868,"filename":"image_04012025_14_27_02_573414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3d4ff21fb5857674e871258d01c1ca61.jpg","text":"TemporaryFile(/tmp/multipartBody1772374907503505777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997372868,"filename":"image_04012025_14_28_02_680778_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0a53aab626240c2439f1df1c94034714.jpg","text":"TemporaryFile(/tmp/multipartBody2001910244025434741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997372868,"filename":"image_04012025_14_28_02_680778_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326598416","file1":"1326598372","file0":"1326598369","file3":"1326598671"},"map_files_photo_id_array":[{"photo_id":"1326598416","filename":"file2"},{"photo_id":"1326598372","filename":"file1"},{"photo_id":"1326598369","filename":"file0"},{"photo_id":"1326598671","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326598372":["hashtag1","hashtag2"]},{"1326598369":["hashtag1","hashtag2"]},{"1326598671":["hashtag1","hashtag2"]},{"1326598416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326598372, 1326598369, 1326598671, 1326598416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.870506048202515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:29:03.304596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:29:22.796709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/28/image_04012025_14_28_02_680778_0003.jpg', '/home/pi/Desktop/images/04012025/14/29/image_04012025_14_29_02_880619_0000.jpg', '/home/pi/Desktop/images/04012025/14/29/image_04012025_14_29_02_880619_0001.jpg', '/home/pi/Desktop/images/04012025/14/29/image_04012025_14_29_02_880619_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/28/image_04012025_14_28_02_680778_0003.jpg
/home/pi/Desktop/images/04012025/14/29/image_04012025_14_29_02_880619_0000.jpg
/home/pi/Desktop/images/04012025/14/29/image_04012025_14_29_02_880619_0001.jpg
/home/pi/Desktop/images/04012025/14/29/image_04012025_14_29_02_880619_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326599376","1326599355","1326599279","1326599374"],"photo_ids_order":["1326599279","1326599355","1326599374","1326599376"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/67f41174f8ef5f0484adf57049e0f896.jpg","text":"TemporaryFile(/tmp/multipartBody4208708546100256636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997433121,"filename":"image_04012025_14_29_02_880619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a7351a1d6c12325bcac5307ddaf83f29.jpg","text":"TemporaryFile(/tmp/multipartBody4826366621875717583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997433121,"filename":"image_04012025_14_29_02_880619_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f68b39d4bd27c49796d9b680c71e988.jpg","text":"TemporaryFile(/tmp/multipartBody4085668508763331069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997433121,"filename":"image_04012025_14_28_02_680778_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/074c46f7a01f18e547ea9ced11c0f6f2.jpg","text":"TemporaryFile(/tmp/multipartBody1841087804151003418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997433121,"filename":"image_04012025_14_29_02_880619_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326599374","file1":"1326599355","file0":"1326599279","file3":"1326599376"},"map_files_photo_id_array":[{"photo_id":"1326599374","filename":"file2"},{"photo_id":"1326599355","filename":"file1"},{"photo_id":"1326599279","filename":"file0"},{"photo_id":"1326599376","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326599376":["hashtag1","hashtag2"]},{"1326599355":["hashtag1","hashtag2"]},{"1326599279":["hashtag1","hashtag2"]},{"1326599374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326599376, 1326599355, 1326599279, 1326599374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18691611289978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:30:21.890691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/29/image_04012025_14_29_02_880619_0003.jpg', '/home/pi/Desktop/images/04012025/14/30/image_04012025_14_30_03_030836_0000.jpg', '/home/pi/Desktop/images/04012025/14/30/image_04012025_14_30_03_030836_0001.jpg', '/home/pi/Desktop/images/04012025/14/30/image_04012025_14_30_03_030836_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/29/image_04012025_14_29_02_880619_0003.jpg
/home/pi/Desktop/images/04012025/14/30/image_04012025_14_30_03_030836_0000.jpg
/home/pi/Desktop/images/04012025/14/30/image_04012025_14_30_03_030836_0001.jpg
/home/pi/Desktop/images/04012025/14/30/image_04012025_14_30_03_030836_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326599920","1326599772","1326599727","1326599857"],"photo_ids_order":["1326599727","1326599772","1326599857","1326599920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d40e229eff30c3f01a45c6176c781b2d.jpg","text":"TemporaryFile(/tmp/multipartBody2562183643432804907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997492289,"filename":"image_04012025_14_30_03_030836_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bb78b0fc98cac49bb549a86757832cdf.jpg","text":"TemporaryFile(/tmp/multipartBody2164508045796410788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997492289,"filename":"image_04012025_14_30_03_030836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9a264269a9b9813307529acdd1bff32c.jpg","text":"TemporaryFile(/tmp/multipartBody3434043845010770560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997492289,"filename":"image_04012025_14_29_02_880619_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/952a1fe6023b16e1eeee77bbd152ba43.jpg","text":"TemporaryFile(/tmp/multipartBody1678214661862468806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997492289,"filename":"image_04012025_14_30_03_030836_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326599857","file1":"1326599772","file0":"1326599727","file3":"1326599920"},"map_files_photo_id_array":[{"photo_id":"1326599857","filename":"file2"},{"photo_id":"1326599772","filename":"file1"},{"photo_id":"1326599727","filename":"file0"},{"photo_id":"1326599920","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326599920":["hashtag1","hashtag2"]},{"1326599772":["hashtag1","hashtag2"]},{"1326599727":["hashtag1","hashtag2"]},{"1326599857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326599920, 1326599772, 1326599727, 1326599857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.70907378196716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:31:02.679244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:31:22.062787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/30/image_04012025_14_30_03_030836_0003.jpg', '/home/pi/Desktop/images/04012025/14/31/image_04012025_14_31_02_292872_0000.jpg', '/home/pi/Desktop/images/04012025/14/31/image_04012025_14_31_02_292872_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/30/image_04012025_14_30_03_030836_0003.jpg
/home/pi/Desktop/images/04012025/14/31/image_04012025_14_31_02_292872_0000.jpg
/home/pi/Desktop/images/04012025/14/31/image_04012025_14_31_02_292872_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.578474998474121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 14:31:31.978549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/30/image_04012025_14_30_03_030836_0003.jpg', '/home/pi/Desktop/images/04012025/14/31/image_04012025_14_31_02_292872_0000.jpg', '/home/pi/Desktop/images/04012025/14/31/image_04012025_14_31_02_292872_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/30/image_04012025_14_30_03_030836_0003.jpg
/home/pi/Desktop/images/04012025/14/31/image_04012025_14_31_02_292872_0000.jpg
/home/pi/Desktop/images/04012025/14/31/image_04012025_14_31_02_292872_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":["1326600689","1326600434","1326600707"],"photo_ids_order":["1326600434","1326600689","1326600707"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/46b4d11707f00c1e9ac60f69a8f416de.jpg","text":"TemporaryFile(/tmp/multipartBody863202788542081000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997559950,"filename":"image_04012025_14_31_02_292872_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/575094522b8510e1b1bf188ef2ebb223.jpg","text":"TemporaryFile(/tmp/multipartBody8491082118830292862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997559950,"filename":"image_04012025_14_30_03_030836_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ebb3d7a656d9a48282a149178fe7988e.jpg","text":"TemporaryFile(/tmp/multipartBody8065129500341074383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997559950,"filename":"image_04012025_14_31_02_292872_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326600707","file1":"1326600689","file0":"1326600434"},"map_files_photo_id_array":[{"photo_id":"1326600707","filename":"file2"},{"photo_id":"1326600689","filename":"file1"},{"photo_id":"1326600434","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326600689":["hashtag1","hashtag2"]},{"1326600434":["hashtag1","hashtag2"]},{"1326600707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326600689, 1326600434, 1326600707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.098083972930908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:32:22.251161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/31/image_04012025_14_31_02_292872_0003.jpg', '/home/pi/Desktop/images/04012025/14/32/image_04012025_14_32_02_370102_0000.jpg', '/home/pi/Desktop/images/04012025/14/32/image_04012025_14_32_02_370102_0001.jpg', '/home/pi/Desktop/images/04012025/14/32/image_04012025_14_32_02_370102_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/31/image_04012025_14_31_02_292872_0003.jpg
/home/pi/Desktop/images/04012025/14/32/image_04012025_14_32_02_370102_0000.jpg
/home/pi/Desktop/images/04012025/14/32/image_04012025_14_32_02_370102_0001.jpg
/home/pi/Desktop/images/04012025/14/32/image_04012025_14_32_02_370102_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326600971","1326601157","1326601195","1326601106"],"photo_ids_order":["1326600971","1326601106","1326601157","1326601195"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/42db7c1dc6b98498d4ccb77922ed5e50.jpg","text":"TemporaryFile(/tmp/multipartBody1134591449705532022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997612661,"filename":"image_04012025_14_31_02_292872_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce2c91044212041fea8f71ba1ee3b065.jpg","text":"TemporaryFile(/tmp/multipartBody3805030243851072257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997612661,"filename":"image_04012025_14_32_02_370102_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ec96af5683672fee0145585f1d792e4.jpg","text":"TemporaryFile(/tmp/multipartBody387683533842533574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997612661,"filename":"image_04012025_14_32_02_370102_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b32779bbef9bf74b18eddc18f60c5b4b.jpg","text":"TemporaryFile(/tmp/multipartBody5354056214140436145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997612661,"filename":"image_04012025_14_32_02_370102_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326601157","file1":"1326601106","file0":"1326600971","file3":"1326601195"},"map_files_photo_id_array":[{"photo_id":"1326601157","filename":"file2"},{"photo_id":"1326601106","filename":"file1"},{"photo_id":"1326600971","filename":"file0"},{"photo_id":"1326601195","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326600971":["hashtag1","hashtag2"]},{"1326601157":["hashtag1","hashtag2"]},{"1326601195":["hashtag1","hashtag2"]},{"1326601106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326600971, 1326601157, 1326601195, 1326601106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.702716588974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:33:22.412998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/32/image_04012025_14_32_02_370102_0003.jpg', '/home/pi/Desktop/images/04012025/14/33/image_04012025_14_33_02_544871_0000.jpg', '/home/pi/Desktop/images/04012025/14/33/image_04012025_14_33_02_544871_0001.jpg', '/home/pi/Desktop/images/04012025/14/33/image_04012025_14_33_02_544871_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/32/image_04012025_14_32_02_370102_0003.jpg
/home/pi/Desktop/images/04012025/14/33/image_04012025_14_33_02_544871_0000.jpg
/home/pi/Desktop/images/04012025/14/33/image_04012025_14_33_02_544871_0001.jpg
/home/pi/Desktop/images/04012025/14/33/image_04012025_14_33_02_544871_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326601283","1326601286","1326601276","1326601279"],"photo_ids_order":["1326601276","1326601279","1326601283","1326601286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/591864149f87940f9b70e3ae853ecf72.jpg","text":"TemporaryFile(/tmp/multipartBody7170379571567258733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997672734,"filename":"image_04012025_14_33_02_544871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5130edbfe1874009e313052feb72f375.jpg","text":"TemporaryFile(/tmp/multipartBody4890002294035445429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997672734,"filename":"image_04012025_14_33_02_544871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ae65c4f9100d9365bf71e34778f6816a.jpg","text":"TemporaryFile(/tmp/multipartBody7251830128089732486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997672734,"filename":"image_04012025_14_32_02_370102_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/13d904449add73912137088642033ced.jpg","text":"TemporaryFile(/tmp/multipartBody1850661524466244857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997672734,"filename":"image_04012025_14_33_02_544871_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326601283","file1":"1326601279","file0":"1326601276","file3":"1326601286"},"map_files_photo_id_array":[{"photo_id":"1326601283","filename":"file2"},{"photo_id":"1326601279","filename":"file1"},{"photo_id":"1326601276","filename":"file0"},{"photo_id":"1326601286","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326601283":["hashtag1","hashtag2"]},{"1326601286":["hashtag1","hashtag2"]},{"1326601276":["hashtag1","hashtag2"]},{"1326601279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326601283, 1326601286, 1326601276, 1326601279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.2073028087616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:34:22.620803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/33/image_04012025_14_33_02_544871_0003.jpg', '/home/pi/Desktop/images/04012025/14/34/image_04012025_14_34_02_699862_0000.jpg', '/home/pi/Desktop/images/04012025/14/34/image_04012025_14_34_02_699862_0001.jpg', '/home/pi/Desktop/images/04012025/14/34/image_04012025_14_34_02_699862_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/33/image_04012025_14_33_02_544871_0003.jpg
/home/pi/Desktop/images/04012025/14/34/image_04012025_14_34_02_699862_0000.jpg
/home/pi/Desktop/images/04012025/14/34/image_04012025_14_34_02_699862_0001.jpg
/home/pi/Desktop/images/04012025/14/34/image_04012025_14_34_02_699862_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326601766","1326601748","1326601745","1326601761"],"photo_ids_order":["1326601745","1326601748","1326601761","1326601766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/592e2df3df2cfaf44422e933dbea0372.jpg","text":"TemporaryFile(/tmp/multipartBody7813089489215075158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997732964,"filename":"image_04012025_14_34_02_699862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d04e09da02ccae03c3ca0ca5dfc5b55f.jpg","text":"TemporaryFile(/tmp/multipartBody9168180201744386470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997732964,"filename":"image_04012025_14_34_02_699862_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c099acce0e2b19a25dfb95b7a2adb95d.jpg","text":"TemporaryFile(/tmp/multipartBody8308173520702029366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997732964,"filename":"image_04012025_14_33_02_544871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6a72e977b73498fa45ddcd0b1b37799b.jpg","text":"TemporaryFile(/tmp/multipartBody4402454068890510327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997732964,"filename":"image_04012025_14_34_02_699862_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326601761","file1":"1326601748","file0":"1326601745","file3":"1326601766"},"map_files_photo_id_array":[{"photo_id":"1326601761","filename":"file2"},{"photo_id":"1326601748","filename":"file1"},{"photo_id":"1326601745","filename":"file0"},{"photo_id":"1326601766","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326601766":["hashtag1","hashtag2"]},{"1326601748":["hashtag1","hashtag2"]},{"1326601745":["hashtag1","hashtag2"]},{"1326601761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326601766, 1326601748, 1326601745, 1326601761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.84393334388733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:35:03.274663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:35:22.715699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/34/image_04012025_14_34_02_699862_0003.jpg', '/home/pi/Desktop/images/04012025/14/35/image_04012025_14_35_02_919474_0000.jpg', '/home/pi/Desktop/images/04012025/14/35/image_04012025_14_35_02_919474_0001.jpg', '/home/pi/Desktop/images/04012025/14/35/image_04012025_14_35_02_919474_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/34/image_04012025_14_34_02_699862_0003.jpg
/home/pi/Desktop/images/04012025/14/35/image_04012025_14_35_02_919474_0000.jpg
/home/pi/Desktop/images/04012025/14/35/image_04012025_14_35_02_919474_0001.jpg
/home/pi/Desktop/images/04012025/14/35/image_04012025_14_35_02_919474_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326602084","1326602012","1326601875","1326602124"],"photo_ids_order":["1326601875","1326602012","1326602084","1326602124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/145258b6c58bb9cb44bf9f3300dbc53b.jpg","text":"TemporaryFile(/tmp/multipartBody7268534347346273699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997793171,"filename":"image_04012025_14_35_02_919474_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b6b67b5eee4787a9c9df9c9ab4d3e2c7.jpg","text":"TemporaryFile(/tmp/multipartBody560297627782014028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997793171,"filename":"image_04012025_14_35_02_919474_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2ec21233e6b4b24ce387de49dc241c9f.jpg","text":"TemporaryFile(/tmp/multipartBody6744268787407623140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997793171,"filename":"image_04012025_14_34_02_699862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4d895d90cf4e6d15ed586ff14ebe72b5.jpg","text":"TemporaryFile(/tmp/multipartBody8303736049807704015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997793171,"filename":"image_04012025_14_35_02_919474_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326602084","file1":"1326602012","file0":"1326601875","file3":"1326602124"},"map_files_photo_id_array":[{"photo_id":"1326602084","filename":"file2"},{"photo_id":"1326602012","filename":"file1"},{"photo_id":"1326601875","filename":"file0"},{"photo_id":"1326602124","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326602084":["hashtag1","hashtag2"]},{"1326602012":["hashtag1","hashtag2"]},{"1326601875":["hashtag1","hashtag2"]},{"1326602124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326602084, 1326602012, 1326601875, 1326602124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.31434869766235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:36:02.367808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:36:21.903571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/35/image_04012025_14_35_02_919474_0003.jpg', '/home/pi/Desktop/images/04012025/14/36/image_04012025_14_36_03_038031_0000.jpg', '/home/pi/Desktop/images/04012025/14/36/image_04012025_14_36_03_038031_0001.jpg', '/home/pi/Desktop/images/04012025/14/36/image_04012025_14_36_03_038031_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/35/image_04012025_14_35_02_919474_0003.jpg
/home/pi/Desktop/images/04012025/14/36/image_04012025_14_36_03_038031_0000.jpg
/home/pi/Desktop/images/04012025/14/36/image_04012025_14_36_03_038031_0001.jpg
/home/pi/Desktop/images/04012025/14/36/image_04012025_14_36_03_038031_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326602738","1326602695","1326602610","1326602454"],"photo_ids_order":["1326602454","1326602610","1326602695","1326602738"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9d7dd0d710304e5c76d770b6504bc7bc.jpg","text":"TemporaryFile(/tmp/multipartBody3939659064548843803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997852351,"filename":"image_04012025_14_36_03_038031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bd9e5917f93fae34169daca448f33cb9.jpg","text":"TemporaryFile(/tmp/multipartBody2817972156383508655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997852351,"filename":"image_04012025_14_36_03_038031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a87be902246fa4521c005867a4726ea7.jpg","text":"TemporaryFile(/tmp/multipartBody2428019025653436556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997852351,"filename":"image_04012025_14_36_03_038031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7aae8ecb3cbc41f26717fd86adbb59e.jpg","text":"TemporaryFile(/tmp/multipartBody9215252312544269100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997852351,"filename":"image_04012025_14_35_02_919474_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326602695","file1":"1326602610","file0":"1326602454","file3":"1326602738"},"map_files_photo_id_array":[{"photo_id":"1326602695","filename":"file2"},{"photo_id":"1326602610","filename":"file1"},{"photo_id":"1326602454","filename":"file0"},{"photo_id":"1326602738","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326602738":["hashtag1","hashtag2"]},{"1326602695":["hashtag1","hashtag2"]},{"1326602610":["hashtag1","hashtag2"]},{"1326602454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326602738, 1326602695, 1326602610, 1326602454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.784629344940186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:37:22.031024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/36/image_04012025_14_36_03_038031_0003.jpg', '/home/pi/Desktop/images/04012025/14/37/image_04012025_14_37_02_252035_0000.jpg', '/home/pi/Desktop/images/04012025/14/37/image_04012025_14_37_02_252035_0001.jpg', '/home/pi/Desktop/images/04012025/14/37/image_04012025_14_37_02_252035_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/36/image_04012025_14_36_03_038031_0003.jpg
/home/pi/Desktop/images/04012025/14/37/image_04012025_14_37_02_252035_0000.jpg
/home/pi/Desktop/images/04012025/14/37/image_04012025_14_37_02_252035_0001.jpg
/home/pi/Desktop/images/04012025/14/37/image_04012025_14_37_02_252035_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326602849","1326602817","1326603041","1326603044"],"photo_ids_order":["1326602817","1326602849","1326603041","1326603044"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b7f4562a1ff71c1878c8e0c4919f018c.jpg","text":"TemporaryFile(/tmp/multipartBody2351985135703316525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997912464,"filename":"image_04012025_14_37_02_252035_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/99c23dc269864c12404c528bdfd7b75e.jpg","text":"TemporaryFile(/tmp/multipartBody3642970018203166493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997912464,"filename":"image_04012025_14_36_03_038031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db7d805ac1c5a92ae3581b51cd0a23ed.jpg","text":"TemporaryFile(/tmp/multipartBody6048487373399674367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997912464,"filename":"image_04012025_14_37_02_252035_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/805a42b25f73c7029605281c1131cedf.jpg","text":"TemporaryFile(/tmp/multipartBody8666919372312365068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997912464,"filename":"image_04012025_14_37_02_252035_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326603041","file1":"1326602849","file0":"1326602817","file3":"1326603044"},"map_files_photo_id_array":[{"photo_id":"1326603041","filename":"file2"},{"photo_id":"1326602849","filename":"file1"},{"photo_id":"1326602817","filename":"file0"},{"photo_id":"1326603044","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326602849":["hashtag1","hashtag2"]},{"1326602817":["hashtag1","hashtag2"]},{"1326603041":["hashtag1","hashtag2"]},{"1326603044":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326602849, 1326602817, 1326603041, 1326603044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74283742904663 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-04 14:38:22.241930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/37/image_04012025_14_37_02_252035_0003.jpg', '/home/pi/Desktop/images/04012025/14/38/image_04012025_14_38_02_464311_0000.jpg', '/home/pi/Desktop/images/04012025/14/38/image_04012025_14_38_02_464311_0001.jpg', '/home/pi/Desktop/images/04012025/14/38/image_04012025_14_38_02_464311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/37/image_04012025_14_37_02_252035_0003.jpg
/home/pi/Desktop/images/04012025/14/38/image_04012025_14_38_02_464311_0000.jpg
/home/pi/Desktop/images/04012025/14/38/image_04012025_14_38_02_464311_0001.jpg
/home/pi/Desktop/images/04012025/14/38/image_04012025_14_38_02_464311_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.104010820388794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 14:38:42.287708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/37/image_04012025_14_37_02_252035_0003.jpg', '/home/pi/Desktop/images/04012025/14/38/image_04012025_14_38_02_464311_0000.jpg', '/home/pi/Desktop/images/04012025/14/38/image_04012025_14_38_02_464311_0001.jpg', '/home/pi/Desktop/images/04012025/14/38/image_04012025_14_38_02_464311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/37/image_04012025_14_37_02_252035_0003.jpg
/home/pi/Desktop/images/04012025/14/38/image_04012025_14_38_02_464311_0000.jpg
/home/pi/Desktop/images/04012025/14/38/image_04012025_14_38_02_464311_0001.jpg
/home/pi/Desktop/images/04012025/14/38/image_04012025_14_38_02_464311_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326603322","1326603316","1326603318","1326603320"],"photo_ids_order":["1326603316","1326603318","1326603320","1326603322"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/315292d4ed59011a00f1b7b3143fa55e.jpg","text":"TemporaryFile(/tmp/multipartBody4877428485931563206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997992774,"filename":"image_04012025_14_38_02_464311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9b04c2e858d84c581279302f29621d1a.jpg","text":"TemporaryFile(/tmp/multipartBody8260061298842615755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997992774,"filename":"image_04012025_14_37_02_252035_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/41a5256a9d1c014ca71f16e845f06baf.jpg","text":"TemporaryFile(/tmp/multipartBody5019291952656388704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997992774,"filename":"image_04012025_14_38_02_464311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db37968746a278a14ee93df1872c1b48.jpg","text":"TemporaryFile(/tmp/multipartBody8279722561539279808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735997992774,"filename":"image_04012025_14_38_02_464311_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326603320","file1":"1326603318","file0":"1326603316","file3":"1326603322"},"map_files_photo_id_array":[{"photo_id":"1326603320","filename":"file2"},{"photo_id":"1326603318","filename":"file1"},{"photo_id":"1326603316","filename":"file0"},{"photo_id":"1326603322","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326603322":["hashtag1","hashtag2"]},{"1326603316":["hashtag1","hashtag2"]},{"1326603318":["hashtag1","hashtag2"]},{"1326603320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326603322, 1326603316, 1326603318, 1326603320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.35722017288208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:39:22.408096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/38/image_04012025_14_38_02_464311_0003.jpg', '/home/pi/Desktop/images/04012025/14/39/image_04012025_14_39_02_696877_0000.jpg', '/home/pi/Desktop/images/04012025/14/39/image_04012025_14_39_02_696877_0001.jpg', '/home/pi/Desktop/images/04012025/14/39/image_04012025_14_39_02_696877_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/38/image_04012025_14_38_02_464311_0003.jpg
/home/pi/Desktop/images/04012025/14/39/image_04012025_14_39_02_696877_0000.jpg
/home/pi/Desktop/images/04012025/14/39/image_04012025_14_39_02_696877_0001.jpg
/home/pi/Desktop/images/04012025/14/39/image_04012025_14_39_02_696877_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326603325","1326603328","1326603339","1326603362"],"photo_ids_order":["1326603325","1326603328","1326603339","1326603362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d2a22d8db40ca8f6fc6185fae714e7b7.jpg","text":"TemporaryFile(/tmp/multipartBody2567171678281518692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998032809,"filename":"image_04012025_14_38_02_464311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dcc63e530fce61815260935c280b1aed.jpg","text":"TemporaryFile(/tmp/multipartBody429691748279017627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998032809,"filename":"image_04012025_14_39_02_696877_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2b08e0efe9c69503c221fa3c15013e79.jpg","text":"TemporaryFile(/tmp/multipartBody3623421731839158184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998032809,"filename":"image_04012025_14_39_02_696877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bdd7c45241d18b9edb34180d4f378f3c.jpg","text":"TemporaryFile(/tmp/multipartBody8536979401974078863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998032809,"filename":"image_04012025_14_39_02_696877_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326603339","file1":"1326603328","file0":"1326603325","file3":"1326603362"},"map_files_photo_id_array":[{"photo_id":"1326603339","filename":"file2"},{"photo_id":"1326603328","filename":"file1"},{"photo_id":"1326603325","filename":"file0"},{"photo_id":"1326603362","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326603325":["hashtag1","hashtag2"]},{"1326603328":["hashtag1","hashtag2"]},{"1326603339":["hashtag1","hashtag2"]},{"1326603362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326603325, 1326603328, 1326603339, 1326603362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.30535936355591 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:40:22.601151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/39/image_04012025_14_39_02_696877_0003.jpg', '/home/pi/Desktop/images/04012025/14/40/image_04012025_14_40_02_753342_0000.jpg', '/home/pi/Desktop/images/04012025/14/40/image_04012025_14_40_02_753342_0001.jpg', '/home/pi/Desktop/images/04012025/14/40/image_04012025_14_40_02_753342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/39/image_04012025_14_39_02_696877_0003.jpg
/home/pi/Desktop/images/04012025/14/40/image_04012025_14_40_02_753342_0000.jpg
/home/pi/Desktop/images/04012025/14/40/image_04012025_14_40_02_753342_0001.jpg
/home/pi/Desktop/images/04012025/14/40/image_04012025_14_40_02_753342_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326603834","1326603776","1326604031","1326603779"],"photo_ids_order":["1326603776","1326603779","1326603834","1326604031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4134726f60c55f505e90e358cd9bd5d1.jpg","text":"TemporaryFile(/tmp/multipartBody8564641041900029684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998092804,"filename":"image_04012025_14_40_02_753342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/11cafa84a8465f24ecbf492391621a94.jpg","text":"TemporaryFile(/tmp/multipartBody2736158505823369481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998092804,"filename":"image_04012025_14_39_02_696877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f77d619c7a786a10a3a5a8372d19994b.jpg","text":"TemporaryFile(/tmp/multipartBody2660426546498969809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998092804,"filename":"image_04012025_14_40_02_753342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc338d2ee2588928730793c6777151a2.jpg","text":"TemporaryFile(/tmp/multipartBody8235014949394612188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998092804,"filename":"image_04012025_14_40_02_753342_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326603834","file1":"1326603779","file0":"1326603776","file3":"1326604031"},"map_files_photo_id_array":[{"photo_id":"1326603834","filename":"file2"},{"photo_id":"1326603779","filename":"file1"},{"photo_id":"1326603776","filename":"file0"},{"photo_id":"1326604031","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326603834":["hashtag1","hashtag2"]},{"1326603776":["hashtag1","hashtag2"]},{"1326604031":["hashtag1","hashtag2"]},{"1326603779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326603834, 1326603776, 1326604031, 1326603779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.60970091819763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:41:21.879960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/40/image_04012025_14_40_02_753342_0003.jpg', '/home/pi/Desktop/images/04012025/14/41/image_04012025_14_41_02_975120_0000.jpg', '/home/pi/Desktop/images/04012025/14/41/image_04012025_14_41_02_975120_0001.jpg', '/home/pi/Desktop/images/04012025/14/41/image_04012025_14_41_02_975120_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/40/image_04012025_14_40_02_753342_0003.jpg
/home/pi/Desktop/images/04012025/14/41/image_04012025_14_41_02_975120_0000.jpg
/home/pi/Desktop/images/04012025/14/41/image_04012025_14_41_02_975120_0001.jpg
/home/pi/Desktop/images/04012025/14/41/image_04012025_14_41_02_975120_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326604147","1326604287","1326604164","1326604158"],"photo_ids_order":["1326604147","1326604158","1326604164","1326604287"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5cdc95dd767646432f2e79c1501b6f44.jpg","text":"TemporaryFile(/tmp/multipartBody5103004785370159501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998152218,"filename":"image_04012025_14_40_02_753342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/27aa81d16111d1a20d4dd2c809d039d3.jpg","text":"TemporaryFile(/tmp/multipartBody5337070239187707509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998152218,"filename":"image_04012025_14_41_02_975120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/81ae2998935421f792e5e05ec902f839.jpg","text":"TemporaryFile(/tmp/multipartBody322614465587659377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998152218,"filename":"image_04012025_14_41_02_975120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/83fd69cfd608b5417636633d448112e8.jpg","text":"TemporaryFile(/tmp/multipartBody4714645446927899636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998152218,"filename":"image_04012025_14_41_02_975120_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326604164","file1":"1326604158","file0":"1326604147","file3":"1326604287"},"map_files_photo_id_array":[{"photo_id":"1326604164","filename":"file2"},{"photo_id":"1326604158","filename":"file1"},{"photo_id":"1326604147","filename":"file0"},{"photo_id":"1326604287","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326604147":["hashtag1","hashtag2"]},{"1326604287":["hashtag1","hashtag2"]},{"1326604164":["hashtag1","hashtag2"]},{"1326604158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326604147, 1326604287, 1326604164, 1326604158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.231815576553345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:42:02.505882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:42:22.053221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/41/image_04012025_14_41_02_975120_0003.jpg', '/home/pi/Desktop/images/04012025/14/42/image_04012025_14_42_02_284180_0000.jpg', '/home/pi/Desktop/images/04012025/14/42/image_04012025_14_42_02_284180_0001.jpg', '/home/pi/Desktop/images/04012025/14/42/image_04012025_14_42_02_284180_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/41/image_04012025_14_41_02_975120_0003.jpg
/home/pi/Desktop/images/04012025/14/42/image_04012025_14_42_02_284180_0000.jpg
/home/pi/Desktop/images/04012025/14/42/image_04012025_14_42_02_284180_0001.jpg
/home/pi/Desktop/images/04012025/14/42/image_04012025_14_42_02_284180_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326604489","1326604797","1326604493","1326604486"],"photo_ids_order":["1326604486","1326604489","1326604493","1326604797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/77cab6c1734aa35e6e8299cd9e7bd286.jpg","text":"TemporaryFile(/tmp/multipartBody3986032010133952700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998212536,"filename":"image_04012025_14_42_02_284180_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a96f65baea8f971a6746c0147bc69c83.jpg","text":"TemporaryFile(/tmp/multipartBody758889737884075081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998212536,"filename":"image_04012025_14_42_02_284180_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a8cedfd194f5e7f94a8775a442cfd07d.jpg","text":"TemporaryFile(/tmp/multipartBody5308291924013996893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998212536,"filename":"image_04012025_14_42_02_284180_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dd89a8c39ca9bc52f2a70666d896066d.jpg","text":"TemporaryFile(/tmp/multipartBody4328074349680426189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998212536,"filename":"image_04012025_14_41_02_975120_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326604493","file1":"1326604489","file0":"1326604486","file3":"1326604797"},"map_files_photo_id_array":[{"photo_id":"1326604493","filename":"file2"},{"photo_id":"1326604489","filename":"file1"},{"photo_id":"1326604486","filename":"file0"},{"photo_id":"1326604797","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326604489":["hashtag1","hashtag2"]},{"1326604797":["hashtag1","hashtag2"]},{"1326604493":["hashtag1","hashtag2"]},{"1326604486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326604489, 1326604797, 1326604493, 1326604486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.27592062950134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:43:22.304705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/42/image_04012025_14_42_02_284180_0003.jpg', '/home/pi/Desktop/images/04012025/14/43/image_04012025_14_43_02_477319_0000.jpg', '/home/pi/Desktop/images/04012025/14/43/image_04012025_14_43_02_477319_0001.jpg', '/home/pi/Desktop/images/04012025/14/43/image_04012025_14_43_02_477319_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/42/image_04012025_14_42_02_284180_0003.jpg
/home/pi/Desktop/images/04012025/14/43/image_04012025_14_43_02_477319_0000.jpg
/home/pi/Desktop/images/04012025/14/43/image_04012025_14_43_02_477319_0001.jpg
/home/pi/Desktop/images/04012025/14/43/image_04012025_14_43_02_477319_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326605041","1326605035","1326605044","1326605038"],"photo_ids_order":["1326605035","1326605038","1326605041","1326605044"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7c516359fe84bfa975e110ed95f653b0.jpg","text":"TemporaryFile(/tmp/multipartBody1654995632762995367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998272682,"filename":"image_04012025_14_43_02_477319_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/57534ff1b50086ff4430e5fa0d3ab843.jpg","text":"TemporaryFile(/tmp/multipartBody7131168433417998858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998272682,"filename":"image_04012025_14_42_02_284180_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/39463839750725d4e68f90435366daaa.jpg","text":"TemporaryFile(/tmp/multipartBody3541792199335171973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998272682,"filename":"image_04012025_14_43_02_477319_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eb62045ae1fa73a2dd6d6d01a7e866c2.jpg","text":"TemporaryFile(/tmp/multipartBody2485620381458229201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998272682,"filename":"image_04012025_14_43_02_477319_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326605041","file1":"1326605038","file0":"1326605035","file3":"1326605044"},"map_files_photo_id_array":[{"photo_id":"1326605041","filename":"file2"},{"photo_id":"1326605038","filename":"file1"},{"photo_id":"1326605035","filename":"file0"},{"photo_id":"1326605044","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326605041":["hashtag1","hashtag2"]},{"1326605035":["hashtag1","hashtag2"]},{"1326605044":["hashtag1","hashtag2"]},{"1326605038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326605041, 1326605035, 1326605044, 1326605038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.501643896102905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:44:22.478251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/43/image_04012025_14_43_02_477319_0003.jpg', '/home/pi/Desktop/images/04012025/14/44/image_04012025_14_44_02_639010_0000.jpg', '/home/pi/Desktop/images/04012025/14/44/image_04012025_14_44_02_639010_0001.jpg', '/home/pi/Desktop/images/04012025/14/44/image_04012025_14_44_02_639010_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/43/image_04012025_14_43_02_477319_0003.jpg
/home/pi/Desktop/images/04012025/14/44/image_04012025_14_44_02_639010_0000.jpg
/home/pi/Desktop/images/04012025/14/44/image_04012025_14_44_02_639010_0001.jpg
/home/pi/Desktop/images/04012025/14/44/image_04012025_14_44_02_639010_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326606153","1326605942","1326605947","1326605599"],"photo_ids_order":["1326605599","1326605942","1326605947","1326606153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cb2e8aea699e41d076eb90ba8b314b53.jpg","text":"TemporaryFile(/tmp/multipartBody8244454474065658155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998332924,"filename":"image_04012025_14_44_02_639010_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/29a8ea616788f273d5ab05d69e55688a.jpg","text":"TemporaryFile(/tmp/multipartBody8910971132441997676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998332924,"filename":"image_04012025_14_44_02_639010_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f070321b0b96b3a56c7bf76905b35d11.jpg","text":"TemporaryFile(/tmp/multipartBody7630623315634881896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998332924,"filename":"image_04012025_14_44_02_639010_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b6e09191adfda64f530ca6c41b382c50.jpg","text":"TemporaryFile(/tmp/multipartBody9173693943063573083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998332924,"filename":"image_04012025_14_43_02_477319_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326605947","file1":"1326605942","file0":"1326605599","file3":"1326606153"},"map_files_photo_id_array":[{"photo_id":"1326605947","filename":"file2"},{"photo_id":"1326605942","filename":"file1"},{"photo_id":"1326605599","filename":"file0"},{"photo_id":"1326606153","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326606153":["hashtag1","hashtag2"]},{"1326605942":["hashtag1","hashtag2"]},{"1326605947":["hashtag1","hashtag2"]},{"1326605599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326606153, 1326605942, 1326605947, 1326605599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.70675444602966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:45:22.605442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/44/image_04012025_14_44_02_639010_0003.jpg', '/home/pi/Desktop/images/04012025/14/45/image_04012025_14_45_02_761054_0000.jpg', '/home/pi/Desktop/images/04012025/14/45/image_04012025_14_45_02_761054_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/44/image_04012025_14_44_02_639010_0003.jpg
/home/pi/Desktop/images/04012025/14/45/image_04012025_14_45_02_761054_0000.jpg
/home/pi/Desktop/images/04012025/14/45/image_04012025_14_45_02_761054_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326606524","1326606657","1326606585"],"photo_ids_order":["1326606524","1326606585","1326606657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/775cdd296933ef4b860a3948ff889b3f.jpg","text":"TemporaryFile(/tmp/multipartBody1026278920572036148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998390531,"filename":"image_04012025_14_44_02_639010_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/19d9c30582efcb65caba7e31cf1b9980.jpg","text":"TemporaryFile(/tmp/multipartBody8612301539472502047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998390531,"filename":"image_04012025_14_45_02_761054_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6db2b7f1bceb9edfb83ca8cfae081018.jpg","text":"TemporaryFile(/tmp/multipartBody4450075561479498130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998390531,"filename":"image_04012025_14_45_02_761054_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326606657","file1":"1326606585","file0":"1326606524"},"map_files_photo_id_array":[{"photo_id":"1326606657","filename":"file2"},{"photo_id":"1326606585","filename":"file1"},{"photo_id":"1326606524","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326606524":["hashtag1","hashtag2"]},{"1326606657":["hashtag1","hashtag2"]},{"1326606585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326606524, 1326606657, 1326606585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.65748453140259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:46:02.415915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:46:22.008261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/45/image_04012025_14_45_02_761054_0003.jpg', '/home/pi/Desktop/images/04012025/14/46/image_04012025_14_46_02_982233_0000.jpg', '/home/pi/Desktop/images/04012025/14/46/image_04012025_14_46_02_982233_0001.jpg', '/home/pi/Desktop/images/04012025/14/46/image_04012025_14_46_02_982233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/45/image_04012025_14_45_02_761054_0003.jpg
/home/pi/Desktop/images/04012025/14/46/image_04012025_14_46_02_982233_0000.jpg
/home/pi/Desktop/images/04012025/14/46/image_04012025_14_46_02_982233_0001.jpg
/home/pi/Desktop/images/04012025/14/46/image_04012025_14_46_02_982233_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326607224","1326607262","1326607264","1326607221"],"photo_ids_order":["1326607221","1326607224","1326607262","1326607264"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/467c5241d48b658939dac8f21d7af5b1.jpg","text":"TemporaryFile(/tmp/multipartBody521535763679561924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998452294,"filename":"image_04012025_14_46_02_982233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/040bc6336337e4f649893493b80d6924.jpg","text":"TemporaryFile(/tmp/multipartBody8801900191371798627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998452294,"filename":"image_04012025_14_46_02_982233_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/05f8dc493bf3406b82096859c8410920.jpg","text":"TemporaryFile(/tmp/multipartBody3905726106614732005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998452294,"filename":"image_04012025_14_46_02_982233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af787f9ede75da6e256e9e17da8965a7.jpg","text":"TemporaryFile(/tmp/multipartBody5191618633477726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998452294,"filename":"image_04012025_14_45_02_761054_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326607262","file1":"1326607224","file0":"1326607221","file3":"1326607264"},"map_files_photo_id_array":[{"photo_id":"1326607262","filename":"file2"},{"photo_id":"1326607224","filename":"file1"},{"photo_id":"1326607221","filename":"file0"},{"photo_id":"1326607264","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326607224":["hashtag1","hashtag2"]},{"1326607262":["hashtag1","hashtag2"]},{"1326607264":["hashtag1","hashtag2"]},{"1326607221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326607224, 1326607262, 1326607264, 1326607221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.980244398117065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:47:22.148403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/46/image_04012025_14_46_02_982233_0003.jpg', '/home/pi/Desktop/images/04012025/14/47/image_04012025_14_47_02_365706_0000.jpg', '/home/pi/Desktop/images/04012025/14/47/image_04012025_14_47_02_365706_0001.jpg', '/home/pi/Desktop/images/04012025/14/47/image_04012025_14_47_02_365706_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/46/image_04012025_14_46_02_982233_0003.jpg
/home/pi/Desktop/images/04012025/14/47/image_04012025_14_47_02_365706_0000.jpg
/home/pi/Desktop/images/04012025/14/47/image_04012025_14_47_02_365706_0001.jpg
/home/pi/Desktop/images/04012025/14/47/image_04012025_14_47_02_365706_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326607728","1326607640","1326607669","1326607705"],"photo_ids_order":["1326607640","1326607669","1326607705","1326607728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1a829add211ea4964f34a66568b35530.jpg","text":"TemporaryFile(/tmp/multipartBody2948040410381641875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998512552,"filename":"image_04012025_14_47_02_365706_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/010dc5231ef3b36f30f370c3e9b0c3f1.jpg","text":"TemporaryFile(/tmp/multipartBody5536886570347550361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998512552,"filename":"image_04012025_14_46_02_982233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/afdcd2457a95f9f0d1fe6fd3b94577f6.jpg","text":"TemporaryFile(/tmp/multipartBody7017576890760575442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998512552,"filename":"image_04012025_14_47_02_365706_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/73f7980e271e0ef39c613c5bdc89356b.jpg","text":"TemporaryFile(/tmp/multipartBody5318417705130871558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998512552,"filename":"image_04012025_14_47_02_365706_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326607705","file1":"1326607669","file0":"1326607640","file3":"1326607728"},"map_files_photo_id_array":[{"photo_id":"1326607705","filename":"file2"},{"photo_id":"1326607669","filename":"file1"},{"photo_id":"1326607640","filename":"file0"},{"photo_id":"1326607728","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326607728":["hashtag1","hashtag2"]},{"1326607640":["hashtag1","hashtag2"]},{"1326607669":["hashtag1","hashtag2"]},{"1326607705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326607728, 1326607640, 1326607669, 1326607705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.88212776184082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:48:02.750788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:48:22.337467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/47/image_04012025_14_47_02_365706_0003.jpg', '/home/pi/Desktop/images/04012025/14/48/image_04012025_14_48_02_461767_0000.jpg', '/home/pi/Desktop/images/04012025/14/48/image_04012025_14_48_02_461767_0001.jpg', '/home/pi/Desktop/images/04012025/14/48/image_04012025_14_48_02_461767_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/47/image_04012025_14_47_02_365706_0003.jpg
/home/pi/Desktop/images/04012025/14/48/image_04012025_14_48_02_461767_0000.jpg
/home/pi/Desktop/images/04012025/14/48/image_04012025_14_48_02_461767_0001.jpg
/home/pi/Desktop/images/04012025/14/48/image_04012025_14_48_02_461767_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326608086","1326608080","1326608083","1326608077"],"photo_ids_order":["1326608077","1326608080","1326608083","1326608086"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ad5d685ed58d47b9483c116f87ece25d.jpg","text":"TemporaryFile(/tmp/multipartBody616629705564431864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998572548,"filename":"image_04012025_14_48_02_461767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2770f761373536489daf3c7833eb6fac.jpg","text":"TemporaryFile(/tmp/multipartBody8076812970484570502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998572548,"filename":"image_04012025_14_48_02_461767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1636628b234042f7f95b3e3ab4d348c4.jpg","text":"TemporaryFile(/tmp/multipartBody1314180857109081034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998572548,"filename":"image_04012025_14_48_02_461767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e3a12f3aa3c57707a9e776434e602787.jpg","text":"TemporaryFile(/tmp/multipartBody3259800856830166466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998572548,"filename":"image_04012025_14_47_02_365706_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326608083","file1":"1326608080","file0":"1326608077","file3":"1326608086"},"map_files_photo_id_array":[{"photo_id":"1326608083","filename":"file2"},{"photo_id":"1326608080","filename":"file1"},{"photo_id":"1326608077","filename":"file0"},{"photo_id":"1326608086","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326608086":["hashtag1","hashtag2"]},{"1326608080":["hashtag1","hashtag2"]},{"1326608083":["hashtag1","hashtag2"]},{"1326608077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326608086, 1326608080, 1326608083, 1326608077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.01413822174072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:49:03.129307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:49:22.522692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/48/image_04012025_14_48_02_461767_0003.jpg', '/home/pi/Desktop/images/04012025/14/49/image_04012025_14_49_02_691318_0000.jpg', '/home/pi/Desktop/images/04012025/14/49/image_04012025_14_49_02_691318_0001.jpg', '/home/pi/Desktop/images/04012025/14/49/image_04012025_14_49_02_691318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/48/image_04012025_14_48_02_461767_0003.jpg
/home/pi/Desktop/images/04012025/14/49/image_04012025_14_49_02_691318_0000.jpg
/home/pi/Desktop/images/04012025/14/49/image_04012025_14_49_02_691318_0001.jpg
/home/pi/Desktop/images/04012025/14/49/image_04012025_14_49_02_691318_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326608123","1326608143","1326608131","1326608127"],"photo_ids_order":["1326608123","1326608127","1326608131","1326608143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/10d3c251f739b82d8bb0d8232d6b3260.jpg","text":"TemporaryFile(/tmp/multipartBody4862507569094918971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998632741,"filename":"image_04012025_14_48_02_461767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ffccae333a4be151dd1ac4631d65e274.jpg","text":"TemporaryFile(/tmp/multipartBody831031240775987983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998632741,"filename":"image_04012025_14_49_02_691318_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a41d5ddb2d47e0dfc478127bc1a1d0dc.jpg","text":"TemporaryFile(/tmp/multipartBody6308585949106568978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998632741,"filename":"image_04012025_14_49_02_691318_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dd582c147273480fba0010d62d7e99ad.jpg","text":"TemporaryFile(/tmp/multipartBody990698101693406505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998632741,"filename":"image_04012025_14_49_02_691318_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326608131","file1":"1326608127","file0":"1326608123","file3":"1326608143"},"map_files_photo_id_array":[{"photo_id":"1326608131","filename":"file2"},{"photo_id":"1326608127","filename":"file1"},{"photo_id":"1326608123","filename":"file0"},{"photo_id":"1326608143","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326608123":["hashtag1","hashtag2"]},{"1326608143":["hashtag1","hashtag2"]},{"1326608131":["hashtag1","hashtag2"]},{"1326608127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326608123, 1326608143, 1326608131, 1326608127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.76685166358948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:50:22.770556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/49/image_04012025_14_49_02_691318_0003.jpg', '/home/pi/Desktop/images/04012025/14/50/image_04012025_14_50_02_876233_0000.jpg', '/home/pi/Desktop/images/04012025/14/50/image_04012025_14_50_02_876233_0001.jpg', '/home/pi/Desktop/images/04012025/14/50/image_04012025_14_50_02_876233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/49/image_04012025_14_49_02_691318_0003.jpg
/home/pi/Desktop/images/04012025/14/50/image_04012025_14_50_02_876233_0000.jpg
/home/pi/Desktop/images/04012025/14/50/image_04012025_14_50_02_876233_0001.jpg
/home/pi/Desktop/images/04012025/14/50/image_04012025_14_50_02_876233_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326609192","1326609093","1326609152","1326609056"],"photo_ids_order":["1326609056","1326609093","1326609152","1326609192"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b75565f3ec74978f42aea3539a45cf28.jpg","text":"TemporaryFile(/tmp/multipartBody7155304878820939487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998693202,"filename":"image_04012025_14_50_02_876233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d39c915ef6a8feff21d4b8cd4b356c4c.jpg","text":"TemporaryFile(/tmp/multipartBody3580784484966293989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998693202,"filename":"image_04012025_14_50_02_876233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1308452c4add6c447af57c2634b1ab5f.jpg","text":"TemporaryFile(/tmp/multipartBody8771047238134384206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998693202,"filename":"image_04012025_14_50_02_876233_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8d9c1424bf680454d4b50c61fe4b504c.jpg","text":"TemporaryFile(/tmp/multipartBody5011383088307661934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998693202,"filename":"image_04012025_14_49_02_691318_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326609152","file1":"1326609093","file0":"1326609056","file3":"1326609192"},"map_files_photo_id_array":[{"photo_id":"1326609152","filename":"file2"},{"photo_id":"1326609093","filename":"file1"},{"photo_id":"1326609056","filename":"file0"},{"photo_id":"1326609192","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326609192":["hashtag1","hashtag2"]},{"1326609093":["hashtag1","hashtag2"]},{"1326609152":["hashtag1","hashtag2"]},{"1326609056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326609192, 1326609093, 1326609152, 1326609056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.496806383132935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:51:21.990786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/50/image_04012025_14_50_02_876233_0003.jpg', '/home/pi/Desktop/images/04012025/14/51/image_04012025_14_51_03_044733_0000.jpg', '/home/pi/Desktop/images/04012025/14/51/image_04012025_14_51_03_044733_0001.jpg', '/home/pi/Desktop/images/04012025/14/51/image_04012025_14_51_03_044733_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/50/image_04012025_14_50_02_876233_0003.jpg
/home/pi/Desktop/images/04012025/14/51/image_04012025_14_51_03_044733_0000.jpg
/home/pi/Desktop/images/04012025/14/51/image_04012025_14_51_03_044733_0001.jpg
/home/pi/Desktop/images/04012025/14/51/image_04012025_14_51_03_044733_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326609739","1326609855","1326609569","1326609626"],"photo_ids_order":["1326609569","1326609626","1326609739","1326609855"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/132c91a144e6891103ae45216a584a32.jpg","text":"TemporaryFile(/tmp/multipartBody8401075172104895551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998752308,"filename":"image_04012025_14_51_03_044733_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/36817681012d95e1653deeaf35aaad6c.jpg","text":"TemporaryFile(/tmp/multipartBody2586198668027352217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998752308,"filename":"image_04012025_14_51_03_044733_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bdec19ad5d19ff1927473db0ba4612fd.jpg","text":"TemporaryFile(/tmp/multipartBody9036970020550827596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998752308,"filename":"image_04012025_14_50_02_876233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/611423667b99dfb6f7a75768129d44fa.jpg","text":"TemporaryFile(/tmp/multipartBody7122444180481546964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998752308,"filename":"image_04012025_14_51_03_044733_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326609739","file1":"1326609626","file0":"1326609569","file3":"1326609855"},"map_files_photo_id_array":[{"photo_id":"1326609739","filename":"file2"},{"photo_id":"1326609626","filename":"file1"},{"photo_id":"1326609569","filename":"file0"},{"photo_id":"1326609855","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326609739":["hashtag1","hashtag2"]},{"1326609855":["hashtag1","hashtag2"]},{"1326609569":["hashtag1","hashtag2"]},{"1326609626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326609739, 1326609855, 1326609569, 1326609626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.677937746047974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:52:02.561203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:52:22.079463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/51/image_04012025_14_51_03_044733_0003.jpg', '/home/pi/Desktop/images/04012025/14/52/image_04012025_14_52_02_305221_0000.jpg', '/home/pi/Desktop/images/04012025/14/52/image_04012025_14_52_02_305221_0001.jpg', '/home/pi/Desktop/images/04012025/14/52/image_04012025_14_52_02_305221_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/51/image_04012025_14_51_03_044733_0003.jpg
/home/pi/Desktop/images/04012025/14/52/image_04012025_14_52_02_305221_0000.jpg
/home/pi/Desktop/images/04012025/14/52/image_04012025_14_52_02_305221_0001.jpg
/home/pi/Desktop/images/04012025/14/52/image_04012025_14_52_02_305221_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326610471","1326610474","1326610426","1326610408"],"photo_ids_order":["1326610408","1326610426","1326610471","1326610474"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8a779f31bd4a29a9961badc9143fc37d.jpg","text":"TemporaryFile(/tmp/multipartBody6815823833376264999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998812545,"filename":"image_04012025_14_52_02_305221_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/83a612252afc8556b9f3d9687581ef11.jpg","text":"TemporaryFile(/tmp/multipartBody2279429220596076117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998812545,"filename":"image_04012025_14_52_02_305221_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/69f3c98ce885fc0bc34ebcee2f35c521.jpg","text":"TemporaryFile(/tmp/multipartBody3017811201710466477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998812545,"filename":"image_04012025_14_52_02_305221_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/254fe9edbecdf7e90462b8c831c32d1b.jpg","text":"TemporaryFile(/tmp/multipartBody6547121861382079232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998812545,"filename":"image_04012025_14_51_03_044733_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326610471","file1":"1326610426","file0":"1326610408","file3":"1326610474"},"map_files_photo_id_array":[{"photo_id":"1326610471","filename":"file2"},{"photo_id":"1326610426","filename":"file1"},{"photo_id":"1326610408","filename":"file0"},{"photo_id":"1326610474","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326610471":["hashtag1","hashtag2"]},{"1326610474":["hashtag1","hashtag2"]},{"1326610426":["hashtag1","hashtag2"]},{"1326610408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326610471, 1326610474, 1326610426, 1326610408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.031310081481934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:53:22.335597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/52/image_04012025_14_52_02_305221_0003.jpg', '/home/pi/Desktop/images/04012025/14/53/image_04012025_14_53_02_463772_0001.jpg', '/home/pi/Desktop/images/04012025/14/53/image_04012025_14_53_02_463772_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/52/image_04012025_14_52_02_305221_0003.jpg
/home/pi/Desktop/images/04012025/14/53/image_04012025_14_53_02_463772_0001.jpg
/home/pi/Desktop/images/04012025/14/53/image_04012025_14_53_02_463772_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326610912","1326610921","1326610893"],"photo_ids_order":["1326610893","1326610912","1326610921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f0dfb849ad895b6dd37ba88994cf796c.jpg","text":"TemporaryFile(/tmp/multipartBody6677652878987941197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998870247,"filename":"image_04012025_14_53_02_463772_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3890910e614cec5591450bc33450fe2f.jpg","text":"TemporaryFile(/tmp/multipartBody4039496330125775886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998870247,"filename":"image_04012025_14_53_02_463772_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0582370e6fb7358af08c071b9d524b46.jpg","text":"TemporaryFile(/tmp/multipartBody8044867366823619158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998870247,"filename":"image_04012025_14_52_02_305221_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326610921","file1":"1326610912","file0":"1326610893"},"map_files_photo_id_array":[{"photo_id":"1326610921","filename":"file2"},{"photo_id":"1326610912","filename":"file1"},{"photo_id":"1326610893","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326610912":["hashtag1","hashtag2"]},{"1326610921":["hashtag1","hashtag2"]},{"1326610893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326610912, 1326610921, 1326610893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.686348915100098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:54:02.876574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:54:22.497996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/53/image_04012025_14_53_02_463772_0003.jpg', '/home/pi/Desktop/images/04012025/14/54/image_04012025_14_54_02_602259_0000.jpg', '/home/pi/Desktop/images/04012025/14/54/image_04012025_14_54_02_602259_0001.jpg', '/home/pi/Desktop/images/04012025/14/54/image_04012025_14_54_02_602259_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/53/image_04012025_14_53_02_463772_0003.jpg
/home/pi/Desktop/images/04012025/14/54/image_04012025_14_54_02_602259_0000.jpg
/home/pi/Desktop/images/04012025/14/54/image_04012025_14_54_02_602259_0001.jpg
/home/pi/Desktop/images/04012025/14/54/image_04012025_14_54_02_602259_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326611335","1326611338","1326611289","1326611400"],"photo_ids_order":["1326611289","1326611335","1326611338","1326611400"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/59c7ea5be6e51b86f0f19fb805b5fcc1.jpg","text":"TemporaryFile(/tmp/multipartBody1426318648737209281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998932735,"filename":"image_04012025_14_54_02_602259_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9850ec6cfca66405293a6f779e082b16.jpg","text":"TemporaryFile(/tmp/multipartBody7816417479894394983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998932735,"filename":"image_04012025_14_54_02_602259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5910eaf8363fb7b50353dfb02c5372b1.jpg","text":"TemporaryFile(/tmp/multipartBody5859576978585703407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998932735,"filename":"image_04012025_14_53_02_463772_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e8f726be2d58a7f7e732f8ab3f593a38.jpg","text":"TemporaryFile(/tmp/multipartBody7157500172301106978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998932735,"filename":"image_04012025_14_54_02_602259_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326611338","file1":"1326611335","file0":"1326611289","file3":"1326611400"},"map_files_photo_id_array":[{"photo_id":"1326611338","filename":"file2"},{"photo_id":"1326611335","filename":"file1"},{"photo_id":"1326611289","filename":"file0"},{"photo_id":"1326611400","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326611335":["hashtag1","hashtag2"]},{"1326611338":["hashtag1","hashtag2"]},{"1326611289":["hashtag1","hashtag2"]},{"1326611400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326611335, 1326611338, 1326611289, 1326611400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.13681411743164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:55:22.675129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/54/image_04012025_14_54_02_602259_0003.jpg', '/home/pi/Desktop/images/04012025/14/55/image_04012025_14_55_02_855337_0000.jpg', '/home/pi/Desktop/images/04012025/14/55/image_04012025_14_55_02_855337_0001.jpg', '/home/pi/Desktop/images/04012025/14/55/image_04012025_14_55_02_855337_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/54/image_04012025_14_54_02_602259_0003.jpg
/home/pi/Desktop/images/04012025/14/55/image_04012025_14_55_02_855337_0000.jpg
/home/pi/Desktop/images/04012025/14/55/image_04012025_14_55_02_855337_0001.jpg
/home/pi/Desktop/images/04012025/14/55/image_04012025_14_55_02_855337_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326611795","1326611798","1326611864","1326611828"],"photo_ids_order":["1326611795","1326611798","1326611828","1326611864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/034a4f600d653715559378bbe82abf6a.jpg","text":"TemporaryFile(/tmp/multipartBody1113493669244692155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998993045,"filename":"image_04012025_14_54_02_602259_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a3cb1596f2f8155b6d6dfa9199635d0a.jpg","text":"TemporaryFile(/tmp/multipartBody4820976325106410995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998993045,"filename":"image_04012025_14_55_02_855337_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e4aeccfe0043f54a90693a13ff5c8a45.jpg","text":"TemporaryFile(/tmp/multipartBody3762035392824456670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998993045,"filename":"image_04012025_14_55_02_855337_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6f289b2e60c309594ccd355269863fe0.jpg","text":"TemporaryFile(/tmp/multipartBody8304656025980626677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735998993045,"filename":"image_04012025_14_55_02_855337_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326611828","file1":"1326611798","file0":"1326611795","file3":"1326611864"},"map_files_photo_id_array":[{"photo_id":"1326611828","filename":"file2"},{"photo_id":"1326611798","filename":"file1"},{"photo_id":"1326611795","filename":"file0"},{"photo_id":"1326611864","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326611795":["hashtag1","hashtag2"]},{"1326611798":["hashtag1","hashtag2"]},{"1326611864":["hashtag1","hashtag2"]},{"1326611828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326611795, 1326611798, 1326611864, 1326611828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.26286816596985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:56:02.030324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:56:21.723919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/55/image_04012025_14_55_02_855337_0003.jpg', '/home/pi/Desktop/images/04012025/14/56/image_04012025_14_56_03_042426_0000.jpg', '/home/pi/Desktop/images/04012025/14/56/image_04012025_14_56_03_042426_0001.jpg', '/home/pi/Desktop/images/04012025/14/56/image_04012025_14_56_03_042426_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/55/image_04012025_14_55_02_855337_0003.jpg
/home/pi/Desktop/images/04012025/14/56/image_04012025_14_56_03_042426_0000.jpg
/home/pi/Desktop/images/04012025/14/56/image_04012025_14_56_03_042426_0001.jpg
/home/pi/Desktop/images/04012025/14/56/image_04012025_14_56_03_042426_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326612736","1326612550","1326612572","1326612608"],"photo_ids_order":["1326612550","1326612572","1326612608","1326612736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0535fd83a6310d18ae200c81dd960151.jpg","text":"TemporaryFile(/tmp/multipartBody6554797216428273028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999052000,"filename":"image_04012025_14_56_03_042426_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/077e2bb094531c244c5140312a932719.jpg","text":"TemporaryFile(/tmp/multipartBody1638143296792060578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999052000,"filename":"image_04012025_14_55_02_855337_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aabf77f2cb59aa2e8625d186b6278c6b.jpg","text":"TemporaryFile(/tmp/multipartBody8999182524210161714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999052000,"filename":"image_04012025_14_56_03_042426_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dd029019b895f8de0b491f3910887a55.jpg","text":"TemporaryFile(/tmp/multipartBody1923311652008400270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999052000,"filename":"image_04012025_14_56_03_042426_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326612608","file1":"1326612572","file0":"1326612550","file3":"1326612736"},"map_files_photo_id_array":[{"photo_id":"1326612608","filename":"file2"},{"photo_id":"1326612572","filename":"file1"},{"photo_id":"1326612550","filename":"file0"},{"photo_id":"1326612736","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326612736":["hashtag1","hashtag2"]},{"1326612550":["hashtag1","hashtag2"]},{"1326612572":["hashtag1","hashtag2"]},{"1326612608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326612736, 1326612550, 1326612572, 1326612608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.90914750099182 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:57:02.582280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:57:21.889655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/56/image_04012025_14_56_03_042426_0003.jpg', '/home/pi/Desktop/images/04012025/14/57/image_04012025_14_57_02_107592_0000.jpg', '/home/pi/Desktop/images/04012025/14/57/image_04012025_14_57_02_107592_0001.jpg', '/home/pi/Desktop/images/04012025/14/57/image_04012025_14_57_02_107592_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/56/image_04012025_14_56_03_042426_0003.jpg
/home/pi/Desktop/images/04012025/14/57/image_04012025_14_57_02_107592_0000.jpg
/home/pi/Desktop/images/04012025/14/57/image_04012025_14_57_02_107592_0001.jpg
/home/pi/Desktop/images/04012025/14/57/image_04012025_14_57_02_107592_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326613129","1326613120","1326613123","1326613126"],"photo_ids_order":["1326613120","1326613123","1326613126","1326613129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/20476f6650938e23a22fd051c77b2783.jpg","text":"TemporaryFile(/tmp/multipartBody3366655746624544711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999112386,"filename":"image_04012025_14_57_02_107592_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/474458553207016dabcf1f206081cf6d.jpg","text":"TemporaryFile(/tmp/multipartBody7091281673410840275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999112386,"filename":"image_04012025_14_56_03_042426_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d1f90af505ee81806fda6999e645089f.jpg","text":"TemporaryFile(/tmp/multipartBody3970987602689130499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999112386,"filename":"image_04012025_14_57_02_107592_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28a368d304e97fec1ae18e40cb7b90fe.jpg","text":"TemporaryFile(/tmp/multipartBody3262222711113509569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999112386,"filename":"image_04012025_14_57_02_107592_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326613126","file1":"1326613123","file0":"1326613120","file3":"1326613129"},"map_files_photo_id_array":[{"photo_id":"1326613126","filename":"file2"},{"photo_id":"1326613123","filename":"file1"},{"photo_id":"1326613120","filename":"file0"},{"photo_id":"1326613129","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326613129":["hashtag1","hashtag2"]},{"1326613120":["hashtag1","hashtag2"]},{"1326613123":["hashtag1","hashtag2"]},{"1326613126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326613129, 1326613120, 1326613123, 1326613126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.879552602767944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 14:59:02.907313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 14:59:22.368231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/57/image_04012025_14_57_02_107592_0003.jpg', '/home/pi/Desktop/images/04012025/14/58/image_04012025_14_58_02_218237_0000.jpg', '/home/pi/Desktop/images/04012025/14/58/image_04012025_14_58_02_218237_0001.jpg', '/home/pi/Desktop/images/04012025/14/58/image_04012025_14_58_02_218237_0002.jpg', '/home/pi/Desktop/images/04012025/14/58/image_04012025_14_58_02_218237_0003.jpg', '/home/pi/Desktop/images/04012025/14/59/image_04012025_14_59_02_436048_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/57/image_04012025_14_57_02_107592_0003.jpg
/home/pi/Desktop/images/04012025/14/58/image_04012025_14_58_02_218237_0000.jpg
/home/pi/Desktop/images/04012025/14/58/image_04012025_14_58_02_218237_0001.jpg
/home/pi/Desktop/images/04012025/14/58/image_04012025_14_58_02_218237_0002.jpg
/home/pi/Desktop/images/04012025/14/58/image_04012025_14_58_02_218237_0003.jpg
/home/pi/Desktop/images/04012025/14/59/image_04012025_14_59_02_436048_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":["1326614613","1326615094","1326614822","1326615097","1326614674","1326614691"],"photo_ids_order":["1326614613","1326614674","1326614691","1326614822","1326615094","1326615097"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/193f3812a3666e749a1c63f019b21377.jpg","text":"TemporaryFile(/tmp/multipartBody1336307752736692782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999237756,"filename":"image_04012025_14_57_02_107592_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7568c64bb7287a9c1bf67f87c8f035ff.jpg","text":"TemporaryFile(/tmp/multipartBody2340726834203368128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999237756,"filename":"image_04012025_14_58_02_218237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/867306dbe4e13ec77d3d61b63ae04ca3.jpg","text":"TemporaryFile(/tmp/multipartBody161068804618018176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999237756,"filename":"image_04012025_14_58_02_218237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/531b1b1a195b7e4bcaefe9908c537d7b.jpg","text":"TemporaryFile(/tmp/multipartBody2483785643941839517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999237756,"filename":"image_04012025_14_59_02_436048_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3143950ea95255bea889c525c3c9799a.jpg","text":"TemporaryFile(/tmp/multipartBody6914183939171230186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999237756,"filename":"image_04012025_14_58_02_218237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d2f730bd4e5647cff6d58934c0a6f62d.jpg","text":"TemporaryFile(/tmp/multipartBody5812039310276989486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999237756,"filename":"image_04012025_14_58_02_218237_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326614691","file1":"1326614674","file0":"1326614613","file4":"1326615094","file5":"1326615097","file3":"1326614822"},"map_files_photo_id_array":[{"photo_id":"1326615097","filename":"file5"},{"photo_id":"1326614691","filename":"file2"},{"photo_id":"1326615094","filename":"file4"},{"photo_id":"1326614674","filename":"file1"},{"photo_id":"1326614613","filename":"file0"},{"photo_id":"1326614822","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326614613":["hashtag1","hashtag2"]},{"1326615094":["hashtag1","hashtag2"]},{"1326614822":["hashtag1","hashtag2"]},{"1326615097":["hashtag1","hashtag2"]},{"1326614674":["hashtag1","hashtag2"]},{"1326614691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326614613, 1326615094, 1326614822, 1326615097, 1326614674, 1326614691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.739062547683716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:00:22.533925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/14/59/image_04012025_14_59_02_436048_0001.jpg', '/home/pi/Desktop/images/04012025/14/59/image_04012025_14_59_02_436048_0002.jpg', '/home/pi/Desktop/images/04012025/14/59/image_04012025_14_59_02_436048_0003.jpg', '/home/pi/Desktop/images/04012025/15/00/image_04012025_15_00_02_711167_0000.jpg', '/home/pi/Desktop/images/04012025/15/00/image_04012025_15_00_02_711167_0001.jpg', '/home/pi/Desktop/images/04012025/15/00/image_04012025_15_00_02_711167_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/14/59/image_04012025_14_59_02_436048_0001.jpg
/home/pi/Desktop/images/04012025/14/59/image_04012025_14_59_02_436048_0002.jpg
/home/pi/Desktop/images/04012025/14/59/image_04012025_14_59_02_436048_0003.jpg
/home/pi/Desktop/images/04012025/15/00/image_04012025_15_00_02_711167_0000.jpg
/home/pi/Desktop/images/04012025/15/00/image_04012025_15_00_02_711167_0001.jpg
/home/pi/Desktop/images/04012025/15/00/image_04012025_15_00_02_711167_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326615504","1326615530","1326615496","1326615532","1326615492","1326615528"],"photo_ids_order":["1326615492","1326615496","1326615504","1326615528","1326615530","1326615532"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9abedaec3c666ef5968cf0217f1f62ad.jpg","text":"TemporaryFile(/tmp/multipartBody8187351088652473639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999297696,"filename":"image_04012025_14_59_02_436048_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/80ecd81e94375cf5739b27873833f584.jpg","text":"TemporaryFile(/tmp/multipartBody5421154979350375784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999297696,"filename":"image_04012025_15_00_02_711167_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a897f007139924a7167f7d4ef2f2a3cd.jpg","text":"TemporaryFile(/tmp/multipartBody1890273248871921341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999297696,"filename":"image_04012025_14_59_02_436048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e6568eb1bc005105a9095905373e34c5.jpg","text":"TemporaryFile(/tmp/multipartBody176425546176999622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999297696,"filename":"image_04012025_15_00_02_711167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b0c286ee6dc821c728b590b184702d03.jpg","text":"TemporaryFile(/tmp/multipartBody7668282829806894057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999297696,"filename":"image_04012025_14_59_02_436048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0b256eceac97483b1a0426fef2e49e4.jpg","text":"TemporaryFile(/tmp/multipartBody5185073015143830804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999297696,"filename":"image_04012025_15_00_02_711167_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326615504","file1":"1326615496","file0":"1326615492","file4":"1326615530","file5":"1326615532","file3":"1326615528"},"map_files_photo_id_array":[{"photo_id":"1326615532","filename":"file5"},{"photo_id":"1326615504","filename":"file2"},{"photo_id":"1326615530","filename":"file4"},{"photo_id":"1326615496","filename":"file1"},{"photo_id":"1326615492","filename":"file0"},{"photo_id":"1326615528","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326615504":["hashtag1","hashtag2"]},{"1326615530":["hashtag1","hashtag2"]},{"1326615496":["hashtag1","hashtag2"]},{"1326615532":["hashtag1","hashtag2"]},{"1326615492":["hashtag1","hashtag2"]},{"1326615528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326615504, 1326615530, 1326615496, 1326615532, 1326615492, 1326615528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.96282649040222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:01:22.710638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/00/image_04012025_15_00_02_711167_0003.jpg', '/home/pi/Desktop/images/04012025/15/01/image_04012025_15_01_02_757060_0000.jpg', '/home/pi/Desktop/images/04012025/15/01/image_04012025_15_01_02_757060_0001.jpg', '/home/pi/Desktop/images/04012025/15/01/image_04012025_15_01_02_757060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/00/image_04012025_15_00_02_711167_0003.jpg
/home/pi/Desktop/images/04012025/15/01/image_04012025_15_01_02_757060_0000.jpg
/home/pi/Desktop/images/04012025/15/01/image_04012025_15_01_02_757060_0001.jpg
/home/pi/Desktop/images/04012025/15/01/image_04012025_15_01_02_757060_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326615998","1326615953","1326615981","1326615995"],"photo_ids_order":["1326615953","1326615981","1326615995","1326615998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cb87517b57aaefbf4d196d1d1ad0fe96.jpg","text":"TemporaryFile(/tmp/multipartBody1982693054484860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999353085,"filename":"image_04012025_15_01_02_757060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4fea0eb233925429c04e13c6c4c02587.jpg","text":"TemporaryFile(/tmp/multipartBody1061426427776069818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999353085,"filename":"image_04012025_15_00_02_711167_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0820395cb30d020b53bbd0b7cc1b5e5.jpg","text":"TemporaryFile(/tmp/multipartBody1692617789051761722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999353085,"filename":"image_04012025_15_01_02_757060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2612e6b33309ea50765f28cd51872467.jpg","text":"TemporaryFile(/tmp/multipartBody5301711108265403700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999353085,"filename":"image_04012025_15_01_02_757060_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326615995","file1":"1326615981","file0":"1326615953","file3":"1326615998"},"map_files_photo_id_array":[{"photo_id":"1326615995","filename":"file2"},{"photo_id":"1326615981","filename":"file1"},{"photo_id":"1326615953","filename":"file0"},{"photo_id":"1326615998","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326615998":["hashtag1","hashtag2"]},{"1326615953":["hashtag1","hashtag2"]},{"1326615981":["hashtag1","hashtag2"]},{"1326615995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326615998, 1326615953, 1326615981, 1326615995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.97779655456543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:02:21.891110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/01/image_04012025_15_01_02_757060_0003.jpg', '/home/pi/Desktop/images/04012025/15/02/image_04012025_15_02_02_991190_0000.jpg', '/home/pi/Desktop/images/04012025/15/02/image_04012025_15_02_02_991190_0001.jpg', '/home/pi/Desktop/images/04012025/15/02/image_04012025_15_02_02_991190_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/01/image_04012025_15_01_02_757060_0003.jpg
/home/pi/Desktop/images/04012025/15/02/image_04012025_15_02_02_991190_0000.jpg
/home/pi/Desktop/images/04012025/15/02/image_04012025_15_02_02_991190_0001.jpg
/home/pi/Desktop/images/04012025/15/02/image_04012025_15_02_02_991190_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326616247","1326616011","1326616005","1326616008"],"photo_ids_order":["1326616005","1326616008","1326616011","1326616247"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/43efddef43743d266f4a3b58f2aaaa00.jpg","text":"TemporaryFile(/tmp/multipartBody7379363353501774628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999412272,"filename":"image_04012025_15_02_02_991190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7f56c18ee5f908b4a1f00eb8fb1a5dc.jpg","text":"TemporaryFile(/tmp/multipartBody6643532532601825462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999412272,"filename":"image_04012025_15_02_02_991190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30846c4f146edf4f2a7cb81a32b84011.jpg","text":"TemporaryFile(/tmp/multipartBody41859891775341292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999412272,"filename":"image_04012025_15_01_02_757060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/422bc64fde96b079b44648d8bf94196c.jpg","text":"TemporaryFile(/tmp/multipartBody353674915269650985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999412272,"filename":"image_04012025_15_02_02_991190_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326616011","file1":"1326616008","file0":"1326616005","file3":"1326616247"},"map_files_photo_id_array":[{"photo_id":"1326616011","filename":"file2"},{"photo_id":"1326616008","filename":"file1"},{"photo_id":"1326616005","filename":"file0"},{"photo_id":"1326616247","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326616247":["hashtag1","hashtag2"]},{"1326616011":["hashtag1","hashtag2"]},{"1326616005":["hashtag1","hashtag2"]},{"1326616008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326616247, 1326616011, 1326616005, 1326616008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70091795921326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:03:02.470141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:03:21.871058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/02/image_04012025_15_02_02_991190_0003.jpg', '/home/pi/Desktop/images/04012025/15/03/image_04012025_15_03_02_180903_0000.jpg', '/home/pi/Desktop/images/04012025/15/03/image_04012025_15_03_02_180903_0001.jpg', '/home/pi/Desktop/images/04012025/15/03/image_04012025_15_03_02_180903_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/02/image_04012025_15_02_02_991190_0003.jpg
/home/pi/Desktop/images/04012025/15/03/image_04012025_15_03_02_180903_0000.jpg
/home/pi/Desktop/images/04012025/15/03/image_04012025_15_03_02_180903_0001.jpg
/home/pi/Desktop/images/04012025/15/03/image_04012025_15_03_02_180903_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.823859691619873 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:03:41.937118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/02/image_04012025_15_02_02_991190_0003.jpg', '/home/pi/Desktop/images/04012025/15/03/image_04012025_15_03_02_180903_0000.jpg', '/home/pi/Desktop/images/04012025/15/03/image_04012025_15_03_02_180903_0001.jpg', '/home/pi/Desktop/images/04012025/15/03/image_04012025_15_03_02_180903_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/02/image_04012025_15_02_02_991190_0003.jpg
/home/pi/Desktop/images/04012025/15/03/image_04012025_15_03_02_180903_0000.jpg
/home/pi/Desktop/images/04012025/15/03/image_04012025_15_03_02_180903_0001.jpg
/home/pi/Desktop/images/04012025/15/03/image_04012025_15_03_02_180903_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326616561","1326616545","1326616548","1326616559"],"photo_ids_order":["1326616545","1326616548","1326616559","1326616561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba2d12c91af2a3961fd9a6a1c9a10233.jpg","text":"TemporaryFile(/tmp/multipartBody7802896178775247246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999492159,"filename":"image_04012025_15_03_02_180903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c8520f8bcdb55bd813642a71e13d101f.jpg","text":"TemporaryFile(/tmp/multipartBody7974563447465937358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999492159,"filename":"image_04012025_15_02_02_991190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a335858dba459edde7ad69c95963b5a8.jpg","text":"TemporaryFile(/tmp/multipartBody7876258536955437076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999492159,"filename":"image_04012025_15_03_02_180903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/982c2e300d9b95e0273fa384a545cb97.jpg","text":"TemporaryFile(/tmp/multipartBody7509922090436946364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999492159,"filename":"image_04012025_15_03_02_180903_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326616559","file1":"1326616548","file0":"1326616545","file3":"1326616561"},"map_files_photo_id_array":[{"photo_id":"1326616559","filename":"file2"},{"photo_id":"1326616548","filename":"file1"},{"photo_id":"1326616545","filename":"file0"},{"photo_id":"1326616561","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326616561":["hashtag1","hashtag2"]},{"1326616545":["hashtag1","hashtag2"]},{"1326616548":["hashtag1","hashtag2"]},{"1326616559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326616561, 1326616545, 1326616548, 1326616559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.82194685935974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:04:22.139637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/03/image_04012025_15_03_02_180903_0003.jpg', '/home/pi/Desktop/images/04012025/15/04/image_04012025_15_04_02_348126_0000.jpg', '/home/pi/Desktop/images/04012025/15/04/image_04012025_15_04_02_348126_0001.jpg', '/home/pi/Desktop/images/04012025/15/04/image_04012025_15_04_02_348126_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/03/image_04012025_15_03_02_180903_0003.jpg
/home/pi/Desktop/images/04012025/15/04/image_04012025_15_04_02_348126_0000.jpg
/home/pi/Desktop/images/04012025/15/04/image_04012025_15_04_02_348126_0001.jpg
/home/pi/Desktop/images/04012025/15/04/image_04012025_15_04_02_348126_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326616594","1326616588","1326616720","1326616590"],"photo_ids_order":["1326616588","1326616590","1326616594","1326616720"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8e5c67a41051310fc1d04af581bd6ff7.jpg","text":"TemporaryFile(/tmp/multipartBody1768310879009217959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999532467,"filename":"image_04012025_15_04_02_348126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce00b388ef9d68be82f46fdf4b1bdd35.jpg","text":"TemporaryFile(/tmp/multipartBody6661527676305157330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999532467,"filename":"image_04012025_15_03_02_180903_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/789dd38d62ea5149e1b52c68597210ba.jpg","text":"TemporaryFile(/tmp/multipartBody7248947613232162235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999532467,"filename":"image_04012025_15_04_02_348126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cb349b1ba13ccabccb3f137ad929a5d0.jpg","text":"TemporaryFile(/tmp/multipartBody4291651112482493936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999532467,"filename":"image_04012025_15_04_02_348126_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326616594","file1":"1326616590","file0":"1326616588","file3":"1326616720"},"map_files_photo_id_array":[{"photo_id":"1326616594","filename":"file2"},{"photo_id":"1326616590","filename":"file1"},{"photo_id":"1326616588","filename":"file0"},{"photo_id":"1326616720","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326616594":["hashtag1","hashtag2"]},{"1326616588":["hashtag1","hashtag2"]},{"1326616720":["hashtag1","hashtag2"]},{"1326616590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326616594, 1326616588, 1326616720, 1326616590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.27386474609375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:05:02.935603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:05:22.283200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/04/image_04012025_15_04_02_348126_0003.jpg', '/home/pi/Desktop/images/04012025/15/05/image_04012025_15_05_02_454929_0000.jpg', '/home/pi/Desktop/images/04012025/15/05/image_04012025_15_05_02_454929_0001.jpg', '/home/pi/Desktop/images/04012025/15/05/image_04012025_15_05_02_454929_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/04/image_04012025_15_04_02_348126_0003.jpg
/home/pi/Desktop/images/04012025/15/05/image_04012025_15_05_02_454929_0000.jpg
/home/pi/Desktop/images/04012025/15/05/image_04012025_15_05_02_454929_0001.jpg
/home/pi/Desktop/images/04012025/15/05/image_04012025_15_05_02_454929_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326617115","1326617153","1326617156","1326617138"],"photo_ids_order":["1326617115","1326617138","1326617153","1326617156"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/efcf370eb07d1919c55afabab104dfc7.jpg","text":"TemporaryFile(/tmp/multipartBody5789984271632835841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999592766,"filename":"image_04012025_15_04_02_348126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c9414387de1acfc47871142277c37c78.jpg","text":"TemporaryFile(/tmp/multipartBody1526298660204059397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999592766,"filename":"image_04012025_15_05_02_454929_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6052e7073795df6b60d1ecd707ff76a7.jpg","text":"TemporaryFile(/tmp/multipartBody856109239927221875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999592766,"filename":"image_04012025_15_05_02_454929_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c9519eb5cc007161807771667323c192.jpg","text":"TemporaryFile(/tmp/multipartBody420397989216856197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999592766,"filename":"image_04012025_15_05_02_454929_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326617153","file1":"1326617138","file0":"1326617115","file3":"1326617156"},"map_files_photo_id_array":[{"photo_id":"1326617153","filename":"file2"},{"photo_id":"1326617138","filename":"file1"},{"photo_id":"1326617115","filename":"file0"},{"photo_id":"1326617156","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326617115":["hashtag1","hashtag2"]},{"1326617153":["hashtag1","hashtag2"]},{"1326617156":["hashtag1","hashtag2"]},{"1326617138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326617115, 1326617153, 1326617156, 1326617138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63980317115784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:06:02.991121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:06:22.460173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/05/image_04012025_15_05_02_454929_0003.jpg', '/home/pi/Desktop/images/04012025/15/06/image_04012025_15_06_02_764356_0000.jpg', '/home/pi/Desktop/images/04012025/15/06/image_04012025_15_06_02_764356_0001.jpg', '/home/pi/Desktop/images/04012025/15/06/image_04012025_15_06_02_764356_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/05/image_04012025_15_05_02_454929_0003.jpg
/home/pi/Desktop/images/04012025/15/06/image_04012025_15_06_02_764356_0000.jpg
/home/pi/Desktop/images/04012025/15/06/image_04012025_15_06_02_764356_0001.jpg
/home/pi/Desktop/images/04012025/15/06/image_04012025_15_06_02_764356_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326617688","1326617655","1326617630","1326617491"],"photo_ids_order":["1326617491","1326617630","1326617655","1326617688"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4960634bfb9dce260245a299614868d1.jpg","text":"TemporaryFile(/tmp/multipartBody5640624259506536987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999652994,"filename":"image_04012025_15_06_02_764356_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/35b95bb5d7698046c851ae8082ccb398.jpg","text":"TemporaryFile(/tmp/multipartBody6099633688846340810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999652994,"filename":"image_04012025_15_06_02_764356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2168a805ea0b3206802e73361800f885.jpg","text":"TemporaryFile(/tmp/multipartBody4707930200045601478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999652994,"filename":"image_04012025_15_06_02_764356_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c941eb0e26e02d7bd8d1906b69eecb6b.jpg","text":"TemporaryFile(/tmp/multipartBody5248800253397947337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999652994,"filename":"image_04012025_15_05_02_454929_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326617655","file1":"1326617630","file0":"1326617491","file3":"1326617688"},"map_files_photo_id_array":[{"photo_id":"1326617655","filename":"file2"},{"photo_id":"1326617630","filename":"file1"},{"photo_id":"1326617491","filename":"file0"},{"photo_id":"1326617688","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326617688":["hashtag1","hashtag2"]},{"1326617655":["hashtag1","hashtag2"]},{"1326617630":["hashtag1","hashtag2"]},{"1326617491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326617688, 1326617655, 1326617630, 1326617491)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.861000061035156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:07:22.695445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/06/image_04012025_15_06_02_764356_0003.jpg', '/home/pi/Desktop/images/04012025/15/07/image_04012025_15_07_02_922065_0000.jpg', '/home/pi/Desktop/images/04012025/15/07/image_04012025_15_07_02_922065_0001.jpg', '/home/pi/Desktop/images/04012025/15/07/image_04012025_15_07_02_922065_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/06/image_04012025_15_06_02_764356_0003.jpg
/home/pi/Desktop/images/04012025/15/07/image_04012025_15_07_02_922065_0000.jpg
/home/pi/Desktop/images/04012025/15/07/image_04012025_15_07_02_922065_0001.jpg
/home/pi/Desktop/images/04012025/15/07/image_04012025_15_07_02_922065_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326617734","1326617743","1326617737","1326617741"],"photo_ids_order":["1326617734","1326617737","1326617741","1326617743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8fc7b73bbea84e52490fc3b9bea367ba.jpg","text":"TemporaryFile(/tmp/multipartBody3386917574102901400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999713252,"filename":"image_04012025_15_06_02_764356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ecbf7c36c76a0d7e6e89c0688e188e8a.jpg","text":"TemporaryFile(/tmp/multipartBody5847700895554020207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999713252,"filename":"image_04012025_15_07_02_922065_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7608971ee071528e0bc701bfe8c14cb9.jpg","text":"TemporaryFile(/tmp/multipartBody1277854433937749588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999713252,"filename":"image_04012025_15_07_02_922065_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/48f80232a6c10af609470e1d79483a9b.jpg","text":"TemporaryFile(/tmp/multipartBody4543299571529821729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999713252,"filename":"image_04012025_15_07_02_922065_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326617741","file1":"1326617737","file0":"1326617734","file3":"1326617743"},"map_files_photo_id_array":[{"photo_id":"1326617741","filename":"file2"},{"photo_id":"1326617737","filename":"file1"},{"photo_id":"1326617734","filename":"file0"},{"photo_id":"1326617743","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326617734":["hashtag1","hashtag2"]},{"1326617743":["hashtag1","hashtag2"]},{"1326617737":["hashtag1","hashtag2"]},{"1326617741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326617734, 1326617743, 1326617737, 1326617741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82076621055603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:08:21.858442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/07/image_04012025_15_07_02_922065_0003.jpg', '/home/pi/Desktop/images/04012025/15/08/image_04012025_15_08_03_008568_0000.jpg', '/home/pi/Desktop/images/04012025/15/08/image_04012025_15_08_03_008568_0001.jpg', '/home/pi/Desktop/images/04012025/15/08/image_04012025_15_08_03_008568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/07/image_04012025_15_07_02_922065_0003.jpg
/home/pi/Desktop/images/04012025/15/08/image_04012025_15_08_03_008568_0000.jpg
/home/pi/Desktop/images/04012025/15/08/image_04012025_15_08_03_008568_0001.jpg
/home/pi/Desktop/images/04012025/15/08/image_04012025_15_08_03_008568_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326617977","1326617970","1326617921","1326617939"],"photo_ids_order":["1326617921","1326617939","1326617970","1326617977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dcf4a3ff1d7f0ceaaaf2072aff578654.jpg","text":"TemporaryFile(/tmp/multipartBody3531672347855804203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999772038,"filename":"image_04012025_15_08_03_008568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7074d255d5c6126ee313c3c037e8809e.jpg","text":"TemporaryFile(/tmp/multipartBody2581650165321678551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999772038,"filename":"image_04012025_15_08_03_008568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ea111bf9938e3a34b230d930c864f575.jpg","text":"TemporaryFile(/tmp/multipartBody4608254073026401422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999772038,"filename":"image_04012025_15_07_02_922065_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/50403f8108acbb49306def6735fe4941.jpg","text":"TemporaryFile(/tmp/multipartBody3160999065580369725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999772038,"filename":"image_04012025_15_08_03_008568_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326617970","file1":"1326617939","file0":"1326617921","file3":"1326617977"},"map_files_photo_id_array":[{"photo_id":"1326617970","filename":"file2"},{"photo_id":"1326617939","filename":"file1"},{"photo_id":"1326617921","filename":"file0"},{"photo_id":"1326617977","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326617977":["hashtag1","hashtag2"]},{"1326617970":["hashtag1","hashtag2"]},{"1326617921":["hashtag1","hashtag2"]},{"1326617939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326617977, 1326617970, 1326617921, 1326617939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.91105532646179 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:09:02.629456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:09:21.974464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/08/image_04012025_15_08_03_008568_0003.jpg', '/home/pi/Desktop/images/04012025/15/09/image_04012025_15_09_02_161074_0000.jpg', '/home/pi/Desktop/images/04012025/15/09/image_04012025_15_09_02_161074_0001.jpg', '/home/pi/Desktop/images/04012025/15/09/image_04012025_15_09_02_161074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/08/image_04012025_15_08_03_008568_0003.jpg
/home/pi/Desktop/images/04012025/15/09/image_04012025_15_09_02_161074_0000.jpg
/home/pi/Desktop/images/04012025/15/09/image_04012025_15_09_02_161074_0001.jpg
/home/pi/Desktop/images/04012025/15/09/image_04012025_15_09_02_161074_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326617991","1326617985","1326617994","1326617988"],"photo_ids_order":["1326617985","1326617988","1326617991","1326617994"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd32de263e95f8743b076bc94ae39d5a.jpg","text":"TemporaryFile(/tmp/multipartBody2939466079168200074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999832195,"filename":"image_04012025_15_09_02_161074_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/096623dfaa1f150b43892f608ff71560.jpg","text":"TemporaryFile(/tmp/multipartBody9156405092615695863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999832195,"filename":"image_04012025_15_08_03_008568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e2727ecf4ac194ad65a2f49020e9a98f.jpg","text":"TemporaryFile(/tmp/multipartBody6109937791317056271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999832195,"filename":"image_04012025_15_09_02_161074_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bc1a5bb521d518228e1b7ca1c71b4327.jpg","text":"TemporaryFile(/tmp/multipartBody7417405614214386739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999832195,"filename":"image_04012025_15_09_02_161074_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326617991","file1":"1326617988","file0":"1326617985","file3":"1326617994"},"map_files_photo_id_array":[{"photo_id":"1326617991","filename":"file2"},{"photo_id":"1326617988","filename":"file1"},{"photo_id":"1326617985","filename":"file0"},{"photo_id":"1326617994","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326617991":["hashtag1","hashtag2"]},{"1326617985":["hashtag1","hashtag2"]},{"1326617994":["hashtag1","hashtag2"]},{"1326617988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326617991, 1326617985, 1326617994, 1326617988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.69242835044861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:10:02.602268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:10:22.142209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/09/image_04012025_15_09_02_161074_0003.jpg', '/home/pi/Desktop/images/04012025/15/10/image_04012025_15_10_02_326432_0000.jpg', '/home/pi/Desktop/images/04012025/15/10/image_04012025_15_10_02_326432_0001.jpg', '/home/pi/Desktop/images/04012025/15/10/image_04012025_15_10_02_326432_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/09/image_04012025_15_09_02_161074_0003.jpg
/home/pi/Desktop/images/04012025/15/10/image_04012025_15_10_02_326432_0000.jpg
/home/pi/Desktop/images/04012025/15/10/image_04012025_15_10_02_326432_0001.jpg
/home/pi/Desktop/images/04012025/15/10/image_04012025_15_10_02_326432_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326618322","1326618465","1326618494","1326618376"],"photo_ids_order":["1326618322","1326618376","1326618465","1326618494"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6d415f47ea9e376606c24bfb45c0125f.jpg","text":"TemporaryFile(/tmp/multipartBody7517105016100351084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999892379,"filename":"image_04012025_15_09_02_161074_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bca9635c49d50a700ad0a8222abbbf86.jpg","text":"TemporaryFile(/tmp/multipartBody6047430658053558370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999892379,"filename":"image_04012025_15_10_02_326432_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cb599648e838751a35ef3a3651792eba.jpg","text":"TemporaryFile(/tmp/multipartBody4528017621663156510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999892379,"filename":"image_04012025_15_10_02_326432_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce89f0a100067b5c5b656b2abc001e76.jpg","text":"TemporaryFile(/tmp/multipartBody7755835570079666722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999892379,"filename":"image_04012025_15_10_02_326432_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326618465","file1":"1326618376","file0":"1326618322","file3":"1326618494"},"map_files_photo_id_array":[{"photo_id":"1326618465","filename":"file2"},{"photo_id":"1326618376","filename":"file1"},{"photo_id":"1326618322","filename":"file0"},{"photo_id":"1326618494","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326618322":["hashtag1","hashtag2"]},{"1326618465":["hashtag1","hashtag2"]},{"1326618494":["hashtag1","hashtag2"]},{"1326618376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326618322, 1326618465, 1326618494, 1326618376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26509881019592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:11:02.964621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:11:22.300937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/10/image_04012025_15_10_02_326432_0003.jpg', '/home/pi/Desktop/images/04012025/15/11/image_04012025_15_11_02_558159_0000.jpg', '/home/pi/Desktop/images/04012025/15/11/image_04012025_15_11_02_558159_0001.jpg', '/home/pi/Desktop/images/04012025/15/11/image_04012025_15_11_02_558159_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/10/image_04012025_15_10_02_326432_0003.jpg
/home/pi/Desktop/images/04012025/15/11/image_04012025_15_11_02_558159_0000.jpg
/home/pi/Desktop/images/04012025/15/11/image_04012025_15_11_02_558159_0001.jpg
/home/pi/Desktop/images/04012025/15/11/image_04012025_15_11_02_558159_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326619065","1326619122","1326619119","1326619115"],"photo_ids_order":["1326619065","1326619115","1326619119","1326619122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3a6d75fdc8159c790e22dd4545f61d14.jpg","text":"TemporaryFile(/tmp/multipartBody1469062529571416623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999952695,"filename":"image_04012025_15_10_02_326432_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/874982454ed98634183fd6f26f2e1d4a.jpg","text":"TemporaryFile(/tmp/multipartBody525802670276184870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999952695,"filename":"image_04012025_15_11_02_558159_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/098d8c5bbb9aa975b49be22a4c208403.jpg","text":"TemporaryFile(/tmp/multipartBody2729125753665527138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999952695,"filename":"image_04012025_15_11_02_558159_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3efa7b41cd417f9dc40d16400d539c89.jpg","text":"TemporaryFile(/tmp/multipartBody1790333477710920867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1735999952695,"filename":"image_04012025_15_11_02_558159_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326619119","file1":"1326619115","file0":"1326619065","file3":"1326619122"},"map_files_photo_id_array":[{"photo_id":"1326619119","filename":"file2"},{"photo_id":"1326619115","filename":"file1"},{"photo_id":"1326619065","filename":"file0"},{"photo_id":"1326619122","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326619065":["hashtag1","hashtag2"]},{"1326619122":["hashtag1","hashtag2"]},{"1326619119":["hashtag1","hashtag2"]},{"1326619115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326619065, 1326619122, 1326619119, 1326619115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79776310920715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:12:22.478442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/11/image_04012025_15_11_02_558159_0003.jpg', '/home/pi/Desktop/images/04012025/15/12/image_04012025_15_12_02_749187_0000.jpg', '/home/pi/Desktop/images/04012025/15/12/image_04012025_15_12_02_749187_0001.jpg', '/home/pi/Desktop/images/04012025/15/12/image_04012025_15_12_02_749187_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/11/image_04012025_15_11_02_558159_0003.jpg
/home/pi/Desktop/images/04012025/15/12/image_04012025_15_12_02_749187_0000.jpg
/home/pi/Desktop/images/04012025/15/12/image_04012025_15_12_02_749187_0001.jpg
/home/pi/Desktop/images/04012025/15/12/image_04012025_15_12_02_749187_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326619257","1326619266","1326619254","1326619293"],"photo_ids_order":["1326619254","1326619257","1326619266","1326619293"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e60e40a3d1eee8bec8ae54b5edeef15e.jpg","text":"TemporaryFile(/tmp/multipartBody917154442443023536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000012704,"filename":"image_04012025_15_12_02_749187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6e6c4f80c38cecf2d30e053513f12c63.jpg","text":"TemporaryFile(/tmp/multipartBody7214368467569267337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000012704,"filename":"image_04012025_15_12_02_749187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a5d32962c12c14bdf37c57bf671dd7d7.jpg","text":"TemporaryFile(/tmp/multipartBody4145537034677359246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000012704,"filename":"image_04012025_15_11_02_558159_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fbf7a79aad191adf08a8d93b2a529684.jpg","text":"TemporaryFile(/tmp/multipartBody5486756826488467456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000012704,"filename":"image_04012025_15_12_02_749187_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326619266","file1":"1326619257","file0":"1326619254","file3":"1326619293"},"map_files_photo_id_array":[{"photo_id":"1326619266","filename":"file2"},{"photo_id":"1326619257","filename":"file1"},{"photo_id":"1326619254","filename":"file0"},{"photo_id":"1326619293","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326619257":["hashtag1","hashtag2"]},{"1326619266":["hashtag1","hashtag2"]},{"1326619254":["hashtag1","hashtag2"]},{"1326619293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326619257, 1326619266, 1326619254, 1326619293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.33798336982727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:13:03.349152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:13:22.687551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/12/image_04012025_15_12_02_749187_0003.jpg', '/home/pi/Desktop/images/04012025/15/13/image_04012025_15_13_02_953932_0000.jpg', '/home/pi/Desktop/images/04012025/15/13/image_04012025_15_13_02_953932_0001.jpg', '/home/pi/Desktop/images/04012025/15/13/image_04012025_15_13_02_953932_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/12/image_04012025_15_12_02_749187_0003.jpg
/home/pi/Desktop/images/04012025/15/13/image_04012025_15_13_02_953932_0000.jpg
/home/pi/Desktop/images/04012025/15/13/image_04012025_15_13_02_953932_0001.jpg
/home/pi/Desktop/images/04012025/15/13/image_04012025_15_13_02_953932_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326619631","1326619634","1326619637","1326619610"],"photo_ids_order":["1326619610","1326619631","1326619634","1326619637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d88961e5267c0876303439e763df0841.jpg","text":"TemporaryFile(/tmp/multipartBody8497000626870751650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000073024,"filename":"image_04012025_15_13_02_953932_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c678ca4417dcafab4f862adb12db91fb.jpg","text":"TemporaryFile(/tmp/multipartBody8770626462859398329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000073024,"filename":"image_04012025_15_13_02_953932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd8d7b9e39405f1ccb6b083c9b5733e0.jpg","text":"TemporaryFile(/tmp/multipartBody2757939073450378218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000073024,"filename":"image_04012025_15_13_02_953932_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ef717b35f45f59ef5de20c90d1de3ae1.jpg","text":"TemporaryFile(/tmp/multipartBody816311531891195162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000073024,"filename":"image_04012025_15_12_02_749187_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326619634","file1":"1326619631","file0":"1326619610","file3":"1326619637"},"map_files_photo_id_array":[{"photo_id":"1326619634","filename":"file2"},{"photo_id":"1326619631","filename":"file1"},{"photo_id":"1326619610","filename":"file0"},{"photo_id":"1326619637","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326619631":["hashtag1","hashtag2"]},{"1326619634":["hashtag1","hashtag2"]},{"1326619637":["hashtag1","hashtag2"]},{"1326619610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326619631, 1326619634, 1326619637, 1326619610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.86846590042114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:14:21.862454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/13/image_04012025_15_13_02_953932_0003.jpg', '/home/pi/Desktop/images/04012025/15/14/image_04012025_15_14_03_132600_0000.jpg', '/home/pi/Desktop/images/04012025/15/14/image_04012025_15_14_03_132600_0001.jpg', '/home/pi/Desktop/images/04012025/15/14/image_04012025_15_14_03_132600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/13/image_04012025_15_13_02_953932_0003.jpg
/home/pi/Desktop/images/04012025/15/14/image_04012025_15_14_03_132600_0000.jpg
/home/pi/Desktop/images/04012025/15/14/image_04012025_15_14_03_132600_0001.jpg
/home/pi/Desktop/images/04012025/15/14/image_04012025_15_14_03_132600_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.901638746261597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:14:41.897901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/13/image_04012025_15_13_02_953932_0003.jpg', '/home/pi/Desktop/images/04012025/15/14/image_04012025_15_14_03_132600_0000.jpg', '/home/pi/Desktop/images/04012025/15/14/image_04012025_15_14_03_132600_0001.jpg', '/home/pi/Desktop/images/04012025/15/14/image_04012025_15_14_03_132600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/13/image_04012025_15_13_02_953932_0003.jpg
/home/pi/Desktop/images/04012025/15/14/image_04012025_15_14_03_132600_0000.jpg
/home/pi/Desktop/images/04012025/15/14/image_04012025_15_14_03_132600_0001.jpg
/home/pi/Desktop/images/04012025/15/14/image_04012025_15_14_03_132600_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326619728","1326619731","1326619724","1326619726"],"photo_ids_order":["1326619724","1326619726","1326619728","1326619731"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/90a275ab948f3290822f7538da0a1a35.jpg","text":"TemporaryFile(/tmp/multipartBody7530183971182888653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000152191,"filename":"image_04012025_15_14_03_132600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8dfa603a3c8c42dd69d96bdd7de93384.jpg","text":"TemporaryFile(/tmp/multipartBody6406464624878410993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000152191,"filename":"image_04012025_15_14_03_132600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28ed8e3e74c98184a9b44e478175eefe.jpg","text":"TemporaryFile(/tmp/multipartBody3911228861051299389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000152191,"filename":"image_04012025_15_13_02_953932_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/23c108ec90e75d9352084bd17f49158a.jpg","text":"TemporaryFile(/tmp/multipartBody3642923516134662841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000152191,"filename":"image_04012025_15_14_03_132600_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326619728","file1":"1326619726","file0":"1326619724","file3":"1326619731"},"map_files_photo_id_array":[{"photo_id":"1326619728","filename":"file2"},{"photo_id":"1326619726","filename":"file1"},{"photo_id":"1326619724","filename":"file0"},{"photo_id":"1326619731","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326619728":["hashtag1","hashtag2"]},{"1326619731":["hashtag1","hashtag2"]},{"1326619724":["hashtag1","hashtag2"]},{"1326619726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326619728, 1326619731, 1326619724, 1326619726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.24636793136597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:15:22.080556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/14/image_04012025_15_14_03_132600_0003.jpg', '/home/pi/Desktop/images/04012025/15/15/image_04012025_15_15_02_256376_0000.jpg', '/home/pi/Desktop/images/04012025/15/15/image_04012025_15_15_02_256376_0001.jpg', '/home/pi/Desktop/images/04012025/15/15/image_04012025_15_15_02_256376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/14/image_04012025_15_14_03_132600_0003.jpg
/home/pi/Desktop/images/04012025/15/15/image_04012025_15_15_02_256376_0000.jpg
/home/pi/Desktop/images/04012025/15/15/image_04012025_15_15_02_256376_0001.jpg
/home/pi/Desktop/images/04012025/15/15/image_04012025_15_15_02_256376_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326619758","1326619742","1326619739","1326619735"],"photo_ids_order":["1326619735","1326619739","1326619742","1326619758"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/366bbbeaec1b7f517134935d6252ccd3.jpg","text":"TemporaryFile(/tmp/multipartBody1729140956386432370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000192357,"filename":"image_04012025_15_15_02_256376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e46174a94d08b8d59118890aee5d5761.jpg","text":"TemporaryFile(/tmp/multipartBody376071702161879023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000192357,"filename":"image_04012025_15_15_02_256376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3ef974e68f523cda3db75add7c518d7e.jpg","text":"TemporaryFile(/tmp/multipartBody5152697595369048041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000192357,"filename":"image_04012025_15_15_02_256376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d02c72421f94c8709fed773fd2eb4bfd.jpg","text":"TemporaryFile(/tmp/multipartBody6207146499269537837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000192357,"filename":"image_04012025_15_14_03_132600_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326619742","file1":"1326619739","file0":"1326619735","file3":"1326619758"},"map_files_photo_id_array":[{"photo_id":"1326619742","filename":"file2"},{"photo_id":"1326619739","filename":"file1"},{"photo_id":"1326619735","filename":"file0"},{"photo_id":"1326619758","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326619758":["hashtag1","hashtag2"]},{"1326619742":["hashtag1","hashtag2"]},{"1326619739":["hashtag1","hashtag2"]},{"1326619735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326619758, 1326619742, 1326619739, 1326619735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1225004196167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:16:02.639621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:16:22.207128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/15/image_04012025_15_15_02_256376_0003.jpg', '/home/pi/Desktop/images/04012025/15/16/image_04012025_15_16_02_449837_0000.jpg', '/home/pi/Desktop/images/04012025/15/16/image_04012025_15_16_02_449837_0001.jpg', '/home/pi/Desktop/images/04012025/15/16/image_04012025_15_16_02_449837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/15/image_04012025_15_15_02_256376_0003.jpg
/home/pi/Desktop/images/04012025/15/16/image_04012025_15_16_02_449837_0000.jpg
/home/pi/Desktop/images/04012025/15/16/image_04012025_15_16_02_449837_0001.jpg
/home/pi/Desktop/images/04012025/15/16/image_04012025_15_16_02_449837_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326619827","1326619955","1326620123","1326620083"],"photo_ids_order":["1326619827","1326619955","1326620083","1326620123"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c11927d413de6b96042df4fdf4ddd738.jpg","text":"TemporaryFile(/tmp/multipartBody7749439668775098458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000252547,"filename":"image_04012025_15_15_02_256376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a692b543b1c93deedf9aad6cd7ca92ea.jpg","text":"TemporaryFile(/tmp/multipartBody6471191189164948045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000252547,"filename":"image_04012025_15_16_02_449837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49ddabf8f7666fd0a4f89d6ed8d2d2a9.jpg","text":"TemporaryFile(/tmp/multipartBody732558946258108022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000252547,"filename":"image_04012025_15_16_02_449837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8f764db625ba080fc39d77664e9babb9.jpg","text":"TemporaryFile(/tmp/multipartBody8516050040306440187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000252547,"filename":"image_04012025_15_16_02_449837_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326620083","file1":"1326619955","file0":"1326619827","file3":"1326620123"},"map_files_photo_id_array":[{"photo_id":"1326620083","filename":"file2"},{"photo_id":"1326619955","filename":"file1"},{"photo_id":"1326619827","filename":"file0"},{"photo_id":"1326620123","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326619827":["hashtag1","hashtag2"]},{"1326619955":["hashtag1","hashtag2"]},{"1326620123":["hashtag1","hashtag2"]},{"1326620083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326619827, 1326619955, 1326620123, 1326620083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.65083193778992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:17:22.421161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/16/image_04012025_15_16_02_449837_0003.jpg', '/home/pi/Desktop/images/04012025/15/17/image_04012025_15_17_02_636367_0000.jpg', '/home/pi/Desktop/images/04012025/15/17/image_04012025_15_17_02_636367_0001.jpg', '/home/pi/Desktop/images/04012025/15/17/image_04012025_15_17_02_636367_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/16/image_04012025_15_16_02_449837_0003.jpg
/home/pi/Desktop/images/04012025/15/17/image_04012025_15_17_02_636367_0000.jpg
/home/pi/Desktop/images/04012025/15/17/image_04012025_15_17_02_636367_0001.jpg
/home/pi/Desktop/images/04012025/15/17/image_04012025_15_17_02_636367_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326620183","1326620176","1326620185","1326620179"],"photo_ids_order":["1326620176","1326620179","1326620183","1326620185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9416cbf3466040ac8a3a8a703cac874e.jpg","text":"TemporaryFile(/tmp/multipartBody6384621051656065791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000312942,"filename":"image_04012025_15_17_02_636367_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b7861495a2289845d5559a2beed734e.jpg","text":"TemporaryFile(/tmp/multipartBody3552738947718842506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000312942,"filename":"image_04012025_15_16_02_449837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2a88fb5c29a0218ffc642ad6707ef30c.jpg","text":"TemporaryFile(/tmp/multipartBody5409582671557462852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000312942,"filename":"image_04012025_15_17_02_636367_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f67bc15ba0d33d5157e3ef73f4608805.jpg","text":"TemporaryFile(/tmp/multipartBody5685982986760836113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000312942,"filename":"image_04012025_15_17_02_636367_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326620183","file1":"1326620179","file0":"1326620176","file3":"1326620185"},"map_files_photo_id_array":[{"photo_id":"1326620183","filename":"file2"},{"photo_id":"1326620179","filename":"file1"},{"photo_id":"1326620176","filename":"file0"},{"photo_id":"1326620185","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326620183":["hashtag1","hashtag2"]},{"1326620176":["hashtag1","hashtag2"]},{"1326620185":["hashtag1","hashtag2"]},{"1326620179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326620183, 1326620176, 1326620185, 1326620179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.98596930503845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:18:22.609710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/17/image_04012025_15_17_02_636367_0003.jpg', '/home/pi/Desktop/images/04012025/15/18/image_04012025_15_18_02_813336_0000.jpg', '/home/pi/Desktop/images/04012025/15/18/image_04012025_15_18_02_813336_0001.jpg', '/home/pi/Desktop/images/04012025/15/18/image_04012025_15_18_02_813336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/17/image_04012025_15_17_02_636367_0003.jpg
/home/pi/Desktop/images/04012025/15/18/image_04012025_15_18_02_813336_0000.jpg
/home/pi/Desktop/images/04012025/15/18/image_04012025_15_18_02_813336_0001.jpg
/home/pi/Desktop/images/04012025/15/18/image_04012025_15_18_02_813336_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326620200","1326620194","1326620197","1326620191"],"photo_ids_order":["1326620191","1326620194","1326620197","1326620200"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7581c3c160556e43e2ff9b7e3040ce31.jpg","text":"TemporaryFile(/tmp/multipartBody1053216885914287032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000372962,"filename":"image_04012025_15_18_02_813336_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/abd7a8a98265daf2fe5cce9f8693241a.jpg","text":"TemporaryFile(/tmp/multipartBody190015642926643838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000372962,"filename":"image_04012025_15_18_02_813336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ffd27d0858c8736cec42625329a2a7d9.jpg","text":"TemporaryFile(/tmp/multipartBody4074723813739566533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000372962,"filename":"image_04012025_15_18_02_813336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c8022f980a4d5653e05ed4014d3e6e55.jpg","text":"TemporaryFile(/tmp/multipartBody443779453500647547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000372962,"filename":"image_04012025_15_17_02_636367_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326620197","file1":"1326620194","file0":"1326620191","file3":"1326620200"},"map_files_photo_id_array":[{"photo_id":"1326620197","filename":"file2"},{"photo_id":"1326620194","filename":"file1"},{"photo_id":"1326620191","filename":"file0"},{"photo_id":"1326620200","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326620200":["hashtag1","hashtag2"]},{"1326620194":["hashtag1","hashtag2"]},{"1326620197":["hashtag1","hashtag2"]},{"1326620191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326620200, 1326620194, 1326620197, 1326620191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6188383102417 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-04 15:19:22.766342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/18/image_04012025_15_18_02_813336_0003.jpg', '/home/pi/Desktop/images/04012025/15/19/image_04012025_15_19_02_934757_0000.jpg', '/home/pi/Desktop/images/04012025/15/19/image_04012025_15_19_02_934757_0001.jpg', '/home/pi/Desktop/images/04012025/15/19/image_04012025_15_19_02_934757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/18/image_04012025_15_18_02_813336_0003.jpg
/home/pi/Desktop/images/04012025/15/19/image_04012025_15_19_02_934757_0000.jpg
/home/pi/Desktop/images/04012025/15/19/image_04012025_15_19_02_934757_0001.jpg
/home/pi/Desktop/images/04012025/15/19/image_04012025_15_19_02_934757_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326620800","1326620739","1326620819","1326620782"],"photo_ids_order":["1326620739","1326620782","1326620800","1326620819"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0fedb134f194db97db1a2e3e775c2375.jpg","text":"TemporaryFile(/tmp/multipartBody632960764925823849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000433210,"filename":"image_04012025_15_19_02_934757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca833c45916f910ea8c6233fbd021aff.jpg","text":"TemporaryFile(/tmp/multipartBody1509726523314056053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000433210,"filename":"image_04012025_15_18_02_813336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d5e79fc77e7d27fa371c29ea994abed7.jpg","text":"TemporaryFile(/tmp/multipartBody8598604006429447073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000433210,"filename":"image_04012025_15_19_02_934757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/78938a48ed6a636f14cae52936ccd64a.jpg","text":"TemporaryFile(/tmp/multipartBody6683859626366198723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000433210,"filename":"image_04012025_15_19_02_934757_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326620800","file1":"1326620782","file0":"1326620739","file3":"1326620819"},"map_files_photo_id_array":[{"photo_id":"1326620800","filename":"file2"},{"photo_id":"1326620782","filename":"file1"},{"photo_id":"1326620739","filename":"file0"},{"photo_id":"1326620819","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326620800":["hashtag1","hashtag2"]},{"1326620739":["hashtag1","hashtag2"]},{"1326620819":["hashtag1","hashtag2"]},{"1326620782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326620800, 1326620739, 1326620819, 1326620782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.997026443481445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:20:21.906773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/19/image_04012025_15_19_02_934757_0003.jpg', '/home/pi/Desktop/images/04012025/15/20/image_04012025_15_20_03_117536_0000.jpg', '/home/pi/Desktop/images/04012025/15/20/image_04012025_15_20_03_117536_0001.jpg', '/home/pi/Desktop/images/04012025/15/20/image_04012025_15_20_03_117536_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/19/image_04012025_15_19_02_934757_0003.jpg
/home/pi/Desktop/images/04012025/15/20/image_04012025_15_20_03_117536_0000.jpg
/home/pi/Desktop/images/04012025/15/20/image_04012025_15_20_03_117536_0001.jpg
/home/pi/Desktop/images/04012025/15/20/image_04012025_15_20_03_117536_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326621111","1326621033","1326621125","1326621013"],"photo_ids_order":["1326621013","1326621033","1326621111","1326621125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/189c74f6e25874bcf7d76a8d444be50a.jpg","text":"TemporaryFile(/tmp/multipartBody4227038959282720368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000492430,"filename":"image_04012025_15_20_03_117536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/00be3e494306c3c0d9be9123bf7e4bb9.jpg","text":"TemporaryFile(/tmp/multipartBody5421815124798803260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000492430,"filename":"image_04012025_15_20_03_117536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/90579c613c65500d1dbf409862d84b3a.jpg","text":"TemporaryFile(/tmp/multipartBody4454987580054457378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000492430,"filename":"image_04012025_15_20_03_117536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/620a3fe96c2970bac9faf00c80e2e7be.jpg","text":"TemporaryFile(/tmp/multipartBody1579605516206104585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000492430,"filename":"image_04012025_15_19_02_934757_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326621111","file1":"1326621033","file0":"1326621013","file3":"1326621125"},"map_files_photo_id_array":[{"photo_id":"1326621111","filename":"file2"},{"photo_id":"1326621033","filename":"file1"},{"photo_id":"1326621013","filename":"file0"},{"photo_id":"1326621125","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326621111":["hashtag1","hashtag2"]},{"1326621033":["hashtag1","hashtag2"]},{"1326621125":["hashtag1","hashtag2"]},{"1326621013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326621111, 1326621033, 1326621125, 1326621013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.17317461967468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:21:02.758852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:21:22.145948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/20/image_04012025_15_20_03_117536_0003.jpg', '/home/pi/Desktop/images/04012025/15/21/image_04012025_15_21_02_289519_0000.jpg', '/home/pi/Desktop/images/04012025/15/21/image_04012025_15_21_02_289519_0001.jpg', '/home/pi/Desktop/images/04012025/15/21/image_04012025_15_21_02_289519_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/20/image_04012025_15_20_03_117536_0003.jpg
/home/pi/Desktop/images/04012025/15/21/image_04012025_15_21_02_289519_0000.jpg
/home/pi/Desktop/images/04012025/15/21/image_04012025_15_21_02_289519_0001.jpg
/home/pi/Desktop/images/04012025/15/21/image_04012025_15_21_02_289519_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326621363","1326621387","1326621203","1326621319"],"photo_ids_order":["1326621203","1326621319","1326621363","1326621387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2979a99056d3d5b54e0abee78367fc0a.jpg","text":"TemporaryFile(/tmp/multipartBody2962965621811979288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000552442,"filename":"image_04012025_15_21_02_289519_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/299a6fbeb496f5798680c76c1400c499.jpg","text":"TemporaryFile(/tmp/multipartBody412230155538112512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000552442,"filename":"image_04012025_15_21_02_289519_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4e949d6534787492a56ca977fa099f4d.jpg","text":"TemporaryFile(/tmp/multipartBody5621878549779680865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000552442,"filename":"image_04012025_15_20_03_117536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/310d42a6fdb5d76d7d062d8bce78e0ed.jpg","text":"TemporaryFile(/tmp/multipartBody1029052670137163122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000552442,"filename":"image_04012025_15_21_02_289519_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326621363","file1":"1326621319","file0":"1326621203","file3":"1326621387"},"map_files_photo_id_array":[{"photo_id":"1326621363","filename":"file2"},{"photo_id":"1326621319","filename":"file1"},{"photo_id":"1326621203","filename":"file0"},{"photo_id":"1326621387","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326621363":["hashtag1","hashtag2"]},{"1326621387":["hashtag1","hashtag2"]},{"1326621203":["hashtag1","hashtag2"]},{"1326621319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326621363, 1326621387, 1326621203, 1326621319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.94564247131348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:22:22.345640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/21/image_04012025_15_21_02_289519_0003.jpg', '/home/pi/Desktop/images/04012025/15/22/image_04012025_15_22_02_559019_0000.jpg', '/home/pi/Desktop/images/04012025/15/22/image_04012025_15_22_02_559019_0001.jpg', '/home/pi/Desktop/images/04012025/15/22/image_04012025_15_22_02_559019_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/21/image_04012025_15_21_02_289519_0003.jpg
/home/pi/Desktop/images/04012025/15/22/image_04012025_15_22_02_559019_0000.jpg
/home/pi/Desktop/images/04012025/15/22/image_04012025_15_22_02_559019_0001.jpg
/home/pi/Desktop/images/04012025/15/22/image_04012025_15_22_02_559019_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326621452","1326621448","1326621442","1326621445"],"photo_ids_order":["1326621442","1326621445","1326621448","1326621452"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/06b5d0f36612eb387595fb74999e16ae.jpg","text":"TemporaryFile(/tmp/multipartBody5784510398169360435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000612614,"filename":"image_04012025_15_22_02_559019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6e14042ec1b9560110d92c5b7897d58b.jpg","text":"TemporaryFile(/tmp/multipartBody458467027699213404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000612614,"filename":"image_04012025_15_22_02_559019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/35f2ba558ee6c0138f34079e71e4f3a9.jpg","text":"TemporaryFile(/tmp/multipartBody7618552396216110310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000612614,"filename":"image_04012025_15_21_02_289519_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/55ef1f7ee81e9e7ae6973e89ef8679fb.jpg","text":"TemporaryFile(/tmp/multipartBody6963361152273372207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000612614,"filename":"image_04012025_15_22_02_559019_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326621448","file1":"1326621445","file0":"1326621442","file3":"1326621452"},"map_files_photo_id_array":[{"photo_id":"1326621448","filename":"file2"},{"photo_id":"1326621445","filename":"file1"},{"photo_id":"1326621442","filename":"file0"},{"photo_id":"1326621452","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326621452":["hashtag1","hashtag2"]},{"1326621448":["hashtag1","hashtag2"]},{"1326621442":["hashtag1","hashtag2"]},{"1326621445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326621452, 1326621448, 1326621442, 1326621445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.786505937576294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:23:22.462190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/22/image_04012025_15_22_02_559019_0003.jpg', '/home/pi/Desktop/images/04012025/15/23/image_04012025_15_23_02_656307_0000.jpg', '/home/pi/Desktop/images/04012025/15/23/image_04012025_15_23_02_656307_0001.jpg', '/home/pi/Desktop/images/04012025/15/23/image_04012025_15_23_02_656307_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/22/image_04012025_15_22_02_559019_0003.jpg
/home/pi/Desktop/images/04012025/15/23/image_04012025_15_23_02_656307_0000.jpg
/home/pi/Desktop/images/04012025/15/23/image_04012025_15_23_02_656307_0001.jpg
/home/pi/Desktop/images/04012025/15/23/image_04012025_15_23_02_656307_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326621669","1326621672","1326621666","1326621631"],"photo_ids_order":["1326621631","1326621666","1326621669","1326621672"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc647e41425104b1c5347bd06b2f2fd6.jpg","text":"TemporaryFile(/tmp/multipartBody7386365600253888063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000672878,"filename":"image_04012025_15_23_02_656307_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/20c9542a170d389cda8aea89dcf7bd1f.jpg","text":"TemporaryFile(/tmp/multipartBody2521090758634114721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000672878,"filename":"image_04012025_15_23_02_656307_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d0d8564e0c9a29ad99c5199fd8cb465e.jpg","text":"TemporaryFile(/tmp/multipartBody6385786390140438918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000672878,"filename":"image_04012025_15_23_02_656307_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bfc04972dd8d7ea87ff1944d1eef53a1.jpg","text":"TemporaryFile(/tmp/multipartBody9089692984666720369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000672878,"filename":"image_04012025_15_22_02_559019_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326621669","file1":"1326621666","file0":"1326621631","file3":"1326621672"},"map_files_photo_id_array":[{"photo_id":"1326621669","filename":"file2"},{"photo_id":"1326621666","filename":"file1"},{"photo_id":"1326621631","filename":"file0"},{"photo_id":"1326621672","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326621669":["hashtag1","hashtag2"]},{"1326621672":["hashtag1","hashtag2"]},{"1326621666":["hashtag1","hashtag2"]},{"1326621631":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326621669, 1326621672, 1326621666, 1326621631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.6047728061676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:24:22.783124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/23/image_04012025_15_23_02_656307_0003.jpg', '/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0000.jpg', '/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0001.jpg', '/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/23/image_04012025_15_23_02_656307_0003.jpg
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0000.jpg
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0001.jpg
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326621816","1326621819","1326621813","1326621821"],"photo_ids_order":["1326621813","1326621816","1326621819","1326621821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/460740713ddd92219c0897943c669695.jpg","text":"TemporaryFile(/tmp/multipartBody2865029804551212043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000733182,"filename":"image_04012025_15_24_02_868027_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce4cd501813b584b847790acbe149e1c.jpg","text":"TemporaryFile(/tmp/multipartBody2710531417852851390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000733182,"filename":"image_04012025_15_24_02_868027_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f698d4025d416bab8c4896a5377c164.jpg","text":"TemporaryFile(/tmp/multipartBody215491662140767891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000733182,"filename":"image_04012025_15_23_02_656307_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6021f80014f2a590b7ef07248507d27e.jpg","text":"TemporaryFile(/tmp/multipartBody3013727042786614960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736000733182,"filename":"image_04012025_15_24_02_868027_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326621819","file1":"1326621816","file0":"1326621813","file3":"1326621821"},"map_files_photo_id_array":[{"photo_id":"1326621819","filename":"file2"},{"photo_id":"1326621816","filename":"file1"},{"photo_id":"1326621813","filename":"file0"},{"photo_id":"1326621821","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326621816":["hashtag1","hashtag2"]},{"1326621819":["hashtag1","hashtag2"]},{"1326621813":["hashtag1","hashtag2"]},{"1326621821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326621816, 1326621819, 1326621813, 1326621821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.29142904281616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:25:21.915050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 ('Connection aborted.', OSError("(104, 'ECONNRESET')"))
cannot unpack non-iterable int object
time to upload: 10.564826250076294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:25:41.979794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f87b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 16.582234859466553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:26:02.558064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca7d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.043886184692383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:26:22.116403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5558990>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.246345281600952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:26:32.098491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5545930>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.105100154876709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:26:42.072844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a79f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.8106446266174316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:26:52.079206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55139b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.3872127532958984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:27:02.728785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5549950>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.1147992610931396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:27:22.340858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca990>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.7826733589172363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:27:32.280111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc970>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.4439048767089844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:27:42.274369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5589970>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.4503602981567383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:27:52.281077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5517990>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.2836921215057373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:28:02.950997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a59b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.2152087688446045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:28:22.531253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d2990>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.995467185974121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:28:32.406375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a8970>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.7208786010742188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:28:42.463865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5536990>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.4234402179718018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:28:52.426923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5543990>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.0604963302612305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:29:03.355122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5585a10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.9741437435150146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:29:22.684006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55109d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.084441900253296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:29:32.589427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557d8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.0991075038909912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:29:42.783097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb61ac7b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.5048863887786865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:29:52.647274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55409f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.561356782913208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:30:02.197757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55569f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.9308738708496094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:30:21.870418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ef9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.5426225662231445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:30:31.826926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54919f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.4226949214935303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:30:41.854709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550b9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.2761576175689697 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:30:51.850263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556c9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.04063081741333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:31:02.717674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a2950>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.9343490600585938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:31:22.122784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5589a30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.5692930221557617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:31:32.025372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54efa30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.4267501831054688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:31:42.023243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5525930>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.1092333793640137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:31:52.051830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55129b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.840341329574585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:32:02.583773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500970>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.789263963699341 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:32:22.302087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555ba10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.8318824768066406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:32:32.213842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55349d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.600360870361328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:32:42.265460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558e930>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.3091771602630615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:32:52.235783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550c9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.939110279083252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:33:03.051176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558da10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.7231197357177734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:33:22.463417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55152d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.6712868213653564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:33:32.432688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549a9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.46212339401245117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:33:42.422679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c5950>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.273935556411743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:33:52.419579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5586a50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.037555694580078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:34:03.109870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a7a30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.867433786392212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:34:22.718533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55649b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.6190199851989746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:34:32.614277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a59f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.563528060913086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:34:42.652882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e99f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.1251270771026611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:34:52.599708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cd9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.9396529197692871 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:35:02.527988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54989b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.7697679996490479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:35:21.776641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c39f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.8017330169677734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:35:31.793194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a9970>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.7857975959777832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:35:41.829231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5496990>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.7499244213104248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:35:51.767252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549b9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.491940975189209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:36:02.445454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.9348976612091064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:36:22.069980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5510970>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.991218328475952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:36:31.981477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.839690685272217 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:36:41.994187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54be910>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.5075693130493164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:36:51.931646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fea10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.5739355087280273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:37:02.640860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c1a70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.6215155124664307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:37:22.184178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.3588123321533203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:37:32.072989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55469f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.2301337718963623 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:37:42.148950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549f9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.753537654876709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:37:52.093340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de970>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.649238109588623 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:38:02.797438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d89d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.066784381866455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:38:22.304630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bfa10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.2398343086242676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:38:32.307518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.7570643424987793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:38:42.313471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb656bf50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.511815071105957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 15:38:52.288160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558aab0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.3773691654205322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:39:03.048163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.232219934463501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:39:22.529763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.41611647605896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:39:42.457465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.363103151321411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:40:03.021999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.376104354858398 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:40:22.686743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.349584341049194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:40:42.662127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.195462703704834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:41:02.351856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.415634870529175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:41:21.908615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.269868850708008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:41:41.882888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.50572156906128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:42:02.443137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.40789008140564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:42:21.992706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.331559419631958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:42:42.100166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.373667001724243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:43:02.865338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.483115673065186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:43:22.254844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.29381251335144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:43:42.266738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.428526878356934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:44:02.906963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.447803497314453 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:44:22.462178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.348822832107544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:44:42.402816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.335564374923706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:45:03.101149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.380309343338013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:45:22.770040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.384994983673096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:45:42.654635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.305227756500244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:46:02.283360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.274019718170166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:46:21.838741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.22480034828186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:46:41.853875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.302378177642822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:47:02.615660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.355979919433594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:47:22.023882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.360607624053955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:47:41.932060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.176350593566895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:48:02.674769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.244251489639282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:48:22.213020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.336479663848877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:48:42.187435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.300089120864868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:49:02.962858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.577788591384888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:49:22.448814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.374634265899658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:49:42.392441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.176722288131714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:50:03.048982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.268600702285767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 15:50:22.684856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.260687828063965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 15:50:42.630159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.372166633605957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:51:02.561794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg', '/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/24/image_04012025_15_24_02_868027_0003.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0000.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0001.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0002.jpg
/home/pi/Desktop/images/04012025/15/25/image_04012025_15_25_03_117698_0003.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_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":["1326630513","1326630516","1326630500","1326630472","1326630505","1326630510"],"photo_ids_order":["1326630472","1326630500","1326630505","1326630510","1326630513","1326630516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f35ff77f46b4defdd137789145cfe736.jpg","text":"TemporaryFile(/tmp/multipartBody7851902409187698144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002337796,"filename":"image_04012025_15_25_03_117698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ce89e601d6616a629ef37068edf4ff9.jpg","text":"TemporaryFile(/tmp/multipartBody8711623620437369451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002337796,"filename":"image_04012025_15_26_02_299866_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3c9e801d39e5218673062aa7c82d81ab.jpg","text":"TemporaryFile(/tmp/multipartBody258345399344184324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002337796,"filename":"image_04012025_15_25_03_117698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e724211e112b953a3d8d822d225d738c.jpg","text":"TemporaryFile(/tmp/multipartBody3959798866366942524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002337796,"filename":"image_04012025_15_24_02_868027_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd388cd8e50bb09d7d66cd78b79901f8.jpg","text":"TemporaryFile(/tmp/multipartBody7817586709882917246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002337796,"filename":"image_04012025_15_25_03_117698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/410967189bdf86f6158364d43ae1fad0.jpg","text":"TemporaryFile(/tmp/multipartBody4802119439188391270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002337796,"filename":"image_04012025_15_25_03_117698_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326630505","file1":"1326630500","file0":"1326630472","file4":"1326630513","file5":"1326630516","file3":"1326630510"},"map_files_photo_id_array":[{"photo_id":"1326630516","filename":"file5"},{"photo_id":"1326630505","filename":"file2"},{"photo_id":"1326630513","filename":"file4"},{"photo_id":"1326630500","filename":"file1"},{"photo_id":"1326630472","filename":"file0"},{"photo_id":"1326630510","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326630513":["hashtag1","hashtag2"]},{"1326630516":["hashtag1","hashtag2"]},{"1326630500":["hashtag1","hashtag2"]},{"1326630472":["hashtag1","hashtag2"]},{"1326630505":["hashtag1","hashtag2"]},{"1326630510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326630513, 1326630516, 1326630500, 1326630472, 1326630505, 1326630510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.66447305679321 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:52:02.412727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0001.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0002.jpg', '/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0003.jpg', '/home/pi/Desktop/images/04012025/15/27/image_04012025_15_27_02_464399_0000.jpg', '/home/pi/Desktop/images/04012025/15/27/image_04012025_15_27_02_464399_0001.jpg', '/home/pi/Desktop/images/04012025/15/27/image_04012025_15_27_02_464399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0001.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0002.jpg
/home/pi/Desktop/images/04012025/15/26/image_04012025_15_26_02_299866_0003.jpg
/home/pi/Desktop/images/04012025/15/27/image_04012025_15_27_02_464399_0000.jpg
/home/pi/Desktop/images/04012025/15/27/image_04012025_15_27_02_464399_0001.jpg
/home/pi/Desktop/images/04012025/15/27/image_04012025_15_27_02_464399_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326631064","1326630929","1326631180","1326631213","1326631216","1326631176"],"photo_ids_order":["1326630929","1326631064","1326631176","1326631180","1326631213","1326631216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fadc7892f86bf39ecb2fbec0a519777d.jpg","text":"TemporaryFile(/tmp/multipartBody2103054209886236709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002397735,"filename":"image_04012025_15_26_02_299866_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f06cc72230da0a875f07322968a5b137.jpg","text":"TemporaryFile(/tmp/multipartBody4420699064404761078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002397735,"filename":"image_04012025_15_26_02_299866_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/460d09f4a05b3ca51d5a8b4bdf1df7a8.jpg","text":"TemporaryFile(/tmp/multipartBody116113221987641955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002397735,"filename":"image_04012025_15_27_02_464399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/03387a6d975444079e1a9a41b5a82d5d.jpg","text":"TemporaryFile(/tmp/multipartBody1647209784169871008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002397735,"filename":"image_04012025_15_27_02_464399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/631fe229ed80a2c2d23c7cbb027abdc7.jpg","text":"TemporaryFile(/tmp/multipartBody6258299411140058157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002397735,"filename":"image_04012025_15_27_02_464399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/afb748ae1c5fc8c6244f2c7cb705d624.jpg","text":"TemporaryFile(/tmp/multipartBody5534983461703722991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002397735,"filename":"image_04012025_15_26_02_299866_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326631176","file1":"1326631064","file0":"1326630929","file4":"1326631213","file5":"1326631216","file3":"1326631180"},"map_files_photo_id_array":[{"photo_id":"1326631216","filename":"file5"},{"photo_id":"1326631176","filename":"file2"},{"photo_id":"1326631213","filename":"file4"},{"photo_id":"1326631064","filename":"file1"},{"photo_id":"1326630929","filename":"file0"},{"photo_id":"1326631180","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326631064":["hashtag1","hashtag2"]},{"1326630929":["hashtag1","hashtag2"]},{"1326631180":["hashtag1","hashtag2"]},{"1326631213":["hashtag1","hashtag2"]},{"1326631216":["hashtag1","hashtag2"]},{"1326631176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326631064, 1326630929, 1326631180, 1326631213, 1326631216, 1326631176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.97551703453064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:53:02.679907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/27/image_04012025_15_27_02_464399_0003.jpg', '/home/pi/Desktop/images/04012025/15/28/image_04012025_15_28_02_642126_0000.jpg', '/home/pi/Desktop/images/04012025/15/28/image_04012025_15_28_02_642126_0001.jpg', '/home/pi/Desktop/images/04012025/15/28/image_04012025_15_28_02_642126_0002.jpg', '/home/pi/Desktop/images/04012025/15/28/image_04012025_15_28_02_642126_0003.jpg', '/home/pi/Desktop/images/04012025/15/29/image_04012025_15_29_02_792582_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/27/image_04012025_15_27_02_464399_0003.jpg
/home/pi/Desktop/images/04012025/15/28/image_04012025_15_28_02_642126_0000.jpg
/home/pi/Desktop/images/04012025/15/28/image_04012025_15_28_02_642126_0001.jpg
/home/pi/Desktop/images/04012025/15/28/image_04012025_15_28_02_642126_0002.jpg
/home/pi/Desktop/images/04012025/15/28/image_04012025_15_28_02_642126_0003.jpg
/home/pi/Desktop/images/04012025/15/29/image_04012025_15_29_02_792582_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":["1326631487","1326631511","1326631555","1326631558","1326631537","1326631551"],"photo_ids_order":["1326631487","1326631511","1326631537","1326631551","1326631555","1326631558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/696682ea02722f7e458a49a4c3818243.jpg","text":"TemporaryFile(/tmp/multipartBody3465850333533611053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002457836,"filename":"image_04012025_15_27_02_464399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0218f6e8f1c011fe8f312f13f6cb8929.jpg","text":"TemporaryFile(/tmp/multipartBody3192629554976587091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002457836,"filename":"image_04012025_15_28_02_642126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f64604a2583986abeb59bf375e9f6883.jpg","text":"TemporaryFile(/tmp/multipartBody8041385177441554009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002457836,"filename":"image_04012025_15_28_02_642126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1b39145fb2e98815eeaf2f73c0387e9e.jpg","text":"TemporaryFile(/tmp/multipartBody7540142602808771310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002457836,"filename":"image_04012025_15_29_02_792582_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9697a1b91002cc0d416740f86477c7e9.jpg","text":"TemporaryFile(/tmp/multipartBody8846749268146626469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002457836,"filename":"image_04012025_15_28_02_642126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/056f2a2845a84d66724411525b93e038.jpg","text":"TemporaryFile(/tmp/multipartBody4355536301326629770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002457836,"filename":"image_04012025_15_28_02_642126_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326631537","file1":"1326631511","file0":"1326631487","file4":"1326631555","file5":"1326631558","file3":"1326631551"},"map_files_photo_id_array":[{"photo_id":"1326631558","filename":"file5"},{"photo_id":"1326631537","filename":"file2"},{"photo_id":"1326631555","filename":"file4"},{"photo_id":"1326631511","filename":"file1"},{"photo_id":"1326631487","filename":"file0"},{"photo_id":"1326631551","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326631487":["hashtag1","hashtag2"]},{"1326631511":["hashtag1","hashtag2"]},{"1326631555":["hashtag1","hashtag2"]},{"1326631558":["hashtag1","hashtag2"]},{"1326631537":["hashtag1","hashtag2"]},{"1326631551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326631487, 1326631511, 1326631555, 1326631558, 1326631537, 1326631551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.372931718826294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:54:02.762215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/29/image_04012025_15_29_02_792582_0001.jpg', '/home/pi/Desktop/images/04012025/15/29/image_04012025_15_29_02_792582_0002.jpg', '/home/pi/Desktop/images/04012025/15/29/image_04012025_15_29_02_792582_0003.jpg', '/home/pi/Desktop/images/04012025/15/30/image_04012025_15_30_02_968914_0000.jpg', '/home/pi/Desktop/images/04012025/15/30/image_04012025_15_30_02_968914_0001.jpg', '/home/pi/Desktop/images/04012025/15/30/image_04012025_15_30_02_968914_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/29/image_04012025_15_29_02_792582_0001.jpg
/home/pi/Desktop/images/04012025/15/29/image_04012025_15_29_02_792582_0002.jpg
/home/pi/Desktop/images/04012025/15/29/image_04012025_15_29_02_792582_0003.jpg
/home/pi/Desktop/images/04012025/15/30/image_04012025_15_30_02_968914_0000.jpg
/home/pi/Desktop/images/04012025/15/30/image_04012025_15_30_02_968914_0001.jpg
/home/pi/Desktop/images/04012025/15/30/image_04012025_15_30_02_968914_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326631571","1326631565","1326631568","1326631576","1326631584","1326631580"],"photo_ids_order":["1326631565","1326631568","1326631571","1326631576","1326631580","1326631584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c6d948162ab6178f9ce2e1f991fb72b4.jpg","text":"TemporaryFile(/tmp/multipartBody131360105293496472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002518087,"filename":"image_04012025_15_29_02_792582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c64a4f9da6176be2fc7ac9fdc94044a3.jpg","text":"TemporaryFile(/tmp/multipartBody1881727584746413051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002518087,"filename":"image_04012025_15_29_02_792582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9d70c275a6f38ca8b6cd65642a9661b1.jpg","text":"TemporaryFile(/tmp/multipartBody4063933932298956091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002518087,"filename":"image_04012025_15_29_02_792582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/408e6e5998a4a5ef98bb6e2ce998ab88.jpg","text":"TemporaryFile(/tmp/multipartBody4870172089710960999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002518087,"filename":"image_04012025_15_30_02_968914_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8bf186e151a774097ee72fc3c8193974.jpg","text":"TemporaryFile(/tmp/multipartBody7042297698393803583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002518087,"filename":"image_04012025_15_30_02_968914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a5f4cfebbb915a2e8109af1fb04584e7.jpg","text":"TemporaryFile(/tmp/multipartBody3990637761669890441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002518087,"filename":"image_04012025_15_30_02_968914_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326631571","file1":"1326631568","file0":"1326631565","file4":"1326631580","file5":"1326631584","file3":"1326631576"},"map_files_photo_id_array":[{"photo_id":"1326631584","filename":"file5"},{"photo_id":"1326631571","filename":"file2"},{"photo_id":"1326631580","filename":"file4"},{"photo_id":"1326631568","filename":"file1"},{"photo_id":"1326631565","filename":"file0"},{"photo_id":"1326631576","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326631571":["hashtag1","hashtag2"]},{"1326631565":["hashtag1","hashtag2"]},{"1326631568":["hashtag1","hashtag2"]},{"1326631576":["hashtag1","hashtag2"]},{"1326631584":["hashtag1","hashtag2"]},{"1326631580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326631571, 1326631565, 1326631568, 1326631576, 1326631584, 1326631580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.057559967041016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:55:03.100470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/30/image_04012025_15_30_02_968914_0003.jpg', '/home/pi/Desktop/images/04012025/15/31/image_04012025_15_31_02_249298_0000.jpg', '/home/pi/Desktop/images/04012025/15/31/image_04012025_15_31_02_249298_0001.jpg', '/home/pi/Desktop/images/04012025/15/31/image_04012025_15_31_02_249298_0002.jpg', '/home/pi/Desktop/images/04012025/15/31/image_04012025_15_31_02_249298_0003.jpg', '/home/pi/Desktop/images/04012025/15/32/image_04012025_15_32_02_459331_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/30/image_04012025_15_30_02_968914_0003.jpg
/home/pi/Desktop/images/04012025/15/31/image_04012025_15_31_02_249298_0000.jpg
/home/pi/Desktop/images/04012025/15/31/image_04012025_15_31_02_249298_0001.jpg
/home/pi/Desktop/images/04012025/15/31/image_04012025_15_31_02_249298_0002.jpg
/home/pi/Desktop/images/04012025/15/31/image_04012025_15_31_02_249298_0003.jpg
/home/pi/Desktop/images/04012025/15/32/image_04012025_15_32_02_459331_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":["1326632108","1326631870","1326632041","1326632055","1326631596","1326631598"],"photo_ids_order":["1326631596","1326631598","1326631870","1326632041","1326632055","1326632108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fdf75af84813012ff842f83e1881bef8.jpg","text":"TemporaryFile(/tmp/multipartBody1352753874417382949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002578402,"filename":"image_04012025_15_32_02_459331_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d5e78d415ae23e5d646e9d39f8aa5666.jpg","text":"TemporaryFile(/tmp/multipartBody2636004530477388642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002578402,"filename":"image_04012025_15_31_02_249298_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d31e5e444ea54fea46086ba2d6ce9eef.jpg","text":"TemporaryFile(/tmp/multipartBody8834324242051903014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002578402,"filename":"image_04012025_15_31_02_249298_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e10682f2a5a42686483c63965e07953e.jpg","text":"TemporaryFile(/tmp/multipartBody633579904164569887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002578402,"filename":"image_04012025_15_31_02_249298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fae2a0a4b8c30544aa3d3cbb846ae5a5.jpg","text":"TemporaryFile(/tmp/multipartBody209877870864236234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002578402,"filename":"image_04012025_15_30_02_968914_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/afcd40ce64edd7a33a9031cdee134f8f.jpg","text":"TemporaryFile(/tmp/multipartBody5007906151911018739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002578402,"filename":"image_04012025_15_31_02_249298_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326631870","file1":"1326631598","file0":"1326631596","file4":"1326632055","file5":"1326632108","file3":"1326632041"},"map_files_photo_id_array":[{"photo_id":"1326632108","filename":"file5"},{"photo_id":"1326631870","filename":"file2"},{"photo_id":"1326632055","filename":"file4"},{"photo_id":"1326631598","filename":"file1"},{"photo_id":"1326631596","filename":"file0"},{"photo_id":"1326632041","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326632108":["hashtag1","hashtag2"]},{"1326631870":["hashtag1","hashtag2"]},{"1326632041":["hashtag1","hashtag2"]},{"1326632055":["hashtag1","hashtag2"]},{"1326631596":["hashtag1","hashtag2"]},{"1326631598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326632108, 1326631870, 1326632041, 1326632055, 1326631596, 1326631598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.398781061172485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:56:03.169613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/32/image_04012025_15_32_02_459331_0001.jpg', '/home/pi/Desktop/images/04012025/15/32/image_04012025_15_32_02_459331_0002.jpg', '/home/pi/Desktop/images/04012025/15/32/image_04012025_15_32_02_459331_0003.jpg', '/home/pi/Desktop/images/04012025/15/33/image_04012025_15_33_02_599804_0000.jpg', '/home/pi/Desktop/images/04012025/15/33/image_04012025_15_33_02_599804_0001.jpg', '/home/pi/Desktop/images/04012025/15/33/image_04012025_15_33_02_599804_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/32/image_04012025_15_32_02_459331_0001.jpg
/home/pi/Desktop/images/04012025/15/32/image_04012025_15_32_02_459331_0002.jpg
/home/pi/Desktop/images/04012025/15/32/image_04012025_15_32_02_459331_0003.jpg
/home/pi/Desktop/images/04012025/15/33/image_04012025_15_33_02_599804_0000.jpg
/home/pi/Desktop/images/04012025/15/33/image_04012025_15_33_02_599804_0001.jpg
/home/pi/Desktop/images/04012025/15/33/image_04012025_15_33_02_599804_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326632275","1326632206","1326632247","1326632448","1326632262","1326632208"],"photo_ids_order":["1326632206","1326632208","1326632247","1326632262","1326632275","1326632448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6130313ba14105e2c17dfe8a3bea379f.jpg","text":"TemporaryFile(/tmp/multipartBody9167092636798012683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002638382,"filename":"image_04012025_15_33_02_599804_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dddb917cc27a1af6a2d5cff736e7908c.jpg","text":"TemporaryFile(/tmp/multipartBody1363303599715650198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002638382,"filename":"image_04012025_15_32_02_459331_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3cb82baf62bfa546f7acd2a3bc7e035e.jpg","text":"TemporaryFile(/tmp/multipartBody4975655985198734436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002638382,"filename":"image_04012025_15_32_02_459331_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d4a5c9fc713643ff72ffe5390d9b1ced.jpg","text":"TemporaryFile(/tmp/multipartBody2684991590493548326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002638382,"filename":"image_04012025_15_33_02_599804_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/151f9f89acb3cdc2eeff10c27b42e197.jpg","text":"TemporaryFile(/tmp/multipartBody2740834809344874366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002638382,"filename":"image_04012025_15_33_02_599804_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0a642b945df0321a14af75a1493de01.jpg","text":"TemporaryFile(/tmp/multipartBody2891928539226048803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002638382,"filename":"image_04012025_15_32_02_459331_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326632247","file1":"1326632208","file0":"1326632206","file4":"1326632275","file5":"1326632448","file3":"1326632262"},"map_files_photo_id_array":[{"photo_id":"1326632448","filename":"file5"},{"photo_id":"1326632247","filename":"file2"},{"photo_id":"1326632275","filename":"file4"},{"photo_id":"1326632208","filename":"file1"},{"photo_id":"1326632206","filename":"file0"},{"photo_id":"1326632262","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326632275":["hashtag1","hashtag2"]},{"1326632206":["hashtag1","hashtag2"]},{"1326632247":["hashtag1","hashtag2"]},{"1326632448":["hashtag1","hashtag2"]},{"1326632262":["hashtag1","hashtag2"]},{"1326632208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326632275, 1326632206, 1326632247, 1326632448, 1326632262, 1326632208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.61330819129944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:57:02.472205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/33/image_04012025_15_33_02_599804_0003.jpg', '/home/pi/Desktop/images/04012025/15/34/image_04012025_15_34_02_750953_0000.jpg', '/home/pi/Desktop/images/04012025/15/34/image_04012025_15_34_02_750953_0001.jpg', '/home/pi/Desktop/images/04012025/15/34/image_04012025_15_34_02_750953_0002.jpg', '/home/pi/Desktop/images/04012025/15/34/image_04012025_15_34_02_750953_0003.jpg', '/home/pi/Desktop/images/04012025/15/35/image_04012025_15_35_03_004415_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/33/image_04012025_15_33_02_599804_0003.jpg
/home/pi/Desktop/images/04012025/15/34/image_04012025_15_34_02_750953_0000.jpg
/home/pi/Desktop/images/04012025/15/34/image_04012025_15_34_02_750953_0001.jpg
/home/pi/Desktop/images/04012025/15/34/image_04012025_15_34_02_750953_0002.jpg
/home/pi/Desktop/images/04012025/15/34/image_04012025_15_34_02_750953_0003.jpg
/home/pi/Desktop/images/04012025/15/35/image_04012025_15_35_03_004415_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":["1326633424","1326633357","1326633465","1326633470","1326633467","1326633475"],"photo_ids_order":["1326633357","1326633424","1326633465","1326633467","1326633470","1326633475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4aadec221e44a145dbfdb115238e7b3b.jpg","text":"TemporaryFile(/tmp/multipartBody4335710261368652390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002697742,"filename":"image_04012025_15_34_02_750953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4212cd42e55df6f43a11fb8cfa872b37.jpg","text":"TemporaryFile(/tmp/multipartBody8434859669276664114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002697742,"filename":"image_04012025_15_33_02_599804_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4b7b3d3c8e5973560e53f7e39ddbbd44.jpg","text":"TemporaryFile(/tmp/multipartBody7217723598064513205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002697742,"filename":"image_04012025_15_34_02_750953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9435e39cc8f2da758bea13915eec32fa.jpg","text":"TemporaryFile(/tmp/multipartBody2670543542908483691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002697742,"filename":"image_04012025_15_34_02_750953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/90e179a216c33fe9cccb0639adf730de.jpg","text":"TemporaryFile(/tmp/multipartBody815247170252140078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002697742,"filename":"image_04012025_15_34_02_750953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/79193466036fe129a5e67b7866720204.jpg","text":"TemporaryFile(/tmp/multipartBody7130390841784886914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002697742,"filename":"image_04012025_15_35_03_004415_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326633465","file1":"1326633424","file0":"1326633357","file4":"1326633470","file5":"1326633475","file3":"1326633467"},"map_files_photo_id_array":[{"photo_id":"1326633475","filename":"file5"},{"photo_id":"1326633465","filename":"file2"},{"photo_id":"1326633470","filename":"file4"},{"photo_id":"1326633424","filename":"file1"},{"photo_id":"1326633357","filename":"file0"},{"photo_id":"1326633467","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326633424":["hashtag1","hashtag2"]},{"1326633357":["hashtag1","hashtag2"]},{"1326633465":["hashtag1","hashtag2"]},{"1326633470":["hashtag1","hashtag2"]},{"1326633467":["hashtag1","hashtag2"]},{"1326633475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326633424, 1326633357, 1326633465, 1326633470, 1326633467, 1326633475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.539658546447754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 15:59:02.855577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/35/image_04012025_15_35_03_004415_0001.jpg', '/home/pi/Desktop/images/04012025/15/35/image_04012025_15_35_03_004415_0002.jpg', '/home/pi/Desktop/images/04012025/15/35/image_04012025_15_35_03_004415_0003.jpg', '/home/pi/Desktop/images/04012025/15/36/image_04012025_15_36_02_168771_0000.jpg', '/home/pi/Desktop/images/04012025/15/36/image_04012025_15_36_02_168771_0001.jpg', '/home/pi/Desktop/images/04012025/15/36/image_04012025_15_36_02_168771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/35/image_04012025_15_35_03_004415_0001.jpg
/home/pi/Desktop/images/04012025/15/35/image_04012025_15_35_03_004415_0002.jpg
/home/pi/Desktop/images/04012025/15/35/image_04012025_15_35_03_004415_0003.jpg
/home/pi/Desktop/images/04012025/15/36/image_04012025_15_36_02_168771_0000.jpg
/home/pi/Desktop/images/04012025/15/36/image_04012025_15_36_02_168771_0001.jpg
/home/pi/Desktop/images/04012025/15/36/image_04012025_15_36_02_168771_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326635256","1326635249","1326635219","1326635167","1326635254","1326635259"],"photo_ids_order":["1326635167","1326635219","1326635249","1326635254","1326635256","1326635259"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0f47d40f3f0e091424925178774a50a.jpg","text":"TemporaryFile(/tmp/multipartBody5503350001183005507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002818215,"filename":"image_04012025_15_36_02_168771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/76cd8d2260c6215392e53a8b17dc0264.jpg","text":"TemporaryFile(/tmp/multipartBody4518227298049620837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002818215,"filename":"image_04012025_15_35_03_004415_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4b659882041c511d938e5b47ecb82d50.jpg","text":"TemporaryFile(/tmp/multipartBody2292038165745778554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002818215,"filename":"image_04012025_15_35_03_004415_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cd924ec7dceeceb95c1c14e6ce0af1f1.jpg","text":"TemporaryFile(/tmp/multipartBody4730497080563821956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002818215,"filename":"image_04012025_15_35_03_004415_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9f44bd1a2dce746198c5395dd7c10910.jpg","text":"TemporaryFile(/tmp/multipartBody3866940453971652656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002818215,"filename":"image_04012025_15_36_02_168771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7442035b3ef2399935413d571c4e71f1.jpg","text":"TemporaryFile(/tmp/multipartBody8238486067624284806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002818215,"filename":"image_04012025_15_36_02_168771_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326635249","file1":"1326635219","file0":"1326635167","file4":"1326635256","file5":"1326635259","file3":"1326635254"},"map_files_photo_id_array":[{"photo_id":"1326635259","filename":"file5"},{"photo_id":"1326635249","filename":"file2"},{"photo_id":"1326635256","filename":"file4"},{"photo_id":"1326635219","filename":"file1"},{"photo_id":"1326635167","filename":"file0"},{"photo_id":"1326635254","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326635256":["hashtag1","hashtag2"]},{"1326635249":["hashtag1","hashtag2"]},{"1326635219":["hashtag1","hashtag2"]},{"1326635167":["hashtag1","hashtag2"]},{"1326635254":["hashtag1","hashtag2"]},{"1326635259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326635256, 1326635249, 1326635219, 1326635167, 1326635254, 1326635259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.74108409881592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 16:00:02.845199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/36/image_04012025_15_36_02_168771_0003.jpg', '/home/pi/Desktop/images/04012025/15/37/image_04012025_15_37_02_367840_0000.jpg', '/home/pi/Desktop/images/04012025/15/37/image_04012025_15_37_02_367840_0001.jpg', '/home/pi/Desktop/images/04012025/15/37/image_04012025_15_37_02_367840_0002.jpg', '/home/pi/Desktop/images/04012025/15/37/image_04012025_15_37_02_367840_0003.jpg', '/home/pi/Desktop/images/04012025/15/38/image_04012025_15_38_02_584605_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/36/image_04012025_15_36_02_168771_0003.jpg
/home/pi/Desktop/images/04012025/15/37/image_04012025_15_37_02_367840_0000.jpg
/home/pi/Desktop/images/04012025/15/37/image_04012025_15_37_02_367840_0001.jpg
/home/pi/Desktop/images/04012025/15/37/image_04012025_15_37_02_367840_0002.jpg
/home/pi/Desktop/images/04012025/15/37/image_04012025_15_37_02_367840_0003.jpg
/home/pi/Desktop/images/04012025/15/38/image_04012025_15_38_02_584605_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.942155838012695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:00:22.568536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/36/image_04012025_15_36_02_168771_0003.jpg', '/home/pi/Desktop/images/04012025/15/37/image_04012025_15_37_02_367840_0000.jpg', '/home/pi/Desktop/images/04012025/15/37/image_04012025_15_37_02_367840_0001.jpg', '/home/pi/Desktop/images/04012025/15/37/image_04012025_15_37_02_367840_0002.jpg', '/home/pi/Desktop/images/04012025/15/37/image_04012025_15_37_02_367840_0003.jpg', '/home/pi/Desktop/images/04012025/15/38/image_04012025_15_38_02_584605_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/36/image_04012025_15_36_02_168771_0003.jpg
/home/pi/Desktop/images/04012025/15/37/image_04012025_15_37_02_367840_0000.jpg
/home/pi/Desktop/images/04012025/15/37/image_04012025_15_37_02_367840_0001.jpg
/home/pi/Desktop/images/04012025/15/37/image_04012025_15_37_02_367840_0002.jpg
/home/pi/Desktop/images/04012025/15/37/image_04012025_15_37_02_367840_0003.jpg
/home/pi/Desktop/images/04012025/15/38/image_04012025_15_38_02_584605_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":["1326635832","1326635687","1326635702","1326635833","1326635775","1326635682"],"photo_ids_order":["1326635682","1326635687","1326635702","1326635775","1326635832","1326635833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ecee88b854fb3461045d8a85e89f94c6.jpg","text":"TemporaryFile(/tmp/multipartBody5111785762731287857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002897860,"filename":"image_04012025_15_37_02_367840_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/08c963eb49911a23767395e1bf4be61c.jpg","text":"TemporaryFile(/tmp/multipartBody3385758727051825742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002897860,"filename":"image_04012025_15_37_02_367840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c76644c724fe6b2e2e1f683514e69e86.jpg","text":"TemporaryFile(/tmp/multipartBody7922504297954286896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002897860,"filename":"image_04012025_15_37_02_367840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/197f46ee4bccbc55acf69686bf2b9c3f.jpg","text":"TemporaryFile(/tmp/multipartBody8414844340759637060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002897860,"filename":"image_04012025_15_38_02_584605_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f25049ef622bba72d50b7712d060e70e.jpg","text":"TemporaryFile(/tmp/multipartBody983858342880856481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002897860,"filename":"image_04012025_15_37_02_367840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a6a30e43942a3fe10ac02c0f01b71eb1.jpg","text":"TemporaryFile(/tmp/multipartBody4195577341181658534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002897860,"filename":"image_04012025_15_36_02_168771_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326635702","file1":"1326635687","file0":"1326635682","file4":"1326635832","file5":"1326635833","file3":"1326635775"},"map_files_photo_id_array":[{"photo_id":"1326635833","filename":"file5"},{"photo_id":"1326635702","filename":"file2"},{"photo_id":"1326635832","filename":"file4"},{"photo_id":"1326635687","filename":"file1"},{"photo_id":"1326635682","filename":"file0"},{"photo_id":"1326635775","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326635832":["hashtag1","hashtag2"]},{"1326635687":["hashtag1","hashtag2"]},{"1326635702":["hashtag1","hashtag2"]},{"1326635833":["hashtag1","hashtag2"]},{"1326635775":["hashtag1","hashtag2"]},{"1326635682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326635832, 1326635687, 1326635702, 1326635833, 1326635775, 1326635682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.130614042282104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:01:22.695576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/38/image_04012025_15_38_02_584605_0001.jpg', '/home/pi/Desktop/images/04012025/15/38/image_04012025_15_38_02_584605_0002.jpg', '/home/pi/Desktop/images/04012025/15/38/image_04012025_15_38_02_584605_0003.jpg', '/home/pi/Desktop/images/04012025/15/39/image_04012025_15_39_02_660434_0000.jpg', '/home/pi/Desktop/images/04012025/15/39/image_04012025_15_39_02_660434_0001.jpg', '/home/pi/Desktop/images/04012025/15/39/image_04012025_15_39_02_660434_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/38/image_04012025_15_38_02_584605_0001.jpg
/home/pi/Desktop/images/04012025/15/38/image_04012025_15_38_02_584605_0002.jpg
/home/pi/Desktop/images/04012025/15/38/image_04012025_15_38_02_584605_0003.jpg
/home/pi/Desktop/images/04012025/15/39/image_04012025_15_39_02_660434_0000.jpg
/home/pi/Desktop/images/04012025/15/39/image_04012025_15_39_02_660434_0001.jpg
/home/pi/Desktop/images/04012025/15/39/image_04012025_15_39_02_660434_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326636773","1326636674","1326636902","1326636604","1326636808","1326636777"],"photo_ids_order":["1326636604","1326636674","1326636773","1326636777","1326636808","1326636902"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a5d1c20f66b93419b4d39c93dff858f6.jpg","text":"TemporaryFile(/tmp/multipartBody1096864930121511251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002958018,"filename":"image_04012025_15_38_02_584605_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3134e736f430acc2047aaead77ba2b3c.jpg","text":"TemporaryFile(/tmp/multipartBody2692448363818136879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002958018,"filename":"image_04012025_15_38_02_584605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e2ae9c8e8f3ae00492a4e788a9467db1.jpg","text":"TemporaryFile(/tmp/multipartBody2826735763331857859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002958018,"filename":"image_04012025_15_39_02_660434_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fbf08016f227b55d9a2ac6e4e29236f5.jpg","text":"TemporaryFile(/tmp/multipartBody7960490634428489880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002958018,"filename":"image_04012025_15_38_02_584605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3682a4a73a5d84f9184593c3da9dd0ad.jpg","text":"TemporaryFile(/tmp/multipartBody2228140230609767161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002958018,"filename":"image_04012025_15_39_02_660434_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8eb8ddb90f08a329a75e325c1f514499.jpg","text":"TemporaryFile(/tmp/multipartBody6834102956804121720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736002958018,"filename":"image_04012025_15_39_02_660434_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326636773","file1":"1326636674","file0":"1326636604","file4":"1326636808","file5":"1326636902","file3":"1326636777"},"map_files_photo_id_array":[{"photo_id":"1326636902","filename":"file5"},{"photo_id":"1326636773","filename":"file2"},{"photo_id":"1326636808","filename":"file4"},{"photo_id":"1326636674","filename":"file1"},{"photo_id":"1326636604","filename":"file0"},{"photo_id":"1326636777","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326636773":["hashtag1","hashtag2"]},{"1326636674":["hashtag1","hashtag2"]},{"1326636902":["hashtag1","hashtag2"]},{"1326636604":["hashtag1","hashtag2"]},{"1326636808":["hashtag1","hashtag2"]},{"1326636777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326636773, 1326636674, 1326636902, 1326636604, 1326636808, 1326636777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.375301122665405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:02:21.839835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/39/image_04012025_15_39_02_660434_0003.jpg', '/home/pi/Desktop/images/04012025/15/40/image_04012025_15_40_02_858086_0000.jpg', '/home/pi/Desktop/images/04012025/15/40/image_04012025_15_40_02_858086_0001.jpg', '/home/pi/Desktop/images/04012025/15/40/image_04012025_15_40_02_858086_0002.jpg', '/home/pi/Desktop/images/04012025/15/40/image_04012025_15_40_02_858086_0003.jpg', '/home/pi/Desktop/images/04012025/15/41/image_04012025_15_41_03_021775_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/39/image_04012025_15_39_02_660434_0003.jpg
/home/pi/Desktop/images/04012025/15/40/image_04012025_15_40_02_858086_0000.jpg
/home/pi/Desktop/images/04012025/15/40/image_04012025_15_40_02_858086_0001.jpg
/home/pi/Desktop/images/04012025/15/40/image_04012025_15_40_02_858086_0002.jpg
/home/pi/Desktop/images/04012025/15/40/image_04012025_15_40_02_858086_0003.jpg
/home/pi/Desktop/images/04012025/15/41/image_04012025_15_41_03_021775_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.864229440689087 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 16:02:41.826527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/39/image_04012025_15_39_02_660434_0003.jpg', '/home/pi/Desktop/images/04012025/15/40/image_04012025_15_40_02_858086_0000.jpg', '/home/pi/Desktop/images/04012025/15/40/image_04012025_15_40_02_858086_0001.jpg', '/home/pi/Desktop/images/04012025/15/40/image_04012025_15_40_02_858086_0002.jpg', '/home/pi/Desktop/images/04012025/15/40/image_04012025_15_40_02_858086_0003.jpg', '/home/pi/Desktop/images/04012025/15/41/image_04012025_15_41_03_021775_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/39/image_04012025_15_39_02_660434_0003.jpg
/home/pi/Desktop/images/04012025/15/40/image_04012025_15_40_02_858086_0000.jpg
/home/pi/Desktop/images/04012025/15/40/image_04012025_15_40_02_858086_0001.jpg
/home/pi/Desktop/images/04012025/15/40/image_04012025_15_40_02_858086_0002.jpg
/home/pi/Desktop/images/04012025/15/40/image_04012025_15_40_02_858086_0003.jpg
/home/pi/Desktop/images/04012025/15/41/image_04012025_15_41_03_021775_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":["1326637412","1326637415","1326637390","1326637417","1326637414","1326637413"],"photo_ids_order":["1326637390","1326637412","1326637413","1326637414","1326637415","1326637417"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8883a3a07d3aa9f633245da0ab97675b.jpg","text":"TemporaryFile(/tmp/multipartBody5494941690179445608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003037075,"filename":"image_04012025_15_40_02_858086_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bfee412fabd5cd9ea6fc9b9bf79afd51.jpg","text":"TemporaryFile(/tmp/multipartBody5494519553383360562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003037075,"filename":"image_04012025_15_40_02_858086_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/daf19ee412da2e20b66ff2befc6cf71a.jpg","text":"TemporaryFile(/tmp/multipartBody5154739548195112363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003037075,"filename":"image_04012025_15_39_02_660434_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0a8a42bde9b428cec06f262e55e7384a.jpg","text":"TemporaryFile(/tmp/multipartBody6154928623732969777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003037075,"filename":"image_04012025_15_41_03_021775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/510429c239cac8fa1bfa1d1c0b896d06.jpg","text":"TemporaryFile(/tmp/multipartBody890914445091168200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003037075,"filename":"image_04012025_15_40_02_858086_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db2c53bea94739a9e00498b1721b694d.jpg","text":"TemporaryFile(/tmp/multipartBody3775896233993159285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003037075,"filename":"image_04012025_15_40_02_858086_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326637413","file1":"1326637412","file0":"1326637390","file4":"1326637415","file5":"1326637417","file3":"1326637414"},"map_files_photo_id_array":[{"photo_id":"1326637417","filename":"file5"},{"photo_id":"1326637413","filename":"file2"},{"photo_id":"1326637415","filename":"file4"},{"photo_id":"1326637412","filename":"file1"},{"photo_id":"1326637390","filename":"file0"},{"photo_id":"1326637414","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326637412":["hashtag1","hashtag2"]},{"1326637415":["hashtag1","hashtag2"]},{"1326637390":["hashtag1","hashtag2"]},{"1326637417":["hashtag1","hashtag2"]},{"1326637414":["hashtag1","hashtag2"]},{"1326637413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326637412, 1326637415, 1326637390, 1326637417, 1326637414, 1326637413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.65086388587952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 16:03:42.060960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/41/image_04012025_15_41_03_021775_0001.jpg', '/home/pi/Desktop/images/04012025/15/41/image_04012025_15_41_03_021775_0002.jpg', '/home/pi/Desktop/images/04012025/15/41/image_04012025_15_41_03_021775_0003.jpg', '/home/pi/Desktop/images/04012025/15/42/image_04012025_15_42_02_169848_0000.jpg', '/home/pi/Desktop/images/04012025/15/42/image_04012025_15_42_02_169848_0001.jpg', '/home/pi/Desktop/images/04012025/15/42/image_04012025_15_42_02_169848_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/41/image_04012025_15_41_03_021775_0001.jpg
/home/pi/Desktop/images/04012025/15/41/image_04012025_15_41_03_021775_0002.jpg
/home/pi/Desktop/images/04012025/15/41/image_04012025_15_41_03_021775_0003.jpg
/home/pi/Desktop/images/04012025/15/42/image_04012025_15_42_02_169848_0000.jpg
/home/pi/Desktop/images/04012025/15/42/image_04012025_15_42_02_169848_0001.jpg
/home/pi/Desktop/images/04012025/15/42/image_04012025_15_42_02_169848_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.78378963470459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 16:04:02.597275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/41/image_04012025_15_41_03_021775_0001.jpg', '/home/pi/Desktop/images/04012025/15/41/image_04012025_15_41_03_021775_0002.jpg', '/home/pi/Desktop/images/04012025/15/41/image_04012025_15_41_03_021775_0003.jpg', '/home/pi/Desktop/images/04012025/15/42/image_04012025_15_42_02_169848_0000.jpg', '/home/pi/Desktop/images/04012025/15/42/image_04012025_15_42_02_169848_0001.jpg', '/home/pi/Desktop/images/04012025/15/42/image_04012025_15_42_02_169848_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/41/image_04012025_15_41_03_021775_0001.jpg
/home/pi/Desktop/images/04012025/15/41/image_04012025_15_41_03_021775_0002.jpg
/home/pi/Desktop/images/04012025/15/41/image_04012025_15_41_03_021775_0003.jpg
/home/pi/Desktop/images/04012025/15/42/image_04012025_15_42_02_169848_0000.jpg
/home/pi/Desktop/images/04012025/15/42/image_04012025_15_42_02_169848_0001.jpg
/home/pi/Desktop/images/04012025/15/42/image_04012025_15_42_02_169848_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326638134","1326638130","1326638124","1326638028","1326638090","1326638147"],"photo_ids_order":["1326638028","1326638090","1326638124","1326638130","1326638134","1326638147"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce6e6fb90ca309486916db6f8c4c82e0.jpg","text":"TemporaryFile(/tmp/multipartBody383339250589342098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003117832,"filename":"image_04012025_15_42_02_169848_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/960487341dceb7948fccd5d0a1db6581.jpg","text":"TemporaryFile(/tmp/multipartBody2020320094852363849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003117832,"filename":"image_04012025_15_42_02_169848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bc7c1fd37498e97801ed3dc96ce8ac28.jpg","text":"TemporaryFile(/tmp/multipartBody6577842827414822359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003117832,"filename":"image_04012025_15_41_03_021775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db0853f0a33ab4483d36988b05b893fb.jpg","text":"TemporaryFile(/tmp/multipartBody4033234407938487706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003117832,"filename":"image_04012025_15_41_03_021775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0700347c07ea9d105569c242a8d95e3.jpg","text":"TemporaryFile(/tmp/multipartBody5270918884950974404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003117832,"filename":"image_04012025_15_41_03_021775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c4d19dc95bb500b763469205ebd5ce4f.jpg","text":"TemporaryFile(/tmp/multipartBody6932617902433139791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003117832,"filename":"image_04012025_15_42_02_169848_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326638124","file1":"1326638090","file0":"1326638028","file4":"1326638134","file5":"1326638147","file3":"1326638130"},"map_files_photo_id_array":[{"photo_id":"1326638147","filename":"file5"},{"photo_id":"1326638124","filename":"file2"},{"photo_id":"1326638134","filename":"file4"},{"photo_id":"1326638090","filename":"file1"},{"photo_id":"1326638028","filename":"file0"},{"photo_id":"1326638130","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326638134":["hashtag1","hashtag2"]},{"1326638130":["hashtag1","hashtag2"]},{"1326638124":["hashtag1","hashtag2"]},{"1326638028":["hashtag1","hashtag2"]},{"1326638090":["hashtag1","hashtag2"]},{"1326638147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326638134, 1326638130, 1326638124, 1326638028, 1326638090, 1326638147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.69325304031372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 16:05:03.034460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/43/image_04012025_15_43_02_434277_0000.jpg', '/home/pi/Desktop/images/04012025/15/43/image_04012025_15_43_02_434277_0001.jpg', '/home/pi/Desktop/images/04012025/15/43/image_04012025_15_43_02_434277_0002.jpg', '/home/pi/Desktop/images/04012025/15/43/image_04012025_15_43_02_434277_0003.jpg', '/home/pi/Desktop/images/04012025/15/44/image_04012025_15_44_02_570181_0000.jpg', '/home/pi/Desktop/images/04012025/15/44/image_04012025_15_44_02_570181_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/43/image_04012025_15_43_02_434277_0000.jpg
/home/pi/Desktop/images/04012025/15/43/image_04012025_15_43_02_434277_0001.jpg
/home/pi/Desktop/images/04012025/15/43/image_04012025_15_43_02_434277_0002.jpg
/home/pi/Desktop/images/04012025/15/43/image_04012025_15_43_02_434277_0003.jpg
/home/pi/Desktop/images/04012025/15/44/image_04012025_15_44_02_570181_0000.jpg
/home/pi/Desktop/images/04012025/15/44/image_04012025_15_44_02_570181_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.716468811035156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:05:22.355844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/43/image_04012025_15_43_02_434277_0000.jpg', '/home/pi/Desktop/images/04012025/15/43/image_04012025_15_43_02_434277_0001.jpg', '/home/pi/Desktop/images/04012025/15/43/image_04012025_15_43_02_434277_0002.jpg', '/home/pi/Desktop/images/04012025/15/43/image_04012025_15_43_02_434277_0003.jpg', '/home/pi/Desktop/images/04012025/15/44/image_04012025_15_44_02_570181_0000.jpg', '/home/pi/Desktop/images/04012025/15/44/image_04012025_15_44_02_570181_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/43/image_04012025_15_43_02_434277_0000.jpg
/home/pi/Desktop/images/04012025/15/43/image_04012025_15_43_02_434277_0001.jpg
/home/pi/Desktop/images/04012025/15/43/image_04012025_15_43_02_434277_0002.jpg
/home/pi/Desktop/images/04012025/15/43/image_04012025_15_43_02_434277_0003.jpg
/home/pi/Desktop/images/04012025/15/44/image_04012025_15_44_02_570181_0000.jpg
/home/pi/Desktop/images/04012025/15/44/image_04012025_15_44_02_570181_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326639424","1326639274","1326639486","1326639403","1326639294","1326639216"],"photo_ids_order":["1326639216","1326639274","1326639294","1326639403","1326639424","1326639486"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c7bd41493d05764c155233f5722ec6c9.jpg","text":"TemporaryFile(/tmp/multipartBody3869248610504704245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003197439,"filename":"image_04012025_15_44_02_570181_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f4384b0538487dc9fae362f5a8a456b.jpg","text":"TemporaryFile(/tmp/multipartBody6003612498021082423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003197439,"filename":"image_04012025_15_43_02_434277_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d79e0ac83a2f1ffb04df9586e87a5348.jpg","text":"TemporaryFile(/tmp/multipartBody4883676565092488692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003197439,"filename":"image_04012025_15_44_02_570181_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/107ccc54ffedff397ca6abc772272550.jpg","text":"TemporaryFile(/tmp/multipartBody3585177988250283937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003197439,"filename":"image_04012025_15_43_02_434277_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4d91d9343ff8d3b31da28d4be1d49381.jpg","text":"TemporaryFile(/tmp/multipartBody5641169748828093418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003197439,"filename":"image_04012025_15_43_02_434277_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/63435a7a542147ebfd0af8471f60d469.jpg","text":"TemporaryFile(/tmp/multipartBody2753150417517130634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003197439,"filename":"image_04012025_15_43_02_434277_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326639294","file1":"1326639274","file0":"1326639216","file4":"1326639424","file5":"1326639486","file3":"1326639403"},"map_files_photo_id_array":[{"photo_id":"1326639486","filename":"file5"},{"photo_id":"1326639294","filename":"file2"},{"photo_id":"1326639424","filename":"file4"},{"photo_id":"1326639274","filename":"file1"},{"photo_id":"1326639216","filename":"file0"},{"photo_id":"1326639403","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326639424":["hashtag1","hashtag2"]},{"1326639274":["hashtag1","hashtag2"]},{"1326639486":["hashtag1","hashtag2"]},{"1326639403":["hashtag1","hashtag2"]},{"1326639294":["hashtag1","hashtag2"]},{"1326639216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326639424, 1326639274, 1326639486, 1326639403, 1326639294, 1326639216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.649086475372314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 16:06:32.569260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/44/image_04012025_15_44_02_570181_0002.jpg', '/home/pi/Desktop/images/04012025/15/44/image_04012025_15_44_02_570181_0003.jpg', '/home/pi/Desktop/images/04012025/15/45/image_04012025_15_45_02_773627_0000.jpg', '/home/pi/Desktop/images/04012025/15/45/image_04012025_15_45_02_773627_0001.jpg', '/home/pi/Desktop/images/04012025/15/45/image_04012025_15_45_02_773627_0002.jpg', '/home/pi/Desktop/images/04012025/15/45/image_04012025_15_45_02_773627_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/44/image_04012025_15_44_02_570181_0002.jpg
/home/pi/Desktop/images/04012025/15/44/image_04012025_15_44_02_570181_0003.jpg
/home/pi/Desktop/images/04012025/15/45/image_04012025_15_45_02_773627_0000.jpg
/home/pi/Desktop/images/04012025/15/45/image_04012025_15_45_02_773627_0001.jpg
/home/pi/Desktop/images/04012025/15/45/image_04012025_15_45_02_773627_0002.jpg
/home/pi/Desktop/images/04012025/15/45/image_04012025_15_45_02_773627_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.835492134094238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 16:06:52.542577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/44/image_04012025_15_44_02_570181_0002.jpg', '/home/pi/Desktop/images/04012025/15/44/image_04012025_15_44_02_570181_0003.jpg', '/home/pi/Desktop/images/04012025/15/45/image_04012025_15_45_02_773627_0000.jpg', '/home/pi/Desktop/images/04012025/15/45/image_04012025_15_45_02_773627_0001.jpg', '/home/pi/Desktop/images/04012025/15/45/image_04012025_15_45_02_773627_0002.jpg', '/home/pi/Desktop/images/04012025/15/45/image_04012025_15_45_02_773627_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/44/image_04012025_15_44_02_570181_0002.jpg
/home/pi/Desktop/images/04012025/15/44/image_04012025_15_44_02_570181_0003.jpg
/home/pi/Desktop/images/04012025/15/45/image_04012025_15_45_02_773627_0000.jpg
/home/pi/Desktop/images/04012025/15/45/image_04012025_15_45_02_773627_0001.jpg
/home/pi/Desktop/images/04012025/15/45/image_04012025_15_45_02_773627_0002.jpg
/home/pi/Desktop/images/04012025/15/45/image_04012025_15_45_02_773627_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":["1326639753","1326639738","1326639776","1326639755","1326639746","1326639694"],"photo_ids_order":["1326639694","1326639738","1326639746","1326639753","1326639755","1326639776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4d670dbc7658cb85e8ca1a262e9f39ac.jpg","text":"TemporaryFile(/tmp/multipartBody7890812282219012622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003287726,"filename":"image_04012025_15_45_02_773627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e190ca979d7245c660c61d0c8a108b5f.jpg","text":"TemporaryFile(/tmp/multipartBody7481276773577861852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003287726,"filename":"image_04012025_15_44_02_570181_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f860287794573c902802f370d585391a.jpg","text":"TemporaryFile(/tmp/multipartBody4113331761705194584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003287726,"filename":"image_04012025_15_45_02_773627_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca009985babedb95b3384e48d30626a8.jpg","text":"TemporaryFile(/tmp/multipartBody5593979827313915861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003287726,"filename":"image_04012025_15_45_02_773627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/37080e4c383d2ae8c7eaa8809b235280.jpg","text":"TemporaryFile(/tmp/multipartBody4107389251326313073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003287726,"filename":"image_04012025_15_45_02_773627_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/359e37d17d4c7274fb1995cb5a5c4a00.jpg","text":"TemporaryFile(/tmp/multipartBody7695456045466879065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003287726,"filename":"image_04012025_15_44_02_570181_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326639746","file1":"1326639738","file0":"1326639694","file4":"1326639755","file5":"1326639776","file3":"1326639753"},"map_files_photo_id_array":[{"photo_id":"1326639776","filename":"file5"},{"photo_id":"1326639746","filename":"file2"},{"photo_id":"1326639755","filename":"file4"},{"photo_id":"1326639738","filename":"file1"},{"photo_id":"1326639694","filename":"file0"},{"photo_id":"1326639753","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326639753":["hashtag1","hashtag2"]},{"1326639738":["hashtag1","hashtag2"]},{"1326639776":["hashtag1","hashtag2"]},{"1326639755":["hashtag1","hashtag2"]},{"1326639746":["hashtag1","hashtag2"]},{"1326639694":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326639753, 1326639738, 1326639776, 1326639755, 1326639746, 1326639694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.44231176376343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 16:07:52.696579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/46/image_04012025_15_46_03_091538_0000.jpg', '/home/pi/Desktop/images/04012025/15/46/image_04012025_15_46_03_091538_0001.jpg', '/home/pi/Desktop/images/04012025/15/46/image_04012025_15_46_03_091538_0002.jpg', '/home/pi/Desktop/images/04012025/15/46/image_04012025_15_46_03_091538_0003.jpg', '/home/pi/Desktop/images/04012025/15/47/image_04012025_15_47_02_150997_0000.jpg', '/home/pi/Desktop/images/04012025/15/47/image_04012025_15_47_02_150997_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/46/image_04012025_15_46_03_091538_0000.jpg
/home/pi/Desktop/images/04012025/15/46/image_04012025_15_46_03_091538_0001.jpg
/home/pi/Desktop/images/04012025/15/46/image_04012025_15_46_03_091538_0002.jpg
/home/pi/Desktop/images/04012025/15/46/image_04012025_15_46_03_091538_0003.jpg
/home/pi/Desktop/images/04012025/15/47/image_04012025_15_47_02_150997_0000.jpg
/home/pi/Desktop/images/04012025/15/47/image_04012025_15_47_02_150997_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.044136047363281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:08:21.871918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/46/image_04012025_15_46_03_091538_0000.jpg', '/home/pi/Desktop/images/04012025/15/46/image_04012025_15_46_03_091538_0001.jpg', '/home/pi/Desktop/images/04012025/15/46/image_04012025_15_46_03_091538_0002.jpg', '/home/pi/Desktop/images/04012025/15/46/image_04012025_15_46_03_091538_0003.jpg', '/home/pi/Desktop/images/04012025/15/47/image_04012025_15_47_02_150997_0000.jpg', '/home/pi/Desktop/images/04012025/15/47/image_04012025_15_47_02_150997_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/46/image_04012025_15_46_03_091538_0000.jpg
/home/pi/Desktop/images/04012025/15/46/image_04012025_15_46_03_091538_0001.jpg
/home/pi/Desktop/images/04012025/15/46/image_04012025_15_46_03_091538_0002.jpg
/home/pi/Desktop/images/04012025/15/46/image_04012025_15_46_03_091538_0003.jpg
/home/pi/Desktop/images/04012025/15/47/image_04012025_15_47_02_150997_0000.jpg
/home/pi/Desktop/images/04012025/15/47/image_04012025_15_47_02_150997_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":["1326640147","1326640149","1326640140","1326640143","1326640137","1326640145"],"photo_ids_order":["1326640137","1326640140","1326640143","1326640145","1326640147","1326640149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/54d39ccb26b0f025c168528ddc2bf2b4.jpg","text":"TemporaryFile(/tmp/multipartBody8547251132140143461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003377329,"filename":"image_04012025_15_47_02_150997_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7fdbdffc95eda9517609af4c3f70abce.jpg","text":"TemporaryFile(/tmp/multipartBody1481221374520735531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003377329,"filename":"image_04012025_15_47_02_150997_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0b07682e4449d2f25bfe16f899e7a48b.jpg","text":"TemporaryFile(/tmp/multipartBody3024678889133733714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003377329,"filename":"image_04012025_15_46_03_091538_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b44a25af4406b2344d44a6215515fcad.jpg","text":"TemporaryFile(/tmp/multipartBody7277966991221670615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003377329,"filename":"image_04012025_15_46_03_091538_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1c54eb1c76b5812b8f0e27bacb99527d.jpg","text":"TemporaryFile(/tmp/multipartBody9174780811448846314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003377329,"filename":"image_04012025_15_46_03_091538_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5d812c4a1e221cfb1ec866443566c2bd.jpg","text":"TemporaryFile(/tmp/multipartBody2761477476242786525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003377329,"filename":"image_04012025_15_46_03_091538_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326640143","file1":"1326640140","file0":"1326640137","file4":"1326640147","file5":"1326640149","file3":"1326640145"},"map_files_photo_id_array":[{"photo_id":"1326640149","filename":"file5"},{"photo_id":"1326640143","filename":"file2"},{"photo_id":"1326640147","filename":"file4"},{"photo_id":"1326640140","filename":"file1"},{"photo_id":"1326640137","filename":"file0"},{"photo_id":"1326640145","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326640147":["hashtag1","hashtag2"]},{"1326640149":["hashtag1","hashtag2"]},{"1326640140":["hashtag1","hashtag2"]},{"1326640143":["hashtag1","hashtag2"]},{"1326640137":["hashtag1","hashtag2"]},{"1326640145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326640147, 1326640149, 1326640140, 1326640143, 1326640137, 1326640145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.48910331726074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:09:22.081422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/47/image_04012025_15_47_02_150997_0002.jpg', '/home/pi/Desktop/images/04012025/15/47/image_04012025_15_47_02_150997_0003.jpg', '/home/pi/Desktop/images/04012025/15/48/image_04012025_15_48_02_450081_0000.jpg', '/home/pi/Desktop/images/04012025/15/48/image_04012025_15_48_02_450081_0001.jpg', '/home/pi/Desktop/images/04012025/15/48/image_04012025_15_48_02_450081_0002.jpg', '/home/pi/Desktop/images/04012025/15/48/image_04012025_15_48_02_450081_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/47/image_04012025_15_47_02_150997_0002.jpg
/home/pi/Desktop/images/04012025/15/47/image_04012025_15_47_02_150997_0003.jpg
/home/pi/Desktop/images/04012025/15/48/image_04012025_15_48_02_450081_0000.jpg
/home/pi/Desktop/images/04012025/15/48/image_04012025_15_48_02_450081_0001.jpg
/home/pi/Desktop/images/04012025/15/48/image_04012025_15_48_02_450081_0002.jpg
/home/pi/Desktop/images/04012025/15/48/image_04012025_15_48_02_450081_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":["1326640165","1326640167","1326640161","1326640155","1326640158","1326640163"],"photo_ids_order":["1326640155","1326640158","1326640161","1326640163","1326640165","1326640167"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/919b531d5c1f239b4bf951424661784c.jpg","text":"TemporaryFile(/tmp/multipartBody2868358596762250715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003437430,"filename":"image_04012025_15_48_02_450081_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d3ffabe6acf5df5f6092d7e05c35346d.jpg","text":"TemporaryFile(/tmp/multipartBody8355571162704487990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003437430,"filename":"image_04012025_15_48_02_450081_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4773b2d85c100a200a992f8c3d794521.jpg","text":"TemporaryFile(/tmp/multipartBody1962416226060662077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003437430,"filename":"image_04012025_15_48_02_450081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cf1ff305b93acdd157bb39217dc9c54b.jpg","text":"TemporaryFile(/tmp/multipartBody8988680152683212712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003437430,"filename":"image_04012025_15_47_02_150997_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cb9fc0b9a73cbcac648a84e3c681a630.jpg","text":"TemporaryFile(/tmp/multipartBody303012634614153195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003437430,"filename":"image_04012025_15_47_02_150997_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/abb5a49bf74307787bd4bcd35cfbd1b4.jpg","text":"TemporaryFile(/tmp/multipartBody790126479609481705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003437430,"filename":"image_04012025_15_48_02_450081_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326640161","file1":"1326640158","file0":"1326640155","file4":"1326640165","file5":"1326640167","file3":"1326640163"},"map_files_photo_id_array":[{"photo_id":"1326640167","filename":"file5"},{"photo_id":"1326640161","filename":"file2"},{"photo_id":"1326640165","filename":"file4"},{"photo_id":"1326640158","filename":"file1"},{"photo_id":"1326640155","filename":"file0"},{"photo_id":"1326640163","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326640165":["hashtag1","hashtag2"]},{"1326640167":["hashtag1","hashtag2"]},{"1326640161":["hashtag1","hashtag2"]},{"1326640155":["hashtag1","hashtag2"]},{"1326640158":["hashtag1","hashtag2"]},{"1326640163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326640165, 1326640167, 1326640161, 1326640155, 1326640158, 1326640163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.619202852249146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:10:22.315021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/49/image_04012025_15_49_02_584641_0000.jpg', '/home/pi/Desktop/images/04012025/15/49/image_04012025_15_49_02_584641_0001.jpg', '/home/pi/Desktop/images/04012025/15/49/image_04012025_15_49_02_584641_0002.jpg', '/home/pi/Desktop/images/04012025/15/49/image_04012025_15_49_02_584641_0003.jpg', '/home/pi/Desktop/images/04012025/15/50/image_04012025_15_50_02_774354_0000.jpg', '/home/pi/Desktop/images/04012025/15/50/image_04012025_15_50_02_774354_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/49/image_04012025_15_49_02_584641_0000.jpg
/home/pi/Desktop/images/04012025/15/49/image_04012025_15_49_02_584641_0001.jpg
/home/pi/Desktop/images/04012025/15/49/image_04012025_15_49_02_584641_0002.jpg
/home/pi/Desktop/images/04012025/15/49/image_04012025_15_49_02_584641_0003.jpg
/home/pi/Desktop/images/04012025/15/50/image_04012025_15_50_02_774354_0000.jpg
/home/pi/Desktop/images/04012025/15/50/image_04012025_15_50_02_774354_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.68860411643982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 16:10:42.276559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/49/image_04012025_15_49_02_584641_0000.jpg', '/home/pi/Desktop/images/04012025/15/49/image_04012025_15_49_02_584641_0001.jpg', '/home/pi/Desktop/images/04012025/15/49/image_04012025_15_49_02_584641_0002.jpg', '/home/pi/Desktop/images/04012025/15/49/image_04012025_15_49_02_584641_0003.jpg', '/home/pi/Desktop/images/04012025/15/50/image_04012025_15_50_02_774354_0000.jpg', '/home/pi/Desktop/images/04012025/15/50/image_04012025_15_50_02_774354_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/49/image_04012025_15_49_02_584641_0000.jpg
/home/pi/Desktop/images/04012025/15/49/image_04012025_15_49_02_584641_0001.jpg
/home/pi/Desktop/images/04012025/15/49/image_04012025_15_49_02_584641_0002.jpg
/home/pi/Desktop/images/04012025/15/49/image_04012025_15_49_02_584641_0003.jpg
/home/pi/Desktop/images/04012025/15/50/image_04012025_15_50_02_774354_0000.jpg
/home/pi/Desktop/images/04012025/15/50/image_04012025_15_50_02_774354_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":["1326640591","1326640570","1326640840","1326640516","1326640568","1326640769"],"photo_ids_order":["1326640516","1326640568","1326640570","1326640591","1326640769","1326640840"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/18bb754b851252474f31dcba18563317.jpg","text":"TemporaryFile(/tmp/multipartBody5658129989187374166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003517359,"filename":"image_04012025_15_49_02_584641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8ddcf92a173fb81fc4973cb8627dd682.jpg","text":"TemporaryFile(/tmp/multipartBody6493301575739070330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003517359,"filename":"image_04012025_15_49_02_584641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/91dcb61252784674415b82ea6b87c8e1.jpg","text":"TemporaryFile(/tmp/multipartBody4236777379522334412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003517359,"filename":"image_04012025_15_50_02_774354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f357e1ad2d5d8f65279dbe3a2c5c115.jpg","text":"TemporaryFile(/tmp/multipartBody3820662214315838017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003517359,"filename":"image_04012025_15_49_02_584641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/57d7862c120c8570d4fd9b5b0400049b.jpg","text":"TemporaryFile(/tmp/multipartBody703810263643659277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003517359,"filename":"image_04012025_15_49_02_584641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cb9ea0c7159a9f007148aa304534aa76.jpg","text":"TemporaryFile(/tmp/multipartBody9166624044114697237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003517359,"filename":"image_04012025_15_50_02_774354_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326640570","file1":"1326640568","file0":"1326640516","file4":"1326640769","file5":"1326640840","file3":"1326640591"},"map_files_photo_id_array":[{"photo_id":"1326640840","filename":"file5"},{"photo_id":"1326640570","filename":"file2"},{"photo_id":"1326640769","filename":"file4"},{"photo_id":"1326640568","filename":"file1"},{"photo_id":"1326640516","filename":"file0"},{"photo_id":"1326640591","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326640591":["hashtag1","hashtag2"]},{"1326640570":["hashtag1","hashtag2"]},{"1326640840":["hashtag1","hashtag2"]},{"1326640516":["hashtag1","hashtag2"]},{"1326640568":["hashtag1","hashtag2"]},{"1326640769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326640591, 1326640570, 1326640840, 1326640516, 1326640568, 1326640769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.82915210723877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 16:11:42.438892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/50/image_04012025_15_50_02_774354_0002.jpg', '/home/pi/Desktop/images/04012025/15/50/image_04012025_15_50_02_774354_0003.jpg', '/home/pi/Desktop/images/04012025/15/51/image_04012025_15_51_03_004780_0000.jpg', '/home/pi/Desktop/images/04012025/15/51/image_04012025_15_51_03_004780_0001.jpg', '/home/pi/Desktop/images/04012025/15/51/image_04012025_15_51_03_004780_0002.jpg', '/home/pi/Desktop/images/04012025/15/51/image_04012025_15_51_03_004780_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/50/image_04012025_15_50_02_774354_0002.jpg
/home/pi/Desktop/images/04012025/15/50/image_04012025_15_50_02_774354_0003.jpg
/home/pi/Desktop/images/04012025/15/51/image_04012025_15_51_03_004780_0000.jpg
/home/pi/Desktop/images/04012025/15/51/image_04012025_15_51_03_004780_0001.jpg
/home/pi/Desktop/images/04012025/15/51/image_04012025_15_51_03_004780_0002.jpg
/home/pi/Desktop/images/04012025/15/51/image_04012025_15_51_03_004780_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.75432562828064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 16:12:03.005986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/50/image_04012025_15_50_02_774354_0002.jpg', '/home/pi/Desktop/images/04012025/15/50/image_04012025_15_50_02_774354_0003.jpg', '/home/pi/Desktop/images/04012025/15/51/image_04012025_15_51_03_004780_0000.jpg', '/home/pi/Desktop/images/04012025/15/51/image_04012025_15_51_03_004780_0001.jpg', '/home/pi/Desktop/images/04012025/15/51/image_04012025_15_51_03_004780_0002.jpg', '/home/pi/Desktop/images/04012025/15/51/image_04012025_15_51_03_004780_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/50/image_04012025_15_50_02_774354_0002.jpg
/home/pi/Desktop/images/04012025/15/50/image_04012025_15_50_02_774354_0003.jpg
/home/pi/Desktop/images/04012025/15/51/image_04012025_15_51_03_004780_0000.jpg
/home/pi/Desktop/images/04012025/15/51/image_04012025_15_51_03_004780_0001.jpg
/home/pi/Desktop/images/04012025/15/51/image_04012025_15_51_03_004780_0002.jpg
/home/pi/Desktop/images/04012025/15/51/image_04012025_15_51_03_004780_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":["1326641641","1326641790","1326641643","1326641613","1326641808","1326641711"],"photo_ids_order":["1326641613","1326641641","1326641643","1326641711","1326641790","1326641808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6ef6e161c959c9c5be557fb6989c1840.jpg","text":"TemporaryFile(/tmp/multipartBody8993672308420529254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003598200,"filename":"image_04012025_15_50_02_774354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d80c3feb5a34a1baafff7555e6d23dc2.jpg","text":"TemporaryFile(/tmp/multipartBody5528556867374002616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003598200,"filename":"image_04012025_15_51_03_004780_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a96736c6bce56daa55af14096f23b8ce.jpg","text":"TemporaryFile(/tmp/multipartBody170388262993037599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003598200,"filename":"image_04012025_15_51_03_004780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fb3a5fd751423817936fc5ead553c9f2.jpg","text":"TemporaryFile(/tmp/multipartBody340199814406943667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003598200,"filename":"image_04012025_15_50_02_774354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7ee10adf8e000a6e3402aef2fedddde.jpg","text":"TemporaryFile(/tmp/multipartBody2410936860186534720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003598200,"filename":"image_04012025_15_51_03_004780_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/692564e07e23204bb2d1c98b7f190faf.jpg","text":"TemporaryFile(/tmp/multipartBody7040030551051749687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003598200,"filename":"image_04012025_15_51_03_004780_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326641643","file1":"1326641641","file0":"1326641613","file4":"1326641790","file5":"1326641808","file3":"1326641711"},"map_files_photo_id_array":[{"photo_id":"1326641808","filename":"file5"},{"photo_id":"1326641643","filename":"file2"},{"photo_id":"1326641790","filename":"file4"},{"photo_id":"1326641641","filename":"file1"},{"photo_id":"1326641613","filename":"file0"},{"photo_id":"1326641711","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326641641":["hashtag1","hashtag2"]},{"1326641790":["hashtag1","hashtag2"]},{"1326641643":["hashtag1","hashtag2"]},{"1326641613":["hashtag1","hashtag2"]},{"1326641808":["hashtag1","hashtag2"]},{"1326641711":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326641641, 1326641790, 1326641643, 1326641613, 1326641808, 1326641711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.19429063796997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 16:13:02.479323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/52/image_04012025_15_52_02_201316_0000.jpg', '/home/pi/Desktop/images/04012025/15/52/image_04012025_15_52_02_201316_0001.jpg', '/home/pi/Desktop/images/04012025/15/52/image_04012025_15_52_02_201316_0002.jpg', '/home/pi/Desktop/images/04012025/15/52/image_04012025_15_52_02_201316_0003.jpg', '/home/pi/Desktop/images/04012025/15/53/image_04012025_15_53_02_358664_0000.jpg', '/home/pi/Desktop/images/04012025/15/53/image_04012025_15_53_02_358664_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/52/image_04012025_15_52_02_201316_0000.jpg
/home/pi/Desktop/images/04012025/15/52/image_04012025_15_52_02_201316_0001.jpg
/home/pi/Desktop/images/04012025/15/52/image_04012025_15_52_02_201316_0002.jpg
/home/pi/Desktop/images/04012025/15/52/image_04012025_15_52_02_201316_0003.jpg
/home/pi/Desktop/images/04012025/15/53/image_04012025_15_53_02_358664_0000.jpg
/home/pi/Desktop/images/04012025/15/53/image_04012025_15_53_02_358664_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.702707052230835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:13:21.840295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/52/image_04012025_15_52_02_201316_0000.jpg', '/home/pi/Desktop/images/04012025/15/52/image_04012025_15_52_02_201316_0001.jpg', '/home/pi/Desktop/images/04012025/15/52/image_04012025_15_52_02_201316_0002.jpg', '/home/pi/Desktop/images/04012025/15/52/image_04012025_15_52_02_201316_0003.jpg', '/home/pi/Desktop/images/04012025/15/53/image_04012025_15_53_02_358664_0000.jpg', '/home/pi/Desktop/images/04012025/15/53/image_04012025_15_53_02_358664_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/52/image_04012025_15_52_02_201316_0000.jpg
/home/pi/Desktop/images/04012025/15/52/image_04012025_15_52_02_201316_0001.jpg
/home/pi/Desktop/images/04012025/15/52/image_04012025_15_52_02_201316_0002.jpg
/home/pi/Desktop/images/04012025/15/52/image_04012025_15_52_02_201316_0003.jpg
/home/pi/Desktop/images/04012025/15/53/image_04012025_15_53_02_358664_0000.jpg
/home/pi/Desktop/images/04012025/15/53/image_04012025_15_53_02_358664_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":["1326641859","1326642092","1326642515","1326642419","1326641887","1326641854"],"photo_ids_order":["1326641854","1326641859","1326641887","1326642092","1326642419","1326642515"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bb698716111f2e00b83eb98351135983.jpg","text":"TemporaryFile(/tmp/multipartBody9015078456901173495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003676900,"filename":"image_04012025_15_52_02_201316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/81808355cc1ee66d090358363989bd58.jpg","text":"TemporaryFile(/tmp/multipartBody8384775273473188556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003676900,"filename":"image_04012025_15_52_02_201316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d061765f629d380ddc9f5f4d7bccf086.jpg","text":"TemporaryFile(/tmp/multipartBody4375229737169315813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003676900,"filename":"image_04012025_15_53_02_358664_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9a20a349f342739f93577dfd59f1d1f4.jpg","text":"TemporaryFile(/tmp/multipartBody7188040611842783812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003676900,"filename":"image_04012025_15_53_02_358664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d28c8b00df6be5e762f6e46a9583d908.jpg","text":"TemporaryFile(/tmp/multipartBody6781716382426790202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003676900,"filename":"image_04012025_15_52_02_201316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d936b9aebac88e8cc218704a22329777.jpg","text":"TemporaryFile(/tmp/multipartBody8816823990078238553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003676900,"filename":"image_04012025_15_52_02_201316_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326641887","file1":"1326641859","file0":"1326641854","file4":"1326642419","file5":"1326642515","file3":"1326642092"},"map_files_photo_id_array":[{"photo_id":"1326642515","filename":"file5"},{"photo_id":"1326641887","filename":"file2"},{"photo_id":"1326642419","filename":"file4"},{"photo_id":"1326641859","filename":"file1"},{"photo_id":"1326641854","filename":"file0"},{"photo_id":"1326642092","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326641859":["hashtag1","hashtag2"]},{"1326642092":["hashtag1","hashtag2"]},{"1326642515":["hashtag1","hashtag2"]},{"1326642419":["hashtag1","hashtag2"]},{"1326641887":["hashtag1","hashtag2"]},{"1326641854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326641859, 1326642092, 1326642515, 1326642419, 1326641887, 1326641854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.976911783218384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:14:21.937372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/53/image_04012025_15_53_02_358664_0002.jpg', '/home/pi/Desktop/images/04012025/15/53/image_04012025_15_53_02_358664_0003.jpg', '/home/pi/Desktop/images/04012025/15/54/image_04012025_15_54_02_500043_0000.jpg', '/home/pi/Desktop/images/04012025/15/54/image_04012025_15_54_02_500043_0001.jpg', '/home/pi/Desktop/images/04012025/15/54/image_04012025_15_54_02_500043_0002.jpg', '/home/pi/Desktop/images/04012025/15/54/image_04012025_15_54_02_500043_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/53/image_04012025_15_53_02_358664_0002.jpg
/home/pi/Desktop/images/04012025/15/53/image_04012025_15_53_02_358664_0003.jpg
/home/pi/Desktop/images/04012025/15/54/image_04012025_15_54_02_500043_0000.jpg
/home/pi/Desktop/images/04012025/15/54/image_04012025_15_54_02_500043_0001.jpg
/home/pi/Desktop/images/04012025/15/54/image_04012025_15_54_02_500043_0002.jpg
/home/pi/Desktop/images/04012025/15/54/image_04012025_15_54_02_500043_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.603158950805664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 16:14:42.066068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/53/image_04012025_15_53_02_358664_0002.jpg', '/home/pi/Desktop/images/04012025/15/53/image_04012025_15_53_02_358664_0003.jpg', '/home/pi/Desktop/images/04012025/15/54/image_04012025_15_54_02_500043_0000.jpg', '/home/pi/Desktop/images/04012025/15/54/image_04012025_15_54_02_500043_0001.jpg', '/home/pi/Desktop/images/04012025/15/54/image_04012025_15_54_02_500043_0002.jpg', '/home/pi/Desktop/images/04012025/15/54/image_04012025_15_54_02_500043_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/53/image_04012025_15_53_02_358664_0002.jpg
/home/pi/Desktop/images/04012025/15/53/image_04012025_15_53_02_358664_0003.jpg
/home/pi/Desktop/images/04012025/15/54/image_04012025_15_54_02_500043_0000.jpg
/home/pi/Desktop/images/04012025/15/54/image_04012025_15_54_02_500043_0001.jpg
/home/pi/Desktop/images/04012025/15/54/image_04012025_15_54_02_500043_0002.jpg
/home/pi/Desktop/images/04012025/15/54/image_04012025_15_54_02_500043_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":["1326642783","1326642774","1326643031","1326642784","1326642778","1326642781"],"photo_ids_order":["1326642774","1326642778","1326642781","1326642783","1326642784","1326643031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/71f6fd91292cb3f0369ece830a72a6a4.jpg","text":"TemporaryFile(/tmp/multipartBody488417660186481830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003757084,"filename":"image_04012025_15_54_02_500043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8c3239a8623412822dee071e89fd37a2.jpg","text":"TemporaryFile(/tmp/multipartBody3643347279901116861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003757084,"filename":"image_04012025_15_53_02_358664_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3a0013d3007563839b8122b115f0fb8f.jpg","text":"TemporaryFile(/tmp/multipartBody1693488363459074123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003757084,"filename":"image_04012025_15_54_02_500043_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/23c2403c9536157c0736a293c1aba2fd.jpg","text":"TemporaryFile(/tmp/multipartBody4461023844375200345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003757084,"filename":"image_04012025_15_54_02_500043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3fe78c4b04accdfc7f650801bddb70f4.jpg","text":"TemporaryFile(/tmp/multipartBody6931711681298610741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003757084,"filename":"image_04012025_15_53_02_358664_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85cdb0ba4207737a5a4182b9337013b0.jpg","text":"TemporaryFile(/tmp/multipartBody6761061756323265811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003757084,"filename":"image_04012025_15_54_02_500043_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326642781","file1":"1326642778","file0":"1326642774","file4":"1326642784","file5":"1326643031","file3":"1326642783"},"map_files_photo_id_array":[{"photo_id":"1326643031","filename":"file5"},{"photo_id":"1326642781","filename":"file2"},{"photo_id":"1326642784","filename":"file4"},{"photo_id":"1326642778","filename":"file1"},{"photo_id":"1326642774","filename":"file0"},{"photo_id":"1326642783","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326642783":["hashtag1","hashtag2"]},{"1326642774":["hashtag1","hashtag2"]},{"1326643031":["hashtag1","hashtag2"]},{"1326642784":["hashtag1","hashtag2"]},{"1326642778":["hashtag1","hashtag2"]},{"1326642781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326642783, 1326642774, 1326643031, 1326642784, 1326642778, 1326642781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.67875790596008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 16:15:42.130910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/55/image_04012025_15_55_02_671542_0000.jpg', '/home/pi/Desktop/images/04012025/15/55/image_04012025_15_55_02_671542_0001.jpg', '/home/pi/Desktop/images/04012025/15/55/image_04012025_15_55_02_671542_0002.jpg', '/home/pi/Desktop/images/04012025/15/55/image_04012025_15_55_02_671542_0003.jpg', '/home/pi/Desktop/images/04012025/15/56/image_04012025_15_56_02_947092_0000.jpg', '/home/pi/Desktop/images/04012025/15/56/image_04012025_15_56_02_947092_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/55/image_04012025_15_55_02_671542_0000.jpg
/home/pi/Desktop/images/04012025/15/55/image_04012025_15_55_02_671542_0001.jpg
/home/pi/Desktop/images/04012025/15/55/image_04012025_15_55_02_671542_0002.jpg
/home/pi/Desktop/images/04012025/15/55/image_04012025_15_55_02_671542_0003.jpg
/home/pi/Desktop/images/04012025/15/56/image_04012025_15_56_02_947092_0000.jpg
/home/pi/Desktop/images/04012025/15/56/image_04012025_15_56_02_947092_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.786397933959961 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 16:16:02.740735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/55/image_04012025_15_55_02_671542_0000.jpg', '/home/pi/Desktop/images/04012025/15/55/image_04012025_15_55_02_671542_0001.jpg', '/home/pi/Desktop/images/04012025/15/55/image_04012025_15_55_02_671542_0002.jpg', '/home/pi/Desktop/images/04012025/15/55/image_04012025_15_55_02_671542_0003.jpg', '/home/pi/Desktop/images/04012025/15/56/image_04012025_15_56_02_947092_0000.jpg', '/home/pi/Desktop/images/04012025/15/56/image_04012025_15_56_02_947092_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/55/image_04012025_15_55_02_671542_0000.jpg
/home/pi/Desktop/images/04012025/15/55/image_04012025_15_55_02_671542_0001.jpg
/home/pi/Desktop/images/04012025/15/55/image_04012025_15_55_02_671542_0002.jpg
/home/pi/Desktop/images/04012025/15/55/image_04012025_15_55_02_671542_0003.jpg
/home/pi/Desktop/images/04012025/15/56/image_04012025_15_56_02_947092_0000.jpg
/home/pi/Desktop/images/04012025/15/56/image_04012025_15_56_02_947092_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":["1326643632","1326643635","1326643620","1326643625","1326643628","1326643638"],"photo_ids_order":["1326643620","1326643625","1326643628","1326643632","1326643635","1326643638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc8289051d83d0a5f76efe9d46fd6865.jpg","text":"TemporaryFile(/tmp/multipartBody5863962495845109125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003837971,"filename":"image_04012025_15_55_02_671542_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0b34528eb3cc7f872df1b063d87a698.jpg","text":"TemporaryFile(/tmp/multipartBody4048015238279137187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003837971,"filename":"image_04012025_15_56_02_947092_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/17e682043ee76f1e695c72b1a3a2d599.jpg","text":"TemporaryFile(/tmp/multipartBody55578823442320328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003837971,"filename":"image_04012025_15_55_02_671542_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0888a9ffbfaef1d3891d1abe759e2683.jpg","text":"TemporaryFile(/tmp/multipartBody5700087801803878812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003837971,"filename":"image_04012025_15_55_02_671542_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1f8cb09854d83d178c6e1d88da7f3c6e.jpg","text":"TemporaryFile(/tmp/multipartBody8377341509038735244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003837971,"filename":"image_04012025_15_55_02_671542_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a5ad190e187a3b7e0bf2c184f2e79357.jpg","text":"TemporaryFile(/tmp/multipartBody280269317155150075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003837971,"filename":"image_04012025_15_56_02_947092_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326643628","file1":"1326643625","file0":"1326643620","file4":"1326643635","file5":"1326643638","file3":"1326643632"},"map_files_photo_id_array":[{"photo_id":"1326643638","filename":"file5"},{"photo_id":"1326643628","filename":"file2"},{"photo_id":"1326643635","filename":"file4"},{"photo_id":"1326643625","filename":"file1"},{"photo_id":"1326643620","filename":"file0"},{"photo_id":"1326643632","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326643632":["hashtag1","hashtag2"]},{"1326643635":["hashtag1","hashtag2"]},{"1326643620":["hashtag1","hashtag2"]},{"1326643625":["hashtag1","hashtag2"]},{"1326643628":["hashtag1","hashtag2"]},{"1326643638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326643632, 1326643635, 1326643620, 1326643625, 1326643628, 1326643638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.42339563369751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 16:17:03.028662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/56/image_04012025_15_56_02_947092_0002.jpg', '/home/pi/Desktop/images/04012025/15/56/image_04012025_15_56_02_947092_0003.jpg', '/home/pi/Desktop/images/04012025/15/57/image_04012025_15_57_03_124805_0000.jpg', '/home/pi/Desktop/images/04012025/15/57/image_04012025_15_57_03_124805_0001.jpg', '/home/pi/Desktop/images/04012025/15/57/image_04012025_15_57_03_124805_0002.jpg', '/home/pi/Desktop/images/04012025/15/57/image_04012025_15_57_03_124805_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/56/image_04012025_15_56_02_947092_0002.jpg
/home/pi/Desktop/images/04012025/15/56/image_04012025_15_56_02_947092_0003.jpg
/home/pi/Desktop/images/04012025/15/57/image_04012025_15_57_03_124805_0000.jpg
/home/pi/Desktop/images/04012025/15/57/image_04012025_15_57_03_124805_0001.jpg
/home/pi/Desktop/images/04012025/15/57/image_04012025_15_57_03_124805_0002.jpg
/home/pi/Desktop/images/04012025/15/57/image_04012025_15_57_03_124805_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.747915267944336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:17:22.557180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/56/image_04012025_15_56_02_947092_0002.jpg', '/home/pi/Desktop/images/04012025/15/56/image_04012025_15_56_02_947092_0003.jpg', '/home/pi/Desktop/images/04012025/15/57/image_04012025_15_57_03_124805_0000.jpg', '/home/pi/Desktop/images/04012025/15/57/image_04012025_15_57_03_124805_0001.jpg', '/home/pi/Desktop/images/04012025/15/57/image_04012025_15_57_03_124805_0002.jpg', '/home/pi/Desktop/images/04012025/15/57/image_04012025_15_57_03_124805_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/56/image_04012025_15_56_02_947092_0002.jpg
/home/pi/Desktop/images/04012025/15/56/image_04012025_15_56_02_947092_0003.jpg
/home/pi/Desktop/images/04012025/15/57/image_04012025_15_57_03_124805_0000.jpg
/home/pi/Desktop/images/04012025/15/57/image_04012025_15_57_03_124805_0001.jpg
/home/pi/Desktop/images/04012025/15/57/image_04012025_15_57_03_124805_0002.jpg
/home/pi/Desktop/images/04012025/15/57/image_04012025_15_57_03_124805_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":["1326644111","1326643856","1326644194","1326644317","1326644517","1326644127"],"photo_ids_order":["1326643856","1326644111","1326644127","1326644194","1326644317","1326644517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49a302074d5e619ab30a44f3e172bee5.jpg","text":"TemporaryFile(/tmp/multipartBody3665346237484484037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003917644,"filename":"image_04012025_15_56_02_947092_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a480975565a15a461e14d72c5d89337a.jpg","text":"TemporaryFile(/tmp/multipartBody5413445722023092047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003917644,"filename":"image_04012025_15_56_02_947092_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7543c5996fe91b31ca0e85022a5f69c6.jpg","text":"TemporaryFile(/tmp/multipartBody3265618332521089777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003917644,"filename":"image_04012025_15_57_03_124805_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fcb0dae8096b4d738fd6dde28b91fd5a.jpg","text":"TemporaryFile(/tmp/multipartBody6446435179093202233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003917644,"filename":"image_04012025_15_57_03_124805_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e12ca5828bada617e627e97628bc9f9f.jpg","text":"TemporaryFile(/tmp/multipartBody2974899381191381725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003917644,"filename":"image_04012025_15_57_03_124805_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d4e29dd102d0451ae6930206ca3d648c.jpg","text":"TemporaryFile(/tmp/multipartBody272254341661155405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003917644,"filename":"image_04012025_15_57_03_124805_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326644127","file1":"1326644111","file0":"1326643856","file4":"1326644317","file5":"1326644517","file3":"1326644194"},"map_files_photo_id_array":[{"photo_id":"1326644517","filename":"file5"},{"photo_id":"1326644127","filename":"file2"},{"photo_id":"1326644317","filename":"file4"},{"photo_id":"1326644111","filename":"file1"},{"photo_id":"1326643856","filename":"file0"},{"photo_id":"1326644194","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326644111":["hashtag1","hashtag2"]},{"1326643856":["hashtag1","hashtag2"]},{"1326644194":["hashtag1","hashtag2"]},{"1326644317":["hashtag1","hashtag2"]},{"1326644517":["hashtag1","hashtag2"]},{"1326644127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326644111, 1326643856, 1326644194, 1326644317, 1326644517, 1326644127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.971583127975464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:18:22.612376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/58/image_04012025_15_58_02_199256_0000.jpg', '/home/pi/Desktop/images/04012025/15/58/image_04012025_15_58_02_199256_0001.jpg', '/home/pi/Desktop/images/04012025/15/58/image_04012025_15_58_02_199256_0002.jpg', '/home/pi/Desktop/images/04012025/15/58/image_04012025_15_58_02_199256_0003.jpg', '/home/pi/Desktop/images/04012025/15/59/image_04012025_15_59_02_402009_0000.jpg', '/home/pi/Desktop/images/04012025/15/59/image_04012025_15_59_02_402009_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/58/image_04012025_15_58_02_199256_0000.jpg
/home/pi/Desktop/images/04012025/15/58/image_04012025_15_58_02_199256_0001.jpg
/home/pi/Desktop/images/04012025/15/58/image_04012025_15_58_02_199256_0002.jpg
/home/pi/Desktop/images/04012025/15/58/image_04012025_15_58_02_199256_0003.jpg
/home/pi/Desktop/images/04012025/15/59/image_04012025_15_59_02_402009_0000.jpg
/home/pi/Desktop/images/04012025/15/59/image_04012025_15_59_02_402009_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":["1326645203","1326645014","1326644998","1326645010","1326645573","1326645531"],"photo_ids_order":["1326644998","1326645010","1326645014","1326645203","1326645531","1326645573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f5cf08811481f0bd0e90e42161544c0e.jpg","text":"TemporaryFile(/tmp/multipartBody591910129226688288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003977549,"filename":"image_04012025_15_58_02_199256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/100390a521ebb88a3406667ea3ee6e6b.jpg","text":"TemporaryFile(/tmp/multipartBody1761262177148025095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003977549,"filename":"image_04012025_15_58_02_199256_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2959aec36f3ff1890a01fd3125cd8f71.jpg","text":"TemporaryFile(/tmp/multipartBody2222420013931921317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003977549,"filename":"image_04012025_15_58_02_199256_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/169a9390e9cdc3456fa69792c30866a6.jpg","text":"TemporaryFile(/tmp/multipartBody8273387111689337766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003977549,"filename":"image_04012025_15_58_02_199256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ecfff739a93644bd8cbd0cb4fd514247.jpg","text":"TemporaryFile(/tmp/multipartBody1169021975252222137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003977549,"filename":"image_04012025_15_59_02_402009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6533f8e671ab9961719fdd9689fc2c71.jpg","text":"TemporaryFile(/tmp/multipartBody4373559544393038622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736003977549,"filename":"image_04012025_15_59_02_402009_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326645014","file1":"1326645010","file0":"1326644998","file4":"1326645531","file5":"1326645573","file3":"1326645203"},"map_files_photo_id_array":[{"photo_id":"1326645573","filename":"file5"},{"photo_id":"1326645014","filename":"file2"},{"photo_id":"1326645531","filename":"file4"},{"photo_id":"1326645010","filename":"file1"},{"photo_id":"1326644998","filename":"file0"},{"photo_id":"1326645203","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326645203":["hashtag1","hashtag2"]},{"1326645014":["hashtag1","hashtag2"]},{"1326644998":["hashtag1","hashtag2"]},{"1326645010":["hashtag1","hashtag2"]},{"1326645573":["hashtag1","hashtag2"]},{"1326645531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326645203, 1326645014, 1326644998, 1326645010, 1326645573, 1326645531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.119932889938354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:19:21.820210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/15/59/image_04012025_15_59_02_402009_0002.jpg', '/home/pi/Desktop/images/04012025/15/59/image_04012025_15_59_02_402009_0003.jpg', '/home/pi/Desktop/images/04012025/16/00/image_04012025_16_00_02_603339_0001.jpg', '/home/pi/Desktop/images/04012025/16/00/image_04012025_16_00_02_603339_0002.jpg', '/home/pi/Desktop/images/04012025/16/00/image_04012025_16_00_02_603339_0003.jpg', '/home/pi/Desktop/images/04012025/16/01/image_04012025_16_01_02_809780_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/15/59/image_04012025_15_59_02_402009_0002.jpg
/home/pi/Desktop/images/04012025/15/59/image_04012025_15_59_02_402009_0003.jpg
/home/pi/Desktop/images/04012025/16/00/image_04012025_16_00_02_603339_0001.jpg
/home/pi/Desktop/images/04012025/16/00/image_04012025_16_00_02_603339_0002.jpg
/home/pi/Desktop/images/04012025/16/00/image_04012025_16_00_02_603339_0003.jpg
/home/pi/Desktop/images/04012025/16/01/image_04012025_16_01_02_809780_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":["1326645710","1326645697","1326645693","1326645774","1326645700","1326645702"],"photo_ids_order":["1326645693","1326645697","1326645700","1326645702","1326645710","1326645774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c3951dcfeda71d60e2d44ace9443f65d.jpg","text":"TemporaryFile(/tmp/multipartBody5448912640073174310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004036793,"filename":"image_04012025_16_00_02_603339_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a326533e319e6ae667e0b4582f6432ab.jpg","text":"TemporaryFile(/tmp/multipartBody1982587930459092674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004036793,"filename":"image_04012025_15_59_02_402009_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/39a1fc50a6cf13db2b49dd11c41d1f9b.jpg","text":"TemporaryFile(/tmp/multipartBody4452128144588952760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004036793,"filename":"image_04012025_15_59_02_402009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/16357097f8705d495c5a51d639650c17.jpg","text":"TemporaryFile(/tmp/multipartBody8579895773993207577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004036793,"filename":"image_04012025_16_01_02_809780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2615ee3a8a6150b1d84ecde926a3c63d.jpg","text":"TemporaryFile(/tmp/multipartBody5041111248527522763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004036793,"filename":"image_04012025_16_00_02_603339_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3a85b2bf3392daae8ff89a6a1ef01b09.jpg","text":"TemporaryFile(/tmp/multipartBody8563463461907310223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004036793,"filename":"image_04012025_16_00_02_603339_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326645700","file1":"1326645697","file0":"1326645693","file4":"1326645710","file5":"1326645774","file3":"1326645702"},"map_files_photo_id_array":[{"photo_id":"1326645774","filename":"file5"},{"photo_id":"1326645700","filename":"file2"},{"photo_id":"1326645710","filename":"file4"},{"photo_id":"1326645697","filename":"file1"},{"photo_id":"1326645693","filename":"file0"},{"photo_id":"1326645702","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326645710":["hashtag1","hashtag2"]},{"1326645697":["hashtag1","hashtag2"]},{"1326645693":["hashtag1","hashtag2"]},{"1326645774":["hashtag1","hashtag2"]},{"1326645700":["hashtag1","hashtag2"]},{"1326645702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326645710, 1326645697, 1326645693, 1326645774, 1326645700, 1326645702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.36489820480347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:20:21.947197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/01/image_04012025_16_01_02_809780_0001.jpg', '/home/pi/Desktop/images/04012025/16/01/image_04012025_16_01_02_809780_0002.jpg', '/home/pi/Desktop/images/04012025/16/01/image_04012025_16_01_02_809780_0003.jpg', '/home/pi/Desktop/images/04012025/16/02/image_04012025_16_02_02_992564_0001.jpg', '/home/pi/Desktop/images/04012025/16/02/image_04012025_16_02_02_992564_0002.jpg', '/home/pi/Desktop/images/04012025/16/02/image_04012025_16_02_02_992564_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/01/image_04012025_16_01_02_809780_0001.jpg
/home/pi/Desktop/images/04012025/16/01/image_04012025_16_01_02_809780_0002.jpg
/home/pi/Desktop/images/04012025/16/01/image_04012025_16_01_02_809780_0003.jpg
/home/pi/Desktop/images/04012025/16/02/image_04012025_16_02_02_992564_0001.jpg
/home/pi/Desktop/images/04012025/16/02/image_04012025_16_02_02_992564_0002.jpg
/home/pi/Desktop/images/04012025/16/02/image_04012025_16_02_02_992564_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":["1326646255","1326646251","1326646799","1326646571","1326646331","1326646253"],"photo_ids_order":["1326646251","1326646253","1326646255","1326646331","1326646571","1326646799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9a64aa664c9b725169a93f7186fad766.jpg","text":"TemporaryFile(/tmp/multipartBody8729776840756872734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004097028,"filename":"image_04012025_16_01_02_809780_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/70586d0438ce92a79afc248dd76747b7.jpg","text":"TemporaryFile(/tmp/multipartBody7399156991814865867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004097028,"filename":"image_04012025_16_01_02_809780_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/73b0c81a4aee9d5142c5e70f1157a1a4.jpg","text":"TemporaryFile(/tmp/multipartBody2858331561981316589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004097028,"filename":"image_04012025_16_02_02_992564_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/10fde8e405e5594f4ed1d8c76db35396.jpg","text":"TemporaryFile(/tmp/multipartBody3941504160379546125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004097028,"filename":"image_04012025_16_02_02_992564_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/388cfabd85498c25dbd35ad66951b841.jpg","text":"TemporaryFile(/tmp/multipartBody4716121440573584567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004097028,"filename":"image_04012025_16_02_02_992564_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b03864fcb07e70e6179e609b993fde4d.jpg","text":"TemporaryFile(/tmp/multipartBody276900092007400963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004097028,"filename":"image_04012025_16_01_02_809780_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326646255","file1":"1326646253","file0":"1326646251","file4":"1326646571","file5":"1326646799","file3":"1326646331"},"map_files_photo_id_array":[{"photo_id":"1326646799","filename":"file5"},{"photo_id":"1326646255","filename":"file2"},{"photo_id":"1326646571","filename":"file4"},{"photo_id":"1326646253","filename":"file1"},{"photo_id":"1326646251","filename":"file0"},{"photo_id":"1326646331","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326646255":["hashtag1","hashtag2"]},{"1326646251":["hashtag1","hashtag2"]},{"1326646799":["hashtag1","hashtag2"]},{"1326646571":["hashtag1","hashtag2"]},{"1326646331":["hashtag1","hashtag2"]},{"1326646253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326646255, 1326646251, 1326646799, 1326646571, 1326646331, 1326646253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.16595697402954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:21:22.237832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/03/image_04012025_16_03_02_169537_0000.jpg', '/home/pi/Desktop/images/04012025/16/03/image_04012025_16_03_02_169537_0001.jpg', '/home/pi/Desktop/images/04012025/16/03/image_04012025_16_03_02_169537_0002.jpg', '/home/pi/Desktop/images/04012025/16/03/image_04012025_16_03_02_169537_0003.jpg', '/home/pi/Desktop/images/04012025/16/04/image_04012025_16_04_02_298368_0000.jpg', '/home/pi/Desktop/images/04012025/16/04/image_04012025_16_04_02_298368_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/03/image_04012025_16_03_02_169537_0000.jpg
/home/pi/Desktop/images/04012025/16/03/image_04012025_16_03_02_169537_0001.jpg
/home/pi/Desktop/images/04012025/16/03/image_04012025_16_03_02_169537_0002.jpg
/home/pi/Desktop/images/04012025/16/03/image_04012025_16_03_02_169537_0003.jpg
/home/pi/Desktop/images/04012025/16/04/image_04012025_16_04_02_298368_0000.jpg
/home/pi/Desktop/images/04012025/16/04/image_04012025_16_04_02_298368_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":["1326646855","1326647014","1326646927","1326646931","1326646990","1326646993"],"photo_ids_order":["1326646855","1326646927","1326646931","1326646990","1326646993","1326647014"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2a05f2380cd3ee35765274f245b0bfaf.jpg","text":"TemporaryFile(/tmp/multipartBody3638637432064457979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004157568,"filename":"image_04012025_16_03_02_169537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7849c60b74942fd2e9cf310e26a67999.jpg","text":"TemporaryFile(/tmp/multipartBody5280885511931280499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004157568,"filename":"image_04012025_16_04_02_298368_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/59ee171e36c44e840690a24465957c3a.jpg","text":"TemporaryFile(/tmp/multipartBody1013923843279888188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004157568,"filename":"image_04012025_16_03_02_169537_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cdc33fa07f5fa6c9434d1ca3cd0534a6.jpg","text":"TemporaryFile(/tmp/multipartBody2624609891338870190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004157568,"filename":"image_04012025_16_03_02_169537_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b1375d56373b76f22e73437b295f579.jpg","text":"TemporaryFile(/tmp/multipartBody5258817257631876439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004157568,"filename":"image_04012025_16_03_02_169537_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1f6659d91734ce3fc8e27c16b5d21afc.jpg","text":"TemporaryFile(/tmp/multipartBody4034816701495543648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004157568,"filename":"image_04012025_16_04_02_298368_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326646931","file1":"1326646927","file0":"1326646855","file4":"1326646993","file5":"1326647014","file3":"1326646990"},"map_files_photo_id_array":[{"photo_id":"1326647014","filename":"file5"},{"photo_id":"1326646931","filename":"file2"},{"photo_id":"1326646993","filename":"file4"},{"photo_id":"1326646927","filename":"file1"},{"photo_id":"1326646855","filename":"file0"},{"photo_id":"1326646990","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326646855":["hashtag1","hashtag2"]},{"1326647014":["hashtag1","hashtag2"]},{"1326646927":["hashtag1","hashtag2"]},{"1326646931":["hashtag1","hashtag2"]},{"1326646990":["hashtag1","hashtag2"]},{"1326646993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326646855, 1326647014, 1326646927, 1326646931, 1326646990, 1326646993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.43148946762085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:22:22.379070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/04/image_04012025_16_04_02_298368_0002.jpg', '/home/pi/Desktop/images/04012025/16/04/image_04012025_16_04_02_298368_0003.jpg', '/home/pi/Desktop/images/04012025/16/05/image_04012025_16_05_02_547565_0000.jpg', '/home/pi/Desktop/images/04012025/16/05/image_04012025_16_05_02_547565_0001.jpg', '/home/pi/Desktop/images/04012025/16/05/image_04012025_16_05_02_547565_0002.jpg', '/home/pi/Desktop/images/04012025/16/05/image_04012025_16_05_02_547565_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/04/image_04012025_16_04_02_298368_0002.jpg
/home/pi/Desktop/images/04012025/16/04/image_04012025_16_04_02_298368_0003.jpg
/home/pi/Desktop/images/04012025/16/05/image_04012025_16_05_02_547565_0000.jpg
/home/pi/Desktop/images/04012025/16/05/image_04012025_16_05_02_547565_0001.jpg
/home/pi/Desktop/images/04012025/16/05/image_04012025_16_05_02_547565_0002.jpg
/home/pi/Desktop/images/04012025/16/05/image_04012025_16_05_02_547565_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":["1326647655","1326647412","1326647409","1326647983","1326648100","1326647473"],"photo_ids_order":["1326647409","1326647412","1326647473","1326647655","1326647983","1326648100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f4373b4d933ebbd85056f8897e1a176.jpg","text":"TemporaryFile(/tmp/multipartBody2095435441841718307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004217674,"filename":"image_04012025_16_05_02_547565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1ce3b27efcc572d1e3628c5268fd2473.jpg","text":"TemporaryFile(/tmp/multipartBody7026883663592200986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004217674,"filename":"image_04012025_16_04_02_298368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/290f9fc042fe8fca1508d682b38b3948.jpg","text":"TemporaryFile(/tmp/multipartBody6309303037509733614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004217674,"filename":"image_04012025_16_04_02_298368_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/04512c97148a40efabf9cbbf3d5b659d.jpg","text":"TemporaryFile(/tmp/multipartBody2880599159518180678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004217674,"filename":"image_04012025_16_05_02_547565_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d4575f3d3eae2f56bc69e2559ab63ffa.jpg","text":"TemporaryFile(/tmp/multipartBody4464608560666265083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004217674,"filename":"image_04012025_16_05_02_547565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ae5cd4b440eb173755df85913d519fce.jpg","text":"TemporaryFile(/tmp/multipartBody5389381615611491589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004217674,"filename":"image_04012025_16_05_02_547565_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326647473","file1":"1326647412","file0":"1326647409","file4":"1326647983","file5":"1326648100","file3":"1326647655"},"map_files_photo_id_array":[{"photo_id":"1326648100","filename":"file5"},{"photo_id":"1326647473","filename":"file2"},{"photo_id":"1326647983","filename":"file4"},{"photo_id":"1326647412","filename":"file1"},{"photo_id":"1326647409","filename":"file0"},{"photo_id":"1326647655","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326647655":["hashtag1","hashtag2"]},{"1326647412":["hashtag1","hashtag2"]},{"1326647409":["hashtag1","hashtag2"]},{"1326647983":["hashtag1","hashtag2"]},{"1326648100":["hashtag1","hashtag2"]},{"1326647473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326647655, 1326647412, 1326647409, 1326647983, 1326648100, 1326647473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.69743609428406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:23:22.570201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/06/image_04012025_16_06_02_707808_0000.jpg', '/home/pi/Desktop/images/04012025/16/06/image_04012025_16_06_02_707808_0001.jpg', '/home/pi/Desktop/images/04012025/16/06/image_04012025_16_06_02_707808_0003.jpg', '/home/pi/Desktop/images/04012025/16/07/image_04012025_16_07_02_946700_0000.jpg', '/home/pi/Desktop/images/04012025/16/07/image_04012025_16_07_02_946700_0001.jpg', '/home/pi/Desktop/images/04012025/16/07/image_04012025_16_07_02_946700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/06/image_04012025_16_06_02_707808_0000.jpg
/home/pi/Desktop/images/04012025/16/06/image_04012025_16_06_02_707808_0001.jpg
/home/pi/Desktop/images/04012025/16/06/image_04012025_16_06_02_707808_0003.jpg
/home/pi/Desktop/images/04012025/16/07/image_04012025_16_07_02_946700_0000.jpg
/home/pi/Desktop/images/04012025/16/07/image_04012025_16_07_02_946700_0001.jpg
/home/pi/Desktop/images/04012025/16/07/image_04012025_16_07_02_946700_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326648825","1326648303","1326648656","1326648911","1326648823","1326648817"],"photo_ids_order":["1326648303","1326648656","1326648817","1326648823","1326648825","1326648911"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ece41354e26407ffe4ec0058eda93a99.jpg","text":"TemporaryFile(/tmp/multipartBody4374983311150195570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004277786,"filename":"image_04012025_16_07_02_946700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49e221041ef055bf5e8226b202f17eec.jpg","text":"TemporaryFile(/tmp/multipartBody6256976060733940636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004277786,"filename":"image_04012025_16_06_02_707808_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f140b7c22cd87e8d57136543e6957ff0.jpg","text":"TemporaryFile(/tmp/multipartBody4247358823205891829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004277786,"filename":"image_04012025_16_06_02_707808_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cd10b62fbe587afd15a71717dfdcbf0d.jpg","text":"TemporaryFile(/tmp/multipartBody900624709693682983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004277786,"filename":"image_04012025_16_07_02_946700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e55afcdf3335769eee3205e23c993881.jpg","text":"TemporaryFile(/tmp/multipartBody8269753441631203846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004277786,"filename":"image_04012025_16_07_02_946700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2aac4a55ff75d6f7e625b473d9141ce5.jpg","text":"TemporaryFile(/tmp/multipartBody7408708439406928891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004277786,"filename":"image_04012025_16_06_02_707808_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326648817","file1":"1326648656","file0":"1326648303","file4":"1326648825","file5":"1326648911","file3":"1326648823"},"map_files_photo_id_array":[{"photo_id":"1326648911","filename":"file5"},{"photo_id":"1326648817","filename":"file2"},{"photo_id":"1326648825","filename":"file4"},{"photo_id":"1326648656","filename":"file1"},{"photo_id":"1326648303","filename":"file0"},{"photo_id":"1326648823","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326648825":["hashtag1","hashtag2"]},{"1326648303":["hashtag1","hashtag2"]},{"1326648656":["hashtag1","hashtag2"]},{"1326648911":["hashtag1","hashtag2"]},{"1326648823":["hashtag1","hashtag2"]},{"1326648817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326648825, 1326648303, 1326648656, 1326648911, 1326648823, 1326648817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.26477360725403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:24:22.782121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/07/image_04012025_16_07_02_946700_0003.jpg', '/home/pi/Desktop/images/04012025/16/08/image_04012025_16_08_03_183274_0000.jpg', '/home/pi/Desktop/images/04012025/16/08/image_04012025_16_08_03_183274_0001.jpg', '/home/pi/Desktop/images/04012025/16/08/image_04012025_16_08_03_183274_0002.jpg', '/home/pi/Desktop/images/04012025/16/08/image_04012025_16_08_03_183274_0003.jpg', '/home/pi/Desktop/images/04012025/16/09/image_04012025_16_09_02_249857_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/07/image_04012025_16_07_02_946700_0003.jpg
/home/pi/Desktop/images/04012025/16/08/image_04012025_16_08_03_183274_0000.jpg
/home/pi/Desktop/images/04012025/16/08/image_04012025_16_08_03_183274_0001.jpg
/home/pi/Desktop/images/04012025/16/08/image_04012025_16_08_03_183274_0002.jpg
/home/pi/Desktop/images/04012025/16/08/image_04012025_16_08_03_183274_0003.jpg
/home/pi/Desktop/images/04012025/16/09/image_04012025_16_09_02_249857_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":["1326649533","1326649883","1326650048","1326649162","1326649318","1326649998"],"photo_ids_order":["1326649162","1326649318","1326649533","1326649883","1326649998","1326650048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/900c70af1a2772b05ee3086b203410e3.jpg","text":"TemporaryFile(/tmp/multipartBody6882899094076001885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004337859,"filename":"image_04012025_16_08_03_183274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/524fd3fb24191f0ce0b3ea4024244f06.jpg","text":"TemporaryFile(/tmp/multipartBody502658561539060673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004337859,"filename":"image_04012025_16_08_03_183274_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/057c27792594cc5d8e8f2a5a6861d206.jpg","text":"TemporaryFile(/tmp/multipartBody7702827855435318510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004337859,"filename":"image_04012025_16_09_02_249857_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/13a13175bbfe76cac118ce8a828b80d8.jpg","text":"TemporaryFile(/tmp/multipartBody892006570904778442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004337859,"filename":"image_04012025_16_07_02_946700_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca782bd259b206b7ba6c2b8390761858.jpg","text":"TemporaryFile(/tmp/multipartBody1833849399824115448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004337859,"filename":"image_04012025_16_08_03_183274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1319fa954c261b77782f626f640da8bf.jpg","text":"TemporaryFile(/tmp/multipartBody951558099909152067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004337859,"filename":"image_04012025_16_08_03_183274_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326649533","file1":"1326649318","file0":"1326649162","file4":"1326649998","file5":"1326650048","file3":"1326649883"},"map_files_photo_id_array":[{"photo_id":"1326650048","filename":"file5"},{"photo_id":"1326649533","filename":"file2"},{"photo_id":"1326649998","filename":"file4"},{"photo_id":"1326649318","filename":"file1"},{"photo_id":"1326649162","filename":"file0"},{"photo_id":"1326649883","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326649533":["hashtag1","hashtag2"]},{"1326649883":["hashtag1","hashtag2"]},{"1326650048":["hashtag1","hashtag2"]},{"1326649162":["hashtag1","hashtag2"]},{"1326649318":["hashtag1","hashtag2"]},{"1326649998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326649533, 1326649883, 1326650048, 1326649162, 1326649318, 1326649998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.15866184234619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:25:21.950682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/09/image_04012025_16_09_02_249857_0001.jpg', '/home/pi/Desktop/images/04012025/16/09/image_04012025_16_09_02_249857_0002.jpg', '/home/pi/Desktop/images/04012025/16/09/image_04012025_16_09_02_249857_0003.jpg', '/home/pi/Desktop/images/04012025/16/10/image_04012025_16_10_02_405926_0000.jpg', '/home/pi/Desktop/images/04012025/16/10/image_04012025_16_10_02_405926_0001.jpg', '/home/pi/Desktop/images/04012025/16/10/image_04012025_16_10_02_405926_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/09/image_04012025_16_09_02_249857_0001.jpg
/home/pi/Desktop/images/04012025/16/09/image_04012025_16_09_02_249857_0002.jpg
/home/pi/Desktop/images/04012025/16/09/image_04012025_16_09_02_249857_0003.jpg
/home/pi/Desktop/images/04012025/16/10/image_04012025_16_10_02_405926_0000.jpg
/home/pi/Desktop/images/04012025/16/10/image_04012025_16_10_02_405926_0001.jpg
/home/pi/Desktop/images/04012025/16/10/image_04012025_16_10_02_405926_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326651097","1326651358","1326651259","1326651331","1326651214","1326651261"],"photo_ids_order":["1326651097","1326651214","1326651259","1326651261","1326651331","1326651358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c3657429b3b83f427bd559522050c1ae.jpg","text":"TemporaryFile(/tmp/multipartBody7316609303276454781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004396984,"filename":"image_04012025_16_09_02_249857_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/46b76d48dfb6ae98267e0eb5f2f38108.jpg","text":"TemporaryFile(/tmp/multipartBody1327604718362509689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004396984,"filename":"image_04012025_16_10_02_405926_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/acde8d35b94166529205419994c88842.jpg","text":"TemporaryFile(/tmp/multipartBody246290486603373875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004396984,"filename":"image_04012025_16_09_02_249857_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d699c3ba92899a5613e712617f3d096.jpg","text":"TemporaryFile(/tmp/multipartBody4414061046405619270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004396984,"filename":"image_04012025_16_10_02_405926_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8e24f51bb4e1685152a6413fdb297f99.jpg","text":"TemporaryFile(/tmp/multipartBody8819781191628572933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004396984,"filename":"image_04012025_16_09_02_249857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1ec25e2d1b74ec5ed7c892c7870ebb03.jpg","text":"TemporaryFile(/tmp/multipartBody7289050547542219421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004396984,"filename":"image_04012025_16_10_02_405926_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326651259","file1":"1326651214","file0":"1326651097","file4":"1326651331","file5":"1326651358","file3":"1326651261"},"map_files_photo_id_array":[{"photo_id":"1326651358","filename":"file5"},{"photo_id":"1326651259","filename":"file2"},{"photo_id":"1326651331","filename":"file4"},{"photo_id":"1326651214","filename":"file1"},{"photo_id":"1326651097","filename":"file0"},{"photo_id":"1326651261","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326651097":["hashtag1","hashtag2"]},{"1326651358":["hashtag1","hashtag2"]},{"1326651259":["hashtag1","hashtag2"]},{"1326651331":["hashtag1","hashtag2"]},{"1326651214":["hashtag1","hashtag2"]},{"1326651261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326651097, 1326651358, 1326651259, 1326651331, 1326651214, 1326651261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.165488481521606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:26:22.137424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/10/image_04012025_16_10_02_405926_0003.jpg', '/home/pi/Desktop/images/04012025/16/11/image_04012025_16_11_02_634863_0000.jpg', '/home/pi/Desktop/images/04012025/16/11/image_04012025_16_11_02_634863_0001.jpg', '/home/pi/Desktop/images/04012025/16/11/image_04012025_16_11_02_634863_0002.jpg', '/home/pi/Desktop/images/04012025/16/11/image_04012025_16_11_02_634863_0003.jpg', '/home/pi/Desktop/images/04012025/16/12/image_04012025_16_12_02_824593_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/10/image_04012025_16_10_02_405926_0003.jpg
/home/pi/Desktop/images/04012025/16/11/image_04012025_16_11_02_634863_0000.jpg
/home/pi/Desktop/images/04012025/16/11/image_04012025_16_11_02_634863_0001.jpg
/home/pi/Desktop/images/04012025/16/11/image_04012025_16_11_02_634863_0002.jpg
/home/pi/Desktop/images/04012025/16/11/image_04012025_16_11_02_634863_0003.jpg
/home/pi/Desktop/images/04012025/16/12/image_04012025_16_12_02_824593_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":["1326651632","1326651635","1326651629","1326651637","1326651616","1326651591"],"photo_ids_order":["1326651591","1326651616","1326651629","1326651632","1326651635","1326651637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30461dd924becd1fa9a51c783846c699.jpg","text":"TemporaryFile(/tmp/multipartBody1248308378863292655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004457475,"filename":"image_04012025_16_11_02_634863_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/84b107f8d58ca0a715beefc0e6ae24e9.jpg","text":"TemporaryFile(/tmp/multipartBody4080659207671367890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004457475,"filename":"image_04012025_16_11_02_634863_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5d797a78e9e1e0c7696eb94d737e3aba.jpg","text":"TemporaryFile(/tmp/multipartBody2580311864992911306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004457475,"filename":"image_04012025_16_11_02_634863_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/824f2db5b2f76398c3efb1460d25e39a.jpg","text":"TemporaryFile(/tmp/multipartBody8031202907435117869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004457475,"filename":"image_04012025_16_12_02_824593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4a023768007c6a65be7f5c767e43558a.jpg","text":"TemporaryFile(/tmp/multipartBody8437417435403875337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004457475,"filename":"image_04012025_16_11_02_634863_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8d2d241e6d285d24ce460a6e1d433dba.jpg","text":"TemporaryFile(/tmp/multipartBody4443626025484593444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004457475,"filename":"image_04012025_16_10_02_405926_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326651629","file1":"1326651616","file0":"1326651591","file4":"1326651635","file5":"1326651637","file3":"1326651632"},"map_files_photo_id_array":[{"photo_id":"1326651637","filename":"file5"},{"photo_id":"1326651629","filename":"file2"},{"photo_id":"1326651635","filename":"file4"},{"photo_id":"1326651616","filename":"file1"},{"photo_id":"1326651591","filename":"file0"},{"photo_id":"1326651632","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326651632":["hashtag1","hashtag2"]},{"1326651635":["hashtag1","hashtag2"]},{"1326651629":["hashtag1","hashtag2"]},{"1326651637":["hashtag1","hashtag2"]},{"1326651616":["hashtag1","hashtag2"]},{"1326651591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326651632, 1326651635, 1326651629, 1326651637, 1326651616, 1326651591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.1210503578186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:27:22.219429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/12/image_04012025_16_12_02_824593_0001.jpg', '/home/pi/Desktop/images/04012025/16/12/image_04012025_16_12_02_824593_0002.jpg', '/home/pi/Desktop/images/04012025/16/12/image_04012025_16_12_02_824593_0003.jpg', '/home/pi/Desktop/images/04012025/16/13/image_04012025_16_13_02_926432_0000.jpg', '/home/pi/Desktop/images/04012025/16/13/image_04012025_16_13_02_926432_0001.jpg', '/home/pi/Desktop/images/04012025/16/13/image_04012025_16_13_02_926432_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/12/image_04012025_16_12_02_824593_0001.jpg
/home/pi/Desktop/images/04012025/16/12/image_04012025_16_12_02_824593_0002.jpg
/home/pi/Desktop/images/04012025/16/12/image_04012025_16_12_02_824593_0003.jpg
/home/pi/Desktop/images/04012025/16/13/image_04012025_16_13_02_926432_0000.jpg
/home/pi/Desktop/images/04012025/16/13/image_04012025_16_13_02_926432_0001.jpg
/home/pi/Desktop/images/04012025/16/13/image_04012025_16_13_02_926432_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326652052","1326651921","1326652055","1326652027","1326652009","1326651973"],"photo_ids_order":["1326651921","1326651973","1326652009","1326652027","1326652052","1326652055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/787b43a447aba288b2bcb88a59fbc36e.jpg","text":"TemporaryFile(/tmp/multipartBody1247365418668140758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004517353,"filename":"image_04012025_16_13_02_926432_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1668dea60c0efcd74c2304e7eccf59d2.jpg","text":"TemporaryFile(/tmp/multipartBody6516525979105496332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004517353,"filename":"image_04012025_16_12_02_824593_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30246e0a767b9e559431870174635298.jpg","text":"TemporaryFile(/tmp/multipartBody6398925408418213233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004517353,"filename":"image_04012025_16_13_02_926432_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3eb95c152867a6015adb626ac06a6dae.jpg","text":"TemporaryFile(/tmp/multipartBody3656684459601204567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004517353,"filename":"image_04012025_16_13_02_926432_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9cc0ada88283ae7492950bab115b9cb6.jpg","text":"TemporaryFile(/tmp/multipartBody1433605729502473461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004517353,"filename":"image_04012025_16_12_02_824593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/06319411ed3525f686c3c82a1bbbd870.jpg","text":"TemporaryFile(/tmp/multipartBody2106835247239828731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004517353,"filename":"image_04012025_16_12_02_824593_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326652009","file1":"1326651973","file0":"1326651921","file4":"1326652052","file5":"1326652055","file3":"1326652027"},"map_files_photo_id_array":[{"photo_id":"1326652055","filename":"file5"},{"photo_id":"1326652009","filename":"file2"},{"photo_id":"1326652052","filename":"file4"},{"photo_id":"1326651973","filename":"file1"},{"photo_id":"1326651921","filename":"file0"},{"photo_id":"1326652027","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326652052":["hashtag1","hashtag2"]},{"1326651921":["hashtag1","hashtag2"]},{"1326652055":["hashtag1","hashtag2"]},{"1326652027":["hashtag1","hashtag2"]},{"1326652009":["hashtag1","hashtag2"]},{"1326651973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326652052, 1326651921, 1326652055, 1326652027, 1326652009, 1326651973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.230960845947266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:28:22.519349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/13/image_04012025_16_13_02_926432_0003.jpg', '/home/pi/Desktop/images/04012025/16/14/image_04012025_16_14_02_201164_0000.jpg', '/home/pi/Desktop/images/04012025/16/14/image_04012025_16_14_02_201164_0001.jpg', '/home/pi/Desktop/images/04012025/16/14/image_04012025_16_14_02_201164_0002.jpg', '/home/pi/Desktop/images/04012025/16/14/image_04012025_16_14_02_201164_0003.jpg', '/home/pi/Desktop/images/04012025/16/15/image_04012025_16_15_02_307927_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/13/image_04012025_16_13_02_926432_0003.jpg
/home/pi/Desktop/images/04012025/16/14/image_04012025_16_14_02_201164_0000.jpg
/home/pi/Desktop/images/04012025/16/14/image_04012025_16_14_02_201164_0001.jpg
/home/pi/Desktop/images/04012025/16/14/image_04012025_16_14_02_201164_0002.jpg
/home/pi/Desktop/images/04012025/16/14/image_04012025_16_14_02_201164_0003.jpg
/home/pi/Desktop/images/04012025/16/15/image_04012025_16_15_02_307927_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":["1326652513","1326652504","1326652479","1326652506","1326652440","1326652509"],"photo_ids_order":["1326652440","1326652479","1326652504","1326652506","1326652509","1326652513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/694650be5cc96ebb1a1a1c84b4005dc8.jpg","text":"TemporaryFile(/tmp/multipartBody754932161218507551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004577775,"filename":"image_04012025_16_15_02_307927_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4c236cc09685ad7f6cf02b47f2abf443.jpg","text":"TemporaryFile(/tmp/multipartBody1120388608456646986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004577775,"filename":"image_04012025_16_14_02_201164_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/20d92f98192ba4d5f7fdfac1f7879f4d.jpg","text":"TemporaryFile(/tmp/multipartBody455525870523826778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004577775,"filename":"image_04012025_16_14_02_201164_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/925764815539926b01c75f24ec17b4bd.jpg","text":"TemporaryFile(/tmp/multipartBody7759755503625276020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004577775,"filename":"image_04012025_16_14_02_201164_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7d60239f72e5a6ed4b348747bb07288d.jpg","text":"TemporaryFile(/tmp/multipartBody7925433588506563005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004577775,"filename":"image_04012025_16_13_02_926432_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/471d383059608d0babbe64ea394bf0b1.jpg","text":"TemporaryFile(/tmp/multipartBody7745361052177301413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004577775,"filename":"image_04012025_16_14_02_201164_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326652504","file1":"1326652479","file0":"1326652440","file4":"1326652509","file5":"1326652513","file3":"1326652506"},"map_files_photo_id_array":[{"photo_id":"1326652513","filename":"file5"},{"photo_id":"1326652504","filename":"file2"},{"photo_id":"1326652509","filename":"file4"},{"photo_id":"1326652479","filename":"file1"},{"photo_id":"1326652440","filename":"file0"},{"photo_id":"1326652506","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326652513":["hashtag1","hashtag2"]},{"1326652504":["hashtag1","hashtag2"]},{"1326652479":["hashtag1","hashtag2"]},{"1326652506":["hashtag1","hashtag2"]},{"1326652440":["hashtag1","hashtag2"]},{"1326652509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326652513, 1326652504, 1326652479, 1326652506, 1326652440, 1326652509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.780277252197266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:29:22.755126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/15/image_04012025_16_15_02_307927_0001.jpg', '/home/pi/Desktop/images/04012025/16/15/image_04012025_16_15_02_307927_0002.jpg', '/home/pi/Desktop/images/04012025/16/15/image_04012025_16_15_02_307927_0003.jpg', '/home/pi/Desktop/images/04012025/16/16/image_04012025_16_16_02_567707_0000.jpg', '/home/pi/Desktop/images/04012025/16/16/image_04012025_16_16_02_567707_0001.jpg', '/home/pi/Desktop/images/04012025/16/16/image_04012025_16_16_02_567707_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/15/image_04012025_16_15_02_307927_0001.jpg
/home/pi/Desktop/images/04012025/16/15/image_04012025_16_15_02_307927_0002.jpg
/home/pi/Desktop/images/04012025/16/15/image_04012025_16_15_02_307927_0003.jpg
/home/pi/Desktop/images/04012025/16/16/image_04012025_16_16_02_567707_0000.jpg
/home/pi/Desktop/images/04012025/16/16/image_04012025_16_16_02_567707_0001.jpg
/home/pi/Desktop/images/04012025/16/16/image_04012025_16_16_02_567707_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326653012","1326652913","1326652904","1326653028","1326652893","1326652917"],"photo_ids_order":["1326652893","1326652904","1326652913","1326652917","1326653012","1326653028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eabd07a834acc181936f673d1dcc82af.jpg","text":"TemporaryFile(/tmp/multipartBody5920659854242945760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004637961,"filename":"image_04012025_16_16_02_567707_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0a1d7f29ebb9a8e341f535ace063664f.jpg","text":"TemporaryFile(/tmp/multipartBody332558879986661630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004637961,"filename":"image_04012025_16_15_02_307927_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7d1a2686816c829f8ed1c5141e21dd54.jpg","text":"TemporaryFile(/tmp/multipartBody7639764826279094764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004637961,"filename":"image_04012025_16_15_02_307927_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/99b3fb6072276fd89e4d0000df22b266.jpg","text":"TemporaryFile(/tmp/multipartBody8800071909352945283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004637961,"filename":"image_04012025_16_16_02_567707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0f29b5c87659c17c5adbacfc3fd336ce.jpg","text":"TemporaryFile(/tmp/multipartBody7414050183181519325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004637961,"filename":"image_04012025_16_15_02_307927_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5c40afc2921f29cd33ba885b9a3135b8.jpg","text":"TemporaryFile(/tmp/multipartBody5293084359211531231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004637961,"filename":"image_04012025_16_16_02_567707_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326652913","file1":"1326652904","file0":"1326652893","file4":"1326653012","file5":"1326653028","file3":"1326652917"},"map_files_photo_id_array":[{"photo_id":"1326653028","filename":"file5"},{"photo_id":"1326652913","filename":"file2"},{"photo_id":"1326653012","filename":"file4"},{"photo_id":"1326652904","filename":"file1"},{"photo_id":"1326652893","filename":"file0"},{"photo_id":"1326652917","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326653012":["hashtag1","hashtag2"]},{"1326652913":["hashtag1","hashtag2"]},{"1326652904":["hashtag1","hashtag2"]},{"1326653028":["hashtag1","hashtag2"]},{"1326652893":["hashtag1","hashtag2"]},{"1326652917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326653012, 1326652913, 1326652904, 1326653028, 1326652893, 1326652917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.38757371902466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:30:21.878297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/16/image_04012025_16_16_02_567707_0003.jpg', '/home/pi/Desktop/images/04012025/16/17/image_04012025_16_17_02_720559_0000.jpg', '/home/pi/Desktop/images/04012025/16/17/image_04012025_16_17_02_720559_0001.jpg', '/home/pi/Desktop/images/04012025/16/17/image_04012025_16_17_02_720559_0002.jpg', '/home/pi/Desktop/images/04012025/16/17/image_04012025_16_17_02_720559_0003.jpg', '/home/pi/Desktop/images/04012025/16/18/image_04012025_16_18_02_887057_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/16/image_04012025_16_16_02_567707_0003.jpg
/home/pi/Desktop/images/04012025/16/17/image_04012025_16_17_02_720559_0000.jpg
/home/pi/Desktop/images/04012025/16/17/image_04012025_16_17_02_720559_0001.jpg
/home/pi/Desktop/images/04012025/16/17/image_04012025_16_17_02_720559_0002.jpg
/home/pi/Desktop/images/04012025/16/17/image_04012025_16_17_02_720559_0003.jpg
/home/pi/Desktop/images/04012025/16/18/image_04012025_16_18_02_887057_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":["1326654034","1326654036","1326653736","1326653777","1326653852","1326653732"],"photo_ids_order":["1326653732","1326653736","1326653777","1326653852","1326654034","1326654036"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a5d0f3dd47aa491b8d2c837801d209a8.jpg","text":"TemporaryFile(/tmp/multipartBody3036725414566031152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004697064,"filename":"image_04012025_16_17_02_720559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/70d09cf3434072885137927ca295245d.jpg","text":"TemporaryFile(/tmp/multipartBody4662208477239965132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004697064,"filename":"image_04012025_16_18_02_887057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/14335d9ee8b7397d5e692292edae040e.jpg","text":"TemporaryFile(/tmp/multipartBody3378834340628899246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004697064,"filename":"image_04012025_16_17_02_720559_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/837afaa8f6848dcf39b374d4acdc3a2b.jpg","text":"TemporaryFile(/tmp/multipartBody7917707014674014693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004697064,"filename":"image_04012025_16_17_02_720559_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0a139d3bff2d3af6b50230824d2d8272.jpg","text":"TemporaryFile(/tmp/multipartBody7522391927438596589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004697064,"filename":"image_04012025_16_17_02_720559_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28605a33e702fe1e9fa34e1f7dfddb9d.jpg","text":"TemporaryFile(/tmp/multipartBody2752983764773740476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004697064,"filename":"image_04012025_16_16_02_567707_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326653777","file1":"1326653736","file0":"1326653732","file4":"1326654034","file5":"1326654036","file3":"1326653852"},"map_files_photo_id_array":[{"photo_id":"1326654036","filename":"file5"},{"photo_id":"1326653777","filename":"file2"},{"photo_id":"1326654034","filename":"file4"},{"photo_id":"1326653736","filename":"file1"},{"photo_id":"1326653732","filename":"file0"},{"photo_id":"1326653852","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326654034":["hashtag1","hashtag2"]},{"1326654036":["hashtag1","hashtag2"]},{"1326653736":["hashtag1","hashtag2"]},{"1326653777":["hashtag1","hashtag2"]},{"1326653852":["hashtag1","hashtag2"]},{"1326653732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326654034, 1326654036, 1326653736, 1326653777, 1326653852, 1326653732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.30109524726868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:31:22.063140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/18/image_04012025_16_18_02_887057_0001.jpg', '/home/pi/Desktop/images/04012025/16/18/image_04012025_16_18_02_887057_0002.jpg', '/home/pi/Desktop/images/04012025/16/18/image_04012025_16_18_02_887057_0003.jpg', '/home/pi/Desktop/images/04012025/16/19/image_04012025_16_19_03_009777_0000.jpg', '/home/pi/Desktop/images/04012025/16/19/image_04012025_16_19_03_009777_0001.jpg', '/home/pi/Desktop/images/04012025/16/19/image_04012025_16_19_03_009777_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/18/image_04012025_16_18_02_887057_0001.jpg
/home/pi/Desktop/images/04012025/16/18/image_04012025_16_18_02_887057_0002.jpg
/home/pi/Desktop/images/04012025/16/18/image_04012025_16_18_02_887057_0003.jpg
/home/pi/Desktop/images/04012025/16/19/image_04012025_16_19_03_009777_0000.jpg
/home/pi/Desktop/images/04012025/16/19/image_04012025_16_19_03_009777_0001.jpg
/home/pi/Desktop/images/04012025/16/19/image_04012025_16_19_03_009777_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326654184","1326654156","1326654443","1326654152","1326654446","1326654407"],"photo_ids_order":["1326654152","1326654156","1326654184","1326654407","1326654443","1326654446"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eb02b1612a0bdaaf686c3d4d3b8e2d1c.jpg","text":"TemporaryFile(/tmp/multipartBody1748393937588178395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004757380,"filename":"image_04012025_16_18_02_887057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b0fba8631bb4671f6c5c7ae674460eeb.jpg","text":"TemporaryFile(/tmp/multipartBody2600705998699139866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004757380,"filename":"image_04012025_16_18_02_887057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c881bd1094a01b19b19c75f5f4c6bdc4.jpg","text":"TemporaryFile(/tmp/multipartBody2437113229741759920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004757380,"filename":"image_04012025_16_19_03_009777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fa0c4dddb360eb2cad1cead97145e3ba.jpg","text":"TemporaryFile(/tmp/multipartBody7972339893741322273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004757380,"filename":"image_04012025_16_18_02_887057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1c472b1de847db1db80af8fc877e3d9e.jpg","text":"TemporaryFile(/tmp/multipartBody4221779049659465067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004757380,"filename":"image_04012025_16_19_03_009777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7e59159d18002e3381eca70a6124a6f6.jpg","text":"TemporaryFile(/tmp/multipartBody7539264253256583636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004757380,"filename":"image_04012025_16_19_03_009777_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326654184","file1":"1326654156","file0":"1326654152","file4":"1326654443","file5":"1326654446","file3":"1326654407"},"map_files_photo_id_array":[{"photo_id":"1326654446","filename":"file5"},{"photo_id":"1326654184","filename":"file2"},{"photo_id":"1326654443","filename":"file4"},{"photo_id":"1326654156","filename":"file1"},{"photo_id":"1326654152","filename":"file0"},{"photo_id":"1326654407","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326654184":["hashtag1","hashtag2"]},{"1326654156":["hashtag1","hashtag2"]},{"1326654443":["hashtag1","hashtag2"]},{"1326654152":["hashtag1","hashtag2"]},{"1326654446":["hashtag1","hashtag2"]},{"1326654407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326654184, 1326654156, 1326654443, 1326654152, 1326654446, 1326654407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.11173415184021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:32:22.273128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/19/image_04012025_16_19_03_009777_0003.jpg', '/home/pi/Desktop/images/04012025/16/20/image_04012025_16_20_02_156713_0000.jpg', '/home/pi/Desktop/images/04012025/16/20/image_04012025_16_20_02_156713_0001.jpg', '/home/pi/Desktop/images/04012025/16/20/image_04012025_16_20_02_156713_0002.jpg', '/home/pi/Desktop/images/04012025/16/20/image_04012025_16_20_02_156713_0003.jpg', '/home/pi/Desktop/images/04012025/16/21/image_04012025_16_21_02_317640_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/19/image_04012025_16_19_03_009777_0003.jpg
/home/pi/Desktop/images/04012025/16/20/image_04012025_16_20_02_156713_0000.jpg
/home/pi/Desktop/images/04012025/16/20/image_04012025_16_20_02_156713_0001.jpg
/home/pi/Desktop/images/04012025/16/20/image_04012025_16_20_02_156713_0002.jpg
/home/pi/Desktop/images/04012025/16/20/image_04012025_16_20_02_156713_0003.jpg
/home/pi/Desktop/images/04012025/16/21/image_04012025_16_21_02_317640_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":["1326654871","1326654745","1326655009","1326654618","1326654510","1326655018"],"photo_ids_order":["1326654510","1326654618","1326654745","1326654871","1326655009","1326655018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d257572ef6803ac225a16f9dd530acc8.jpg","text":"TemporaryFile(/tmp/multipartBody7670633898058117684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004817150,"filename":"image_04012025_16_20_02_156713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bfe3d09f3efcdbc9c0ba6eb66904258f.jpg","text":"TemporaryFile(/tmp/multipartBody3352327047321175324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004817150,"filename":"image_04012025_16_20_02_156713_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/408d9ab584f71251e77d9a227f69ad0b.jpg","text":"TemporaryFile(/tmp/multipartBody72783225044548190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004817150,"filename":"image_04012025_16_20_02_156713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2c779ee3073d0f8e02c928b9737cdc6b.jpg","text":"TemporaryFile(/tmp/multipartBody7898568487843368100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004817150,"filename":"image_04012025_16_20_02_156713_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0a3b1ec15ad8a81e110803c9761a1d5c.jpg","text":"TemporaryFile(/tmp/multipartBody8867201581106703701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004817150,"filename":"image_04012025_16_19_03_009777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f00f6019e5b6812a2513bb576815f521.jpg","text":"TemporaryFile(/tmp/multipartBody7047742045291338749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004817150,"filename":"image_04012025_16_21_02_317640_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326654745","file1":"1326654618","file0":"1326654510","file4":"1326655009","file5":"1326655018","file3":"1326654871"},"map_files_photo_id_array":[{"photo_id":"1326655018","filename":"file5"},{"photo_id":"1326654745","filename":"file2"},{"photo_id":"1326655009","filename":"file4"},{"photo_id":"1326654618","filename":"file1"},{"photo_id":"1326654510","filename":"file0"},{"photo_id":"1326654871","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326654871":["hashtag1","hashtag2"]},{"1326654745":["hashtag1","hashtag2"]},{"1326655009":["hashtag1","hashtag2"]},{"1326654618":["hashtag1","hashtag2"]},{"1326654510":["hashtag1","hashtag2"]},{"1326655018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326654871, 1326654745, 1326655009, 1326654618, 1326654510, 1326655018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.68172001838684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:33:22.421703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/21/image_04012025_16_21_02_317640_0001.jpg', '/home/pi/Desktop/images/04012025/16/21/image_04012025_16_21_02_317640_0002.jpg', '/home/pi/Desktop/images/04012025/16/21/image_04012025_16_21_02_317640_0003.jpg', '/home/pi/Desktop/images/04012025/16/22/image_04012025_16_22_02_526950_0000.jpg', '/home/pi/Desktop/images/04012025/16/22/image_04012025_16_22_02_526950_0001.jpg', '/home/pi/Desktop/images/04012025/16/22/image_04012025_16_22_02_526950_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/21/image_04012025_16_21_02_317640_0001.jpg
/home/pi/Desktop/images/04012025/16/21/image_04012025_16_21_02_317640_0002.jpg
/home/pi/Desktop/images/04012025/16/21/image_04012025_16_21_02_317640_0003.jpg
/home/pi/Desktop/images/04012025/16/22/image_04012025_16_22_02_526950_0000.jpg
/home/pi/Desktop/images/04012025/16/22/image_04012025_16_22_02_526950_0001.jpg
/home/pi/Desktop/images/04012025/16/22/image_04012025_16_22_02_526950_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326655593","1326655530","1326655533","1326655602","1326655535","1326655430"],"photo_ids_order":["1326655430","1326655530","1326655533","1326655535","1326655593","1326655602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/34fd4cd2f0440ea23feefdc13339c05b.jpg","text":"TemporaryFile(/tmp/multipartBody5158101378854961987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004877576,"filename":"image_04012025_16_22_02_526950_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/104bb3f26ea4e6734c66e87a2b70ef29.jpg","text":"TemporaryFile(/tmp/multipartBody6442667151282141894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004877576,"filename":"image_04012025_16_21_02_317640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5c5880272b114a76c54d1f723d6282ec.jpg","text":"TemporaryFile(/tmp/multipartBody7354958316747951546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004877576,"filename":"image_04012025_16_21_02_317640_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f826700fbc702defbcbfcb8cfb35a95d.jpg","text":"TemporaryFile(/tmp/multipartBody1176420759683820077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004877576,"filename":"image_04012025_16_22_02_526950_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5459b5227d89315eefbb6b516fb5d8e4.jpg","text":"TemporaryFile(/tmp/multipartBody3098264575065693806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004877576,"filename":"image_04012025_16_22_02_526950_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c6a45e0686f132eec8712b6ee1708b0a.jpg","text":"TemporaryFile(/tmp/multipartBody745578730088114075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004877576,"filename":"image_04012025_16_21_02_317640_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326655533","file1":"1326655530","file0":"1326655430","file4":"1326655593","file5":"1326655602","file3":"1326655535"},"map_files_photo_id_array":[{"photo_id":"1326655602","filename":"file5"},{"photo_id":"1326655533","filename":"file2"},{"photo_id":"1326655593","filename":"file4"},{"photo_id":"1326655530","filename":"file1"},{"photo_id":"1326655430","filename":"file0"},{"photo_id":"1326655535","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326655593":["hashtag1","hashtag2"]},{"1326655530":["hashtag1","hashtag2"]},{"1326655533":["hashtag1","hashtag2"]},{"1326655602":["hashtag1","hashtag2"]},{"1326655535":["hashtag1","hashtag2"]},{"1326655430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326655593, 1326655530, 1326655533, 1326655602, 1326655535, 1326655430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.57800817489624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:34:22.575922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/22/image_04012025_16_22_02_526950_0003.jpg', '/home/pi/Desktop/images/04012025/16/23/image_04012025_16_23_02_744354_0000.jpg', '/home/pi/Desktop/images/04012025/16/23/image_04012025_16_23_02_744354_0001.jpg', '/home/pi/Desktop/images/04012025/16/23/image_04012025_16_23_02_744354_0002.jpg', '/home/pi/Desktop/images/04012025/16/23/image_04012025_16_23_02_744354_0003.jpg', '/home/pi/Desktop/images/04012025/16/24/image_04012025_16_24_02_938658_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/22/image_04012025_16_22_02_526950_0003.jpg
/home/pi/Desktop/images/04012025/16/23/image_04012025_16_23_02_744354_0000.jpg
/home/pi/Desktop/images/04012025/16/23/image_04012025_16_23_02_744354_0001.jpg
/home/pi/Desktop/images/04012025/16/23/image_04012025_16_23_02_744354_0002.jpg
/home/pi/Desktop/images/04012025/16/23/image_04012025_16_23_02_744354_0003.jpg
/home/pi/Desktop/images/04012025/16/24/image_04012025_16_24_02_938658_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":["1326655644","1326655625","1326655657","1326655651","1326655654","1326655648"],"photo_ids_order":["1326655625","1326655644","1326655648","1326655651","1326655654","1326655657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/355281b1b8fb67793d1c026a19b20086.jpg","text":"TemporaryFile(/tmp/multipartBody3372285169880323124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004937636,"filename":"image_04012025_16_23_02_744354_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2cd6ae9deb0d5672c548374d2408a7af.jpg","text":"TemporaryFile(/tmp/multipartBody1306728280835676267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004937636,"filename":"image_04012025_16_22_02_526950_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6cc82e17f4f53145c1a32e18b06d7867.jpg","text":"TemporaryFile(/tmp/multipartBody3322387851618813751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004937636,"filename":"image_04012025_16_24_02_938658_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d05931d5f05f3819505252ea803b047.jpg","text":"TemporaryFile(/tmp/multipartBody6834812522886195746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004937636,"filename":"image_04012025_16_23_02_744354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d20da06effa633c43e77f7ccda5bd203.jpg","text":"TemporaryFile(/tmp/multipartBody3069028386872773585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004937636,"filename":"image_04012025_16_23_02_744354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/20cf3a448d3dd168b1f1e09c188e0831.jpg","text":"TemporaryFile(/tmp/multipartBody952230331926021557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004937636,"filename":"image_04012025_16_23_02_744354_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326655648","file1":"1326655644","file0":"1326655625","file4":"1326655654","file5":"1326655657","file3":"1326655651"},"map_files_photo_id_array":[{"photo_id":"1326655657","filename":"file5"},{"photo_id":"1326655648","filename":"file2"},{"photo_id":"1326655654","filename":"file4"},{"photo_id":"1326655644","filename":"file1"},{"photo_id":"1326655625","filename":"file0"},{"photo_id":"1326655651","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326655644":["hashtag1","hashtag2"]},{"1326655625":["hashtag1","hashtag2"]},{"1326655657":["hashtag1","hashtag2"]},{"1326655651":["hashtag1","hashtag2"]},{"1326655654":["hashtag1","hashtag2"]},{"1326655648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326655644, 1326655625, 1326655657, 1326655651, 1326655654, 1326655648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.081010818481445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:35:22.754263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/24/image_04012025_16_24_02_938658_0001.jpg', '/home/pi/Desktop/images/04012025/16/24/image_04012025_16_24_02_938658_0002.jpg', '/home/pi/Desktop/images/04012025/16/24/image_04012025_16_24_02_938658_0003.jpg', '/home/pi/Desktop/images/04012025/16/25/image_04012025_16_25_03_081757_0000.jpg', '/home/pi/Desktop/images/04012025/16/25/image_04012025_16_25_03_081757_0001.jpg', '/home/pi/Desktop/images/04012025/16/25/image_04012025_16_25_03_081757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/24/image_04012025_16_24_02_938658_0001.jpg
/home/pi/Desktop/images/04012025/16/24/image_04012025_16_24_02_938658_0002.jpg
/home/pi/Desktop/images/04012025/16/24/image_04012025_16_24_02_938658_0003.jpg
/home/pi/Desktop/images/04012025/16/25/image_04012025_16_25_03_081757_0000.jpg
/home/pi/Desktop/images/04012025/16/25/image_04012025_16_25_03_081757_0001.jpg
/home/pi/Desktop/images/04012025/16/25/image_04012025_16_25_03_081757_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326656157","1326655714","1326656211","1326656279","1326656033","1326655666"],"photo_ids_order":["1326655666","1326655714","1326656033","1326656157","1326656211","1326656279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/66205133c4d0fcaaa227e4354ae87ea1.jpg","text":"TemporaryFile(/tmp/multipartBody8047738300044419830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004997881,"filename":"image_04012025_16_25_03_081757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e8b512729fc60ac6e0d866e9ea56584d.jpg","text":"TemporaryFile(/tmp/multipartBody2804634224092894239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004997881,"filename":"image_04012025_16_24_02_938658_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1dde4f95b49e9e2ff0bd6407419eaba3.jpg","text":"TemporaryFile(/tmp/multipartBody6733001722575703269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004997881,"filename":"image_04012025_16_25_03_081757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5b1dc98803d1d32f56bfecb9d7ec9518.jpg","text":"TemporaryFile(/tmp/multipartBody2678151337127919346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004997881,"filename":"image_04012025_16_25_03_081757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/743a95ddf4fe1e718b50fbb2ff05740b.jpg","text":"TemporaryFile(/tmp/multipartBody3037840428345787117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004997881,"filename":"image_04012025_16_24_02_938658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b155dd7fa6135e56b774a502431fbdc8.jpg","text":"TemporaryFile(/tmp/multipartBody4030839366228244226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736004997881,"filename":"image_04012025_16_24_02_938658_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326656033","file1":"1326655714","file0":"1326655666","file4":"1326656211","file5":"1326656279","file3":"1326656157"},"map_files_photo_id_array":[{"photo_id":"1326656279","filename":"file5"},{"photo_id":"1326656033","filename":"file2"},{"photo_id":"1326656211","filename":"file4"},{"photo_id":"1326655714","filename":"file1"},{"photo_id":"1326655666","filename":"file0"},{"photo_id":"1326656157","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326656157":["hashtag1","hashtag2"]},{"1326655714":["hashtag1","hashtag2"]},{"1326656211":["hashtag1","hashtag2"]},{"1326656279":["hashtag1","hashtag2"]},{"1326656033":["hashtag1","hashtag2"]},{"1326655666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326656157, 1326655714, 1326656211, 1326656279, 1326656033, 1326655666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.35102820396423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:36:21.966566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/25/image_04012025_16_25_03_081757_0003.jpg', '/home/pi/Desktop/images/04012025/16/26/image_04012025_16_26_02_292995_0000.jpg', '/home/pi/Desktop/images/04012025/16/26/image_04012025_16_26_02_292995_0001.jpg', '/home/pi/Desktop/images/04012025/16/26/image_04012025_16_26_02_292995_0002.jpg', '/home/pi/Desktop/images/04012025/16/26/image_04012025_16_26_02_292995_0003.jpg', '/home/pi/Desktop/images/04012025/16/27/image_04012025_16_27_02_427581_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/25/image_04012025_16_25_03_081757_0003.jpg
/home/pi/Desktop/images/04012025/16/26/image_04012025_16_26_02_292995_0000.jpg
/home/pi/Desktop/images/04012025/16/26/image_04012025_16_26_02_292995_0001.jpg
/home/pi/Desktop/images/04012025/16/26/image_04012025_16_26_02_292995_0002.jpg
/home/pi/Desktop/images/04012025/16/26/image_04012025_16_26_02_292995_0003.jpg
/home/pi/Desktop/images/04012025/16/27/image_04012025_16_27_02_427581_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":["1326656733","1326656820","1326656817","1326656786","1326656822","1326656815"],"photo_ids_order":["1326656733","1326656786","1326656815","1326656817","1326656820","1326656822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ac4d489572928dbb6b11201fd1b14b3b.jpg","text":"TemporaryFile(/tmp/multipartBody1144067167514515435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005057079,"filename":"image_04012025_16_25_03_081757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/47678153098c1433448ab80681a4f5c0.jpg","text":"TemporaryFile(/tmp/multipartBody8598585552294486193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005057079,"filename":"image_04012025_16_26_02_292995_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/04ddfdecc0c42d21ced0528e5746f2e5.jpg","text":"TemporaryFile(/tmp/multipartBody6726688221723166176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005057079,"filename":"image_04012025_16_26_02_292995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/05e8530127a80a56aca839778193a338.jpg","text":"TemporaryFile(/tmp/multipartBody1870857488582918427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005057079,"filename":"image_04012025_16_26_02_292995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d45a3ac307106a35346b75f711d8eba3.jpg","text":"TemporaryFile(/tmp/multipartBody3867538923658615944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005057079,"filename":"image_04012025_16_27_02_427581_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eff9000cf5f8ef49de5cd979f86feff4.jpg","text":"TemporaryFile(/tmp/multipartBody5124426385525600560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005057079,"filename":"image_04012025_16_26_02_292995_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326656815","file1":"1326656786","file0":"1326656733","file4":"1326656820","file5":"1326656822","file3":"1326656817"},"map_files_photo_id_array":[{"photo_id":"1326656822","filename":"file5"},{"photo_id":"1326656815","filename":"file2"},{"photo_id":"1326656820","filename":"file4"},{"photo_id":"1326656786","filename":"file1"},{"photo_id":"1326656733","filename":"file0"},{"photo_id":"1326656817","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326656733":["hashtag1","hashtag2"]},{"1326656820":["hashtag1","hashtag2"]},{"1326656817":["hashtag1","hashtag2"]},{"1326656786":["hashtag1","hashtag2"]},{"1326656822":["hashtag1","hashtag2"]},{"1326656815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326656733, 1326656820, 1326656817, 1326656786, 1326656822, 1326656815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.39850902557373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:37:22.143761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/27/image_04012025_16_27_02_427581_0001.jpg', '/home/pi/Desktop/images/04012025/16/27/image_04012025_16_27_02_427581_0002.jpg', '/home/pi/Desktop/images/04012025/16/27/image_04012025_16_27_02_427581_0003.jpg', '/home/pi/Desktop/images/04012025/16/28/image_04012025_16_28_02_586260_0000.jpg', '/home/pi/Desktop/images/04012025/16/28/image_04012025_16_28_02_586260_0001.jpg', '/home/pi/Desktop/images/04012025/16/28/image_04012025_16_28_02_586260_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/27/image_04012025_16_27_02_427581_0001.jpg
/home/pi/Desktop/images/04012025/16/27/image_04012025_16_27_02_427581_0002.jpg
/home/pi/Desktop/images/04012025/16/27/image_04012025_16_27_02_427581_0003.jpg
/home/pi/Desktop/images/04012025/16/28/image_04012025_16_28_02_586260_0000.jpg
/home/pi/Desktop/images/04012025/16/28/image_04012025_16_28_02_586260_0001.jpg
/home/pi/Desktop/images/04012025/16/28/image_04012025_16_28_02_586260_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326656847","1326656832","1326656835","1326656849","1326656837","1326656828"],"photo_ids_order":["1326656828","1326656832","1326656835","1326656837","1326656847","1326656849"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/278cda9d8fac03bb27b99b1eb0ea58d1.jpg","text":"TemporaryFile(/tmp/multipartBody4684213334589667662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005117242,"filename":"image_04012025_16_28_02_586260_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/419467f5988a4d6c191ad4c0bafec1f5.jpg","text":"TemporaryFile(/tmp/multipartBody4394469631391789549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005117242,"filename":"image_04012025_16_27_02_427581_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d930cf622516bc8b0a81c8d8534b1312.jpg","text":"TemporaryFile(/tmp/multipartBody6098936421100770773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005117242,"filename":"image_04012025_16_27_02_427581_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b4a59afc56b74ca46c7c2f15fafda03d.jpg","text":"TemporaryFile(/tmp/multipartBody636050932228941822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005117242,"filename":"image_04012025_16_28_02_586260_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fe0318cf46ac256d8246fca25286364a.jpg","text":"TemporaryFile(/tmp/multipartBody6055918447191989906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005117242,"filename":"image_04012025_16_28_02_586260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/05441d3d19289aa748ecd03c40664675.jpg","text":"TemporaryFile(/tmp/multipartBody2925524539677018747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005117242,"filename":"image_04012025_16_27_02_427581_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326656835","file1":"1326656832","file0":"1326656828","file4":"1326656847","file5":"1326656849","file3":"1326656837"},"map_files_photo_id_array":[{"photo_id":"1326656849","filename":"file5"},{"photo_id":"1326656835","filename":"file2"},{"photo_id":"1326656847","filename":"file4"},{"photo_id":"1326656832","filename":"file1"},{"photo_id":"1326656828","filename":"file0"},{"photo_id":"1326656837","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326656847":["hashtag1","hashtag2"]},{"1326656832":["hashtag1","hashtag2"]},{"1326656835":["hashtag1","hashtag2"]},{"1326656849":["hashtag1","hashtag2"]},{"1326656837":["hashtag1","hashtag2"]},{"1326656828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326656847, 1326656832, 1326656835, 1326656849, 1326656837, 1326656828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.99409222602844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:38:22.292488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/28/image_04012025_16_28_02_586260_0003.jpg', '/home/pi/Desktop/images/04012025/16/29/image_04012025_16_29_02_825766_0000.jpg', '/home/pi/Desktop/images/04012025/16/29/image_04012025_16_29_02_825766_0001.jpg', '/home/pi/Desktop/images/04012025/16/29/image_04012025_16_29_02_825766_0002.jpg', '/home/pi/Desktop/images/04012025/16/29/image_04012025_16_29_02_825766_0003.jpg', '/home/pi/Desktop/images/04012025/16/30/image_04012025_16_30_03_148004_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/28/image_04012025_16_28_02_586260_0003.jpg
/home/pi/Desktop/images/04012025/16/29/image_04012025_16_29_02_825766_0000.jpg
/home/pi/Desktop/images/04012025/16/29/image_04012025_16_29_02_825766_0001.jpg
/home/pi/Desktop/images/04012025/16/29/image_04012025_16_29_02_825766_0002.jpg
/home/pi/Desktop/images/04012025/16/29/image_04012025_16_29_02_825766_0003.jpg
/home/pi/Desktop/images/04012025/16/30/image_04012025_16_30_03_148004_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.825575351715088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 16:38:42.302771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/28/image_04012025_16_28_02_586260_0003.jpg', '/home/pi/Desktop/images/04012025/16/29/image_04012025_16_29_02_825766_0000.jpg', '/home/pi/Desktop/images/04012025/16/29/image_04012025_16_29_02_825766_0001.jpg', '/home/pi/Desktop/images/04012025/16/29/image_04012025_16_29_02_825766_0002.jpg', '/home/pi/Desktop/images/04012025/16/29/image_04012025_16_29_02_825766_0003.jpg', '/home/pi/Desktop/images/04012025/16/30/image_04012025_16_30_03_148004_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/28/image_04012025_16_28_02_586260_0003.jpg
/home/pi/Desktop/images/04012025/16/29/image_04012025_16_29_02_825766_0000.jpg
/home/pi/Desktop/images/04012025/16/29/image_04012025_16_29_02_825766_0001.jpg
/home/pi/Desktop/images/04012025/16/29/image_04012025_16_29_02_825766_0002.jpg
/home/pi/Desktop/images/04012025/16/29/image_04012025_16_29_02_825766_0003.jpg
/home/pi/Desktop/images/04012025/16/30/image_04012025_16_30_03_148004_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":["1326657900","1326657530","1326658327","1326658831","1326657657","1326658781"],"photo_ids_order":["1326657530","1326657657","1326657900","1326658327","1326658781","1326658831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fe210d8db4102122378a8b204274905c.jpg","text":"TemporaryFile(/tmp/multipartBody7121522440658711065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005197512,"filename":"image_04012025_16_29_02_825766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed7e76c55f277ff0ed8f123c978532e3.jpg","text":"TemporaryFile(/tmp/multipartBody5440520896589330810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005197512,"filename":"image_04012025_16_28_02_586260_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4a89879fd57558ac8a1e53acd87e0bd3.jpg","text":"TemporaryFile(/tmp/multipartBody4362636220198792345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005197512,"filename":"image_04012025_16_29_02_825766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2782d873c3fe75f6d968f48a7ef22c3d.jpg","text":"TemporaryFile(/tmp/multipartBody318131769579267427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005197512,"filename":"image_04012025_16_30_03_148004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a32e7b29734406916c4c78e248063c58.jpg","text":"TemporaryFile(/tmp/multipartBody1216181493204605395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005197512,"filename":"image_04012025_16_29_02_825766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3f8722f3feeaecd1c8b8697edd32dc28.jpg","text":"TemporaryFile(/tmp/multipartBody6579927028217695793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005197512,"filename":"image_04012025_16_29_02_825766_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326657900","file1":"1326657657","file0":"1326657530","file4":"1326658781","file5":"1326658831","file3":"1326658327"},"map_files_photo_id_array":[{"photo_id":"1326658831","filename":"file5"},{"photo_id":"1326657900","filename":"file2"},{"photo_id":"1326658781","filename":"file4"},{"photo_id":"1326657657","filename":"file1"},{"photo_id":"1326657530","filename":"file0"},{"photo_id":"1326658327","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326657900":["hashtag1","hashtag2"]},{"1326657530":["hashtag1","hashtag2"]},{"1326658327":["hashtag1","hashtag2"]},{"1326658831":["hashtag1","hashtag2"]},{"1326657657":["hashtag1","hashtag2"]},{"1326658781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326657900, 1326657530, 1326658327, 1326658831, 1326657657, 1326658781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.69759154319763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 16:39:42.535703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/30/image_04012025_16_30_03_148004_0001.jpg', '/home/pi/Desktop/images/04012025/16/30/image_04012025_16_30_03_148004_0002.jpg', '/home/pi/Desktop/images/04012025/16/30/image_04012025_16_30_03_148004_0003.jpg', '/home/pi/Desktop/images/04012025/16/31/image_04012025_16_31_02_216018_0000.jpg', '/home/pi/Desktop/images/04012025/16/31/image_04012025_16_31_02_216018_0001.jpg', '/home/pi/Desktop/images/04012025/16/31/image_04012025_16_31_02_216018_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/30/image_04012025_16_30_03_148004_0001.jpg
/home/pi/Desktop/images/04012025/16/30/image_04012025_16_30_03_148004_0002.jpg
/home/pi/Desktop/images/04012025/16/30/image_04012025_16_30_03_148004_0003.jpg
/home/pi/Desktop/images/04012025/16/31/image_04012025_16_31_02_216018_0000.jpg
/home/pi/Desktop/images/04012025/16/31/image_04012025_16_31_02_216018_0001.jpg
/home/pi/Desktop/images/04012025/16/31/image_04012025_16_31_02_216018_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.803447484970093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 16:40:03.023236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/30/image_04012025_16_30_03_148004_0001.jpg', '/home/pi/Desktop/images/04012025/16/30/image_04012025_16_30_03_148004_0002.jpg', '/home/pi/Desktop/images/04012025/16/30/image_04012025_16_30_03_148004_0003.jpg', '/home/pi/Desktop/images/04012025/16/31/image_04012025_16_31_02_216018_0000.jpg', '/home/pi/Desktop/images/04012025/16/31/image_04012025_16_31_02_216018_0001.jpg', '/home/pi/Desktop/images/04012025/16/31/image_04012025_16_31_02_216018_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/30/image_04012025_16_30_03_148004_0001.jpg
/home/pi/Desktop/images/04012025/16/30/image_04012025_16_30_03_148004_0002.jpg
/home/pi/Desktop/images/04012025/16/30/image_04012025_16_30_03_148004_0003.jpg
/home/pi/Desktop/images/04012025/16/31/image_04012025_16_31_02_216018_0000.jpg
/home/pi/Desktop/images/04012025/16/31/image_04012025_16_31_02_216018_0001.jpg
/home/pi/Desktop/images/04012025/16/31/image_04012025_16_31_02_216018_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326659920","1326659970","1326659922","1326660004","1326659622","1326659924"],"photo_ids_order":["1326659622","1326659920","1326659922","1326659924","1326659970","1326660004"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/33fb3f4af3ec9af8a535724b77d0b5d2.jpg","text":"TemporaryFile(/tmp/multipartBody8101651363827205322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005278278,"filename":"image_04012025_16_30_03_148004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e1eb741335ef6e749525ccb8c87857d6.jpg","text":"TemporaryFile(/tmp/multipartBody6357150110805429699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005278278,"filename":"image_04012025_16_31_02_216018_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1107c769f3d6b19670829c5c694a8ff4.jpg","text":"TemporaryFile(/tmp/multipartBody1450028364992789417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005278278,"filename":"image_04012025_16_30_03_148004_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6a34f4ecc6ae6a69ca9edcf7bfed3de9.jpg","text":"TemporaryFile(/tmp/multipartBody725228643897815422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005278278,"filename":"image_04012025_16_31_02_216018_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/96536c6624134344cb1e184d9e6c6d31.jpg","text":"TemporaryFile(/tmp/multipartBody846422918899003363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005278278,"filename":"image_04012025_16_30_03_148004_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4e133d219c87d7e8f85149b2b3905b85.jpg","text":"TemporaryFile(/tmp/multipartBody1975285062387300456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005278278,"filename":"image_04012025_16_31_02_216018_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326659922","file1":"1326659920","file0":"1326659622","file4":"1326659970","file5":"1326660004","file3":"1326659924"},"map_files_photo_id_array":[{"photo_id":"1326660004","filename":"file5"},{"photo_id":"1326659922","filename":"file2"},{"photo_id":"1326659970","filename":"file4"},{"photo_id":"1326659920","filename":"file1"},{"photo_id":"1326659622","filename":"file0"},{"photo_id":"1326659924","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326659920":["hashtag1","hashtag2"]},{"1326659970":["hashtag1","hashtag2"]},{"1326659922":["hashtag1","hashtag2"]},{"1326660004":["hashtag1","hashtag2"]},{"1326659622":["hashtag1","hashtag2"]},{"1326659924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326659920, 1326659970, 1326659922, 1326660004, 1326659622, 1326659924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.672889947891235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 16:41:02.449502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/31/image_04012025_16_31_02_216018_0003.jpg', '/home/pi/Desktop/images/04012025/16/32/image_04012025_16_32_02_395501_0000.jpg', '/home/pi/Desktop/images/04012025/16/32/image_04012025_16_32_02_395501_0001.jpg', '/home/pi/Desktop/images/04012025/16/32/image_04012025_16_32_02_395501_0002.jpg', '/home/pi/Desktop/images/04012025/16/32/image_04012025_16_32_02_395501_0003.jpg', '/home/pi/Desktop/images/04012025/16/33/image_04012025_16_33_02_556350_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/31/image_04012025_16_31_02_216018_0003.jpg
/home/pi/Desktop/images/04012025/16/32/image_04012025_16_32_02_395501_0000.jpg
/home/pi/Desktop/images/04012025/16/32/image_04012025_16_32_02_395501_0001.jpg
/home/pi/Desktop/images/04012025/16/32/image_04012025_16_32_02_395501_0002.jpg
/home/pi/Desktop/images/04012025/16/32/image_04012025_16_32_02_395501_0003.jpg
/home/pi/Desktop/images/04012025/16/33/image_04012025_16_33_02_556350_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":["1326660739","1326660733","1326660736","1326660165","1326660566","1326660281"],"photo_ids_order":["1326660165","1326660281","1326660566","1326660733","1326660736","1326660739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/42aa9eadc11081a2332080c0b0be03b9.jpg","text":"TemporaryFile(/tmp/multipartBody7866256903460501982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005337850,"filename":"image_04012025_16_33_02_556350_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/93ed5a39939e8a380985554893f751d8.jpg","text":"TemporaryFile(/tmp/multipartBody4896541288692922280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005337850,"filename":"image_04012025_16_32_02_395501_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a3f203940cc5200c70044f3c1f86eaa7.jpg","text":"TemporaryFile(/tmp/multipartBody5840948441513899363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005337850,"filename":"image_04012025_16_32_02_395501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c164248cf90bdbae8f80003c420233c0.jpg","text":"TemporaryFile(/tmp/multipartBody8254486015538836446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005337850,"filename":"image_04012025_16_31_02_216018_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b4524cb120275a8226315ff058c59a5a.jpg","text":"TemporaryFile(/tmp/multipartBody1085671611938453083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005337850,"filename":"image_04012025_16_32_02_395501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7db59ed72c59412b8e03f3f893844abf.jpg","text":"TemporaryFile(/tmp/multipartBody2005326108091055943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005337850,"filename":"image_04012025_16_32_02_395501_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326660566","file1":"1326660281","file0":"1326660165","file4":"1326660736","file5":"1326660739","file3":"1326660733"},"map_files_photo_id_array":[{"photo_id":"1326660739","filename":"file5"},{"photo_id":"1326660566","filename":"file2"},{"photo_id":"1326660736","filename":"file4"},{"photo_id":"1326660281","filename":"file1"},{"photo_id":"1326660165","filename":"file0"},{"photo_id":"1326660733","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326660739":["hashtag1","hashtag2"]},{"1326660733":["hashtag1","hashtag2"]},{"1326660736":["hashtag1","hashtag2"]},{"1326660165":["hashtag1","hashtag2"]},{"1326660566":["hashtag1","hashtag2"]},{"1326660281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326660739, 1326660733, 1326660736, 1326660165, 1326660566, 1326660281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.862645864486694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 16:42:02.543616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/33/image_04012025_16_33_02_556350_0001.jpg', '/home/pi/Desktop/images/04012025/16/33/image_04012025_16_33_02_556350_0002.jpg', '/home/pi/Desktop/images/04012025/16/33/image_04012025_16_33_02_556350_0003.jpg', '/home/pi/Desktop/images/04012025/16/34/image_04012025_16_34_02_740289_0000.jpg', '/home/pi/Desktop/images/04012025/16/34/image_04012025_16_34_02_740289_0001.jpg', '/home/pi/Desktop/images/04012025/16/34/image_04012025_16_34_02_740289_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/33/image_04012025_16_33_02_556350_0001.jpg
/home/pi/Desktop/images/04012025/16/33/image_04012025_16_33_02_556350_0002.jpg
/home/pi/Desktop/images/04012025/16/33/image_04012025_16_33_02_556350_0003.jpg
/home/pi/Desktop/images/04012025/16/34/image_04012025_16_34_02_740289_0000.jpg
/home/pi/Desktop/images/04012025/16/34/image_04012025_16_34_02_740289_0001.jpg
/home/pi/Desktop/images/04012025/16/34/image_04012025_16_34_02_740289_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326660982","1326661581","1326661311","1326660849","1326661382","1326661439"],"photo_ids_order":["1326660849","1326660982","1326661311","1326661382","1326661439","1326661581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/647882521b4316b8d9a326352a603052.jpg","text":"TemporaryFile(/tmp/multipartBody1512701868693395623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005397754,"filename":"image_04012025_16_33_02_556350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b5c4c79775a802e3325ee9920a77cfcf.jpg","text":"TemporaryFile(/tmp/multipartBody8126252433627485614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005397754,"filename":"image_04012025_16_34_02_740289_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fb8f82efe750097b40ab460f18e98159.jpg","text":"TemporaryFile(/tmp/multipartBody7511749011382518237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005397754,"filename":"image_04012025_16_33_02_556350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f842ddcc927fd2ebac68b5852f5c1d2.jpg","text":"TemporaryFile(/tmp/multipartBody8901704903690973598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005397754,"filename":"image_04012025_16_33_02_556350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9b9389ce58313ed37ee7e113084cb9de.jpg","text":"TemporaryFile(/tmp/multipartBody4774634126957165285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005397754,"filename":"image_04012025_16_34_02_740289_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/01cfd23222a8518ddad5f1ebc13c5c63.jpg","text":"TemporaryFile(/tmp/multipartBody3231326614922094547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005397754,"filename":"image_04012025_16_34_02_740289_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326661311","file1":"1326660982","file0":"1326660849","file4":"1326661439","file5":"1326661581","file3":"1326661382"},"map_files_photo_id_array":[{"photo_id":"1326661581","filename":"file5"},{"photo_id":"1326661311","filename":"file2"},{"photo_id":"1326661439","filename":"file4"},{"photo_id":"1326660982","filename":"file1"},{"photo_id":"1326660849","filename":"file0"},{"photo_id":"1326661382","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326660982":["hashtag1","hashtag2"]},{"1326661581":["hashtag1","hashtag2"]},{"1326661311":["hashtag1","hashtag2"]},{"1326660849":["hashtag1","hashtag2"]},{"1326661382":["hashtag1","hashtag2"]},{"1326661439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326660982, 1326661581, 1326661311, 1326660849, 1326661382, 1326661439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.925822496414185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:43:22.261872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/34/image_04012025_16_34_02_740289_0003.jpg', '/home/pi/Desktop/images/04012025/16/35/image_04012025_16_35_02_902826_0000.jpg', '/home/pi/Desktop/images/04012025/16/35/image_04012025_16_35_02_902826_0001.jpg', '/home/pi/Desktop/images/04012025/16/35/image_04012025_16_35_02_902826_0002.jpg', '/home/pi/Desktop/images/04012025/16/35/image_04012025_16_35_02_902826_0003.jpg', '/home/pi/Desktop/images/04012025/16/36/image_04012025_16_36_03_074925_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/34/image_04012025_16_34_02_740289_0003.jpg
/home/pi/Desktop/images/04012025/16/35/image_04012025_16_35_02_902826_0000.jpg
/home/pi/Desktop/images/04012025/16/35/image_04012025_16_35_02_902826_0001.jpg
/home/pi/Desktop/images/04012025/16/35/image_04012025_16_35_02_902826_0002.jpg
/home/pi/Desktop/images/04012025/16/35/image_04012025_16_35_02_902826_0003.jpg
/home/pi/Desktop/images/04012025/16/36/image_04012025_16_36_03_074925_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":["1326662932","1326662673","1326662870","1326663011","1326662765","1326662773"],"photo_ids_order":["1326662673","1326662765","1326662773","1326662870","1326662932","1326663011"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/537acaf7b5b3eb76e816620fb1094e03.jpg","text":"TemporaryFile(/tmp/multipartBody7095569028635400308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005477538,"filename":"image_04012025_16_35_02_902826_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f5d33088bf93889c3c98feab05502218.jpg","text":"TemporaryFile(/tmp/multipartBody2638204911391092674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005477538,"filename":"image_04012025_16_34_02_740289_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/33becbb47f9fd83b4f203936c9b51ef4.jpg","text":"TemporaryFile(/tmp/multipartBody2909604527515658562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005477538,"filename":"image_04012025_16_35_02_902826_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7643581919faff26900504f3fd1db43d.jpg","text":"TemporaryFile(/tmp/multipartBody4687229100322719115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005477538,"filename":"image_04012025_16_36_03_074925_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db62b0c938466ea51d3be9f9d9e5d040.jpg","text":"TemporaryFile(/tmp/multipartBody8050072716392958359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005477538,"filename":"image_04012025_16_35_02_902826_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e37b5de9a646a44cab7c6a7b7f7a0ae9.jpg","text":"TemporaryFile(/tmp/multipartBody4051409982816710617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005477538,"filename":"image_04012025_16_35_02_902826_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326662773","file1":"1326662765","file0":"1326662673","file4":"1326662932","file5":"1326663011","file3":"1326662870"},"map_files_photo_id_array":[{"photo_id":"1326663011","filename":"file5"},{"photo_id":"1326662773","filename":"file2"},{"photo_id":"1326662932","filename":"file4"},{"photo_id":"1326662765","filename":"file1"},{"photo_id":"1326662673","filename":"file0"},{"photo_id":"1326662870","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326662932":["hashtag1","hashtag2"]},{"1326662673":["hashtag1","hashtag2"]},{"1326662870":["hashtag1","hashtag2"]},{"1326663011":["hashtag1","hashtag2"]},{"1326662765":["hashtag1","hashtag2"]},{"1326662773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326662932, 1326662673, 1326662870, 1326663011, 1326662765, 1326662773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.5897057056427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:44:22.522834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/36/image_04012025_16_36_03_074925_0001.jpg', '/home/pi/Desktop/images/04012025/16/36/image_04012025_16_36_03_074925_0002.jpg', '/home/pi/Desktop/images/04012025/16/36/image_04012025_16_36_03_074925_0003.jpg', '/home/pi/Desktop/images/04012025/16/37/image_04012025_16_37_02_338705_0000.jpg', '/home/pi/Desktop/images/04012025/16/37/image_04012025_16_37_02_338705_0001.jpg', '/home/pi/Desktop/images/04012025/16/37/image_04012025_16_37_02_338705_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/36/image_04012025_16_36_03_074925_0001.jpg
/home/pi/Desktop/images/04012025/16/36/image_04012025_16_36_03_074925_0002.jpg
/home/pi/Desktop/images/04012025/16/36/image_04012025_16_36_03_074925_0003.jpg
/home/pi/Desktop/images/04012025/16/37/image_04012025_16_37_02_338705_0000.jpg
/home/pi/Desktop/images/04012025/16/37/image_04012025_16_37_02_338705_0001.jpg
/home/pi/Desktop/images/04012025/16/37/image_04012025_16_37_02_338705_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326663030","1326663032","1326663023","1326663026","1326663262","1326663034"],"photo_ids_order":["1326663023","1326663026","1326663030","1326663032","1326663034","1326663262"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5706efa91f4d9e37ed089a7f60de3e44.jpg","text":"TemporaryFile(/tmp/multipartBody2927620650542822330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005537723,"filename":"image_04012025_16_36_03_074925_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7874d6329bf9ed57424f7598e6178d8c.jpg","text":"TemporaryFile(/tmp/multipartBody3360883408805414472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005537723,"filename":"image_04012025_16_37_02_338705_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9d1c18627dd220ca18506a5a79b4df26.jpg","text":"TemporaryFile(/tmp/multipartBody7900870505412269047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005537723,"filename":"image_04012025_16_36_03_074925_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ff358e4169464c72f39e7845dc519bad.jpg","text":"TemporaryFile(/tmp/multipartBody5739961604240581864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005537723,"filename":"image_04012025_16_36_03_074925_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/95c291a388d8c887d20ac52d18a0cc1c.jpg","text":"TemporaryFile(/tmp/multipartBody1392125362981259875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005537723,"filename":"image_04012025_16_37_02_338705_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9833e0c4283858ecaccf7fec969e824b.jpg","text":"TemporaryFile(/tmp/multipartBody6004040047729654190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005537723,"filename":"image_04012025_16_37_02_338705_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326663030","file1":"1326663026","file0":"1326663023","file4":"1326663034","file5":"1326663262","file3":"1326663032"},"map_files_photo_id_array":[{"photo_id":"1326663262","filename":"file5"},{"photo_id":"1326663030","filename":"file2"},{"photo_id":"1326663034","filename":"file4"},{"photo_id":"1326663026","filename":"file1"},{"photo_id":"1326663023","filename":"file0"},{"photo_id":"1326663032","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326663030":["hashtag1","hashtag2"]},{"1326663032":["hashtag1","hashtag2"]},{"1326663023":["hashtag1","hashtag2"]},{"1326663026":["hashtag1","hashtag2"]},{"1326663262":["hashtag1","hashtag2"]},{"1326663034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326663030, 1326663032, 1326663023, 1326663026, 1326663262, 1326663034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.14387369155884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:45:22.622155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/37/image_04012025_16_37_02_338705_0003.jpg', '/home/pi/Desktop/images/04012025/16/38/image_04012025_16_38_02_521980_0000.jpg', '/home/pi/Desktop/images/04012025/16/38/image_04012025_16_38_02_521980_0001.jpg', '/home/pi/Desktop/images/04012025/16/38/image_04012025_16_38_02_521980_0003.jpg', '/home/pi/Desktop/images/04012025/16/39/image_04012025_16_39_02_607899_0000.jpg', '/home/pi/Desktop/images/04012025/16/39/image_04012025_16_39_02_607899_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/37/image_04012025_16_37_02_338705_0003.jpg
/home/pi/Desktop/images/04012025/16/38/image_04012025_16_38_02_521980_0000.jpg
/home/pi/Desktop/images/04012025/16/38/image_04012025_16_38_02_521980_0001.jpg
/home/pi/Desktop/images/04012025/16/38/image_04012025_16_38_02_521980_0003.jpg
/home/pi/Desktop/images/04012025/16/39/image_04012025_16_39_02_607899_0000.jpg
/home/pi/Desktop/images/04012025/16/39/image_04012025_16_39_02_607899_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":["1326664125","1326663802","1326663794","1326664666","1326664986","1326663798"],"photo_ids_order":["1326663794","1326663798","1326663802","1326664125","1326664666","1326664986"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1a9177b68af57fc1daf6de92968c53ee.jpg","text":"TemporaryFile(/tmp/multipartBody5790458645592567772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005597801,"filename":"image_04012025_16_38_02_521980_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/890cc83a6d8023f81ab34e0a789f5f2a.jpg","text":"TemporaryFile(/tmp/multipartBody7530459525063979943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005597801,"filename":"image_04012025_16_38_02_521980_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/87fa013e3d5a7983163486bf6788e8fb.jpg","text":"TemporaryFile(/tmp/multipartBody7644610618323116516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005597801,"filename":"image_04012025_16_37_02_338705_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/314da87fad48ade9945edea2e5b6461c.jpg","text":"TemporaryFile(/tmp/multipartBody8152810843623909951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005597801,"filename":"image_04012025_16_39_02_607899_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/19e1a69d2a01d45728167178f40ec6ab.jpg","text":"TemporaryFile(/tmp/multipartBody56452284272676541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005597801,"filename":"image_04012025_16_39_02_607899_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/745dde41d7b4dcf9c2b9216658fe3feb.jpg","text":"TemporaryFile(/tmp/multipartBody1320584529190820104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005597801,"filename":"image_04012025_16_38_02_521980_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326663802","file1":"1326663798","file0":"1326663794","file4":"1326664666","file5":"1326664986","file3":"1326664125"},"map_files_photo_id_array":[{"photo_id":"1326664986","filename":"file5"},{"photo_id":"1326663802","filename":"file2"},{"photo_id":"1326664666","filename":"file4"},{"photo_id":"1326663798","filename":"file1"},{"photo_id":"1326663794","filename":"file0"},{"photo_id":"1326664125","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326664125":["hashtag1","hashtag2"]},{"1326663802":["hashtag1","hashtag2"]},{"1326663794":["hashtag1","hashtag2"]},{"1326664666":["hashtag1","hashtag2"]},{"1326664986":["hashtag1","hashtag2"]},{"1326663798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326664125, 1326663802, 1326663794, 1326664666, 1326664986, 1326663798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.48082399368286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:46:22.771980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/39/image_04012025_16_39_02_607899_0002.jpg', '/home/pi/Desktop/images/04012025/16/39/image_04012025_16_39_02_607899_0003.jpg', '/home/pi/Desktop/images/04012025/16/40/image_04012025_16_40_02_884763_0000.jpg', '/home/pi/Desktop/images/04012025/16/40/image_04012025_16_40_02_884763_0001.jpg', '/home/pi/Desktop/images/04012025/16/40/image_04012025_16_40_02_884763_0002.jpg', '/home/pi/Desktop/images/04012025/16/40/image_04012025_16_40_02_884763_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/39/image_04012025_16_39_02_607899_0002.jpg
/home/pi/Desktop/images/04012025/16/39/image_04012025_16_39_02_607899_0003.jpg
/home/pi/Desktop/images/04012025/16/40/image_04012025_16_40_02_884763_0000.jpg
/home/pi/Desktop/images/04012025/16/40/image_04012025_16_40_02_884763_0001.jpg
/home/pi/Desktop/images/04012025/16/40/image_04012025_16_40_02_884763_0002.jpg
/home/pi/Desktop/images/04012025/16/40/image_04012025_16_40_02_884763_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":["1326665963","1326665386","1326665603","1326665965","1326665350","1326665880"],"photo_ids_order":["1326665350","1326665386","1326665603","1326665880","1326665963","1326665965"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e82a33ab6f733db4c62c19a2fe1f9551.jpg","text":"TemporaryFile(/tmp/multipartBody8262349101843303127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005657901,"filename":"image_04012025_16_40_02_884763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/03f4e441622678ef68860828c437a1e6.jpg","text":"TemporaryFile(/tmp/multipartBody2083211417640505481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005657901,"filename":"image_04012025_16_39_02_607899_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cfb7b9a51d41adc0b02d7f2390b00eb5.jpg","text":"TemporaryFile(/tmp/multipartBody3189885722640625299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005657901,"filename":"image_04012025_16_40_02_884763_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/95f1605d5ea4412076dd280e145c07d1.jpg","text":"TemporaryFile(/tmp/multipartBody8137198107437385203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005657901,"filename":"image_04012025_16_40_02_884763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/07e5dbba44bdd4819465da1a5f604e44.jpg","text":"TemporaryFile(/tmp/multipartBody9000948442839214142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005657901,"filename":"image_04012025_16_39_02_607899_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b7977690090b0906cb541ba6d5ef23e1.jpg","text":"TemporaryFile(/tmp/multipartBody8039714951285967132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005657901,"filename":"image_04012025_16_40_02_884763_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326665603","file1":"1326665386","file0":"1326665350","file4":"1326665963","file5":"1326665965","file3":"1326665880"},"map_files_photo_id_array":[{"photo_id":"1326665965","filename":"file5"},{"photo_id":"1326665603","filename":"file2"},{"photo_id":"1326665963","filename":"file4"},{"photo_id":"1326665386","filename":"file1"},{"photo_id":"1326665350","filename":"file0"},{"photo_id":"1326665880","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326665963":["hashtag1","hashtag2"]},{"1326665386":["hashtag1","hashtag2"]},{"1326665603":["hashtag1","hashtag2"]},{"1326665965":["hashtag1","hashtag2"]},{"1326665350":["hashtag1","hashtag2"]},{"1326665880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326665963, 1326665386, 1326665603, 1326665965, 1326665350, 1326665880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.35526919364929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:47:21.966847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/41/image_04012025_16_41_02_995830_0000.jpg', '/home/pi/Desktop/images/04012025/16/41/image_04012025_16_41_02_995830_0001.jpg', '/home/pi/Desktop/images/04012025/16/41/image_04012025_16_41_02_995830_0002.jpg', '/home/pi/Desktop/images/04012025/16/41/image_04012025_16_41_02_995830_0003.jpg', '/home/pi/Desktop/images/04012025/16/42/image_04012025_16_42_02_248117_0000.jpg', '/home/pi/Desktop/images/04012025/16/42/image_04012025_16_42_02_248117_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/41/image_04012025_16_41_02_995830_0000.jpg
/home/pi/Desktop/images/04012025/16/41/image_04012025_16_41_02_995830_0001.jpg
/home/pi/Desktop/images/04012025/16/41/image_04012025_16_41_02_995830_0002.jpg
/home/pi/Desktop/images/04012025/16/41/image_04012025_16_41_02_995830_0003.jpg
/home/pi/Desktop/images/04012025/16/42/image_04012025_16_42_02_248117_0000.jpg
/home/pi/Desktop/images/04012025/16/42/image_04012025_16_42_02_248117_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326666704","1326666853","1326666598","1326666562","1326666646","1326666648"],"photo_ids_order":["1326666562","1326666598","1326666646","1326666648","1326666704","1326666853"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ac3f0d2384cef6e4a83dc05b2ecacb06.jpg","text":"TemporaryFile(/tmp/multipartBody440343746694911291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005717278,"filename":"image_04012025_16_42_02_248117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/06d514e74906c454ee961138177b7ea8.jpg","text":"TemporaryFile(/tmp/multipartBody7694468912182504179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005717278,"filename":"image_04012025_16_42_02_248117_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d6cf692df44262a137c26e6be13bda2.jpg","text":"TemporaryFile(/tmp/multipartBody1191475279910863527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005717278,"filename":"image_04012025_16_41_02_995830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/35102994446463cd16055b2204732547.jpg","text":"TemporaryFile(/tmp/multipartBody5822956164977096125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005717278,"filename":"image_04012025_16_41_02_995830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a896be8f10b599f150b0092bc0512ec3.jpg","text":"TemporaryFile(/tmp/multipartBody5344363391504546264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005717278,"filename":"image_04012025_16_41_02_995830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ff7486835c5509da5c47bc50b2a928d.jpg","text":"TemporaryFile(/tmp/multipartBody8036234677329753042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005717278,"filename":"image_04012025_16_41_02_995830_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326666646","file1":"1326666598","file0":"1326666562","file4":"1326666704","file5":"1326666853","file3":"1326666648"},"map_files_photo_id_array":[{"photo_id":"1326666853","filename":"file5"},{"photo_id":"1326666646","filename":"file2"},{"photo_id":"1326666704","filename":"file4"},{"photo_id":"1326666598","filename":"file1"},{"photo_id":"1326666562","filename":"file0"},{"photo_id":"1326666648","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326666704":["hashtag1","hashtag2"]},{"1326666853":["hashtag1","hashtag2"]},{"1326666598":["hashtag1","hashtag2"]},{"1326666562":["hashtag1","hashtag2"]},{"1326666646":["hashtag1","hashtag2"]},{"1326666648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326666704, 1326666853, 1326666598, 1326666562, 1326666646, 1326666648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.071956396102905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:48:22.151701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/42/image_04012025_16_42_02_248117_0003.jpg', '/home/pi/Desktop/images/04012025/16/43/image_04012025_16_43_02_408053_0000.jpg', '/home/pi/Desktop/images/04012025/16/43/image_04012025_16_43_02_408053_0001.jpg', '/home/pi/Desktop/images/04012025/16/43/image_04012025_16_43_02_408053_0002.jpg', '/home/pi/Desktop/images/04012025/16/43/image_04012025_16_43_02_408053_0003.jpg', '/home/pi/Desktop/images/04012025/16/44/image_04012025_16_44_02_598809_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/42/image_04012025_16_42_02_248117_0003.jpg
/home/pi/Desktop/images/04012025/16/43/image_04012025_16_43_02_408053_0000.jpg
/home/pi/Desktop/images/04012025/16/43/image_04012025_16_43_02_408053_0001.jpg
/home/pi/Desktop/images/04012025/16/43/image_04012025_16_43_02_408053_0002.jpg
/home/pi/Desktop/images/04012025/16/43/image_04012025_16_43_02_408053_0003.jpg
/home/pi/Desktop/images/04012025/16/44/image_04012025_16_44_02_598809_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":["1326667885","1326667972","1326667888","1326667816","1326667819","1326668030"],"photo_ids_order":["1326667816","1326667819","1326667885","1326667888","1326667972","1326668030"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8e0d575fc49401e0d7391ed4b3c88adc.jpg","text":"TemporaryFile(/tmp/multipartBody5378702961996744232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005777188,"filename":"image_04012025_16_43_02_408053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ea60cf4769f8ea6dbeade3dbf19b1b0a.jpg","text":"TemporaryFile(/tmp/multipartBody3917370610464479949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005777188,"filename":"image_04012025_16_43_02_408053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8a6021cc31741085f6aac74e08ba77ea.jpg","text":"TemporaryFile(/tmp/multipartBody4323337945869359383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005777188,"filename":"image_04012025_16_43_02_408053_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d1baca95a75b2d7d5ffa992d11238fa7.jpg","text":"TemporaryFile(/tmp/multipartBody8238946474137585812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005777188,"filename":"image_04012025_16_42_02_248117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3d2df8b439022e0b2686c19bb4d7fcc3.jpg","text":"TemporaryFile(/tmp/multipartBody737677761169604825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005777188,"filename":"image_04012025_16_43_02_408053_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4c828f4204f08964e79fb3938bb7eb57.jpg","text":"TemporaryFile(/tmp/multipartBody381441874502327074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005777188,"filename":"image_04012025_16_44_02_598809_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326667885","file1":"1326667819","file0":"1326667816","file4":"1326667972","file5":"1326668030","file3":"1326667888"},"map_files_photo_id_array":[{"photo_id":"1326668030","filename":"file5"},{"photo_id":"1326667885","filename":"file2"},{"photo_id":"1326667972","filename":"file4"},{"photo_id":"1326667819","filename":"file1"},{"photo_id":"1326667816","filename":"file0"},{"photo_id":"1326667888","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326667885":["hashtag1","hashtag2"]},{"1326667972":["hashtag1","hashtag2"]},{"1326667888":["hashtag1","hashtag2"]},{"1326667816":["hashtag1","hashtag2"]},{"1326667819":["hashtag1","hashtag2"]},{"1326668030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326667885, 1326667972, 1326667888, 1326667816, 1326667819, 1326668030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.85221195220947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:49:22.312148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/44/image_04012025_16_44_02_598809_0001.jpg', '/home/pi/Desktop/images/04012025/16/44/image_04012025_16_44_02_598809_0002.jpg', '/home/pi/Desktop/images/04012025/16/44/image_04012025_16_44_02_598809_0003.jpg', '/home/pi/Desktop/images/04012025/16/45/image_04012025_16_45_02_781160_0000.jpg', '/home/pi/Desktop/images/04012025/16/45/image_04012025_16_45_02_781160_0001.jpg', '/home/pi/Desktop/images/04012025/16/45/image_04012025_16_45_02_781160_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/44/image_04012025_16_44_02_598809_0001.jpg
/home/pi/Desktop/images/04012025/16/44/image_04012025_16_44_02_598809_0002.jpg
/home/pi/Desktop/images/04012025/16/44/image_04012025_16_44_02_598809_0003.jpg
/home/pi/Desktop/images/04012025/16/45/image_04012025_16_45_02_781160_0000.jpg
/home/pi/Desktop/images/04012025/16/45/image_04012025_16_45_02_781160_0001.jpg
/home/pi/Desktop/images/04012025/16/45/image_04012025_16_45_02_781160_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":["1326668152","1326668149","1326668166","1326668154","1326668142","1326668145"],"photo_ids_order":["1326668142","1326668145","1326668149","1326668152","1326668154","1326668166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/451eae7bc5821aa41e552a302b0609f1.jpg","text":"TemporaryFile(/tmp/multipartBody1035235449536336810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005837415,"filename":"image_04012025_16_45_02_781160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/70ca3fe0cda20fcb8485d90aa8261548.jpg","text":"TemporaryFile(/tmp/multipartBody5486725438308999778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005837415,"filename":"image_04012025_16_44_02_598809_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/edcf5aadd0f725111528d31f866623cb.jpg","text":"TemporaryFile(/tmp/multipartBody7354064843482238232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005837415,"filename":"image_04012025_16_45_02_781160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0fe1261f70c396a476b34673f93a304b.jpg","text":"TemporaryFile(/tmp/multipartBody337060154764370120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005837415,"filename":"image_04012025_16_45_02_781160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b90cc60de234f83d1721a50a0efc267b.jpg","text":"TemporaryFile(/tmp/multipartBody1615160359752605637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005837415,"filename":"image_04012025_16_44_02_598809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bc7a5529843423b7a491167286444af1.jpg","text":"TemporaryFile(/tmp/multipartBody4481946663829569922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005837415,"filename":"image_04012025_16_44_02_598809_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326668149","file1":"1326668145","file0":"1326668142","file4":"1326668154","file5":"1326668166","file3":"1326668152"},"map_files_photo_id_array":[{"photo_id":"1326668166","filename":"file5"},{"photo_id":"1326668149","filename":"file2"},{"photo_id":"1326668154","filename":"file4"},{"photo_id":"1326668145","filename":"file1"},{"photo_id":"1326668142","filename":"file0"},{"photo_id":"1326668152","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326668152":["hashtag1","hashtag2"]},{"1326668149":["hashtag1","hashtag2"]},{"1326668166":["hashtag1","hashtag2"]},{"1326668154":["hashtag1","hashtag2"]},{"1326668142":["hashtag1","hashtag2"]},{"1326668145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326668152, 1326668149, 1326668166, 1326668154, 1326668142, 1326668145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.656795501708984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:50:22.489117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/46/image_04012025_16_46_02_929495_0000.jpg', '/home/pi/Desktop/images/04012025/16/46/image_04012025_16_46_02_929495_0001.jpg', '/home/pi/Desktop/images/04012025/16/46/image_04012025_16_46_02_929495_0002.jpg', '/home/pi/Desktop/images/04012025/16/46/image_04012025_16_46_02_929495_0003.jpg', '/home/pi/Desktop/images/04012025/16/47/image_04012025_16_47_03_172065_0000.jpg', '/home/pi/Desktop/images/04012025/16/47/image_04012025_16_47_03_172065_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/46/image_04012025_16_46_02_929495_0000.jpg
/home/pi/Desktop/images/04012025/16/46/image_04012025_16_46_02_929495_0001.jpg
/home/pi/Desktop/images/04012025/16/46/image_04012025_16_46_02_929495_0002.jpg
/home/pi/Desktop/images/04012025/16/46/image_04012025_16_46_02_929495_0003.jpg
/home/pi/Desktop/images/04012025/16/47/image_04012025_16_47_03_172065_0000.jpg
/home/pi/Desktop/images/04012025/16/47/image_04012025_16_47_03_172065_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":["1326669213","1326669138","1326669047","1326668671","1326668746","1326668674"],"photo_ids_order":["1326668671","1326668674","1326668746","1326669047","1326669138","1326669213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d90d92a150527f0f75d53ffd01c98004.jpg","text":"TemporaryFile(/tmp/multipartBody4442242614400306315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005897743,"filename":"image_04012025_16_47_03_172065_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dc1e0481ba9e99be842d27a26ee8f2cc.jpg","text":"TemporaryFile(/tmp/multipartBody2512815139661629444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005897743,"filename":"image_04012025_16_47_03_172065_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4da2c898156743e7804105c4f71f48c3.jpg","text":"TemporaryFile(/tmp/multipartBody9161799564028702591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005897743,"filename":"image_04012025_16_46_02_929495_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0c58760422d7af9f6b888d1b468c0ae7.jpg","text":"TemporaryFile(/tmp/multipartBody939641271233508289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005897743,"filename":"image_04012025_16_46_02_929495_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7c12be733bb03f19bfb36ac71cd1fb85.jpg","text":"TemporaryFile(/tmp/multipartBody1351705950394478470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005897743,"filename":"image_04012025_16_46_02_929495_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4d86cb140bb938ab4e1886fa46e3fd6e.jpg","text":"TemporaryFile(/tmp/multipartBody4126702819804023686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005897743,"filename":"image_04012025_16_46_02_929495_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326668746","file1":"1326668674","file0":"1326668671","file4":"1326669138","file5":"1326669213","file3":"1326669047"},"map_files_photo_id_array":[{"photo_id":"1326669213","filename":"file5"},{"photo_id":"1326668746","filename":"file2"},{"photo_id":"1326669138","filename":"file4"},{"photo_id":"1326668674","filename":"file1"},{"photo_id":"1326668671","filename":"file0"},{"photo_id":"1326669047","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326669213":["hashtag1","hashtag2"]},{"1326669138":["hashtag1","hashtag2"]},{"1326669047":["hashtag1","hashtag2"]},{"1326668671":["hashtag1","hashtag2"]},{"1326668746":["hashtag1","hashtag2"]},{"1326668674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326669213, 1326669138, 1326669047, 1326668671, 1326668746, 1326668674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.68867635726929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:51:22.629302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/47/image_04012025_16_47_03_172065_0002.jpg', '/home/pi/Desktop/images/04012025/16/47/image_04012025_16_47_03_172065_0003.jpg', '/home/pi/Desktop/images/04012025/16/48/image_04012025_16_48_02_266018_0000.jpg', '/home/pi/Desktop/images/04012025/16/48/image_04012025_16_48_02_266018_0001.jpg', '/home/pi/Desktop/images/04012025/16/48/image_04012025_16_48_02_266018_0002.jpg', '/home/pi/Desktop/images/04012025/16/48/image_04012025_16_48_02_266018_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/47/image_04012025_16_47_03_172065_0002.jpg
/home/pi/Desktop/images/04012025/16/47/image_04012025_16_47_03_172065_0003.jpg
/home/pi/Desktop/images/04012025/16/48/image_04012025_16_48_02_266018_0000.jpg
/home/pi/Desktop/images/04012025/16/48/image_04012025_16_48_02_266018_0001.jpg
/home/pi/Desktop/images/04012025/16/48/image_04012025_16_48_02_266018_0002.jpg
/home/pi/Desktop/images/04012025/16/48/image_04012025_16_48_02_266018_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":["1326669780","1326669477","1326669677","1326669719","1326669679","1326669721"],"photo_ids_order":["1326669477","1326669677","1326669679","1326669719","1326669721","1326669780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6cf95fa9049c47563bea12946221970e.jpg","text":"TemporaryFile(/tmp/multipartBody6837133272461410919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005957587,"filename":"image_04012025_16_48_02_266018_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ea7df3503edf350f840ae4e9071021e4.jpg","text":"TemporaryFile(/tmp/multipartBody6283116078979197030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005957587,"filename":"image_04012025_16_47_03_172065_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/098707d03f0abef32a5e79ca168e2f4a.jpg","text":"TemporaryFile(/tmp/multipartBody3973061979517940243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005957587,"filename":"image_04012025_16_47_03_172065_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce23cb7b87d1a7275e40aead35df1fc2.jpg","text":"TemporaryFile(/tmp/multipartBody5337121043668149938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005957587,"filename":"image_04012025_16_48_02_266018_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c32bb435af2e598e146549a4aa1c5724.jpg","text":"TemporaryFile(/tmp/multipartBody389174214725457013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005957587,"filename":"image_04012025_16_48_02_266018_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/81d29fa0d38fe7b9398451a8b269c62a.jpg","text":"TemporaryFile(/tmp/multipartBody2553243084116419689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736005957587,"filename":"image_04012025_16_48_02_266018_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326669679","file1":"1326669677","file0":"1326669477","file4":"1326669721","file5":"1326669780","file3":"1326669719"},"map_files_photo_id_array":[{"photo_id":"1326669780","filename":"file5"},{"photo_id":"1326669679","filename":"file2"},{"photo_id":"1326669721","filename":"file4"},{"photo_id":"1326669677","filename":"file1"},{"photo_id":"1326669477","filename":"file0"},{"photo_id":"1326669719","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326669780":["hashtag1","hashtag2"]},{"1326669477":["hashtag1","hashtag2"]},{"1326669677":["hashtag1","hashtag2"]},{"1326669719":["hashtag1","hashtag2"]},{"1326669679":["hashtag1","hashtag2"]},{"1326669721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326669780, 1326669477, 1326669677, 1326669719, 1326669679, 1326669721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.14960718154907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:52:21.819572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/49/image_04012025_16_49_02_487136_0000.jpg', '/home/pi/Desktop/images/04012025/16/49/image_04012025_16_49_02_487136_0001.jpg', '/home/pi/Desktop/images/04012025/16/49/image_04012025_16_49_02_487136_0002.jpg', '/home/pi/Desktop/images/04012025/16/49/image_04012025_16_49_02_487136_0003.jpg', '/home/pi/Desktop/images/04012025/16/50/image_04012025_16_50_02_672886_0000.jpg', '/home/pi/Desktop/images/04012025/16/50/image_04012025_16_50_02_672886_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/49/image_04012025_16_49_02_487136_0000.jpg
/home/pi/Desktop/images/04012025/16/49/image_04012025_16_49_02_487136_0001.jpg
/home/pi/Desktop/images/04012025/16/49/image_04012025_16_49_02_487136_0002.jpg
/home/pi/Desktop/images/04012025/16/49/image_04012025_16_49_02_487136_0003.jpg
/home/pi/Desktop/images/04012025/16/50/image_04012025_16_50_02_672886_0000.jpg
/home/pi/Desktop/images/04012025/16/50/image_04012025_16_50_02_672886_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.582591533660889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 16:52:41.846784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/49/image_04012025_16_49_02_487136_0000.jpg', '/home/pi/Desktop/images/04012025/16/49/image_04012025_16_49_02_487136_0001.jpg', '/home/pi/Desktop/images/04012025/16/49/image_04012025_16_49_02_487136_0002.jpg', '/home/pi/Desktop/images/04012025/16/49/image_04012025_16_49_02_487136_0003.jpg', '/home/pi/Desktop/images/04012025/16/50/image_04012025_16_50_02_672886_0000.jpg', '/home/pi/Desktop/images/04012025/16/50/image_04012025_16_50_02_672886_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/49/image_04012025_16_49_02_487136_0000.jpg
/home/pi/Desktop/images/04012025/16/49/image_04012025_16_49_02_487136_0001.jpg
/home/pi/Desktop/images/04012025/16/49/image_04012025_16_49_02_487136_0002.jpg
/home/pi/Desktop/images/04012025/16/49/image_04012025_16_49_02_487136_0003.jpg
/home/pi/Desktop/images/04012025/16/50/image_04012025_16_50_02_672886_0000.jpg
/home/pi/Desktop/images/04012025/16/50/image_04012025_16_50_02_672886_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":["1326670360","1326669819","1326670404","1326670091","1326670361","1326669844"],"photo_ids_order":["1326669819","1326669844","1326670091","1326670360","1326670361","1326670404"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cdd4e2b24b42878867a5e865193568d2.jpg","text":"TemporaryFile(/tmp/multipartBody6051065257519096778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006036810,"filename":"image_04012025_16_49_02_487136_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/847310b6e7cfc721cb592a57060334b3.jpg","text":"TemporaryFile(/tmp/multipartBody4532709353111000184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006036810,"filename":"image_04012025_16_49_02_487136_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a782a7610159d97a3d5509e118cf5d01.jpg","text":"TemporaryFile(/tmp/multipartBody7076769664114964260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006036810,"filename":"image_04012025_16_50_02_672886_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b03ad944e2ffd708daad1210a7301676.jpg","text":"TemporaryFile(/tmp/multipartBody6119490175315819993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006036810,"filename":"image_04012025_16_49_02_487136_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/be06108b3b4cb1c39669286d390b26ee.jpg","text":"TemporaryFile(/tmp/multipartBody7088854386434192822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006036810,"filename":"image_04012025_16_50_02_672886_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3891d10e8a3ffb1a0530efb49840a994.jpg","text":"TemporaryFile(/tmp/multipartBody6344296339198812462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006036810,"filename":"image_04012025_16_49_02_487136_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326670091","file1":"1326669844","file0":"1326669819","file4":"1326670361","file5":"1326670404","file3":"1326670360"},"map_files_photo_id_array":[{"photo_id":"1326670404","filename":"file5"},{"photo_id":"1326670091","filename":"file2"},{"photo_id":"1326670361","filename":"file4"},{"photo_id":"1326669844","filename":"file1"},{"photo_id":"1326669819","filename":"file0"},{"photo_id":"1326670360","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326670360":["hashtag1","hashtag2"]},{"1326669819":["hashtag1","hashtag2"]},{"1326670404":["hashtag1","hashtag2"]},{"1326670091":["hashtag1","hashtag2"]},{"1326670361":["hashtag1","hashtag2"]},{"1326669844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326670360, 1326669819, 1326670404, 1326670091, 1326670361, 1326669844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.17912769317627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 16:53:42.051825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/50/image_04012025_16_50_02_672886_0003.jpg', '/home/pi/Desktop/images/04012025/16/51/image_04012025_16_51_02_888440_0000.jpg', '/home/pi/Desktop/images/04012025/16/51/image_04012025_16_51_02_888440_0001.jpg', '/home/pi/Desktop/images/04012025/16/51/image_04012025_16_51_02_888440_0002.jpg', '/home/pi/Desktop/images/04012025/16/51/image_04012025_16_51_02_888440_0003.jpg', '/home/pi/Desktop/images/04012025/16/52/image_04012025_16_52_03_014152_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/50/image_04012025_16_50_02_672886_0003.jpg
/home/pi/Desktop/images/04012025/16/51/image_04012025_16_51_02_888440_0000.jpg
/home/pi/Desktop/images/04012025/16/51/image_04012025_16_51_02_888440_0001.jpg
/home/pi/Desktop/images/04012025/16/51/image_04012025_16_51_02_888440_0002.jpg
/home/pi/Desktop/images/04012025/16/51/image_04012025_16_51_02_888440_0003.jpg
/home/pi/Desktop/images/04012025/16/52/image_04012025_16_52_03_014152_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.732093095779419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 16:54:02.482849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/50/image_04012025_16_50_02_672886_0003.jpg', '/home/pi/Desktop/images/04012025/16/51/image_04012025_16_51_02_888440_0000.jpg', '/home/pi/Desktop/images/04012025/16/51/image_04012025_16_51_02_888440_0001.jpg', '/home/pi/Desktop/images/04012025/16/51/image_04012025_16_51_02_888440_0002.jpg', '/home/pi/Desktop/images/04012025/16/51/image_04012025_16_51_02_888440_0003.jpg', '/home/pi/Desktop/images/04012025/16/52/image_04012025_16_52_03_014152_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/50/image_04012025_16_50_02_672886_0003.jpg
/home/pi/Desktop/images/04012025/16/51/image_04012025_16_51_02_888440_0000.jpg
/home/pi/Desktop/images/04012025/16/51/image_04012025_16_51_02_888440_0001.jpg
/home/pi/Desktop/images/04012025/16/51/image_04012025_16_51_02_888440_0002.jpg
/home/pi/Desktop/images/04012025/16/51/image_04012025_16_51_02_888440_0003.jpg
/home/pi/Desktop/images/04012025/16/52/image_04012025_16_52_03_014152_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":["1326670513","1326670516","1326670518","1326670520","1326670654","1326670927"],"photo_ids_order":["1326670513","1326670516","1326670518","1326670520","1326670654","1326670927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7864ec21123f7b0c815f8ae0133f42a1.jpg","text":"TemporaryFile(/tmp/multipartBody3194230368228851817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006117649,"filename":"image_04012025_16_50_02_672886_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f9e1c8900bb4d4c718a3e1aa5d3935a.jpg","text":"TemporaryFile(/tmp/multipartBody4073745028662311641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006117649,"filename":"image_04012025_16_51_02_888440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ab04fd6084c2599c83abb5a2be64f810.jpg","text":"TemporaryFile(/tmp/multipartBody4353149083821721971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006117649,"filename":"image_04012025_16_51_02_888440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9412b1996d16e0a0b0dbbe6639221460.jpg","text":"TemporaryFile(/tmp/multipartBody2377858709379341711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006117649,"filename":"image_04012025_16_51_02_888440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8113a68c1a04c64e1d718027093407f5.jpg","text":"TemporaryFile(/tmp/multipartBody5374462643870824758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006117649,"filename":"image_04012025_16_51_02_888440_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/73e963b3a38f1b8ecd68f62491a8be1c.jpg","text":"TemporaryFile(/tmp/multipartBody1364308014585735852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006117649,"filename":"image_04012025_16_52_03_014152_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326670518","file1":"1326670516","file0":"1326670513","file4":"1326670654","file5":"1326670927","file3":"1326670520"},"map_files_photo_id_array":[{"photo_id":"1326670927","filename":"file5"},{"photo_id":"1326670518","filename":"file2"},{"photo_id":"1326670654","filename":"file4"},{"photo_id":"1326670516","filename":"file1"},{"photo_id":"1326670513","filename":"file0"},{"photo_id":"1326670520","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326670513":["hashtag1","hashtag2"]},{"1326670516":["hashtag1","hashtag2"]},{"1326670518":["hashtag1","hashtag2"]},{"1326670520":["hashtag1","hashtag2"]},{"1326670654":["hashtag1","hashtag2"]},{"1326670927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326670513, 1326670516, 1326670518, 1326670520, 1326670654, 1326670927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.121506214141846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 16:55:02.942575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/52/image_04012025_16_52_03_014152_0001.jpg', '/home/pi/Desktop/images/04012025/16/52/image_04012025_16_52_03_014152_0002.jpg', '/home/pi/Desktop/images/04012025/16/52/image_04012025_16_52_03_014152_0003.jpg', '/home/pi/Desktop/images/04012025/16/53/image_04012025_16_53_02_210429_0000.jpg', '/home/pi/Desktop/images/04012025/16/53/image_04012025_16_53_02_210429_0001.jpg', '/home/pi/Desktop/images/04012025/16/53/image_04012025_16_53_02_210429_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/52/image_04012025_16_52_03_014152_0001.jpg
/home/pi/Desktop/images/04012025/16/52/image_04012025_16_52_03_014152_0002.jpg
/home/pi/Desktop/images/04012025/16/52/image_04012025_16_52_03_014152_0003.jpg
/home/pi/Desktop/images/04012025/16/53/image_04012025_16_53_02_210429_0000.jpg
/home/pi/Desktop/images/04012025/16/53/image_04012025_16_53_02_210429_0001.jpg
/home/pi/Desktop/images/04012025/16/53/image_04012025_16_53_02_210429_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.019564867019653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:55:22.434861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/52/image_04012025_16_52_03_014152_0001.jpg', '/home/pi/Desktop/images/04012025/16/52/image_04012025_16_52_03_014152_0002.jpg', '/home/pi/Desktop/images/04012025/16/52/image_04012025_16_52_03_014152_0003.jpg', '/home/pi/Desktop/images/04012025/16/53/image_04012025_16_53_02_210429_0000.jpg', '/home/pi/Desktop/images/04012025/16/53/image_04012025_16_53_02_210429_0001.jpg', '/home/pi/Desktop/images/04012025/16/53/image_04012025_16_53_02_210429_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/52/image_04012025_16_52_03_014152_0001.jpg
/home/pi/Desktop/images/04012025/16/52/image_04012025_16_52_03_014152_0002.jpg
/home/pi/Desktop/images/04012025/16/52/image_04012025_16_52_03_014152_0003.jpg
/home/pi/Desktop/images/04012025/16/53/image_04012025_16_53_02_210429_0000.jpg
/home/pi/Desktop/images/04012025/16/53/image_04012025_16_53_02_210429_0001.jpg
/home/pi/Desktop/images/04012025/16/53/image_04012025_16_53_02_210429_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326671110","1326671121","1326671118","1326671106","1326671115","1326671125"],"photo_ids_order":["1326671106","1326671110","1326671115","1326671118","1326671121","1326671125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bae716ee86a7be162dc8edd003e31b7f.jpg","text":"TemporaryFile(/tmp/multipartBody2351312240372462363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006197783,"filename":"image_04012025_16_52_03_014152_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bdfd467baa5a23ddc75b0226385ee565.jpg","text":"TemporaryFile(/tmp/multipartBody2820066474796230284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006197783,"filename":"image_04012025_16_53_02_210429_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/19b1cdfb196ce78ba0939bdab2d1ca00.jpg","text":"TemporaryFile(/tmp/multipartBody6980520440499842189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006197783,"filename":"image_04012025_16_53_02_210429_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ecb36d5469e69c4820426511afc7f6ed.jpg","text":"TemporaryFile(/tmp/multipartBody9038695730285909167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006197783,"filename":"image_04012025_16_52_03_014152_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/09a22895ce8b7e66d89f3145a02c56dc.jpg","text":"TemporaryFile(/tmp/multipartBody2856879425300206071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006197783,"filename":"image_04012025_16_52_03_014152_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/61479c993bca854637a8e521cca0c3d3.jpg","text":"TemporaryFile(/tmp/multipartBody2160788318833689850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006197783,"filename":"image_04012025_16_53_02_210429_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326671115","file1":"1326671110","file0":"1326671106","file4":"1326671121","file5":"1326671125","file3":"1326671118"},"map_files_photo_id_array":[{"photo_id":"1326671125","filename":"file5"},{"photo_id":"1326671115","filename":"file2"},{"photo_id":"1326671121","filename":"file4"},{"photo_id":"1326671110","filename":"file1"},{"photo_id":"1326671106","filename":"file0"},{"photo_id":"1326671118","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326671110":["hashtag1","hashtag2"]},{"1326671121":["hashtag1","hashtag2"]},{"1326671118":["hashtag1","hashtag2"]},{"1326671106":["hashtag1","hashtag2"]},{"1326671115":["hashtag1","hashtag2"]},{"1326671125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326671110, 1326671121, 1326671118, 1326671106, 1326671115, 1326671125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.178356647491455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:56:22.552314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/53/image_04012025_16_53_02_210429_0003.jpg', '/home/pi/Desktop/images/04012025/16/54/image_04012025_16_54_02_349802_0000.jpg', '/home/pi/Desktop/images/04012025/16/54/image_04012025_16_54_02_349802_0001.jpg', '/home/pi/Desktop/images/04012025/16/54/image_04012025_16_54_02_349802_0002.jpg', '/home/pi/Desktop/images/04012025/16/54/image_04012025_16_54_02_349802_0003.jpg', '/home/pi/Desktop/images/04012025/16/55/image_04012025_16_55_02_538181_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/53/image_04012025_16_53_02_210429_0003.jpg
/home/pi/Desktop/images/04012025/16/54/image_04012025_16_54_02_349802_0000.jpg
/home/pi/Desktop/images/04012025/16/54/image_04012025_16_54_02_349802_0001.jpg
/home/pi/Desktop/images/04012025/16/54/image_04012025_16_54_02_349802_0002.jpg
/home/pi/Desktop/images/04012025/16/54/image_04012025_16_54_02_349802_0003.jpg
/home/pi/Desktop/images/04012025/16/55/image_04012025_16_55_02_538181_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":["1326671952","1326671955","1326671925","1326671533","1326671728","1326672072"],"photo_ids_order":["1326671533","1326671728","1326671925","1326671952","1326671955","1326672072"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9551d531ca92059605ea47e43b978167.jpg","text":"TemporaryFile(/tmp/multipartBody713865851501408236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006257791,"filename":"image_04012025_16_54_02_349802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/efe257bcf249ad9d6523ed46525a108c.jpg","text":"TemporaryFile(/tmp/multipartBody2904387297445889791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006257791,"filename":"image_04012025_16_54_02_349802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/808a229742cfc50d33d771d0272c1f05.jpg","text":"TemporaryFile(/tmp/multipartBody2520078432358230093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006257791,"filename":"image_04012025_16_54_02_349802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c2ca8a720915f947d58631b797720be5.jpg","text":"TemporaryFile(/tmp/multipartBody4356170935834975155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006257791,"filename":"image_04012025_16_53_02_210429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1a58e7cf54854b5be9e2781f869d9c8b.jpg","text":"TemporaryFile(/tmp/multipartBody2904663058685251030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006257791,"filename":"image_04012025_16_54_02_349802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fedfe58e310202123825b25a2c2548b5.jpg","text":"TemporaryFile(/tmp/multipartBody3019572629158675228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006257791,"filename":"image_04012025_16_55_02_538181_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326671925","file1":"1326671728","file0":"1326671533","file4":"1326671955","file5":"1326672072","file3":"1326671952"},"map_files_photo_id_array":[{"photo_id":"1326672072","filename":"file5"},{"photo_id":"1326671925","filename":"file2"},{"photo_id":"1326671955","filename":"file4"},{"photo_id":"1326671728","filename":"file1"},{"photo_id":"1326671533","filename":"file0"},{"photo_id":"1326671952","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326671952":["hashtag1","hashtag2"]},{"1326671955":["hashtag1","hashtag2"]},{"1326671925":["hashtag1","hashtag2"]},{"1326671533":["hashtag1","hashtag2"]},{"1326671728":["hashtag1","hashtag2"]},{"1326672072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326671952, 1326671955, 1326671925, 1326671533, 1326671728, 1326672072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.19808316230774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 16:57:22.745157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/55/image_04012025_16_55_02_538181_0001.jpg', '/home/pi/Desktop/images/04012025/16/55/image_04012025_16_55_02_538181_0002.jpg', '/home/pi/Desktop/images/04012025/16/55/image_04012025_16_55_02_538181_0003.jpg', '/home/pi/Desktop/images/04012025/16/56/image_04012025_16_56_02_721337_0000.jpg', '/home/pi/Desktop/images/04012025/16/56/image_04012025_16_56_02_721337_0001.jpg', '/home/pi/Desktop/images/04012025/16/56/image_04012025_16_56_02_721337_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/55/image_04012025_16_55_02_538181_0001.jpg
/home/pi/Desktop/images/04012025/16/55/image_04012025_16_55_02_538181_0002.jpg
/home/pi/Desktop/images/04012025/16/55/image_04012025_16_55_02_538181_0003.jpg
/home/pi/Desktop/images/04012025/16/56/image_04012025_16_56_02_721337_0000.jpg
/home/pi/Desktop/images/04012025/16/56/image_04012025_16_56_02_721337_0001.jpg
/home/pi/Desktop/images/04012025/16/56/image_04012025_16_56_02_721337_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-04 16:59:02.797755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/55/image_04012025_16_55_02_538181_0001.jpg', '/home/pi/Desktop/images/04012025/16/55/image_04012025_16_55_02_538181_0002.jpg', '/home/pi/Desktop/images/04012025/16/55/image_04012025_16_55_02_538181_0003.jpg', '/home/pi/Desktop/images/04012025/16/56/image_04012025_16_56_02_721337_0000.jpg', '/home/pi/Desktop/images/04012025/16/56/image_04012025_16_56_02_721337_0001.jpg', '/home/pi/Desktop/images/04012025/16/56/image_04012025_16_56_02_721337_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/55/image_04012025_16_55_02_538181_0001.jpg
/home/pi/Desktop/images/04012025/16/55/image_04012025_16_55_02_538181_0002.jpg
/home/pi/Desktop/images/04012025/16/55/image_04012025_16_55_02_538181_0003.jpg
/home/pi/Desktop/images/04012025/16/56/image_04012025_16_56_02_721337_0000.jpg
/home/pi/Desktop/images/04012025/16/56/image_04012025_16_56_02_721337_0001.jpg
/home/pi/Desktop/images/04012025/16/56/image_04012025_16_56_02_721337_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326674405","1326674365","1326674286","1326674460","1326674279","1326674324"],"photo_ids_order":["1326674279","1326674286","1326674324","1326674365","1326674405","1326674460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0916391c754f5a6ffebd2f1f6ab8b4bf.jpg","text":"TemporaryFile(/tmp/multipartBody1905081351566416791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006418197,"filename":"image_04012025_16_56_02_721337_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ae757003a07c5117c0436ea918e6b861.jpg","text":"TemporaryFile(/tmp/multipartBody7556054691978398776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006418197,"filename":"image_04012025_16_56_02_721337_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f1545901609925cb4e3639b3c368b768.jpg","text":"TemporaryFile(/tmp/multipartBody8411005343490033061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006418197,"filename":"image_04012025_16_55_02_538181_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/857f2bd9b25f355cbd94c4d7c2561b0d.jpg","text":"TemporaryFile(/tmp/multipartBody8586500723134094126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006418197,"filename":"image_04012025_16_56_02_721337_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d73f27adeccb2bd4ae01f469ee175efc.jpg","text":"TemporaryFile(/tmp/multipartBody4793896315527129795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006418197,"filename":"image_04012025_16_55_02_538181_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/def8967a33d516bdb9624f439fa01c06.jpg","text":"TemporaryFile(/tmp/multipartBody5128096985301308214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006418197,"filename":"image_04012025_16_55_02_538181_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326674324","file1":"1326674286","file0":"1326674279","file4":"1326674405","file5":"1326674460","file3":"1326674365"},"map_files_photo_id_array":[{"photo_id":"1326674460","filename":"file5"},{"photo_id":"1326674324","filename":"file2"},{"photo_id":"1326674405","filename":"file4"},{"photo_id":"1326674286","filename":"file1"},{"photo_id":"1326674279","filename":"file0"},{"photo_id":"1326674365","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326674405":["hashtag1","hashtag2"]},{"1326674365":["hashtag1","hashtag2"]},{"1326674286":["hashtag1","hashtag2"]},{"1326674460":["hashtag1","hashtag2"]},{"1326674279":["hashtag1","hashtag2"]},{"1326674324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326674405, 1326674365, 1326674286, 1326674460, 1326674279, 1326674324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.79567813873291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:00:02.804975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/56/image_04012025_16_56_02_721337_0003.jpg', '/home/pi/Desktop/images/04012025/16/57/image_04012025_16_57_02_910825_0000.jpg', '/home/pi/Desktop/images/04012025/16/57/image_04012025_16_57_02_910825_0001.jpg', '/home/pi/Desktop/images/04012025/16/57/image_04012025_16_57_02_910825_0002.jpg', '/home/pi/Desktop/images/04012025/16/57/image_04012025_16_57_02_910825_0003.jpg', '/home/pi/Desktop/images/04012025/16/58/image_04012025_16_58_03_071028_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/56/image_04012025_16_56_02_721337_0003.jpg
/home/pi/Desktop/images/04012025/16/57/image_04012025_16_57_02_910825_0000.jpg
/home/pi/Desktop/images/04012025/16/57/image_04012025_16_57_02_910825_0001.jpg
/home/pi/Desktop/images/04012025/16/57/image_04012025_16_57_02_910825_0002.jpg
/home/pi/Desktop/images/04012025/16/57/image_04012025_16_57_02_910825_0003.jpg
/home/pi/Desktop/images/04012025/16/58/image_04012025_16_58_03_071028_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":["1326675946","1326675613","1326675814","1326675836","1326675923","1326675617"],"photo_ids_order":["1326675613","1326675617","1326675814","1326675836","1326675923","1326675946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3a53394f45c3d507583764adf3e43e33.jpg","text":"TemporaryFile(/tmp/multipartBody1677689870365869193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006477841,"filename":"image_04012025_16_58_03_071028_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/062a04e67527cf68efacc767f34d3f26.jpg","text":"TemporaryFile(/tmp/multipartBody3613245633293362159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006477841,"filename":"image_04012025_16_56_02_721337_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd87d566708b77dd2fb527b201743cef.jpg","text":"TemporaryFile(/tmp/multipartBody4037407851692024507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006477841,"filename":"image_04012025_16_57_02_910825_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2f31fb720d6efbee595d1ce109772d19.jpg","text":"TemporaryFile(/tmp/multipartBody6186938535264586194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006477841,"filename":"image_04012025_16_57_02_910825_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ee5ac02998298041a99cf62eb0e11874.jpg","text":"TemporaryFile(/tmp/multipartBody4136531283895157743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006477841,"filename":"image_04012025_16_57_02_910825_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/651efe7ac8544fe43658629494da3767.jpg","text":"TemporaryFile(/tmp/multipartBody296845672668867104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006477841,"filename":"image_04012025_16_57_02_910825_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326675814","file1":"1326675617","file0":"1326675613","file4":"1326675923","file5":"1326675946","file3":"1326675836"},"map_files_photo_id_array":[{"photo_id":"1326675946","filename":"file5"},{"photo_id":"1326675814","filename":"file2"},{"photo_id":"1326675923","filename":"file4"},{"photo_id":"1326675617","filename":"file1"},{"photo_id":"1326675613","filename":"file0"},{"photo_id":"1326675836","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326675946":["hashtag1","hashtag2"]},{"1326675613":["hashtag1","hashtag2"]},{"1326675814":["hashtag1","hashtag2"]},{"1326675836":["hashtag1","hashtag2"]},{"1326675923":["hashtag1","hashtag2"]},{"1326675617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326675946, 1326675613, 1326675814, 1326675836, 1326675923, 1326675617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.33230996131897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:01:03.158004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/58/image_04012025_16_58_03_071028_0001.jpg', '/home/pi/Desktop/images/04012025/16/58/image_04012025_16_58_03_071028_0002.jpg', '/home/pi/Desktop/images/04012025/16/58/image_04012025_16_58_03_071028_0003.jpg', '/home/pi/Desktop/images/04012025/16/59/image_04012025_16_59_02_237119_0000.jpg', '/home/pi/Desktop/images/04012025/16/59/image_04012025_16_59_02_237119_0001.jpg', '/home/pi/Desktop/images/04012025/16/59/image_04012025_16_59_02_237119_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/58/image_04012025_16_58_03_071028_0001.jpg
/home/pi/Desktop/images/04012025/16/58/image_04012025_16_58_03_071028_0002.jpg
/home/pi/Desktop/images/04012025/16/58/image_04012025_16_58_03_071028_0003.jpg
/home/pi/Desktop/images/04012025/16/59/image_04012025_16_59_02_237119_0000.jpg
/home/pi/Desktop/images/04012025/16/59/image_04012025_16_59_02_237119_0001.jpg
/home/pi/Desktop/images/04012025/16/59/image_04012025_16_59_02_237119_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326676089","1326676140","1326676137","1326676134","1326676130","1326676124"],"photo_ids_order":["1326676089","1326676124","1326676130","1326676134","1326676137","1326676140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d70b37f307601918a014fe4e4fc10a82.jpg","text":"TemporaryFile(/tmp/multipartBody4789515411466838674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006538584,"filename":"image_04012025_16_58_03_071028_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ef3bb794518588b698067d0a163bf11.jpg","text":"TemporaryFile(/tmp/multipartBody3541390705959796501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006538584,"filename":"image_04012025_16_59_02_237119_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cbc286411d8a7598a2df0e2947bab1c1.jpg","text":"TemporaryFile(/tmp/multipartBody9024407514683796250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006538584,"filename":"image_04012025_16_59_02_237119_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/956ca7be24b917c8ffb5c52114d1feba.jpg","text":"TemporaryFile(/tmp/multipartBody8244579129665016448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006538584,"filename":"image_04012025_16_59_02_237119_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/19ab7d0b14984598c5da5a81a3a870e6.jpg","text":"TemporaryFile(/tmp/multipartBody3687444587116273816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006538584,"filename":"image_04012025_16_58_03_071028_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fa3bff61775efe04a721fbdd8694b8fc.jpg","text":"TemporaryFile(/tmp/multipartBody2688002219835294841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006538584,"filename":"image_04012025_16_58_03_071028_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326676130","file1":"1326676124","file0":"1326676089","file4":"1326676137","file5":"1326676140","file3":"1326676134"},"map_files_photo_id_array":[{"photo_id":"1326676140","filename":"file5"},{"photo_id":"1326676130","filename":"file2"},{"photo_id":"1326676137","filename":"file4"},{"photo_id":"1326676124","filename":"file1"},{"photo_id":"1326676089","filename":"file0"},{"photo_id":"1326676134","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326676089":["hashtag1","hashtag2"]},{"1326676140":["hashtag1","hashtag2"]},{"1326676137":["hashtag1","hashtag2"]},{"1326676134":["hashtag1","hashtag2"]},{"1326676130":["hashtag1","hashtag2"]},{"1326676124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326676089, 1326676140, 1326676137, 1326676134, 1326676130, 1326676124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.32742094993591 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:02:02.935139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/16/59/image_04012025_16_59_02_237119_0003.jpg', '/home/pi/Desktop/images/04012025/17/00/image_04012025_17_00_02_545330_0001.jpg', '/home/pi/Desktop/images/04012025/17/00/image_04012025_17_00_02_545330_0002.jpg', '/home/pi/Desktop/images/04012025/17/00/image_04012025_17_00_02_545330_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/16/59/image_04012025_16_59_02_237119_0003.jpg
/home/pi/Desktop/images/04012025/17/00/image_04012025_17_00_02_545330_0001.jpg
/home/pi/Desktop/images/04012025/17/00/image_04012025_17_00_02_545330_0002.jpg
/home/pi/Desktop/images/04012025/17/00/image_04012025_17_00_02_545330_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":["1326677103","1326676988","1326677026","1326676864"],"photo_ids_order":["1326676864","1326676988","1326677026","1326677103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2cc6c18f37a40906806c59e1ddf801bc.jpg","text":"TemporaryFile(/tmp/multipartBody2785579306542617066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006593454,"filename":"image_04012025_17_00_02_545330_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/99ead8371d8ce7f4905f6ce708ceab61.jpg","text":"TemporaryFile(/tmp/multipartBody9184858336990614499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006593454,"filename":"image_04012025_17_00_02_545330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/88e6e902592e39408cf032ce23958179.jpg","text":"TemporaryFile(/tmp/multipartBody7191795479112990256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006593454,"filename":"image_04012025_17_00_02_545330_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dddd22cf175982ddf3b02d70a763ee0a.jpg","text":"TemporaryFile(/tmp/multipartBody3265125801148131984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006593454,"filename":"image_04012025_16_59_02_237119_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326677026","file1":"1326676988","file0":"1326676864","file3":"1326677103"},"map_files_photo_id_array":[{"photo_id":"1326677026","filename":"file2"},{"photo_id":"1326676988","filename":"file1"},{"photo_id":"1326676864","filename":"file0"},{"photo_id":"1326677103","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326677103":["hashtag1","hashtag2"]},{"1326676988":["hashtag1","hashtag2"]},{"1326677026":["hashtag1","hashtag2"]},{"1326676864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326677103, 1326676988, 1326677026, 1326676864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.708428144454956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 17:02:42.621817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/01/image_04012025_17_01_02_691723_0003.jpg', '/home/pi/Desktop/images/04012025/17/02/image_04012025_17_02_02_959217_0000.jpg', '/home/pi/Desktop/images/04012025/17/02/image_04012025_17_02_02_959217_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/01/image_04012025_17_01_02_691723_0003.jpg
/home/pi/Desktop/images/04012025/17/02/image_04012025_17_02_02_959217_0000.jpg
/home/pi/Desktop/images/04012025/17/02/image_04012025_17_02_02_959217_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":["1326677541","1326677955","1326677176"],"photo_ids_order":["1326677176","1326677541","1326677955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/71a7a1b66dbc702ed3ec483a9e5d42f1.jpg","text":"TemporaryFile(/tmp/multipartBody303596326791642233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006630666,"filename":"image_04012025_17_02_02_959217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1b8b2d76ae03799002d1721e6a95ae2e.jpg","text":"TemporaryFile(/tmp/multipartBody3514390633034069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006630666,"filename":"image_04012025_17_02_02_959217_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7546002c9ae2373bb3e2770316653039.jpg","text":"TemporaryFile(/tmp/multipartBody4850964452395495084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006630666,"filename":"image_04012025_17_01_02_691723_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326677955","file1":"1326677541","file0":"1326677176"},"map_files_photo_id_array":[{"photo_id":"1326677955","filename":"file2"},{"photo_id":"1326677541","filename":"file1"},{"photo_id":"1326677176","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326677541":["hashtag1","hashtag2"]},{"1326677955":["hashtag1","hashtag2"]},{"1326677176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326677541, 1326677955, 1326677176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.632591485977173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:03:21.881682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/02/image_04012025_17_02_02_959217_0003.jpg', '/home/pi/Desktop/images/04012025/17/03/image_04012025_17_03_03_060639_0000.jpg', '/home/pi/Desktop/images/04012025/17/03/image_04012025_17_03_03_060639_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/02/image_04012025_17_02_02_959217_0003.jpg
/home/pi/Desktop/images/04012025/17/03/image_04012025_17_03_03_060639_0000.jpg
/home/pi/Desktop/images/04012025/17/03/image_04012025_17_03_03_060639_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":["1326678327","1326678320","1326678331"],"photo_ids_order":["1326678320","1326678327","1326678331"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2cfe1f9599b6f9fb0d2fd1076eaab495.jpg","text":"TemporaryFile(/tmp/multipartBody7904549708666979073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006669972,"filename":"image_04012025_17_03_03_060639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/24ebb7a1a8f786c965a363524be07dbf.jpg","text":"TemporaryFile(/tmp/multipartBody3861351699376895820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006669972,"filename":"image_04012025_17_02_02_959217_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0f7af85d414567f5c286590ee663edfd.jpg","text":"TemporaryFile(/tmp/multipartBody4108167843287709819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006669972,"filename":"image_04012025_17_03_03_060639_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326678331","file1":"1326678327","file0":"1326678320"},"map_files_photo_id_array":[{"photo_id":"1326678331","filename":"file2"},{"photo_id":"1326678327","filename":"file1"},{"photo_id":"1326678320","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326678327":["hashtag1","hashtag2"]},{"1326678320":["hashtag1","hashtag2"]},{"1326678331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326678327, 1326678320, 1326678331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.74569034576416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:04:02.549197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:04:22.024418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/03/image_04012025_17_03_03_060639_0003.jpg', '/home/pi/Desktop/images/04012025/17/04/image_04012025_17_04_02_215401_0000.jpg', '/home/pi/Desktop/images/04012025/17/04/image_04012025_17_04_02_215401_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/03/image_04012025_17_03_03_060639_0003.jpg
/home/pi/Desktop/images/04012025/17/04/image_04012025_17_04_02_215401_0000.jpg
/home/pi/Desktop/images/04012025/17/04/image_04012025_17_04_02_215401_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":["1326679219","1326679213","1326679215"],"photo_ids_order":["1326679213","1326679215","1326679219"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/79287cf5cf108c00450b120ddaa27f6f.jpg","text":"TemporaryFile(/tmp/multipartBody2954260362652329260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006730072,"filename":"image_04012025_17_04_02_215401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/87981907c8942afdcefc45db027a0473.jpg","text":"TemporaryFile(/tmp/multipartBody4568501132974116660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006730072,"filename":"image_04012025_17_03_03_060639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5588b61415c30879b20c5327a5f2a8b6.jpg","text":"TemporaryFile(/tmp/multipartBody5840302276102906026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006730072,"filename":"image_04012025_17_04_02_215401_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326679219","file1":"1326679215","file0":"1326679213"},"map_files_photo_id_array":[{"photo_id":"1326679219","filename":"file2"},{"photo_id":"1326679215","filename":"file1"},{"photo_id":"1326679213","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326679219":["hashtag1","hashtag2"]},{"1326679213":["hashtag1","hashtag2"]},{"1326679215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326679219, 1326679213, 1326679215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.980559587478638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:05:02.850199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:05:22.166315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/04/image_04012025_17_04_02_215401_0003.jpg', '/home/pi/Desktop/images/04012025/17/05/image_04012025_17_05_02_457488_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/04/image_04012025_17_04_02_215401_0003.jpg
/home/pi/Desktop/images/04012025/17/05/image_04012025_17_05_02_457488_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":["1326680135","1326680148"],"photo_ids_order":["1326680135","1326680148"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7325bdc3c2263adfd139327584f39352.jpg","text":"TemporaryFile(/tmp/multipartBody3153605450631177302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006787741,"filename":"image_04012025_17_04_02_215401_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/da851032485f99c7ff818867868fe787.jpg","text":"TemporaryFile(/tmp/multipartBody8523537357020787383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006787741,"filename":"image_04012025_17_05_02_457488_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326680148","file0":"1326680135"},"map_files_photo_id_array":[{"photo_id":"1326680148","filename":"file1"},{"photo_id":"1326680135","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326680135":["hashtag1","hashtag2"]},{"1326680148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326680135, 1326680148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.667634963989258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 17:05:52.206807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:06:02.889103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:06:22.346468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/05/image_04012025_17_05_02_457488_0003.jpg', '/home/pi/Desktop/images/04012025/17/06/image_04012025_17_06_02_589868_0000.jpg', '/home/pi/Desktop/images/04012025/17/06/image_04012025_17_06_02_589868_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/05/image_04012025_17_05_02_457488_0003.jpg
/home/pi/Desktop/images/04012025/17/06/image_04012025_17_06_02_589868_0000.jpg
/home/pi/Desktop/images/04012025/17/06/image_04012025_17_06_02_589868_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.646038055419922 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 17:06:32.414082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/05/image_04012025_17_05_02_457488_0003.jpg', '/home/pi/Desktop/images/04012025/17/06/image_04012025_17_06_02_589868_0000.jpg', '/home/pi/Desktop/images/04012025/17/06/image_04012025_17_06_02_589868_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/05/image_04012025_17_05_02_457488_0003.jpg
/home/pi/Desktop/images/04012025/17/06/image_04012025_17_06_02_589868_0000.jpg
/home/pi/Desktop/images/04012025/17/06/image_04012025_17_06_02_589868_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326681136","1326681138","1326681132"],"photo_ids_order":["1326681132","1326681136","1326681138"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/79df2fd913508891a100106aa0eb1882.jpg","text":"TemporaryFile(/tmp/multipartBody3324050455568753758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006860458,"filename":"image_04012025_17_06_02_589868_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/70e35e95d12d83cbb64919b7c3284936.jpg","text":"TemporaryFile(/tmp/multipartBody1853159347075854038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006860458,"filename":"image_04012025_17_06_02_589868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dbb1d4908aaef1ff5acaed2cba172c7d.jpg","text":"TemporaryFile(/tmp/multipartBody3816719653005951365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006860458,"filename":"image_04012025_17_05_02_457488_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326681138","file1":"1326681136","file0":"1326681132"},"map_files_photo_id_array":[{"photo_id":"1326681138","filename":"file2"},{"photo_id":"1326681136","filename":"file1"},{"photo_id":"1326681132","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326681136":["hashtag1","hashtag2"]},{"1326681138":["hashtag1","hashtag2"]},{"1326681132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326681136, 1326681138, 1326681132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.61090016365051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:07:22.636790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/06/image_04012025_17_06_02_589868_0003.jpg', '/home/pi/Desktop/images/04012025/17/07/image_04012025_17_07_02_757431_0000.jpg', '/home/pi/Desktop/images/04012025/17/07/image_04012025_17_07_02_757431_0001.jpg', '/home/pi/Desktop/images/04012025/17/07/image_04012025_17_07_02_757431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/06/image_04012025_17_06_02_589868_0003.jpg
/home/pi/Desktop/images/04012025/17/07/image_04012025_17_07_02_757431_0000.jpg
/home/pi/Desktop/images/04012025/17/07/image_04012025_17_07_02_757431_0001.jpg
/home/pi/Desktop/images/04012025/17/07/image_04012025_17_07_02_757431_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326682084","1326681973","1326682188","1326681939"],"photo_ids_order":["1326681939","1326681973","1326682084","1326682188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/14990047475d85c5aec5c291ba873863.jpg","text":"TemporaryFile(/tmp/multipartBody4594114912799287537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006913152,"filename":"image_04012025_17_07_02_757431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a3c1adbbe5d1b13e48a4a8612a5140f7.jpg","text":"TemporaryFile(/tmp/multipartBody2449463343401061240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006913152,"filename":"image_04012025_17_07_02_757431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed05f5eefc0a95e2e44252599e1aa151.jpg","text":"TemporaryFile(/tmp/multipartBody8703907029616462950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006913152,"filename":"image_04012025_17_07_02_757431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d1d6148b0854b9d552d36bcb32bf1459.jpg","text":"TemporaryFile(/tmp/multipartBody6591249020312190516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006913152,"filename":"image_04012025_17_06_02_589868_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326682084","file1":"1326681973","file0":"1326681939","file3":"1326682188"},"map_files_photo_id_array":[{"photo_id":"1326682084","filename":"file2"},{"photo_id":"1326681973","filename":"file1"},{"photo_id":"1326681939","filename":"file0"},{"photo_id":"1326682188","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326682084":["hashtag1","hashtag2"]},{"1326681973":["hashtag1","hashtag2"]},{"1326682188":["hashtag1","hashtag2"]},{"1326681939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326682084, 1326681973, 1326682188, 1326681939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.2283821105957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:08:21.853637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/07/image_04012025_17_07_02_757431_0003.jpg', '/home/pi/Desktop/images/04012025/17/08/image_04012025_17_08_03_040121_0000.jpg', '/home/pi/Desktop/images/04012025/17/08/image_04012025_17_08_03_040121_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/07/image_04012025_17_07_02_757431_0003.jpg
/home/pi/Desktop/images/04012025/17/08/image_04012025_17_08_03_040121_0000.jpg
/home/pi/Desktop/images/04012025/17/08/image_04012025_17_08_03_040121_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":["1326682508","1326682680","1326683108"],"photo_ids_order":["1326682508","1326682680","1326683108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bda83ee99454b17bca69c4ca2d9a8519.jpg","text":"TemporaryFile(/tmp/multipartBody676931642897806552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006969917,"filename":"image_04012025_17_07_02_757431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b9e55d24480df5d8a1f663d468b991bc.jpg","text":"TemporaryFile(/tmp/multipartBody135810284427423240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006969917,"filename":"image_04012025_17_08_03_040121_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c38adafe34068ce707fb7e0abc2053d1.jpg","text":"TemporaryFile(/tmp/multipartBody2262847975666739661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736006969917,"filename":"image_04012025_17_08_03_040121_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326683108","file1":"1326682680","file0":"1326682508"},"map_files_photo_id_array":[{"photo_id":"1326683108","filename":"file2"},{"photo_id":"1326682680","filename":"file1"},{"photo_id":"1326682508","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326682508":["hashtag1","hashtag2"]},{"1326682680":["hashtag1","hashtag2"]},{"1326683108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326682508, 1326682680, 1326683108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.627479553222656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:09:02.664529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:09:21.962533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/08/image_04012025_17_08_03_040121_0003.jpg', '/home/pi/Desktop/images/04012025/17/09/image_04012025_17_09_02_202331_0000.jpg', '/home/pi/Desktop/images/04012025/17/09/image_04012025_17_09_02_202331_0001.jpg', '/home/pi/Desktop/images/04012025/17/09/image_04012025_17_09_02_202331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/08/image_04012025_17_08_03_040121_0003.jpg
/home/pi/Desktop/images/04012025/17/09/image_04012025_17_09_02_202331_0000.jpg
/home/pi/Desktop/images/04012025/17/09/image_04012025_17_09_02_202331_0001.jpg
/home/pi/Desktop/images/04012025/17/09/image_04012025_17_09_02_202331_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326684819","1326685352","1326685171","1326684571"],"photo_ids_order":["1326684571","1326684819","1326685171","1326685352"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aa20f5ab3b8221da33d8b17f086bad16.jpg","text":"TemporaryFile(/tmp/multipartBody759350990689348414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007032489,"filename":"image_04012025_17_09_02_202331_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/283f36cb7e0c57f778950502381b3ea2.jpg","text":"TemporaryFile(/tmp/multipartBody134895582720480934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007032489,"filename":"image_04012025_17_09_02_202331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5d39e634fe9e60b4e7d27ba925218043.jpg","text":"TemporaryFile(/tmp/multipartBody2676643328501665970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007032489,"filename":"image_04012025_17_09_02_202331_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a51d8989348b605b4e52683097ed5273.jpg","text":"TemporaryFile(/tmp/multipartBody1595952159900334131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007032489,"filename":"image_04012025_17_08_03_040121_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326685171","file1":"1326684819","file0":"1326684571","file3":"1326685352"},"map_files_photo_id_array":[{"photo_id":"1326685171","filename":"file2"},{"photo_id":"1326684819","filename":"file1"},{"photo_id":"1326684571","filename":"file0"},{"photo_id":"1326685352","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326684819":["hashtag1","hashtag2"]},{"1326685352":["hashtag1","hashtag2"]},{"1326685171":["hashtag1","hashtag2"]},{"1326684571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326684819, 1326685352, 1326685171, 1326684571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.81079316139221 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:10:22.154687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/09/image_04012025_17_09_02_202331_0003.jpg', '/home/pi/Desktop/images/04012025/17/10/image_04012025_17_10_02_339233_0000.jpg', '/home/pi/Desktop/images/04012025/17/10/image_04012025_17_10_02_339233_0001.jpg', '/home/pi/Desktop/images/04012025/17/10/image_04012025_17_10_02_339233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/09/image_04012025_17_09_02_202331_0003.jpg
/home/pi/Desktop/images/04012025/17/10/image_04012025_17_10_02_339233_0000.jpg
/home/pi/Desktop/images/04012025/17/10/image_04012025_17_10_02_339233_0001.jpg
/home/pi/Desktop/images/04012025/17/10/image_04012025_17_10_02_339233_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.112327098846436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 17:10:42.100380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/09/image_04012025_17_09_02_202331_0003.jpg', '/home/pi/Desktop/images/04012025/17/10/image_04012025_17_10_02_339233_0000.jpg', '/home/pi/Desktop/images/04012025/17/10/image_04012025_17_10_02_339233_0001.jpg', '/home/pi/Desktop/images/04012025/17/10/image_04012025_17_10_02_339233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/09/image_04012025_17_09_02_202331_0003.jpg
/home/pi/Desktop/images/04012025/17/10/image_04012025_17_10_02_339233_0000.jpg
/home/pi/Desktop/images/04012025/17/10/image_04012025_17_10_02_339233_0001.jpg
/home/pi/Desktop/images/04012025/17/10/image_04012025_17_10_02_339233_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326686502","1326686033","1326686791","1326685960"],"photo_ids_order":["1326685960","1326686033","1326686502","1326686791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6739948c15da0e5dfa7efc0606b0e086.jpg","text":"TemporaryFile(/tmp/multipartBody5929839936264394880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007112595,"filename":"image_04012025_17_10_02_339233_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/539ab2841cf27719fa1192dd06553821.jpg","text":"TemporaryFile(/tmp/multipartBody7662170963719967491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007112595,"filename":"image_04012025_17_10_02_339233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f2b4080958831d9747a817f4f983b704.jpg","text":"TemporaryFile(/tmp/multipartBody5167634465108133513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007112595,"filename":"image_04012025_17_10_02_339233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6b7ec1a41bacf93da77389961256f3e2.jpg","text":"TemporaryFile(/tmp/multipartBody2413590817444493984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007112595,"filename":"image_04012025_17_09_02_202331_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326686502","file1":"1326686033","file0":"1326685960","file3":"1326686791"},"map_files_photo_id_array":[{"photo_id":"1326686502","filename":"file2"},{"photo_id":"1326686033","filename":"file1"},{"photo_id":"1326685960","filename":"file0"},{"photo_id":"1326686791","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326686502":["hashtag1","hashtag2"]},{"1326686033":["hashtag1","hashtag2"]},{"1326686791":["hashtag1","hashtag2"]},{"1326685960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326686502, 1326686033, 1326686791, 1326685960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.384523153305054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:11:22.268176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/10/image_04012025_17_10_02_339233_0003.jpg', '/home/pi/Desktop/images/04012025/17/11/image_04012025_17_11_02_543723_0000.jpg', '/home/pi/Desktop/images/04012025/17/11/image_04012025_17_11_02_543723_0001.jpg', '/home/pi/Desktop/images/04012025/17/11/image_04012025_17_11_02_543723_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/10/image_04012025_17_10_02_339233_0003.jpg
/home/pi/Desktop/images/04012025/17/11/image_04012025_17_11_02_543723_0000.jpg
/home/pi/Desktop/images/04012025/17/11/image_04012025_17_11_02_543723_0001.jpg
/home/pi/Desktop/images/04012025/17/11/image_04012025_17_11_02_543723_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326687038","1326687001","1326687004","1326687164"],"photo_ids_order":["1326687001","1326687004","1326687038","1326687164"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/00fbda2d11f58d24fb4f8495a333fdae.jpg","text":"TemporaryFile(/tmp/multipartBody1135224356499526572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007152790,"filename":"image_04012025_17_11_02_543723_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/03b1092b2a52528c662142c8a683ae88.jpg","text":"TemporaryFile(/tmp/multipartBody2387470910063036322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007152790,"filename":"image_04012025_17_10_02_339233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/070ff2dc3d932ea03acd434ccb88bf3c.jpg","text":"TemporaryFile(/tmp/multipartBody7672060926777434180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007152790,"filename":"image_04012025_17_11_02_543723_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/201abdeeaf373e77e1eeb9582b75a285.jpg","text":"TemporaryFile(/tmp/multipartBody4523906720780852489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007152790,"filename":"image_04012025_17_11_02_543723_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326687038","file1":"1326687004","file0":"1326687001","file3":"1326687164"},"map_files_photo_id_array":[{"photo_id":"1326687038","filename":"file2"},{"photo_id":"1326687004","filename":"file1"},{"photo_id":"1326687001","filename":"file0"},{"photo_id":"1326687164","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326687038":["hashtag1","hashtag2"]},{"1326687001":["hashtag1","hashtag2"]},{"1326687004":["hashtag1","hashtag2"]},{"1326687164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326687038, 1326687001, 1326687004, 1326687164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.702938079833984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:12:02.894812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:12:22.423113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/11/image_04012025_17_11_02_543723_0003.jpg', '/home/pi/Desktop/images/04012025/17/12/image_04012025_17_12_02_650698_0000.jpg', '/home/pi/Desktop/images/04012025/17/12/image_04012025_17_12_02_650698_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/11/image_04012025_17_11_02_543723_0003.jpg
/home/pi/Desktop/images/04012025/17/12/image_04012025_17_12_02_650698_0000.jpg
/home/pi/Desktop/images/04012025/17/12/image_04012025_17_12_02_650698_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":["1326687936","1326687921","1326687932"],"photo_ids_order":["1326687921","1326687932","1326687936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6170614a70ed49d3aff4353666834b52.jpg","text":"TemporaryFile(/tmp/multipartBody8700483848866251587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007210494,"filename":"image_04012025_17_12_02_650698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d506209fe37191ea41c8a92a333e97e5.jpg","text":"TemporaryFile(/tmp/multipartBody5600045055305071048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007210494,"filename":"image_04012025_17_11_02_543723_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/885fc1fbf20d996c6f2d63c004e11f1a.jpg","text":"TemporaryFile(/tmp/multipartBody2010570931643537203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007210494,"filename":"image_04012025_17_12_02_650698_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326687936","file1":"1326687932","file0":"1326687921"},"map_files_photo_id_array":[{"photo_id":"1326687936","filename":"file2"},{"photo_id":"1326687932","filename":"file1"},{"photo_id":"1326687921","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326687936":["hashtag1","hashtag2"]},{"1326687921":["hashtag1","hashtag2"]},{"1326687932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326687936, 1326687921, 1326687932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.74396300315857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:13:03.161723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:13:22.622405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/12/image_04012025_17_12_02_650698_0002.jpg', '/home/pi/Desktop/images/04012025/17/13/image_04012025_17_13_02_723728_0000.jpg', '/home/pi/Desktop/images/04012025/17/13/image_04012025_17_13_02_723728_0001.jpg', '/home/pi/Desktop/images/04012025/17/13/image_04012025_17_13_02_723728_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/12/image_04012025_17_12_02_650698_0002.jpg
/home/pi/Desktop/images/04012025/17/13/image_04012025_17_13_02_723728_0000.jpg
/home/pi/Desktop/images/04012025/17/13/image_04012025_17_13_02_723728_0001.jpg
/home/pi/Desktop/images/04012025/17/13/image_04012025_17_13_02_723728_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326688752","1326688659","1326688754","1326688616"],"photo_ids_order":["1326688616","1326688659","1326688752","1326688754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/276756d7b509dc5dc95b66115ceb36f1.jpg","text":"TemporaryFile(/tmp/multipartBody3424256274421949653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007273158,"filename":"image_04012025_17_13_02_723728_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e057c5ba22e208a123ecc7f88e928bf9.jpg","text":"TemporaryFile(/tmp/multipartBody2785156547034264136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007273158,"filename":"image_04012025_17_13_02_723728_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/71084137789a13fa2ab06dce9b52158f.jpg","text":"TemporaryFile(/tmp/multipartBody633633085692782615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007273158,"filename":"image_04012025_17_13_02_723728_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/39401f80345680cf4399f4409b7d88e3.jpg","text":"TemporaryFile(/tmp/multipartBody8302351975900794713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007273158,"filename":"image_04012025_17_12_02_650698_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326688752","file1":"1326688659","file0":"1326688616","file3":"1326688754"},"map_files_photo_id_array":[{"photo_id":"1326688752","filename":"file2"},{"photo_id":"1326688659","filename":"file1"},{"photo_id":"1326688616","filename":"file0"},{"photo_id":"1326688754","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326688752":["hashtag1","hashtag2"]},{"1326688659":["hashtag1","hashtag2"]},{"1326688754":["hashtag1","hashtag2"]},{"1326688616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326688752, 1326688659, 1326688754, 1326688616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.57506346702576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:14:22.766977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/13/image_04012025_17_13_02_723728_0003.jpg', '/home/pi/Desktop/images/04012025/17/14/image_04012025_17_14_03_051556_0000.jpg', '/home/pi/Desktop/images/04012025/17/14/image_04012025_17_14_03_051556_0001.jpg', '/home/pi/Desktop/images/04012025/17/14/image_04012025_17_14_03_051556_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/13/image_04012025_17_13_02_723728_0003.jpg
/home/pi/Desktop/images/04012025/17/14/image_04012025_17_14_03_051556_0000.jpg
/home/pi/Desktop/images/04012025/17/14/image_04012025_17_14_03_051556_0001.jpg
/home/pi/Desktop/images/04012025/17/14/image_04012025_17_14_03_051556_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326689221","1326689163","1326689231","1326689228"],"photo_ids_order":["1326689163","1326689221","1326689228","1326689231"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9dadb75b329ebe48d3c04a6a083cc154.jpg","text":"TemporaryFile(/tmp/multipartBody455438732465924703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007333321,"filename":"image_04012025_17_14_03_051556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/da3e7e1a0eae4f22d555e5d6ef1e5bf8.jpg","text":"TemporaryFile(/tmp/multipartBody1203254509628009358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007333321,"filename":"image_04012025_17_13_02_723728_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/51738acc738910294a60002345aea0f7.jpg","text":"TemporaryFile(/tmp/multipartBody2033441170255947227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007333321,"filename":"image_04012025_17_14_03_051556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/66e14bf00c8a7e10da84822da9bc4ae4.jpg","text":"TemporaryFile(/tmp/multipartBody8331504839671226100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007333321,"filename":"image_04012025_17_14_03_051556_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326689228","file1":"1326689221","file0":"1326689163","file3":"1326689231"},"map_files_photo_id_array":[{"photo_id":"1326689228","filename":"file2"},{"photo_id":"1326689221","filename":"file1"},{"photo_id":"1326689163","filename":"file0"},{"photo_id":"1326689231","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326689221":["hashtag1","hashtag2"]},{"1326689163":["hashtag1","hashtag2"]},{"1326689231":["hashtag1","hashtag2"]},{"1326689228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326689221, 1326689163, 1326689231, 1326689228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.960670471191406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:15:21.921274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/14/image_04012025_17_14_03_051556_0003.jpg', '/home/pi/Desktop/images/04012025/17/15/image_04012025_17_15_03_220109_0000.jpg', '/home/pi/Desktop/images/04012025/17/15/image_04012025_17_15_03_220109_0001.jpg', '/home/pi/Desktop/images/04012025/17/15/image_04012025_17_15_03_220109_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/14/image_04012025_17_14_03_051556_0003.jpg
/home/pi/Desktop/images/04012025/17/15/image_04012025_17_15_03_220109_0000.jpg
/home/pi/Desktop/images/04012025/17/15/image_04012025_17_15_03_220109_0001.jpg
/home/pi/Desktop/images/04012025/17/15/image_04012025_17_15_03_220109_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326689332","1326689342","1326689306","1326689309"],"photo_ids_order":["1326689306","1326689309","1326689332","1326689342"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/26717a833a0ba4213696de195395bdee.jpg","text":"TemporaryFile(/tmp/multipartBody8334536547340626183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007392461,"filename":"image_04012025_17_15_03_220109_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/25c798a94fcf86e991e10c665db02935.jpg","text":"TemporaryFile(/tmp/multipartBody2174902349678242116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007392461,"filename":"image_04012025_17_15_03_220109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7666db3888a043ebbd3cda61e9736111.jpg","text":"TemporaryFile(/tmp/multipartBody4998981107976819866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007392461,"filename":"image_04012025_17_14_03_051556_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/043f95180e70c7d7dce56a5ab949845f.jpg","text":"TemporaryFile(/tmp/multipartBody5602822350980417641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007392461,"filename":"image_04012025_17_15_03_220109_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326689332","file1":"1326689309","file0":"1326689306","file3":"1326689342"},"map_files_photo_id_array":[{"photo_id":"1326689332","filename":"file2"},{"photo_id":"1326689309","filename":"file1"},{"photo_id":"1326689306","filename":"file0"},{"photo_id":"1326689342","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326689332":["hashtag1","hashtag2"]},{"1326689342":["hashtag1","hashtag2"]},{"1326689306":["hashtag1","hashtag2"]},{"1326689309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326689332, 1326689342, 1326689306, 1326689309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.25900411605835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:16:02.556353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:16:22.162792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/15/image_04012025_17_15_03_220109_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/15/image_04012025_17_15_03_220109_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.7310078144073486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 17:16:32.229268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/15/image_04012025_17_15_03_220109_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/15/image_04012025_17_15_03_220109_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326689888"],"photo_id":"1326689888","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/12ed8e3a484c666fecf7ef555c3ac975.jpg","text":"TemporaryFile(/tmp/multipartBody8047852790886784179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007455356,"filename":"image_04012025_17_15_03_220109_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326689888"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326689888"}],"hashtags":[],"portfolio_id":"19403015","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.93296766281128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 17:16:52.073296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:17:02.773690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:17:22.228813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/16/image_04012025_17_16_02_276735_0000.jpg', '/home/pi/Desktop/images/04012025/17/17/image_04012025_17_17_02_450056_0000.jpg', '/home/pi/Desktop/images/04012025/17/17/image_04012025_17_17_02_450056_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/16/image_04012025_17_16_02_276735_0000.jpg
/home/pi/Desktop/images/04012025/17/17/image_04012025_17_17_02_450056_0000.jpg
/home/pi/Desktop/images/04012025/17/17/image_04012025_17_17_02_450056_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":["1326690963","1326690896","1326690959"],"photo_ids_order":["1326690896","1326690959","1326690963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aa37ed56112a60db6b376aa2c34994e1.jpg","text":"TemporaryFile(/tmp/multipartBody8818437608577899060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007510306,"filename":"image_04012025_17_17_02_450056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1fda79fe476e75120b39f0f1c6e134c3.jpg","text":"TemporaryFile(/tmp/multipartBody4884731348648530786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007510306,"filename":"image_04012025_17_16_02_276735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/41f53425c5891016ff753b761d4ce155.jpg","text":"TemporaryFile(/tmp/multipartBody2539438179321798280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007510306,"filename":"image_04012025_17_17_02_450056_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326690963","file1":"1326690959","file0":"1326690896"},"map_files_photo_id_array":[{"photo_id":"1326690963","filename":"file2"},{"photo_id":"1326690959","filename":"file1"},{"photo_id":"1326690896","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326690963":["hashtag1","hashtag2"]},{"1326690896":["hashtag1","hashtag2"]},{"1326690959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326690963, 1326690896, 1326690959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.59059977531433 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:18:02.924283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:18:22.528147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/17/image_04012025_17_17_02_450056_0002.jpg', '/home/pi/Desktop/images/04012025/17/18/image_04012025_17_18_02_592496_0000.jpg', '/home/pi/Desktop/images/04012025/17/18/image_04012025_17_18_02_592496_0001.jpg', '/home/pi/Desktop/images/04012025/17/18/image_04012025_17_18_02_592496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/17/image_04012025_17_17_02_450056_0002.jpg
/home/pi/Desktop/images/04012025/17/18/image_04012025_17_18_02_592496_0000.jpg
/home/pi/Desktop/images/04012025/17/18/image_04012025_17_18_02_592496_0001.jpg
/home/pi/Desktop/images/04012025/17/18/image_04012025_17_18_02_592496_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326691615","1326691618","1326691662","1326691679"],"photo_ids_order":["1326691615","1326691618","1326691662","1326691679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ad0cfde2d23ee6e0f389b2d07e34aa7f.jpg","text":"TemporaryFile(/tmp/multipartBody8033825964129479354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007573064,"filename":"image_04012025_17_17_02_450056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/435ee7d591824718ca935d5f5a169567.jpg","text":"TemporaryFile(/tmp/multipartBody4237084677157118523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007573064,"filename":"image_04012025_17_18_02_592496_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f9550777aea28efb5ec296f3e9e530ed.jpg","text":"TemporaryFile(/tmp/multipartBody390460699863643903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007573064,"filename":"image_04012025_17_18_02_592496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28f668dc9e6e9e4ccaf168f48f4180c8.jpg","text":"TemporaryFile(/tmp/multipartBody7265308139992398003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007573064,"filename":"image_04012025_17_18_02_592496_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326691662","file1":"1326691618","file0":"1326691615","file3":"1326691679"},"map_files_photo_id_array":[{"photo_id":"1326691662","filename":"file2"},{"photo_id":"1326691618","filename":"file1"},{"photo_id":"1326691615","filename":"file0"},{"photo_id":"1326691679","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326691615":["hashtag1","hashtag2"]},{"1326691618":["hashtag1","hashtag2"]},{"1326691662":["hashtag1","hashtag2"]},{"1326691679":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326691615, 1326691618, 1326691662, 1326691679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.59324240684509 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-04 17:19:22.654479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/18/image_04012025_17_18_02_592496_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/18/image_04012025_17_18_02_592496_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326691715"],"photo_id":"1326691715","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f50309ebf6d8bee7a6eb0103c8c6fa8a.jpg","text":"TemporaryFile(/tmp/multipartBody8292850042995398971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007625798,"filename":"image_04012025_17_18_02_592496_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326691715"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326691715"}],"hashtags":[],"portfolio_id":"19403015","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.928139209747314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 17:19:42.677698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 17:19:52.604632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:20:02.245023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:20:21.792834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/19/image_04012025_17_19_02_905110_0002.jpg', '/home/pi/Desktop/images/04012025/17/20/image_04012025_17_20_02_979962_0000.jpg', '/home/pi/Desktop/images/04012025/17/20/image_04012025_17_20_02_979962_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/19/image_04012025_17_19_02_905110_0002.jpg
/home/pi/Desktop/images/04012025/17/20/image_04012025_17_20_02_979962_0000.jpg
/home/pi/Desktop/images/04012025/17/20/image_04012025_17_20_02_979962_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":["1326692916","1326692914","1326692911"],"photo_ids_order":["1326692911","1326692914","1326692916"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/35c4b22984286f9855fc42e80bebf39a.jpg","text":"TemporaryFile(/tmp/multipartBody7366271410860206205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007689866,"filename":"image_04012025_17_20_02_979962_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eec9c53577848c22cfdb86be235bf40a.jpg","text":"TemporaryFile(/tmp/multipartBody1862524953170158180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007689866,"filename":"image_04012025_17_20_02_979962_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1c383c61f46be99cd07df20cfd1b0267.jpg","text":"TemporaryFile(/tmp/multipartBody2162316670345976987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007689866,"filename":"image_04012025_17_19_02_905110_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326692916","file1":"1326692914","file0":"1326692911"},"map_files_photo_id_array":[{"photo_id":"1326692916","filename":"file2"},{"photo_id":"1326692914","filename":"file1"},{"photo_id":"1326692911","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326692916":["hashtag1","hashtag2"]},{"1326692914":["hashtag1","hashtag2"]},{"1326692911":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326692916, 1326692914, 1326692911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.624547004699707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:21:02.621633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:21:22.015421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/20/image_04012025_17_20_02_979962_0003.jpg', '/home/pi/Desktop/images/04012025/17/21/image_04012025_17_21_02_179319_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/20/image_04012025_17_20_02_979962_0003.jpg
/home/pi/Desktop/images/04012025/17/21/image_04012025_17_21_02_179319_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":["1326693184","1326693186"],"photo_ids_order":["1326693184","1326693186"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ade61da48910d7b99b8202a308eff693.jpg","text":"TemporaryFile(/tmp/multipartBody2957115535516164683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007747629,"filename":"image_04012025_17_20_02_979962_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ed597a10337ab2b5ae556f2d35654b8.jpg","text":"TemporaryFile(/tmp/multipartBody8662724649878268100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007747629,"filename":"image_04012025_17_21_02_179319_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326693186","file0":"1326693184"},"map_files_photo_id_array":[{"photo_id":"1326693186","filename":"file1"},{"photo_id":"1326693184","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326693184":["hashtag1","hashtag2"]},{"1326693186":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326693184, 1326693186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.08637523651123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 17:21:51.969157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:22:02.616988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:22:22.211282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/21/image_04012025_17_21_02_179319_0001.jpg', '/home/pi/Desktop/images/04012025/17/22/image_04012025_17_22_02_334358_0000.jpg', '/home/pi/Desktop/images/04012025/17/22/image_04012025_17_22_02_334358_0001.jpg', '/home/pi/Desktop/images/04012025/17/22/image_04012025_17_22_02_334358_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/21/image_04012025_17_21_02_179319_0001.jpg
/home/pi/Desktop/images/04012025/17/22/image_04012025_17_22_02_334358_0000.jpg
/home/pi/Desktop/images/04012025/17/22/image_04012025_17_22_02_334358_0001.jpg
/home/pi/Desktop/images/04012025/17/22/image_04012025_17_22_02_334358_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326694211","1326693996","1326693894","1326693954"],"photo_ids_order":["1326693894","1326693954","1326693996","1326694211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/13844410fb2ed4ede1b2beb86e225ebf.jpg","text":"TemporaryFile(/tmp/multipartBody2583926194072309670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007812732,"filename":"image_04012025_17_22_02_334358_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a704be3b8160ac8c70e5f09951b9f158.jpg","text":"TemporaryFile(/tmp/multipartBody4141256570386629075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007812732,"filename":"image_04012025_17_22_02_334358_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b6b40c933c25876143e58d93c2ff77b2.jpg","text":"TemporaryFile(/tmp/multipartBody6756061694728617544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007812732,"filename":"image_04012025_17_21_02_179319_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/81d50529e648f20c76e8b40fd784d0ca.jpg","text":"TemporaryFile(/tmp/multipartBody1081427610353793721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007812732,"filename":"image_04012025_17_22_02_334358_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326693996","file1":"1326693954","file0":"1326693894","file3":"1326694211"},"map_files_photo_id_array":[{"photo_id":"1326693996","filename":"file2"},{"photo_id":"1326693954","filename":"file1"},{"photo_id":"1326693894","filename":"file0"},{"photo_id":"1326694211","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326694211":["hashtag1","hashtag2"]},{"1326693996":["hashtag1","hashtag2"]},{"1326693894":["hashtag1","hashtag2"]},{"1326693954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326694211, 1326693996, 1326693894, 1326693954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.46240782737732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:23:22.403384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/22/image_04012025_17_22_02_334358_0003.jpg', '/home/pi/Desktop/images/04012025/17/23/image_04012025_17_23_02_526022_0000.jpg', '/home/pi/Desktop/images/04012025/17/23/image_04012025_17_23_02_526022_0001.jpg', '/home/pi/Desktop/images/04012025/17/23/image_04012025_17_23_02_526022_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/22/image_04012025_17_22_02_334358_0003.jpg
/home/pi/Desktop/images/04012025/17/23/image_04012025_17_23_02_526022_0000.jpg
/home/pi/Desktop/images/04012025/17/23/image_04012025_17_23_02_526022_0001.jpg
/home/pi/Desktop/images/04012025/17/23/image_04012025_17_23_02_526022_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326695918","1326695965","1326695781","1326695862"],"photo_ids_order":["1326695781","1326695862","1326695918","1326695965"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/24ed4ab09ec7b62af8ad422f7ef79735.jpg","text":"TemporaryFile(/tmp/multipartBody9144506789719245807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007872927,"filename":"image_04012025_17_23_02_526022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3b8f61f4b0f54c315cc4bf4fabf50c2c.jpg","text":"TemporaryFile(/tmp/multipartBody801336279815115835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007872927,"filename":"image_04012025_17_23_02_526022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ec25b08694b3f8484e5ac6a05bbac63b.jpg","text":"TemporaryFile(/tmp/multipartBody8839789068043909728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007872927,"filename":"image_04012025_17_22_02_334358_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/045ce77b054cc76202f9873f0141f1ff.jpg","text":"TemporaryFile(/tmp/multipartBody1983021224515761037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007872927,"filename":"image_04012025_17_23_02_526022_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326695918","file1":"1326695862","file0":"1326695781","file3":"1326695965"},"map_files_photo_id_array":[{"photo_id":"1326695918","filename":"file2"},{"photo_id":"1326695862","filename":"file1"},{"photo_id":"1326695781","filename":"file0"},{"photo_id":"1326695965","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326695918":["hashtag1","hashtag2"]},{"1326695965":["hashtag1","hashtag2"]},{"1326695781":["hashtag1","hashtag2"]},{"1326695862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326695918, 1326695965, 1326695781, 1326695862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63438320159912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:24:02.946370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:24:22.618028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/23/image_04012025_17_23_02_526022_0003.jpg', '/home/pi/Desktop/images/04012025/17/24/image_04012025_17_24_02_731269_0000.jpg', '/home/pi/Desktop/images/04012025/17/24/image_04012025_17_24_02_731269_0001.jpg', '/home/pi/Desktop/images/04012025/17/24/image_04012025_17_24_02_731269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/23/image_04012025_17_23_02_526022_0003.jpg
/home/pi/Desktop/images/04012025/17/24/image_04012025_17_24_02_731269_0000.jpg
/home/pi/Desktop/images/04012025/17/24/image_04012025_17_24_02_731269_0001.jpg
/home/pi/Desktop/images/04012025/17/24/image_04012025_17_24_02_731269_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.150583982467651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 17:24:42.553790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/23/image_04012025_17_23_02_526022_0003.jpg', '/home/pi/Desktop/images/04012025/17/24/image_04012025_17_24_02_731269_0000.jpg', '/home/pi/Desktop/images/04012025/17/24/image_04012025_17_24_02_731269_0001.jpg', '/home/pi/Desktop/images/04012025/17/24/image_04012025_17_24_02_731269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/23/image_04012025_17_23_02_526022_0003.jpg
/home/pi/Desktop/images/04012025/17/24/image_04012025_17_24_02_731269_0000.jpg
/home/pi/Desktop/images/04012025/17/24/image_04012025_17_24_02_731269_0001.jpg
/home/pi/Desktop/images/04012025/17/24/image_04012025_17_24_02_731269_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326696835","1326697014","1326696393","1326696519"],"photo_ids_order":["1326696393","1326696519","1326696835","1326697014"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/25cc84485997d46a907a04b619c684d2.jpg","text":"TemporaryFile(/tmp/multipartBody6413099282414179471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007953121,"filename":"image_04012025_17_24_02_731269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fbf99834142fd45441f8a4460d94ac7c.jpg","text":"TemporaryFile(/tmp/multipartBody2603088944550917605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007953121,"filename":"image_04012025_17_24_02_731269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/86a28771527217882847d3e962a855c8.jpg","text":"TemporaryFile(/tmp/multipartBody1034035530387979940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007953121,"filename":"image_04012025_17_23_02_526022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fe0441c521169d9cff51833e860e6e67.jpg","text":"TemporaryFile(/tmp/multipartBody786184807575496287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007953121,"filename":"image_04012025_17_24_02_731269_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326696835","file1":"1326696519","file0":"1326696393","file3":"1326697014"},"map_files_photo_id_array":[{"photo_id":"1326696835","filename":"file2"},{"photo_id":"1326696519","filename":"file1"},{"photo_id":"1326696393","filename":"file0"},{"photo_id":"1326697014","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326696835":["hashtag1","hashtag2"]},{"1326697014":["hashtag1","hashtag2"]},{"1326696393":["hashtag1","hashtag2"]},{"1326696519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326696835, 1326697014, 1326696393, 1326696519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08061242103577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:25:22.762825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/24/image_04012025_17_24_02_731269_0003.jpg', '/home/pi/Desktop/images/04012025/17/25/image_04012025_17_25_02_959755_0000.jpg', '/home/pi/Desktop/images/04012025/17/25/image_04012025_17_25_02_959755_0001.jpg', '/home/pi/Desktop/images/04012025/17/25/image_04012025_17_25_02_959755_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/24/image_04012025_17_24_02_731269_0003.jpg
/home/pi/Desktop/images/04012025/17/25/image_04012025_17_25_02_959755_0000.jpg
/home/pi/Desktop/images/04012025/17/25/image_04012025_17_25_02_959755_0001.jpg
/home/pi/Desktop/images/04012025/17/25/image_04012025_17_25_02_959755_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326697740","1326697635","1326697737","1326697256"],"photo_ids_order":["1326697256","1326697635","1326697737","1326697740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aa9d4f41f41cd2c4cbe39d94c1af4a28.jpg","text":"TemporaryFile(/tmp/multipartBody8722687754343368421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007993094,"filename":"image_04012025_17_25_02_959755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f1af367c3c0ab7782132ed25bca1b9ca.jpg","text":"TemporaryFile(/tmp/multipartBody6933661065203341245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007993094,"filename":"image_04012025_17_25_02_959755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b4669b195b1a06f3c9079a0c4a13395a.jpg","text":"TemporaryFile(/tmp/multipartBody6839114687813174233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007993094,"filename":"image_04012025_17_25_02_959755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/75462d167667b7391adb189f4365a73f.jpg","text":"TemporaryFile(/tmp/multipartBody269620378933377899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736007993094,"filename":"image_04012025_17_24_02_731269_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326697737","file1":"1326697635","file0":"1326697256","file3":"1326697740"},"map_files_photo_id_array":[{"photo_id":"1326697737","filename":"file2"},{"photo_id":"1326697635","filename":"file1"},{"photo_id":"1326697256","filename":"file0"},{"photo_id":"1326697740","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326697740":["hashtag1","hashtag2"]},{"1326697635":["hashtag1","hashtag2"]},{"1326697737":["hashtag1","hashtag2"]},{"1326697256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326697740, 1326697635, 1326697737, 1326697256)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 38.753413438797 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:26:21.973182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/25/image_04012025_17_25_02_959755_0003.jpg', '/home/pi/Desktop/images/04012025/17/26/image_04012025_17_26_03_201088_0001.jpg', '/home/pi/Desktop/images/04012025/17/26/image_04012025_17_26_03_201088_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/25/image_04012025_17_25_02_959755_0003.jpg
/home/pi/Desktop/images/04012025/17/26/image_04012025_17_26_03_201088_0001.jpg
/home/pi/Desktop/images/04012025/17/26/image_04012025_17_26_03_201088_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326698127","1326698144","1326698068"],"photo_ids_order":["1326698068","1326698127","1326698144"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0aa09ccc392188d9c5ef20d7f26d8649.jpg","text":"TemporaryFile(/tmp/multipartBody2869937183322745838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008049554,"filename":"image_04012025_17_26_03_201088_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/80929e1fcda6758a21611556afe5be25.jpg","text":"TemporaryFile(/tmp/multipartBody8477127112811057338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008049554,"filename":"image_04012025_17_26_03_201088_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b7a3d537a0e962257b011f0383223b30.jpg","text":"TemporaryFile(/tmp/multipartBody7158978155837558412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008049554,"filename":"image_04012025_17_25_02_959755_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326698144","file1":"1326698127","file0":"1326698068"},"map_files_photo_id_array":[{"photo_id":"1326698144","filename":"file2"},{"photo_id":"1326698127","filename":"file1"},{"photo_id":"1326698068","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326698127":["hashtag1","hashtag2"]},{"1326698144":["hashtag1","hashtag2"]},{"1326698068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326698127, 1326698144, 1326698068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.135056734085083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:27:02.630670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:27:22.123436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/26/image_04012025_17_26_03_201088_0003.jpg', '/home/pi/Desktop/images/04012025/17/27/image_04012025_17_27_02_390674_0000.jpg', '/home/pi/Desktop/images/04012025/17/27/image_04012025_17_27_02_390674_0001.jpg', '/home/pi/Desktop/images/04012025/17/27/image_04012025_17_27_02_390674_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/26/image_04012025_17_26_03_201088_0003.jpg
/home/pi/Desktop/images/04012025/17/27/image_04012025_17_27_02_390674_0000.jpg
/home/pi/Desktop/images/04012025/17/27/image_04012025_17_27_02_390674_0001.jpg
/home/pi/Desktop/images/04012025/17/27/image_04012025_17_27_02_390674_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326698780","1326698840","1326698783","1326698837"],"photo_ids_order":["1326698780","1326698783","1326698837","1326698840"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d6c3c47c0be18f4a96d9394eb27872bb.jpg","text":"TemporaryFile(/tmp/multipartBody7285532044854959835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008112339,"filename":"image_04012025_17_26_03_201088_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9d207515286da94f4c10eb1e87bf9b42.jpg","text":"TemporaryFile(/tmp/multipartBody6384239124098170459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008112339,"filename":"image_04012025_17_27_02_390674_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1bdc9e49dfd5dbc8a6afad030cd985b8.jpg","text":"TemporaryFile(/tmp/multipartBody1429995754864344751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008112339,"filename":"image_04012025_17_27_02_390674_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c191ae7f3847e8b49be1aaa27cbed870.jpg","text":"TemporaryFile(/tmp/multipartBody6070582209614812797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008112339,"filename":"image_04012025_17_27_02_390674_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326698837","file1":"1326698783","file0":"1326698780","file3":"1326698840"},"map_files_photo_id_array":[{"photo_id":"1326698837","filename":"file2"},{"photo_id":"1326698783","filename":"file1"},{"photo_id":"1326698780","filename":"file0"},{"photo_id":"1326698840","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326698780":["hashtag1","hashtag2"]},{"1326698840":["hashtag1","hashtag2"]},{"1326698783":["hashtag1","hashtag2"]},{"1326698837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326698780, 1326698840, 1326698783, 1326698837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.99278473854065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:28:02.602289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:28:22.281236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/27/image_04012025_17_27_02_390674_0003.jpg', '/home/pi/Desktop/images/04012025/17/28/image_04012025_17_28_02_524147_0000.jpg', '/home/pi/Desktop/images/04012025/17/28/image_04012025_17_28_02_524147_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/27/image_04012025_17_27_02_390674_0003.jpg
/home/pi/Desktop/images/04012025/17/28/image_04012025_17_28_02_524147_0000.jpg
/home/pi/Desktop/images/04012025/17/28/image_04012025_17_28_02_524147_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326699606","1326699603","1326699597"],"photo_ids_order":["1326699597","1326699603","1326699606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/003d50365c9656f186327790a8917724.jpg","text":"TemporaryFile(/tmp/multipartBody8198894014588120276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008170234,"filename":"image_04012025_17_28_02_524147_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2f94e7196bbc14b8e89fb84bb4c10b63.jpg","text":"TemporaryFile(/tmp/multipartBody5741011915235703757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008170234,"filename":"image_04012025_17_28_02_524147_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f07f313eaee7bfb52e848b113732b84f.jpg","text":"TemporaryFile(/tmp/multipartBody3782838320187753466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008170234,"filename":"image_04012025_17_27_02_390674_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326699606","file1":"1326699603","file0":"1326699597"},"map_files_photo_id_array":[{"photo_id":"1326699606","filename":"file2"},{"photo_id":"1326699603","filename":"file1"},{"photo_id":"1326699597","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326699606":["hashtag1","hashtag2"]},{"1326699603":["hashtag1","hashtag2"]},{"1326699597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326699606, 1326699603, 1326699597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.295920372009277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:29:03.110181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:29:22.477372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/28/image_04012025_17_28_02_524147_0003.jpg', '/home/pi/Desktop/images/04012025/17/29/image_04012025_17_29_02_583780_0000.jpg', '/home/pi/Desktop/images/04012025/17/29/image_04012025_17_29_02_583780_0001.jpg', '/home/pi/Desktop/images/04012025/17/29/image_04012025_17_29_02_583780_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/28/image_04012025_17_28_02_524147_0003.jpg
/home/pi/Desktop/images/04012025/17/29/image_04012025_17_29_02_583780_0000.jpg
/home/pi/Desktop/images/04012025/17/29/image_04012025_17_29_02_583780_0001.jpg
/home/pi/Desktop/images/04012025/17/29/image_04012025_17_29_02_583780_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326700450","1326700246","1326700309","1326700311"],"photo_ids_order":["1326700246","1326700309","1326700311","1326700450"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cf31ea01bcefa3992eacbe93337e90d6.jpg","text":"TemporaryFile(/tmp/multipartBody2095529628976400989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008232874,"filename":"image_04012025_17_29_02_583780_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/312fd610825ae71d7904a060eac0e898.jpg","text":"TemporaryFile(/tmp/multipartBody5625358553765218431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008232874,"filename":"image_04012025_17_28_02_524147_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0968be6f2151486beeccfe3d7cf4941.jpg","text":"TemporaryFile(/tmp/multipartBody3651992302533656303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008232874,"filename":"image_04012025_17_29_02_583780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/112ce9d8039d32c2b574a2b762996e40.jpg","text":"TemporaryFile(/tmp/multipartBody5764095961064289477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008232874,"filename":"image_04012025_17_29_02_583780_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326700311","file1":"1326700309","file0":"1326700246","file3":"1326700450"},"map_files_photo_id_array":[{"photo_id":"1326700311","filename":"file2"},{"photo_id":"1326700309","filename":"file1"},{"photo_id":"1326700246","filename":"file0"},{"photo_id":"1326700450","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326700450":["hashtag1","hashtag2"]},{"1326700246":["hashtag1","hashtag2"]},{"1326700309":["hashtag1","hashtag2"]},{"1326700311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326700450, 1326700246, 1326700309, 1326700311)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.676111936569214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:30:22.623773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/29/image_04012025_17_29_02_583780_0003.jpg', '/home/pi/Desktop/images/04012025/17/30/image_04012025_17_30_02_830826_0000.jpg', '/home/pi/Desktop/images/04012025/17/30/image_04012025_17_30_02_830826_0001.jpg', '/home/pi/Desktop/images/04012025/17/30/image_04012025_17_30_02_830826_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/29/image_04012025_17_29_02_583780_0003.jpg
/home/pi/Desktop/images/04012025/17/30/image_04012025_17_30_02_830826_0000.jpg
/home/pi/Desktop/images/04012025/17/30/image_04012025_17_30_02_830826_0001.jpg
/home/pi/Desktop/images/04012025/17/30/image_04012025_17_30_02_830826_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326701085","1326701076","1326701040","1326701025"],"photo_ids_order":["1326701025","1326701040","1326701076","1326701085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d75e8240dcc85ab858bff9da712d584f.jpg","text":"TemporaryFile(/tmp/multipartBody4783597656358113557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008292976,"filename":"image_04012025_17_30_02_830826_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c859178078e2521b5ea2fe7a67d02ed2.jpg","text":"TemporaryFile(/tmp/multipartBody8374587903068165487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008292976,"filename":"image_04012025_17_30_02_830826_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1221fe1a4b4f1a594fd808f716bec9fd.jpg","text":"TemporaryFile(/tmp/multipartBody431663376258102178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008292976,"filename":"image_04012025_17_30_02_830826_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0c1509a9a0df17f1c13cd0f26f71041b.jpg","text":"TemporaryFile(/tmp/multipartBody7000884286295730063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008292976,"filename":"image_04012025_17_29_02_583780_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326701076","file1":"1326701040","file0":"1326701025","file3":"1326701085"},"map_files_photo_id_array":[{"photo_id":"1326701076","filename":"file2"},{"photo_id":"1326701040","filename":"file1"},{"photo_id":"1326701025","filename":"file0"},{"photo_id":"1326701085","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326701085":["hashtag1","hashtag2"]},{"1326701076":["hashtag1","hashtag2"]},{"1326701040":["hashtag1","hashtag2"]},{"1326701025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326701085, 1326701076, 1326701040, 1326701025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.662904024124146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:31:21.840563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/30/image_04012025_17_30_02_830826_0003.jpg', '/home/pi/Desktop/images/04012025/17/31/image_04012025_17_31_03_001822_0000.jpg', '/home/pi/Desktop/images/04012025/17/31/image_04012025_17_31_03_001822_0001.jpg', '/home/pi/Desktop/images/04012025/17/31/image_04012025_17_31_03_001822_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/30/image_04012025_17_30_02_830826_0003.jpg
/home/pi/Desktop/images/04012025/17/31/image_04012025_17_31_03_001822_0000.jpg
/home/pi/Desktop/images/04012025/17/31/image_04012025_17_31_03_001822_0001.jpg
/home/pi/Desktop/images/04012025/17/31/image_04012025_17_31_03_001822_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326701880","1326701916","1326701919","1326701915"],"photo_ids_order":["1326701880","1326701915","1326701916","1326701919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f02a47f9b6b80d12419f63de48c566af.jpg","text":"TemporaryFile(/tmp/multipartBody4785158300159206948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008351930,"filename":"image_04012025_17_30_02_830826_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/79e9b25aee4deab280f919bfc58e231c.jpg","text":"TemporaryFile(/tmp/multipartBody749386030440607837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008351930,"filename":"image_04012025_17_31_03_001822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a7c09ca524856a8f9a5f247d9d02e472.jpg","text":"TemporaryFile(/tmp/multipartBody1703730318131519817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008351930,"filename":"image_04012025_17_31_03_001822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cf92aebaa1b92c0a3d59f07675f64e3a.jpg","text":"TemporaryFile(/tmp/multipartBody420018005292847782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008351930,"filename":"image_04012025_17_31_03_001822_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326701916","file1":"1326701915","file0":"1326701880","file3":"1326701919"},"map_files_photo_id_array":[{"photo_id":"1326701916","filename":"file2"},{"photo_id":"1326701915","filename":"file1"},{"photo_id":"1326701880","filename":"file0"},{"photo_id":"1326701919","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326701880":["hashtag1","hashtag2"]},{"1326701916":["hashtag1","hashtag2"]},{"1326701919":["hashtag1","hashtag2"]},{"1326701915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326701880, 1326701916, 1326701919, 1326701915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.862351179122925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:32:02.384051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:32:22.039180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/31/image_04012025_17_31_03_001822_0003.jpg', '/home/pi/Desktop/images/04012025/17/32/image_04012025_17_32_02_147189_0000.jpg', '/home/pi/Desktop/images/04012025/17/32/image_04012025_17_32_02_147189_0001.jpg', '/home/pi/Desktop/images/04012025/17/32/image_04012025_17_32_02_147189_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/31/image_04012025_17_31_03_001822_0003.jpg
/home/pi/Desktop/images/04012025/17/32/image_04012025_17_32_02_147189_0000.jpg
/home/pi/Desktop/images/04012025/17/32/image_04012025_17_32_02_147189_0001.jpg
/home/pi/Desktop/images/04012025/17/32/image_04012025_17_32_02_147189_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326702529","1326702794","1326702746","1326702749"],"photo_ids_order":["1326702529","1326702746","1326702749","1326702794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7c6e016ce5be71c5735c486b59e9ebda.jpg","text":"TemporaryFile(/tmp/multipartBody6461936648863381493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008412110,"filename":"image_04012025_17_31_03_001822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c09a6a0efed3424e638a9f8873e16494.jpg","text":"TemporaryFile(/tmp/multipartBody8546580358346082029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008412110,"filename":"image_04012025_17_32_02_147189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e530680923d0b90e2c7597129261b822.jpg","text":"TemporaryFile(/tmp/multipartBody7610672332632753408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008412110,"filename":"image_04012025_17_32_02_147189_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/62f7fa6f8c134088490a1d664619743b.jpg","text":"TemporaryFile(/tmp/multipartBody132977168462191738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008412110,"filename":"image_04012025_17_32_02_147189_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326702749","file1":"1326702746","file0":"1326702529","file3":"1326702794"},"map_files_photo_id_array":[{"photo_id":"1326702749","filename":"file2"},{"photo_id":"1326702746","filename":"file1"},{"photo_id":"1326702529","filename":"file0"},{"photo_id":"1326702794","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326702529":["hashtag1","hashtag2"]},{"1326702794":["hashtag1","hashtag2"]},{"1326702746":["hashtag1","hashtag2"]},{"1326702749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326702529, 1326702794, 1326702746, 1326702749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08302855491638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:33:02.827720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:33:22.074671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/32/image_04012025_17_32_02_147189_0003.jpg', '/home/pi/Desktop/images/04012025/17/33/image_04012025_17_33_02_321388_0000.jpg', '/home/pi/Desktop/images/04012025/17/33/image_04012025_17_33_02_321388_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/32/image_04012025_17_32_02_147189_0003.jpg
/home/pi/Desktop/images/04012025/17/33/image_04012025_17_33_02_321388_0000.jpg
/home/pi/Desktop/images/04012025/17/33/image_04012025_17_33_02_321388_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326702882","1326702885","1326702880"],"photo_ids_order":["1326702880","1326702882","1326702885"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6985d1701be4a6d8448bc54e3b555db0.jpg","text":"TemporaryFile(/tmp/multipartBody6152715526755896408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008469940,"filename":"image_04012025_17_33_02_321388_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b6ae661576867ac6af4c8f9a48e37512.jpg","text":"TemporaryFile(/tmp/multipartBody5820351607322617138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008469940,"filename":"image_04012025_17_33_02_321388_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d3fc9a67d948db05efc24979c7b831df.jpg","text":"TemporaryFile(/tmp/multipartBody8926400628183382644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008469940,"filename":"image_04012025_17_32_02_147189_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326702885","file1":"1326702882","file0":"1326702880"},"map_files_photo_id_array":[{"photo_id":"1326702885","filename":"file2"},{"photo_id":"1326702882","filename":"file1"},{"photo_id":"1326702880","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326702882":["hashtag1","hashtag2"]},{"1326702885":["hashtag1","hashtag2"]},{"1326702880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326702882, 1326702885, 1326702880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.402049779891968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:34:02.825473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:34:22.389639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/33/image_04012025_17_33_02_321388_0003.jpg', '/home/pi/Desktop/images/04012025/17/34/image_04012025_17_34_02_535161_0000.jpg', '/home/pi/Desktop/images/04012025/17/34/image_04012025_17_34_02_535161_0001.jpg', '/home/pi/Desktop/images/04012025/17/34/image_04012025_17_34_02_535161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/33/image_04012025_17_33_02_321388_0003.jpg
/home/pi/Desktop/images/04012025/17/34/image_04012025_17_34_02_535161_0000.jpg
/home/pi/Desktop/images/04012025/17/34/image_04012025_17_34_02_535161_0001.jpg
/home/pi/Desktop/images/04012025/17/34/image_04012025_17_34_02_535161_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326703527","1326703295","1326703552","1326703555"],"photo_ids_order":["1326703295","1326703527","1326703552","1326703555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/287fbcb558f415ed5dab8cd1a9683a6e.jpg","text":"TemporaryFile(/tmp/multipartBody6654212002160184754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008532872,"filename":"image_04012025_17_34_02_535161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/afe2fe0c4d5f1981fb7ad3f5c0015a2b.jpg","text":"TemporaryFile(/tmp/multipartBody6598625902368876538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008532872,"filename":"image_04012025_17_33_02_321388_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/69c35ad130e4efcb7277d65edb1a6153.jpg","text":"TemporaryFile(/tmp/multipartBody2526412919566069967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008532872,"filename":"image_04012025_17_34_02_535161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1f23d3fef311a30c8631b8a956e6bf2a.jpg","text":"TemporaryFile(/tmp/multipartBody6497178647397647003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008532872,"filename":"image_04012025_17_34_02_535161_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326703552","file1":"1326703527","file0":"1326703295","file3":"1326703555"},"map_files_photo_id_array":[{"photo_id":"1326703552","filename":"file2"},{"photo_id":"1326703527","filename":"file1"},{"photo_id":"1326703295","filename":"file0"},{"photo_id":"1326703555","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326703527":["hashtag1","hashtag2"]},{"1326703295":["hashtag1","hashtag2"]},{"1326703552":["hashtag1","hashtag2"]},{"1326703555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326703527, 1326703295, 1326703552, 1326703555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.494789600372314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:35:22.575186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/34/image_04012025_17_34_02_535161_0003.jpg', '/home/pi/Desktop/images/04012025/17/35/image_04012025_17_35_02_692076_0000.jpg', '/home/pi/Desktop/images/04012025/17/35/image_04012025_17_35_02_692076_0001.jpg', '/home/pi/Desktop/images/04012025/17/35/image_04012025_17_35_02_692076_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/34/image_04012025_17_34_02_535161_0003.jpg
/home/pi/Desktop/images/04012025/17/35/image_04012025_17_35_02_692076_0000.jpg
/home/pi/Desktop/images/04012025/17/35/image_04012025_17_35_02_692076_0001.jpg
/home/pi/Desktop/images/04012025/17/35/image_04012025_17_35_02_692076_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.020935535430908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 17:35:42.566947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/34/image_04012025_17_34_02_535161_0003.jpg', '/home/pi/Desktop/images/04012025/17/35/image_04012025_17_35_02_692076_0000.jpg', '/home/pi/Desktop/images/04012025/17/35/image_04012025_17_35_02_692076_0001.jpg', '/home/pi/Desktop/images/04012025/17/35/image_04012025_17_35_02_692076_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/34/image_04012025_17_34_02_535161_0003.jpg
/home/pi/Desktop/images/04012025/17/35/image_04012025_17_35_02_692076_0000.jpg
/home/pi/Desktop/images/04012025/17/35/image_04012025_17_35_02_692076_0001.jpg
/home/pi/Desktop/images/04012025/17/35/image_04012025_17_35_02_692076_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326703678","1326703672","1326703675","1326703669"],"photo_ids_order":["1326703669","1326703672","1326703675","1326703678"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c6ac873e1f3d03ea29d28c2ba9e984ab.jpg","text":"TemporaryFile(/tmp/multipartBody734306458336779296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008612999,"filename":"image_04012025_17_35_02_692076_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d59101c81813f2924cfc8f1299e7b4b9.jpg","text":"TemporaryFile(/tmp/multipartBody7332883962981973803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008612999,"filename":"image_04012025_17_35_02_692076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a32ba5f0fe4a61b953ed3aefab34d5c9.jpg","text":"TemporaryFile(/tmp/multipartBody6309645961920896058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008612999,"filename":"image_04012025_17_35_02_692076_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/53a118e9f8c691188a878686e14a696b.jpg","text":"TemporaryFile(/tmp/multipartBody5037199078016891724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008612999,"filename":"image_04012025_17_34_02_535161_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326703675","file1":"1326703672","file0":"1326703669","file3":"1326703678"},"map_files_photo_id_array":[{"photo_id":"1326703675","filename":"file2"},{"photo_id":"1326703672","filename":"file1"},{"photo_id":"1326703669","filename":"file0"},{"photo_id":"1326703678","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326703678":["hashtag1","hashtag2"]},{"1326703672":["hashtag1","hashtag2"]},{"1326703675":["hashtag1","hashtag2"]},{"1326703669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326703678, 1326703672, 1326703675, 1326703669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.05479288101196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:36:22.738865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/35/image_04012025_17_35_02_692076_0003.jpg', '/home/pi/Desktop/images/04012025/17/36/image_04012025_17_36_02_888704_0000.jpg', '/home/pi/Desktop/images/04012025/17/36/image_04012025_17_36_02_888704_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/35/image_04012025_17_35_02_692076_0003.jpg
/home/pi/Desktop/images/04012025/17/36/image_04012025_17_36_02_888704_0000.jpg
/home/pi/Desktop/images/04012025/17/36/image_04012025_17_36_02_888704_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":["1326704384","1326704309","1326704287"],"photo_ids_order":["1326704287","1326704309","1326704384"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f3b868543806543a6d25d002563401f8.jpg","text":"TemporaryFile(/tmp/multipartBody5429787237293028029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008650669,"filename":"image_04012025_17_36_02_888704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d0796bbfbee8729fc0ca40826bb38dec.jpg","text":"TemporaryFile(/tmp/multipartBody1164605537585282859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008650669,"filename":"image_04012025_17_36_02_888704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bb5052ab00f498413cb6da64d4c79080.jpg","text":"TemporaryFile(/tmp/multipartBody4038754643552800889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008650669,"filename":"image_04012025_17_35_02_692076_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326704384","file1":"1326704309","file0":"1326704287"},"map_files_photo_id_array":[{"photo_id":"1326704384","filename":"file2"},{"photo_id":"1326704309","filename":"file1"},{"photo_id":"1326704287","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326704384":["hashtag1","hashtag2"]},{"1326704309":["hashtag1","hashtag2"]},{"1326704287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326704384, 1326704309, 1326704287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.307504653930664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:37:02.529620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:37:22.052538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/36/image_04012025_17_36_02_888704_0003.jpg', '/home/pi/Desktop/images/04012025/17/37/image_04012025_17_37_03_045758_0000.jpg', '/home/pi/Desktop/images/04012025/17/37/image_04012025_17_37_03_045758_0001.jpg', '/home/pi/Desktop/images/04012025/17/37/image_04012025_17_37_03_045758_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/36/image_04012025_17_36_02_888704_0003.jpg
/home/pi/Desktop/images/04012025/17/37/image_04012025_17_37_03_045758_0000.jpg
/home/pi/Desktop/images/04012025/17/37/image_04012025_17_37_03_045758_0001.jpg
/home/pi/Desktop/images/04012025/17/37/image_04012025_17_37_03_045758_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326704963","1326704965","1326704958","1326704961"],"photo_ids_order":["1326704958","1326704961","1326704963","1326704965"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af15fc074908814e95742b933ea8b57d.jpg","text":"TemporaryFile(/tmp/multipartBody7101176519958055015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008712448,"filename":"image_04012025_17_37_03_045758_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9055287db7771ca028117145647c8086.jpg","text":"TemporaryFile(/tmp/multipartBody4555026005283534517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008712448,"filename":"image_04012025_17_37_03_045758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0a6631ba993fe73bf2afcb2a0e62cd5f.jpg","text":"TemporaryFile(/tmp/multipartBody7221810793026767549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008712448,"filename":"image_04012025_17_36_02_888704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3a3d6abd232f4ba6164de022c5a30846.jpg","text":"TemporaryFile(/tmp/multipartBody4407454716055846178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008712448,"filename":"image_04012025_17_37_03_045758_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326704963","file1":"1326704961","file0":"1326704958","file3":"1326704965"},"map_files_photo_id_array":[{"photo_id":"1326704963","filename":"file2"},{"photo_id":"1326704961","filename":"file1"},{"photo_id":"1326704958","filename":"file0"},{"photo_id":"1326704965","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326704963":["hashtag1","hashtag2"]},{"1326704965":["hashtag1","hashtag2"]},{"1326704958":["hashtag1","hashtag2"]},{"1326704961":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326704963, 1326704965, 1326704958, 1326704961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77195405960083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:38:02.463374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:38:22.030325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/37/image_04012025_17_37_03_045758_0003.jpg', '/home/pi/Desktop/images/04012025/17/38/image_04012025_17_38_02_318637_0001.jpg', '/home/pi/Desktop/images/04012025/17/38/image_04012025_17_38_02_318637_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/37/image_04012025_17_37_03_045758_0003.jpg
/home/pi/Desktop/images/04012025/17/38/image_04012025_17_38_02_318637_0001.jpg
/home/pi/Desktop/images/04012025/17/38/image_04012025_17_38_02_318637_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326705347","1326705209","1326705349"],"photo_ids_order":["1326705209","1326705347","1326705349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4e8b86fcd11fb6a8aac597855c07832f.jpg","text":"TemporaryFile(/tmp/multipartBody3857996102894266462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008769936,"filename":"image_04012025_17_38_02_318637_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7a460a7aa48c15d946de14aace43f041.jpg","text":"TemporaryFile(/tmp/multipartBody8554637698463772027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008769936,"filename":"image_04012025_17_37_03_045758_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/037c10900d1de8533474c7a6e2bf930e.jpg","text":"TemporaryFile(/tmp/multipartBody6916181343465246836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008769936,"filename":"image_04012025_17_38_02_318637_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326705349","file1":"1326705347","file0":"1326705209"},"map_files_photo_id_array":[{"photo_id":"1326705349","filename":"file2"},{"photo_id":"1326705347","filename":"file1"},{"photo_id":"1326705209","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326705347":["hashtag1","hashtag2"]},{"1326705209":["hashtag1","hashtag2"]},{"1326705349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326705347, 1326705209, 1326705349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.109984159469604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:39:02.854413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:39:22.254841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/38/image_04012025_17_38_02_318637_0003.jpg', '/home/pi/Desktop/images/04012025/17/39/image_04012025_17_39_02_433821_0000.jpg', '/home/pi/Desktop/images/04012025/17/39/image_04012025_17_39_02_433821_0001.jpg', '/home/pi/Desktop/images/04012025/17/39/image_04012025_17_39_02_433821_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/38/image_04012025_17_38_02_318637_0003.jpg
/home/pi/Desktop/images/04012025/17/39/image_04012025_17_39_02_433821_0000.jpg
/home/pi/Desktop/images/04012025/17/39/image_04012025_17_39_02_433821_0001.jpg
/home/pi/Desktop/images/04012025/17/39/image_04012025_17_39_02_433821_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326705878","1326705889","1326705892","1326705828"],"photo_ids_order":["1326705828","1326705878","1326705889","1326705892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c82249c6c2b7dbc7d031d67be77a6363.jpg","text":"TemporaryFile(/tmp/multipartBody4581026780224945223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008832508,"filename":"image_04012025_17_39_02_433821_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eb555adcf1b1f74f437a80b9501fcbca.jpg","text":"TemporaryFile(/tmp/multipartBody657205465103251470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008832508,"filename":"image_04012025_17_39_02_433821_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d2338578431dba9bc51ffc9a4cc8c274.jpg","text":"TemporaryFile(/tmp/multipartBody4996621063876597834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008832508,"filename":"image_04012025_17_39_02_433821_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5c1312aa58a74d72871de389d4095995.jpg","text":"TemporaryFile(/tmp/multipartBody4323931074357234245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008832508,"filename":"image_04012025_17_38_02_318637_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326705889","file1":"1326705878","file0":"1326705828","file3":"1326705892"},"map_files_photo_id_array":[{"photo_id":"1326705889","filename":"file2"},{"photo_id":"1326705878","filename":"file1"},{"photo_id":"1326705828","filename":"file0"},{"photo_id":"1326705892","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326705878":["hashtag1","hashtag2"]},{"1326705889":["hashtag1","hashtag2"]},{"1326705892":["hashtag1","hashtag2"]},{"1326705828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326705878, 1326705889, 1326705892, 1326705828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.181071043014526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:40:22.462670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/39/image_04012025_17_39_02_433821_0003.jpg', '/home/pi/Desktop/images/04012025/17/40/image_04012025_17_40_02_562144_0000.jpg', '/home/pi/Desktop/images/04012025/17/40/image_04012025_17_40_02_562144_0001.jpg', '/home/pi/Desktop/images/04012025/17/40/image_04012025_17_40_02_562144_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/39/image_04012025_17_39_02_433821_0003.jpg
/home/pi/Desktop/images/04012025/17/40/image_04012025_17_40_02_562144_0000.jpg
/home/pi/Desktop/images/04012025/17/40/image_04012025_17_40_02_562144_0001.jpg
/home/pi/Desktop/images/04012025/17/40/image_04012025_17_40_02_562144_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326705902","1326705905","1326705913","1326705900"],"photo_ids_order":["1326705900","1326705902","1326705905","1326705913"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/143cc906951f7c1f2612276ed05e063e.jpg","text":"TemporaryFile(/tmp/multipartBody1250886400865835018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008892831,"filename":"image_04012025_17_40_02_562144_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/36147bebe52d17e08353bc0c1646a940.jpg","text":"TemporaryFile(/tmp/multipartBody6619622353591735713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008892831,"filename":"image_04012025_17_40_02_562144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8b9375f342fd6c6102d3a762cc568888.jpg","text":"TemporaryFile(/tmp/multipartBody7213996566453748452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008892831,"filename":"image_04012025_17_40_02_562144_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/51677dab388034c02d9248a2b2291a0f.jpg","text":"TemporaryFile(/tmp/multipartBody6496183542711767024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008892831,"filename":"image_04012025_17_39_02_433821_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326705905","file1":"1326705902","file0":"1326705900","file3":"1326705913"},"map_files_photo_id_array":[{"photo_id":"1326705905","filename":"file2"},{"photo_id":"1326705902","filename":"file1"},{"photo_id":"1326705900","filename":"file0"},{"photo_id":"1326705913","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326705902":["hashtag1","hashtag2"]},{"1326705905":["hashtag1","hashtag2"]},{"1326705913":["hashtag1","hashtag2"]},{"1326705900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326705902, 1326705905, 1326705913, 1326705900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.25793266296387 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:41:03.127570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:41:22.482683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/40/image_04012025_17_40_02_562144_0003.jpg', '/home/pi/Desktop/images/04012025/17/41/image_04012025_17_41_02_733207_0000.jpg', '/home/pi/Desktop/images/04012025/17/41/image_04012025_17_41_02_733207_0001.jpg', '/home/pi/Desktop/images/04012025/17/41/image_04012025_17_41_02_733207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/40/image_04012025_17_40_02_562144_0003.jpg
/home/pi/Desktop/images/04012025/17/41/image_04012025_17_41_02_733207_0000.jpg
/home/pi/Desktop/images/04012025/17/41/image_04012025_17_41_02_733207_0001.jpg
/home/pi/Desktop/images/04012025/17/41/image_04012025_17_41_02_733207_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326706365","1326706362","1326706487","1326706367"],"photo_ids_order":["1326706362","1326706365","1326706367","1326706487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30e82bd8aefe80562c65984ce1a26bf3.jpg","text":"TemporaryFile(/tmp/multipartBody2841914143233566629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008952876,"filename":"image_04012025_17_41_02_733207_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8128d217cce12ae3ab88bea4d67da7a3.jpg","text":"TemporaryFile(/tmp/multipartBody7702839636080051504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008952876,"filename":"image_04012025_17_40_02_562144_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/55b57d9e4a6f3f2d485d708728f695a5.jpg","text":"TemporaryFile(/tmp/multipartBody2769997317930181647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008952876,"filename":"image_04012025_17_41_02_733207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8d1bb9b7b039ee9bd973301a12f23981.jpg","text":"TemporaryFile(/tmp/multipartBody8495699341709999550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736008952876,"filename":"image_04012025_17_41_02_733207_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326706367","file1":"1326706365","file0":"1326706362","file3":"1326706487"},"map_files_photo_id_array":[{"photo_id":"1326706367","filename":"file2"},{"photo_id":"1326706365","filename":"file1"},{"photo_id":"1326706362","filename":"file0"},{"photo_id":"1326706487","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326706365":["hashtag1","hashtag2"]},{"1326706362":["hashtag1","hashtag2"]},{"1326706487":["hashtag1","hashtag2"]},{"1326706367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326706365, 1326706362, 1326706487, 1326706367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.78235650062561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:42:03.042577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:42:22.765674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/41/image_04012025_17_41_02_733207_0003.jpg', '/home/pi/Desktop/images/04012025/17/42/image_04012025_17_42_02_893420_0000.jpg', '/home/pi/Desktop/images/04012025/17/42/image_04012025_17_42_02_893420_0001.jpg', '/home/pi/Desktop/images/04012025/17/42/image_04012025_17_42_02_893420_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/41/image_04012025_17_41_02_733207_0003.jpg
/home/pi/Desktop/images/04012025/17/42/image_04012025_17_42_02_893420_0000.jpg
/home/pi/Desktop/images/04012025/17/42/image_04012025_17_42_02_893420_0001.jpg
/home/pi/Desktop/images/04012025/17/42/image_04012025_17_42_02_893420_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326707149","1326707079","1326707081","1326707084"],"photo_ids_order":["1326707079","1326707081","1326707084","1326707149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/374f3b0a9c61ebb7e951ff8a550a16e3.jpg","text":"TemporaryFile(/tmp/multipartBody880881868869082555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009012963,"filename":"image_04012025_17_42_02_893420_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3f5d3e5c80a94aab865d0883ca77fd79.jpg","text":"TemporaryFile(/tmp/multipartBody4304815319636048112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009012963,"filename":"image_04012025_17_41_02_733207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aeaa3dc712d0c6094da1c07f2747a341.jpg","text":"TemporaryFile(/tmp/multipartBody7900583597979511694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009012963,"filename":"image_04012025_17_42_02_893420_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6f41b367e6018593c5d38c915e1fb1e9.jpg","text":"TemporaryFile(/tmp/multipartBody7469097424135642505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009012963,"filename":"image_04012025_17_42_02_893420_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326707084","file1":"1326707081","file0":"1326707079","file3":"1326707149"},"map_files_photo_id_array":[{"photo_id":"1326707084","filename":"file2"},{"photo_id":"1326707081","filename":"file1"},{"photo_id":"1326707079","filename":"file0"},{"photo_id":"1326707149","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326707149":["hashtag1","hashtag2"]},{"1326707079":["hashtag1","hashtag2"]},{"1326707081":["hashtag1","hashtag2"]},{"1326707084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326707149, 1326707079, 1326707081, 1326707084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.171550989151 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:43:02.415281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:43:21.844397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/42/image_04012025_17_42_02_893420_0003.jpg', '/home/pi/Desktop/images/04012025/17/43/image_04012025_17_43_03_161902_0000.jpg', '/home/pi/Desktop/images/04012025/17/43/image_04012025_17_43_03_161902_0001.jpg', '/home/pi/Desktop/images/04012025/17/43/image_04012025_17_43_03_161902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/42/image_04012025_17_42_02_893420_0003.jpg
/home/pi/Desktop/images/04012025/17/43/image_04012025_17_43_03_161902_0000.jpg
/home/pi/Desktop/images/04012025/17/43/image_04012025_17_43_03_161902_0001.jpg
/home/pi/Desktop/images/04012025/17/43/image_04012025_17_43_03_161902_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326707511","1326707529","1326707372","1326707369"],"photo_ids_order":["1326707369","1326707372","1326707511","1326707529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/929bd534daf4591107dd47493b5048bf.jpg","text":"TemporaryFile(/tmp/multipartBody7582266213322770269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009072140,"filename":"image_04012025_17_43_03_161902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9ae18949a2636caddd80a569297f52f5.jpg","text":"TemporaryFile(/tmp/multipartBody7326088671667522439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009072140,"filename":"image_04012025_17_43_03_161902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aa8532acfbb84890d0f953c8d9ecea48.jpg","text":"TemporaryFile(/tmp/multipartBody5707951839832246684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009072140,"filename":"image_04012025_17_43_03_161902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/58c26aed2fe1ea9362785101214281b3.jpg","text":"TemporaryFile(/tmp/multipartBody6208047754545847751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009072140,"filename":"image_04012025_17_42_02_893420_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326707511","file1":"1326707372","file0":"1326707369","file3":"1326707529"},"map_files_photo_id_array":[{"photo_id":"1326707511","filename":"file2"},{"photo_id":"1326707372","filename":"file1"},{"photo_id":"1326707369","filename":"file0"},{"photo_id":"1326707529","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326707511":["hashtag1","hashtag2"]},{"1326707529":["hashtag1","hashtag2"]},{"1326707372":["hashtag1","hashtag2"]},{"1326707369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326707511, 1326707529, 1326707372, 1326707369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.99848031997681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:44:02.420305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:44:22.025709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/43/image_04012025_17_43_03_161902_0003.jpg', '/home/pi/Desktop/images/04012025/17/44/image_04012025_17_44_02_167855_0000.jpg', '/home/pi/Desktop/images/04012025/17/44/image_04012025_17_44_02_167855_0001.jpg', '/home/pi/Desktop/images/04012025/17/44/image_04012025_17_44_02_167855_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/43/image_04012025_17_43_03_161902_0003.jpg
/home/pi/Desktop/images/04012025/17/44/image_04012025_17_44_02_167855_0000.jpg
/home/pi/Desktop/images/04012025/17/44/image_04012025_17_44_02_167855_0001.jpg
/home/pi/Desktop/images/04012025/17/44/image_04012025_17_44_02_167855_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326707898","1326707964","1326707966","1326707969"],"photo_ids_order":["1326707898","1326707964","1326707966","1326707969"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/608e1475b46f77a3f8f786d602f7b415.jpg","text":"TemporaryFile(/tmp/multipartBody3597837793974892170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009132464,"filename":"image_04012025_17_43_03_161902_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/24a3115b65994c979d0866dfd2537988.jpg","text":"TemporaryFile(/tmp/multipartBody5748525739910260356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009132464,"filename":"image_04012025_17_44_02_167855_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/25f88735799754ea867558c34fbc073c.jpg","text":"TemporaryFile(/tmp/multipartBody8871288143185441536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009132464,"filename":"image_04012025_17_44_02_167855_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/32ae9c5e6b98deb1e30f71529ecbcd43.jpg","text":"TemporaryFile(/tmp/multipartBody9030232924433983460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009132464,"filename":"image_04012025_17_44_02_167855_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326707966","file1":"1326707964","file0":"1326707898","file3":"1326707969"},"map_files_photo_id_array":[{"photo_id":"1326707966","filename":"file2"},{"photo_id":"1326707964","filename":"file1"},{"photo_id":"1326707898","filename":"file0"},{"photo_id":"1326707969","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326707898":["hashtag1","hashtag2"]},{"1326707964":["hashtag1","hashtag2"]},{"1326707966":["hashtag1","hashtag2"]},{"1326707969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326707898, 1326707964, 1326707966, 1326707969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.733546018600464 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-04 17:45:22.259429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/44/image_04012025_17_44_02_167855_0003.jpg', '/home/pi/Desktop/images/04012025/17/45/image_04012025_17_45_02_358746_0000.jpg', '/home/pi/Desktop/images/04012025/17/45/image_04012025_17_45_02_358746_0001.jpg', '/home/pi/Desktop/images/04012025/17/45/image_04012025_17_45_02_358746_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/44/image_04012025_17_44_02_167855_0003.jpg
/home/pi/Desktop/images/04012025/17/45/image_04012025_17_45_02_358746_0000.jpg
/home/pi/Desktop/images/04012025/17/45/image_04012025_17_45_02_358746_0001.jpg
/home/pi/Desktop/images/04012025/17/45/image_04012025_17_45_02_358746_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326708313","1326708452","1326708512","1326708331"],"photo_ids_order":["1326708313","1326708331","1326708452","1326708512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6a688c48cbb185a71cbb59ef520d8335.jpg","text":"TemporaryFile(/tmp/multipartBody5271862265805627135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009192655,"filename":"image_04012025_17_44_02_167855_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1e893161a5001c8f4444045825816c9a.jpg","text":"TemporaryFile(/tmp/multipartBody3476153849734140414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009192655,"filename":"image_04012025_17_45_02_358746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/92bc33c276c6e796b430f8b18fb42ee0.jpg","text":"TemporaryFile(/tmp/multipartBody4870641041104863496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009192655,"filename":"image_04012025_17_45_02_358746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7430fa98576c64a14d016fb504c6380c.jpg","text":"TemporaryFile(/tmp/multipartBody4423624352040202032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009192655,"filename":"image_04012025_17_45_02_358746_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326708452","file1":"1326708331","file0":"1326708313","file3":"1326708512"},"map_files_photo_id_array":[{"photo_id":"1326708452","filename":"file2"},{"photo_id":"1326708331","filename":"file1"},{"photo_id":"1326708313","filename":"file0"},{"photo_id":"1326708512","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326708313":["hashtag1","hashtag2"]},{"1326708452":["hashtag1","hashtag2"]},{"1326708512":["hashtag1","hashtag2"]},{"1326708331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326708313, 1326708452, 1326708512, 1326708331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.02782368659973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:46:02.756380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:46:22.364965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/45/image_04012025_17_45_02_358746_0003.jpg', '/home/pi/Desktop/images/04012025/17/46/image_04012025_17_46_02_560802_0000.jpg', '/home/pi/Desktop/images/04012025/17/46/image_04012025_17_46_02_560802_0001.jpg', '/home/pi/Desktop/images/04012025/17/46/image_04012025_17_46_02_560802_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/45/image_04012025_17_45_02_358746_0003.jpg
/home/pi/Desktop/images/04012025/17/46/image_04012025_17_46_02_560802_0000.jpg
/home/pi/Desktop/images/04012025/17/46/image_04012025_17_46_02_560802_0001.jpg
/home/pi/Desktop/images/04012025/17/46/image_04012025_17_46_02_560802_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326708593","1326708596","1326708584","1326708589"],"photo_ids_order":["1326708584","1326708589","1326708593","1326708596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/07e7a7ed05be58aa2238e1ceee614f81.jpg","text":"TemporaryFile(/tmp/multipartBody2530180297304332040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009252611,"filename":"image_04012025_17_46_02_560802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0551f95385ededdf41d74d1a44178e41.jpg","text":"TemporaryFile(/tmp/multipartBody2370303092344048258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009252611,"filename":"image_04012025_17_46_02_560802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bcabd5d48b70ab67f9651ad29974b257.jpg","text":"TemporaryFile(/tmp/multipartBody7950645725544917289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009252611,"filename":"image_04012025_17_45_02_358746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aecbee8d4ff697872c8a691dcf570a11.jpg","text":"TemporaryFile(/tmp/multipartBody2518234779526216452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009252611,"filename":"image_04012025_17_46_02_560802_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326708593","file1":"1326708589","file0":"1326708584","file3":"1326708596"},"map_files_photo_id_array":[{"photo_id":"1326708593","filename":"file2"},{"photo_id":"1326708589","filename":"file1"},{"photo_id":"1326708584","filename":"file0"},{"photo_id":"1326708596","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326708593":["hashtag1","hashtag2"]},{"1326708596":["hashtag1","hashtag2"]},{"1326708584":["hashtag1","hashtag2"]},{"1326708589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326708593, 1326708596, 1326708584, 1326708589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.003926515579224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:47:03.150913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:47:22.568934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/46/image_04012025_17_46_02_560802_0003.jpg', '/home/pi/Desktop/images/04012025/17/47/image_04012025_17_47_02_678702_0000.jpg', '/home/pi/Desktop/images/04012025/17/47/image_04012025_17_47_02_678702_0001.jpg', '/home/pi/Desktop/images/04012025/17/47/image_04012025_17_47_02_678702_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/46/image_04012025_17_46_02_560802_0003.jpg
/home/pi/Desktop/images/04012025/17/47/image_04012025_17_47_02_678702_0000.jpg
/home/pi/Desktop/images/04012025/17/47/image_04012025_17_47_02_678702_0001.jpg
/home/pi/Desktop/images/04012025/17/47/image_04012025_17_47_02_678702_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326708993","1326709028","1326709039","1326709036"],"photo_ids_order":["1326708993","1326709028","1326709036","1326709039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/520a08a5853b6f118a1c374e9bc7c4f3.jpg","text":"TemporaryFile(/tmp/multipartBody6319155113238708065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009312960,"filename":"image_04012025_17_46_02_560802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a88127d8d78b96db03e4266a51de859e.jpg","text":"TemporaryFile(/tmp/multipartBody2996908803878352937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009312960,"filename":"image_04012025_17_47_02_678702_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9afc228be5d927a5bb8f373eb43deb17.jpg","text":"TemporaryFile(/tmp/multipartBody7347300428318004057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009312960,"filename":"image_04012025_17_47_02_678702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/debbd917d4c1571f4426254fad38fdc5.jpg","text":"TemporaryFile(/tmp/multipartBody7887959161999138473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009312960,"filename":"image_04012025_17_47_02_678702_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326709036","file1":"1326709028","file0":"1326708993","file3":"1326709039"},"map_files_photo_id_array":[{"photo_id":"1326709036","filename":"file2"},{"photo_id":"1326709028","filename":"file1"},{"photo_id":"1326708993","filename":"file0"},{"photo_id":"1326709039","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326708993":["hashtag1","hashtag2"]},{"1326709028":["hashtag1","hashtag2"]},{"1326709039":["hashtag1","hashtag2"]},{"1326709036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326708993, 1326709028, 1326709039, 1326709036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40261888504028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:48:03.034949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:48:22.744022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/47/image_04012025_17_47_02_678702_0003.jpg', '/home/pi/Desktop/images/04012025/17/48/image_04012025_17_48_02_868782_0000.jpg', '/home/pi/Desktop/images/04012025/17/48/image_04012025_17_48_02_868782_0001.jpg', '/home/pi/Desktop/images/04012025/17/48/image_04012025_17_48_02_868782_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/47/image_04012025_17_47_02_678702_0003.jpg
/home/pi/Desktop/images/04012025/17/48/image_04012025_17_48_02_868782_0000.jpg
/home/pi/Desktop/images/04012025/17/48/image_04012025_17_48_02_868782_0001.jpg
/home/pi/Desktop/images/04012025/17/48/image_04012025_17_48_02_868782_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326709047","1326709052","1326709055","1326709049"],"photo_ids_order":["1326709047","1326709049","1326709052","1326709055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1139cde23e844ab932d90fa5a2e599fa.jpg","text":"TemporaryFile(/tmp/multipartBody1411136170626118522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009373074,"filename":"image_04012025_17_47_02_678702_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/703a95fe2e9ace5dd5816cf88db1ba4c.jpg","text":"TemporaryFile(/tmp/multipartBody705128064105928752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009373074,"filename":"image_04012025_17_48_02_868782_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d3ac386769abafb0caf54812c8bdc399.jpg","text":"TemporaryFile(/tmp/multipartBody984847147912446871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009373074,"filename":"image_04012025_17_48_02_868782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1e79e2d536e8247f013088a728de9e71.jpg","text":"TemporaryFile(/tmp/multipartBody6091774770767394795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009373074,"filename":"image_04012025_17_48_02_868782_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326709052","file1":"1326709049","file0":"1326709047","file3":"1326709055"},"map_files_photo_id_array":[{"photo_id":"1326709052","filename":"file2"},{"photo_id":"1326709049","filename":"file1"},{"photo_id":"1326709047","filename":"file0"},{"photo_id":"1326709055","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326709047":["hashtag1","hashtag2"]},{"1326709052":["hashtag1","hashtag2"]},{"1326709055":["hashtag1","hashtag2"]},{"1326709049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326709047, 1326709052, 1326709055, 1326709049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.25592088699341 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:49:21.979992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/48/image_04012025_17_48_02_868782_0003.jpg', '/home/pi/Desktop/images/04012025/17/49/image_04012025_17_49_03_167045_0000.jpg', '/home/pi/Desktop/images/04012025/17/49/image_04012025_17_49_03_167045_0001.jpg', '/home/pi/Desktop/images/04012025/17/49/image_04012025_17_49_03_167045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/48/image_04012025_17_48_02_868782_0003.jpg
/home/pi/Desktop/images/04012025/17/49/image_04012025_17_49_03_167045_0000.jpg
/home/pi/Desktop/images/04012025/17/49/image_04012025_17_49_03_167045_0001.jpg
/home/pi/Desktop/images/04012025/17/49/image_04012025_17_49_03_167045_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326709334","1326709328","1326709384","1326709387"],"photo_ids_order":["1326709328","1326709334","1326709384","1326709387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d4f2275ba22614a938009a00e1b00c4.jpg","text":"TemporaryFile(/tmp/multipartBody6593825180559852875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009432238,"filename":"image_04012025_17_49_03_167045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/077035cf13ba25513a943c823b46bbbf.jpg","text":"TemporaryFile(/tmp/multipartBody6993390655666931034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009432238,"filename":"image_04012025_17_48_02_868782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/952eaae45f2b09d54726501485bcc116.jpg","text":"TemporaryFile(/tmp/multipartBody8459395149123464356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009432238,"filename":"image_04012025_17_49_03_167045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e6cb36c7933f1e325cd32487b507ce28.jpg","text":"TemporaryFile(/tmp/multipartBody5812319393744026637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009432238,"filename":"image_04012025_17_49_03_167045_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326709384","file1":"1326709334","file0":"1326709328","file3":"1326709387"},"map_files_photo_id_array":[{"photo_id":"1326709384","filename":"file2"},{"photo_id":"1326709334","filename":"file1"},{"photo_id":"1326709328","filename":"file0"},{"photo_id":"1326709387","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326709334":["hashtag1","hashtag2"]},{"1326709328":["hashtag1","hashtag2"]},{"1326709384":["hashtag1","hashtag2"]},{"1326709387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326709334, 1326709328, 1326709384, 1326709387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.97666025161743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:50:02.382187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:50:22.092762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/49/image_04012025_17_49_03_167045_0003.jpg', '/home/pi/Desktop/images/04012025/17/50/image_04012025_17_50_02_306106_0000.jpg', '/home/pi/Desktop/images/04012025/17/50/image_04012025_17_50_02_306106_0001.jpg', '/home/pi/Desktop/images/04012025/17/50/image_04012025_17_50_02_306106_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/49/image_04012025_17_49_03_167045_0003.jpg
/home/pi/Desktop/images/04012025/17/50/image_04012025_17_50_02_306106_0000.jpg
/home/pi/Desktop/images/04012025/17/50/image_04012025_17_50_02_306106_0001.jpg
/home/pi/Desktop/images/04012025/17/50/image_04012025_17_50_02_306106_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326709839","1326709805","1326709756","1326709807"],"photo_ids_order":["1326709756","1326709805","1326709807","1326709839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3dd42651edbb091b274db6e0b0565340.jpg","text":"TemporaryFile(/tmp/multipartBody7759301067261058618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009492321,"filename":"image_04012025_17_50_02_306106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd2443cd7f2cca45e052a312e28c12a1.jpg","text":"TemporaryFile(/tmp/multipartBody6223415457556022991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009492321,"filename":"image_04012025_17_50_02_306106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/94a8377cea47c7fbf071f74fc2151309.jpg","text":"TemporaryFile(/tmp/multipartBody5441691964940372507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009492321,"filename":"image_04012025_17_49_03_167045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85f8704efab5c2e511a7c43f1e76c206.jpg","text":"TemporaryFile(/tmp/multipartBody5932052050035827298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009492321,"filename":"image_04012025_17_50_02_306106_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326709807","file1":"1326709805","file0":"1326709756","file3":"1326709839"},"map_files_photo_id_array":[{"photo_id":"1326709807","filename":"file2"},{"photo_id":"1326709805","filename":"file1"},{"photo_id":"1326709756","filename":"file0"},{"photo_id":"1326709839","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326709839":["hashtag1","hashtag2"]},{"1326709805":["hashtag1","hashtag2"]},{"1326709756":["hashtag1","hashtag2"]},{"1326709807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326709839, 1326709805, 1326709756, 1326709807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.27975606918335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:51:02.907691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:51:22.229767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/50/image_04012025_17_50_02_306106_0003.jpg', '/home/pi/Desktop/images/04012025/17/51/image_04012025_17_51_02_428223_0000.jpg', '/home/pi/Desktop/images/04012025/17/51/image_04012025_17_51_02_428223_0001.jpg', '/home/pi/Desktop/images/04012025/17/51/image_04012025_17_51_02_428223_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/50/image_04012025_17_50_02_306106_0003.jpg
/home/pi/Desktop/images/04012025/17/51/image_04012025_17_51_02_428223_0000.jpg
/home/pi/Desktop/images/04012025/17/51/image_04012025_17_51_02_428223_0001.jpg
/home/pi/Desktop/images/04012025/17/51/image_04012025_17_51_02_428223_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326710317","1326710189","1326710434","1326709971"],"photo_ids_order":["1326709971","1326710189","1326710317","1326710434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d85245d2a45a6dcc14e9713d89099d64.jpg","text":"TemporaryFile(/tmp/multipartBody2189457107214320517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009552487,"filename":"image_04012025_17_51_02_428223_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dd481b5ffbb9381529322523e6cc63e4.jpg","text":"TemporaryFile(/tmp/multipartBody5142593766975003028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009552487,"filename":"image_04012025_17_51_02_428223_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2ff05e4b71114fec7406b166a7480d2d.jpg","text":"TemporaryFile(/tmp/multipartBody2203523338900761779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009552487,"filename":"image_04012025_17_51_02_428223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/82009f6e811bece04c75fab716cc7f1c.jpg","text":"TemporaryFile(/tmp/multipartBody802567429870120791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009552487,"filename":"image_04012025_17_50_02_306106_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326710317","file1":"1326710189","file0":"1326709971","file3":"1326710434"},"map_files_photo_id_array":[{"photo_id":"1326710317","filename":"file2"},{"photo_id":"1326710189","filename":"file1"},{"photo_id":"1326709971","filename":"file0"},{"photo_id":"1326710434","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326710317":["hashtag1","hashtag2"]},{"1326710189":["hashtag1","hashtag2"]},{"1326710434":["hashtag1","hashtag2"]},{"1326709971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326710317, 1326710189, 1326710434, 1326709971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93716621398926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:52:02.807128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:52:22.493460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/51/image_04012025_17_51_02_428223_0003.jpg', '/home/pi/Desktop/images/04012025/17/52/image_04012025_17_52_02_643380_0000.jpg', '/home/pi/Desktop/images/04012025/17/52/image_04012025_17_52_02_643380_0001.jpg', '/home/pi/Desktop/images/04012025/17/52/image_04012025_17_52_02_643380_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/51/image_04012025_17_51_02_428223_0003.jpg
/home/pi/Desktop/images/04012025/17/52/image_04012025_17_52_02_643380_0000.jpg
/home/pi/Desktop/images/04012025/17/52/image_04012025_17_52_02_643380_0001.jpg
/home/pi/Desktop/images/04012025/17/52/image_04012025_17_52_02_643380_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326711141","1326711138","1326711135","1326711121"],"photo_ids_order":["1326711121","1326711135","1326711138","1326711141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a524ec6244d48ad53672d8dca04f627f.jpg","text":"TemporaryFile(/tmp/multipartBody1945588254012215872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009612837,"filename":"image_04012025_17_52_02_643380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/61d91227e2e46491ed3315c7435dc141.jpg","text":"TemporaryFile(/tmp/multipartBody2817976576059416450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009612837,"filename":"image_04012025_17_52_02_643380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2c97087d96de2d2b79b62fb0a4b72a3f.jpg","text":"TemporaryFile(/tmp/multipartBody7354161313674031734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009612837,"filename":"image_04012025_17_52_02_643380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a1eeb91876a9f4b67b5cedde29ee3d77.jpg","text":"TemporaryFile(/tmp/multipartBody584700271590921544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009612837,"filename":"image_04012025_17_51_02_428223_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326711138","file1":"1326711135","file0":"1326711121","file3":"1326711141"},"map_files_photo_id_array":[{"photo_id":"1326711138","filename":"file2"},{"photo_id":"1326711135","filename":"file1"},{"photo_id":"1326711121","filename":"file0"},{"photo_id":"1326711141","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326711141":["hashtag1","hashtag2"]},{"1326711138":["hashtag1","hashtag2"]},{"1326711135":["hashtag1","hashtag2"]},{"1326711121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326711141, 1326711138, 1326711135, 1326711121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.59210419654846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:53:03.324367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:53:22.588663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/52/image_04012025_17_52_02_643380_0003.jpg', '/home/pi/Desktop/images/04012025/17/53/image_04012025_17_53_02_770470_0000.jpg', '/home/pi/Desktop/images/04012025/17/53/image_04012025_17_53_02_770470_0001.jpg', '/home/pi/Desktop/images/04012025/17/53/image_04012025_17_53_02_770470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/52/image_04012025_17_52_02_643380_0003.jpg
/home/pi/Desktop/images/04012025/17/53/image_04012025_17_53_02_770470_0000.jpg
/home/pi/Desktop/images/04012025/17/53/image_04012025_17_53_02_770470_0001.jpg
/home/pi/Desktop/images/04012025/17/53/image_04012025_17_53_02_770470_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326711167","1326711175","1326711172","1326711169"],"photo_ids_order":["1326711167","1326711169","1326711172","1326711175"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/011391afb5eeca9bd452e49bd0724fe1.jpg","text":"TemporaryFile(/tmp/multipartBody2285362593024661159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009672684,"filename":"image_04012025_17_52_02_643380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ea268f0a0c8386120b1143ac1f0f735.jpg","text":"TemporaryFile(/tmp/multipartBody8500731795283998045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009672684,"filename":"image_04012025_17_53_02_770470_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ffcac2d5e0d36fa366a1007461d4b57.jpg","text":"TemporaryFile(/tmp/multipartBody7143090224412266714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009672684,"filename":"image_04012025_17_53_02_770470_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a2f8dede019b8d2736c67787361fd09a.jpg","text":"TemporaryFile(/tmp/multipartBody8507421733109918860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009672684,"filename":"image_04012025_17_53_02_770470_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326711172","file1":"1326711169","file0":"1326711167","file3":"1326711175"},"map_files_photo_id_array":[{"photo_id":"1326711172","filename":"file2"},{"photo_id":"1326711169","filename":"file1"},{"photo_id":"1326711167","filename":"file0"},{"photo_id":"1326711175","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326711167":["hashtag1","hashtag2"]},{"1326711175":["hashtag1","hashtag2"]},{"1326711172":["hashtag1","hashtag2"]},{"1326711169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326711167, 1326711175, 1326711172, 1326711169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08450984954834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:54:21.884341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/53/image_04012025_17_53_02_770470_0003.jpg', '/home/pi/Desktop/images/04012025/17/54/image_04012025_17_54_03_007025_0000.jpg', '/home/pi/Desktop/images/04012025/17/54/image_04012025_17_54_03_007025_0001.jpg', '/home/pi/Desktop/images/04012025/17/54/image_04012025_17_54_03_007025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/53/image_04012025_17_53_02_770470_0003.jpg
/home/pi/Desktop/images/04012025/17/54/image_04012025_17_54_03_007025_0000.jpg
/home/pi/Desktop/images/04012025/17/54/image_04012025_17_54_03_007025_0001.jpg
/home/pi/Desktop/images/04012025/17/54/image_04012025_17_54_03_007025_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326711668","1326711622","1326711675","1326711678"],"photo_ids_order":["1326711622","1326711668","1326711675","1326711678"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4d2318173f3cb23525cc013c23890dc4.jpg","text":"TemporaryFile(/tmp/multipartBody8559107790965579264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009732110,"filename":"image_04012025_17_54_03_007025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6a78eae7c4d600b3db5e976832748e7e.jpg","text":"TemporaryFile(/tmp/multipartBody2389637147343184355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009732110,"filename":"image_04012025_17_53_02_770470_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eb99ce791efda7bc9d9dc5cc44e3a77a.jpg","text":"TemporaryFile(/tmp/multipartBody5526240454838948846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009732110,"filename":"image_04012025_17_54_03_007025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/73cb469ed0b0584b37bfb11882cb942c.jpg","text":"TemporaryFile(/tmp/multipartBody6927172477469969381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009732110,"filename":"image_04012025_17_54_03_007025_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326711675","file1":"1326711668","file0":"1326711622","file3":"1326711678"},"map_files_photo_id_array":[{"photo_id":"1326711675","filename":"file2"},{"photo_id":"1326711668","filename":"file1"},{"photo_id":"1326711622","filename":"file0"},{"photo_id":"1326711678","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326711668":["hashtag1","hashtag2"]},{"1326711622":["hashtag1","hashtag2"]},{"1326711675":["hashtag1","hashtag2"]},{"1326711678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326711668, 1326711622, 1326711675, 1326711678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09641695022583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:55:22.069278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/54/image_04012025_17_54_03_007025_0003.jpg', '/home/pi/Desktop/images/04012025/17/55/image_04012025_17_55_02_129353_0000.jpg', '/home/pi/Desktop/images/04012025/17/55/image_04012025_17_55_02_129353_0001.jpg', '/home/pi/Desktop/images/04012025/17/55/image_04012025_17_55_02_129353_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/54/image_04012025_17_54_03_007025_0003.jpg
/home/pi/Desktop/images/04012025/17/55/image_04012025_17_55_02_129353_0000.jpg
/home/pi/Desktop/images/04012025/17/55/image_04012025_17_55_02_129353_0001.jpg
/home/pi/Desktop/images/04012025/17/55/image_04012025_17_55_02_129353_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326711744","1326711951","1326711742","1326711739"],"photo_ids_order":["1326711739","1326711742","1326711744","1326711951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed199385544560a922ea304b53371de4.jpg","text":"TemporaryFile(/tmp/multipartBody2015163882630319634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009792302,"filename":"image_04012025_17_55_02_129353_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6c36c7380979c55fcaf65cb70c6a7f6d.jpg","text":"TemporaryFile(/tmp/multipartBody6445097914006222817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009792302,"filename":"image_04012025_17_55_02_129353_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/437bee50df866aecd738c598854ad7f8.jpg","text":"TemporaryFile(/tmp/multipartBody5774925671237083130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009792302,"filename":"image_04012025_17_55_02_129353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eabc459b212b1b87ef71030484744141.jpg","text":"TemporaryFile(/tmp/multipartBody5104716355344241692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009792302,"filename":"image_04012025_17_54_03_007025_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326711744","file1":"1326711742","file0":"1326711739","file3":"1326711951"},"map_files_photo_id_array":[{"photo_id":"1326711744","filename":"file2"},{"photo_id":"1326711742","filename":"file1"},{"photo_id":"1326711739","filename":"file0"},{"photo_id":"1326711951","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326711744":["hashtag1","hashtag2"]},{"1326711951":["hashtag1","hashtag2"]},{"1326711742":["hashtag1","hashtag2"]},{"1326711739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326711744, 1326711951, 1326711742, 1326711739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.534465312957764 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-04 17:56:22.227581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/55/image_04012025_17_55_02_129353_0003.jpg', '/home/pi/Desktop/images/04012025/17/56/image_04012025_17_56_02_368040_0000.jpg', '/home/pi/Desktop/images/04012025/17/56/image_04012025_17_56_02_368040_0001.jpg', '/home/pi/Desktop/images/04012025/17/56/image_04012025_17_56_02_368040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/55/image_04012025_17_55_02_129353_0003.jpg
/home/pi/Desktop/images/04012025/17/56/image_04012025_17_56_02_368040_0000.jpg
/home/pi/Desktop/images/04012025/17/56/image_04012025_17_56_02_368040_0001.jpg
/home/pi/Desktop/images/04012025/17/56/image_04012025_17_56_02_368040_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326712178","1326712027","1326712071","1326712023"],"photo_ids_order":["1326712023","1326712027","1326712071","1326712178"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/81fd7726571549312a614b486ce84f6d.jpg","text":"TemporaryFile(/tmp/multipartBody588685503697705946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009852584,"filename":"image_04012025_17_56_02_368040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1191525487d6ec8cd68f0812135e1975.jpg","text":"TemporaryFile(/tmp/multipartBody6658296605111722855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009852584,"filename":"image_04012025_17_56_02_368040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d167afa18472cb487a1cf805303af82.jpg","text":"TemporaryFile(/tmp/multipartBody8857239590030848172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009852584,"filename":"image_04012025_17_56_02_368040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b38130cc648b8c7d191ac88d740ecdca.jpg","text":"TemporaryFile(/tmp/multipartBody3398624182747585483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009852584,"filename":"image_04012025_17_55_02_129353_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326712071","file1":"1326712027","file0":"1326712023","file3":"1326712178"},"map_files_photo_id_array":[{"photo_id":"1326712071","filename":"file2"},{"photo_id":"1326712027","filename":"file1"},{"photo_id":"1326712023","filename":"file0"},{"photo_id":"1326712178","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326712178":["hashtag1","hashtag2"]},{"1326712027":["hashtag1","hashtag2"]},{"1326712071":["hashtag1","hashtag2"]},{"1326712023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326712178, 1326712027, 1326712071, 1326712023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.79432201385498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 17:57:22.430162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/56/image_04012025_17_56_02_368040_0003.jpg', '/home/pi/Desktop/images/04012025/17/57/image_04012025_17_57_02_565451_0000.jpg', '/home/pi/Desktop/images/04012025/17/57/image_04012025_17_57_02_565451_0001.jpg', '/home/pi/Desktop/images/04012025/17/57/image_04012025_17_57_02_565451_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/56/image_04012025_17_56_02_368040_0003.jpg
/home/pi/Desktop/images/04012025/17/57/image_04012025_17_57_02_565451_0000.jpg
/home/pi/Desktop/images/04012025/17/57/image_04012025_17_57_02_565451_0001.jpg
/home/pi/Desktop/images/04012025/17/57/image_04012025_17_57_02_565451_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326712475","1326712477","1326712470","1326712473"],"photo_ids_order":["1326712470","1326712473","1326712475","1326712477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/20bb302455a5b691b38fdd47eea95d32.jpg","text":"TemporaryFile(/tmp/multipartBody881820521893244024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009912894,"filename":"image_04012025_17_57_02_565451_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/643288ad88da6e56181ea6a28a5cce0a.jpg","text":"TemporaryFile(/tmp/multipartBody448291748140197622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009912894,"filename":"image_04012025_17_57_02_565451_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5cdf768216eb2c9242008c406ade8140.jpg","text":"TemporaryFile(/tmp/multipartBody7214719809628713524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009912894,"filename":"image_04012025_17_56_02_368040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/29ec230107381aaf2f1dc2637af477cd.jpg","text":"TemporaryFile(/tmp/multipartBody5130640338677323671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736009912894,"filename":"image_04012025_17_57_02_565451_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326712475","file1":"1326712473","file0":"1326712470","file3":"1326712477"},"map_files_photo_id_array":[{"photo_id":"1326712475","filename":"file2"},{"photo_id":"1326712473","filename":"file1"},{"photo_id":"1326712470","filename":"file0"},{"photo_id":"1326712477","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326712475":["hashtag1","hashtag2"]},{"1326712477":["hashtag1","hashtag2"]},{"1326712470":["hashtag1","hashtag2"]},{"1326712473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326712475, 1326712477, 1326712470, 1326712473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.03539443016052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 17:59:02.296523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/57/image_04012025_17_57_02_565451_0003.jpg', '/home/pi/Desktop/images/04012025/17/58/image_04012025_17_58_02_845808_0000.jpg', '/home/pi/Desktop/images/04012025/17/58/image_04012025_17_58_02_845808_0001.jpg', '/home/pi/Desktop/images/04012025/17/58/image_04012025_17_58_02_845808_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/57/image_04012025_17_57_02_565451_0003.jpg
/home/pi/Desktop/images/04012025/17/58/image_04012025_17_58_02_845808_0000.jpg
/home/pi/Desktop/images/04012025/17/58/image_04012025_17_58_02_845808_0001.jpg
/home/pi/Desktop/images/04012025/17/58/image_04012025_17_58_02_845808_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326714361","1326714442","1326714489","1326714324"],"photo_ids_order":["1326714324","1326714361","1326714442","1326714489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a06199630200439bb50e6a5e3a7ca020.jpg","text":"TemporaryFile(/tmp/multipartBody4436374526008040466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010012882,"filename":"image_04012025_17_58_02_845808_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/50d9a43a787d968fd657fba72df0a753.jpg","text":"TemporaryFile(/tmp/multipartBody565291872473044152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010012882,"filename":"image_04012025_17_58_02_845808_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/52942023803b7e34161b1a9fe18d7521.jpg","text":"TemporaryFile(/tmp/multipartBody4839305329420258199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010012882,"filename":"image_04012025_17_58_02_845808_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bc02ae6c7843dd8b12f62550fc72ec1c.jpg","text":"TemporaryFile(/tmp/multipartBody832037752838557126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010012882,"filename":"image_04012025_17_57_02_565451_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326714442","file1":"1326714361","file0":"1326714324","file3":"1326714489"},"map_files_photo_id_array":[{"photo_id":"1326714442","filename":"file2"},{"photo_id":"1326714361","filename":"file1"},{"photo_id":"1326714324","filename":"file0"},{"photo_id":"1326714489","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326714361":["hashtag1","hashtag2"]},{"1326714442":["hashtag1","hashtag2"]},{"1326714489":["hashtag1","hashtag2"]},{"1326714324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326714361, 1326714442, 1326714489, 1326714324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.21648693084717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 17:59:51.735665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/58/image_04012025_17_58_02_845808_0003.jpg', '/home/pi/Desktop/images/04012025/17/59/image_04012025_17_59_02_964691_0000.jpg', '/home/pi/Desktop/images/04012025/17/59/image_04012025_17_59_02_964691_0001.jpg', '/home/pi/Desktop/images/04012025/17/59/image_04012025_17_59_02_964691_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/58/image_04012025_17_58_02_845808_0003.jpg
/home/pi/Desktop/images/04012025/17/59/image_04012025_17_59_02_964691_0000.jpg
/home/pi/Desktop/images/04012025/17/59/image_04012025_17_59_02_964691_0001.jpg
/home/pi/Desktop/images/04012025/17/59/image_04012025_17_59_02_964691_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326714736","1326714773","1326714776","1326714740"],"photo_ids_order":["1326714736","1326714740","1326714773","1326714776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/984ad652871df64487b81153dcddf9e0.jpg","text":"TemporaryFile(/tmp/multipartBody4705647967949312106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010062179,"filename":"image_04012025_17_58_02_845808_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/03856abca95e3440061533d7b6fa22eb.jpg","text":"TemporaryFile(/tmp/multipartBody153937451980879610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010062179,"filename":"image_04012025_17_59_02_964691_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dc6aa6944aab2ee40f70212fa1aeae73.jpg","text":"TemporaryFile(/tmp/multipartBody7409916449241873285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010062179,"filename":"image_04012025_17_59_02_964691_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0dc4e440808bbcc5577a6bf39cb8b93.jpg","text":"TemporaryFile(/tmp/multipartBody5459321207004519786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010062179,"filename":"image_04012025_17_59_02_964691_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326714773","file1":"1326714740","file0":"1326714736","file3":"1326714776"},"map_files_photo_id_array":[{"photo_id":"1326714773","filename":"file2"},{"photo_id":"1326714740","filename":"file1"},{"photo_id":"1326714736","filename":"file0"},{"photo_id":"1326714776","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326714736":["hashtag1","hashtag2"]},{"1326714773":["hashtag1","hashtag2"]},{"1326714776":["hashtag1","hashtag2"]},{"1326714740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326714736, 1326714773, 1326714776, 1326714740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08626651763916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 18:00:31.856236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/17/59/image_04012025_17_59_02_964691_0003.jpg', '/home/pi/Desktop/images/04012025/18/00/image_04012025_18_00_02_252633_0000.jpg', '/home/pi/Desktop/images/04012025/18/00/image_04012025_18_00_02_252633_0001.jpg', '/home/pi/Desktop/images/04012025/18/00/image_04012025_18_00_02_252633_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/17/59/image_04012025_17_59_02_964691_0003.jpg
/home/pi/Desktop/images/04012025/18/00/image_04012025_18_00_02_252633_0000.jpg
/home/pi/Desktop/images/04012025/18/00/image_04012025_18_00_02_252633_0001.jpg
/home/pi/Desktop/images/04012025/18/00/image_04012025_18_00_02_252633_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326714796","1326714792","1326714795","1326714788"],"photo_ids_order":["1326714788","1326714792","1326714795","1326714796"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7e38d82602519244da53fa9155e71f1d.jpg","text":"TemporaryFile(/tmp/multipartBody2591605614803540873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010102143,"filename":"image_04012025_18_00_02_252633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cee87ef8ee74bc4b8c185922f379499d.jpg","text":"TemporaryFile(/tmp/multipartBody2972224688520675283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010102143,"filename":"image_04012025_18_00_02_252633_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d93a7c1b26fbe3ea31056cd453bdcedc.jpg","text":"TemporaryFile(/tmp/multipartBody5286388605566547649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010102143,"filename":"image_04012025_18_00_02_252633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f5bb32b31e288502a6a449a592329310.jpg","text":"TemporaryFile(/tmp/multipartBody5376794788627465251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010102143,"filename":"image_04012025_17_59_02_964691_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326714795","file1":"1326714792","file0":"1326714788","file3":"1326714796"},"map_files_photo_id_array":[{"photo_id":"1326714795","filename":"file2"},{"photo_id":"1326714792","filename":"file1"},{"photo_id":"1326714788","filename":"file0"},{"photo_id":"1326714796","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326714796":["hashtag1","hashtag2"]},{"1326714792":["hashtag1","hashtag2"]},{"1326714795":["hashtag1","hashtag2"]},{"1326714788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326714796, 1326714792, 1326714795, 1326714788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.162917375564575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:01:22.252345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/00/image_04012025_18_00_02_252633_0003.jpg', '/home/pi/Desktop/images/04012025/18/01/image_04012025_18_01_02_362795_0001.jpg', '/home/pi/Desktop/images/04012025/18/01/image_04012025_18_01_02_362795_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/00/image_04012025_18_00_02_252633_0003.jpg
/home/pi/Desktop/images/04012025/18/01/image_04012025_18_01_02_362795_0001.jpg
/home/pi/Desktop/images/04012025/18/01/image_04012025_18_01_02_362795_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326714996","1326714805","1326714803"],"photo_ids_order":["1326714803","1326714805","1326714996"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5db4bac300ffb1a471f2a50c70c6c092.jpg","text":"TemporaryFile(/tmp/multipartBody7088815710572918918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010150174,"filename":"image_04012025_18_01_02_362795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/23108bf2896460202615d29c5d39e567.jpg","text":"TemporaryFile(/tmp/multipartBody1610282625365453011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010150174,"filename":"image_04012025_18_01_02_362795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d9cddfe98b4dccdfa283049eef814a47.jpg","text":"TemporaryFile(/tmp/multipartBody562256121391249298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010150174,"filename":"image_04012025_18_00_02_252633_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326714996","file1":"1326714805","file0":"1326714803"},"map_files_photo_id_array":[{"photo_id":"1326714996","filename":"file2"},{"photo_id":"1326714805","filename":"file1"},{"photo_id":"1326714803","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326714996":["hashtag1","hashtag2"]},{"1326714805":["hashtag1","hashtag2"]},{"1326714803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326714996, 1326714805, 1326714803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.738885402679443 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:02:02.688966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:02:22.217902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/01/image_04012025_18_01_02_362795_0003.jpg', '/home/pi/Desktop/images/04012025/18/02/image_04012025_18_02_02_458195_0000.jpg', '/home/pi/Desktop/images/04012025/18/02/image_04012025_18_02_02_458195_0001.jpg', '/home/pi/Desktop/images/04012025/18/02/image_04012025_18_02_02_458195_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/01/image_04012025_18_01_02_362795_0003.jpg
/home/pi/Desktop/images/04012025/18/02/image_04012025_18_02_02_458195_0000.jpg
/home/pi/Desktop/images/04012025/18/02/image_04012025_18_02_02_458195_0001.jpg
/home/pi/Desktop/images/04012025/18/02/image_04012025_18_02_02_458195_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326715262","1326715265","1326715244","1326715235"],"photo_ids_order":["1326715235","1326715244","1326715262","1326715265"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cec436b39b2d5eadcf7fa1b7bacba17e.jpg","text":"TemporaryFile(/tmp/multipartBody9107488736979503572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010212673,"filename":"image_04012025_18_02_02_458195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b7ac345b546e6fbc89a80714fcb99c37.jpg","text":"TemporaryFile(/tmp/multipartBody5471463692541183793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010212673,"filename":"image_04012025_18_02_02_458195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/be8e9f8c36fa8d2d3c12af584510b6b6.jpg","text":"TemporaryFile(/tmp/multipartBody8565736790690882307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010212673,"filename":"image_04012025_18_02_02_458195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30f4bd440bf3b858fb1fce069003f9ce.jpg","text":"TemporaryFile(/tmp/multipartBody6414356010887553523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010212673,"filename":"image_04012025_18_01_02_362795_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326715262","file1":"1326715244","file0":"1326715235","file3":"1326715265"},"map_files_photo_id_array":[{"photo_id":"1326715262","filename":"file2"},{"photo_id":"1326715244","filename":"file1"},{"photo_id":"1326715235","filename":"file0"},{"photo_id":"1326715265","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326715262":["hashtag1","hashtag2"]},{"1326715265":["hashtag1","hashtag2"]},{"1326715244":["hashtag1","hashtag2"]},{"1326715235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326715262, 1326715265, 1326715244, 1326715235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.09496545791626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:03:02.949875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:03:22.560103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/02/image_04012025_18_02_02_458195_0003.jpg', '/home/pi/Desktop/images/04012025/18/03/image_04012025_18_03_02_626663_0000.jpg', '/home/pi/Desktop/images/04012025/18/03/image_04012025_18_03_02_626663_0001.jpg', '/home/pi/Desktop/images/04012025/18/03/image_04012025_18_03_02_626663_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/02/image_04012025_18_02_02_458195_0003.jpg
/home/pi/Desktop/images/04012025/18/03/image_04012025_18_03_02_626663_0000.jpg
/home/pi/Desktop/images/04012025/18/03/image_04012025_18_03_02_626663_0001.jpg
/home/pi/Desktop/images/04012025/18/03/image_04012025_18_03_02_626663_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.074934720993042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 18:03:42.429010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/02/image_04012025_18_02_02_458195_0003.jpg', '/home/pi/Desktop/images/04012025/18/03/image_04012025_18_03_02_626663_0000.jpg', '/home/pi/Desktop/images/04012025/18/03/image_04012025_18_03_02_626663_0001.jpg', '/home/pi/Desktop/images/04012025/18/03/image_04012025_18_03_02_626663_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/02/image_04012025_18_02_02_458195_0003.jpg
/home/pi/Desktop/images/04012025/18/03/image_04012025_18_03_02_626663_0000.jpg
/home/pi/Desktop/images/04012025/18/03/image_04012025_18_03_02_626663_0001.jpg
/home/pi/Desktop/images/04012025/18/03/image_04012025_18_03_02_626663_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326715825","1326716049","1326715821","1326715823"],"photo_ids_order":["1326715821","1326715823","1326715825","1326716049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/09cf1ee1ab9528b13f9b81cdd8f72372.jpg","text":"TemporaryFile(/tmp/multipartBody855818517463049443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010292882,"filename":"image_04012025_18_03_02_626663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f0d4745cfd0e53e1de03731878b7add4.jpg","text":"TemporaryFile(/tmp/multipartBody4905581400369676512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010292882,"filename":"image_04012025_18_03_02_626663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d66a3bc5e4acbd3dc8eed2e386e56297.jpg","text":"TemporaryFile(/tmp/multipartBody1106788307376517093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010292882,"filename":"image_04012025_18_02_02_458195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cfb92a3f5b2297b175982e26b3d831d8.jpg","text":"TemporaryFile(/tmp/multipartBody5974744679472698367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010292882,"filename":"image_04012025_18_03_02_626663_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326715825","file1":"1326715823","file0":"1326715821","file3":"1326716049"},"map_files_photo_id_array":[{"photo_id":"1326715825","filename":"file2"},{"photo_id":"1326715823","filename":"file1"},{"photo_id":"1326715821","filename":"file0"},{"photo_id":"1326716049","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326715825":["hashtag1","hashtag2"]},{"1326716049":["hashtag1","hashtag2"]},{"1326715821":["hashtag1","hashtag2"]},{"1326715823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326715825, 1326716049, 1326715821, 1326715823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18808650970459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:04:22.643746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/03/image_04012025_18_03_02_626663_0003.jpg', '/home/pi/Desktop/images/04012025/18/04/image_04012025_18_04_02_803238_0000.jpg', '/home/pi/Desktop/images/04012025/18/04/image_04012025_18_04_02_803238_0001.jpg', '/home/pi/Desktop/images/04012025/18/04/image_04012025_18_04_02_803238_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/03/image_04012025_18_03_02_626663_0003.jpg
/home/pi/Desktop/images/04012025/18/04/image_04012025_18_04_02_803238_0000.jpg
/home/pi/Desktop/images/04012025/18/04/image_04012025_18_04_02_803238_0001.jpg
/home/pi/Desktop/images/04012025/18/04/image_04012025_18_04_02_803238_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326716261","1326716263","1326716347","1326716326"],"photo_ids_order":["1326716261","1326716263","1326716326","1326716347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/232c8a112c25dcc0fe1edd4983b3d45f.jpg","text":"TemporaryFile(/tmp/multipartBody2530941876971388378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010332911,"filename":"image_04012025_18_03_02_626663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a5e3c0a36853dd2320805d2c2a9ebd65.jpg","text":"TemporaryFile(/tmp/multipartBody8839877226328976936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010332911,"filename":"image_04012025_18_04_02_803238_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ec021fcf995b1bed63844a2445111c7.jpg","text":"TemporaryFile(/tmp/multipartBody8613016057116427351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010332911,"filename":"image_04012025_18_04_02_803238_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28f108767b71c36f5b4716713f91a7eb.jpg","text":"TemporaryFile(/tmp/multipartBody2636447429040572437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010332911,"filename":"image_04012025_18_04_02_803238_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326716326","file1":"1326716263","file0":"1326716261","file3":"1326716347"},"map_files_photo_id_array":[{"photo_id":"1326716326","filename":"file2"},{"photo_id":"1326716263","filename":"file1"},{"photo_id":"1326716261","filename":"file0"},{"photo_id":"1326716347","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326716261":["hashtag1","hashtag2"]},{"1326716263":["hashtag1","hashtag2"]},{"1326716347":["hashtag1","hashtag2"]},{"1326716326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326716261, 1326716263, 1326716347, 1326716326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.84463810920715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:05:03.328631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:05:22.741919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/04/image_04012025_18_04_02_803238_0003.jpg', '/home/pi/Desktop/images/04012025/18/05/image_04012025_18_05_02_983378_0000.jpg', '/home/pi/Desktop/images/04012025/18/05/image_04012025_18_05_02_983378_0001.jpg', '/home/pi/Desktop/images/04012025/18/05/image_04012025_18_05_02_983378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/04/image_04012025_18_04_02_803238_0003.jpg
/home/pi/Desktop/images/04012025/18/05/image_04012025_18_05_02_983378_0000.jpg
/home/pi/Desktop/images/04012025/18/05/image_04012025_18_05_02_983378_0001.jpg
/home/pi/Desktop/images/04012025/18/05/image_04012025_18_05_02_983378_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326717078","1326716804","1326716801","1326716866"],"photo_ids_order":["1326716801","1326716804","1326716866","1326717078"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cc88c64205f025314ab5253c2fdabc92.jpg","text":"TemporaryFile(/tmp/multipartBody5177222243554391711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010393050,"filename":"image_04012025_18_05_02_983378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/92d3587804ca361a05e9567faabf6cb6.jpg","text":"TemporaryFile(/tmp/multipartBody7978703223428041505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010393050,"filename":"image_04012025_18_05_02_983378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/df25453c85cee8af6f021f505a430e0c.jpg","text":"TemporaryFile(/tmp/multipartBody5885227245157058247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010393050,"filename":"image_04012025_18_04_02_803238_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5b1dda61fae7b8af716b60315a312233.jpg","text":"TemporaryFile(/tmp/multipartBody7239855288487701116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010393050,"filename":"image_04012025_18_05_02_983378_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326716866","file1":"1326716804","file0":"1326716801","file3":"1326717078"},"map_files_photo_id_array":[{"photo_id":"1326716866","filename":"file2"},{"photo_id":"1326716804","filename":"file1"},{"photo_id":"1326716801","filename":"file0"},{"photo_id":"1326717078","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326717078":["hashtag1","hashtag2"]},{"1326716804":["hashtag1","hashtag2"]},{"1326716801":["hashtag1","hashtag2"]},{"1326716866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326717078, 1326716804, 1326716801, 1326716866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.92959117889404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:06:21.989376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/05/image_04012025_18_05_02_983378_0003.jpg', '/home/pi/Desktop/images/04012025/18/06/image_04012025_18_06_03_109862_0000.jpg', '/home/pi/Desktop/images/04012025/18/06/image_04012025_18_06_03_109862_0001.jpg', '/home/pi/Desktop/images/04012025/18/06/image_04012025_18_06_03_109862_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/05/image_04012025_18_05_02_983378_0003.jpg
/home/pi/Desktop/images/04012025/18/06/image_04012025_18_06_03_109862_0000.jpg
/home/pi/Desktop/images/04012025/18/06/image_04012025_18_06_03_109862_0001.jpg
/home/pi/Desktop/images/04012025/18/06/image_04012025_18_06_03_109862_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326717374","1326717383","1326717385","1326717381"],"photo_ids_order":["1326717374","1326717381","1326717383","1326717385"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/813d3ed9dd2ec89256a8897eb33b571a.jpg","text":"TemporaryFile(/tmp/multipartBody8224803516045607086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010452333,"filename":"image_04012025_18_05_02_983378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/345d0a3c10e84781302b145746e9dff4.jpg","text":"TemporaryFile(/tmp/multipartBody5589072851752710752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010452333,"filename":"image_04012025_18_06_03_109862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8f86cf7e6264658948cd9ddaf60e67fb.jpg","text":"TemporaryFile(/tmp/multipartBody7351285014378506806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010452333,"filename":"image_04012025_18_06_03_109862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7dbe931a1f0f589a980c7aad0d07ab0.jpg","text":"TemporaryFile(/tmp/multipartBody557205955122228635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010452333,"filename":"image_04012025_18_06_03_109862_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326717383","file1":"1326717381","file0":"1326717374","file3":"1326717385"},"map_files_photo_id_array":[{"photo_id":"1326717383","filename":"file2"},{"photo_id":"1326717381","filename":"file1"},{"photo_id":"1326717374","filename":"file0"},{"photo_id":"1326717385","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326717374":["hashtag1","hashtag2"]},{"1326717383":["hashtag1","hashtag2"]},{"1326717385":["hashtag1","hashtag2"]},{"1326717381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326717374, 1326717383, 1326717385, 1326717381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.074315547943115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:07:22.149945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/06/image_04012025_18_06_03_109862_0003.jpg', '/home/pi/Desktop/images/04012025/18/07/image_04012025_18_07_02_322127_0000.jpg', '/home/pi/Desktop/images/04012025/18/07/image_04012025_18_07_02_322127_0001.jpg', '/home/pi/Desktop/images/04012025/18/07/image_04012025_18_07_02_322127_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/06/image_04012025_18_06_03_109862_0003.jpg
/home/pi/Desktop/images/04012025/18/07/image_04012025_18_07_02_322127_0000.jpg
/home/pi/Desktop/images/04012025/18/07/image_04012025_18_07_02_322127_0001.jpg
/home/pi/Desktop/images/04012025/18/07/image_04012025_18_07_02_322127_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326718107","1326717884","1326718228","1326718191"],"photo_ids_order":["1326717884","1326718107","1326718191","1326718228"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c2e8e4c81a82f53d576cb158ca340ed7.jpg","text":"TemporaryFile(/tmp/multipartBody1360277305031207108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010512564,"filename":"image_04012025_18_07_02_322127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/343dc724925796c7d6c9aa698f061f8a.jpg","text":"TemporaryFile(/tmp/multipartBody469638124269115594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010512564,"filename":"image_04012025_18_06_03_109862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/caf411441322a717f7b157342f5d1714.jpg","text":"TemporaryFile(/tmp/multipartBody5783110186137259061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010512564,"filename":"image_04012025_18_07_02_322127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/88a436c6afe3aa899d6ce0424cb36ce4.jpg","text":"TemporaryFile(/tmp/multipartBody3441195278370408102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010512564,"filename":"image_04012025_18_07_02_322127_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326718191","file1":"1326718107","file0":"1326717884","file3":"1326718228"},"map_files_photo_id_array":[{"photo_id":"1326718191","filename":"file2"},{"photo_id":"1326718107","filename":"file1"},{"photo_id":"1326717884","filename":"file0"},{"photo_id":"1326718228","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326718107":["hashtag1","hashtag2"]},{"1326717884":["hashtag1","hashtag2"]},{"1326718228":["hashtag1","hashtag2"]},{"1326718191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326718107, 1326717884, 1326718228, 1326718191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.239022731781006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:08:02.704257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:08:22.274324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/07/image_04012025_18_07_02_322127_0003.jpg', '/home/pi/Desktop/images/04012025/18/08/image_04012025_18_08_02_584434_0000.jpg', '/home/pi/Desktop/images/04012025/18/08/image_04012025_18_08_02_584434_0001.jpg', '/home/pi/Desktop/images/04012025/18/08/image_04012025_18_08_02_584434_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/07/image_04012025_18_07_02_322127_0003.jpg
/home/pi/Desktop/images/04012025/18/08/image_04012025_18_08_02_584434_0000.jpg
/home/pi/Desktop/images/04012025/18/08/image_04012025_18_08_02_584434_0001.jpg
/home/pi/Desktop/images/04012025/18/08/image_04012025_18_08_02_584434_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326718340","1326718358","1326718342","1326718356"],"photo_ids_order":["1326718340","1326718342","1326718356","1326718358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3937ce9fb80a6b3fb8b78dcc8649e6df.jpg","text":"TemporaryFile(/tmp/multipartBody344743646089368182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010572670,"filename":"image_04012025_18_07_02_322127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9d63ed25a6d21b5c2868120c64d7f692.jpg","text":"TemporaryFile(/tmp/multipartBody8057780747949306613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010572670,"filename":"image_04012025_18_08_02_584434_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3ebeb2f065d2164ab959a4639f75cc7e.jpg","text":"TemporaryFile(/tmp/multipartBody6762192179325932086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010572670,"filename":"image_04012025_18_08_02_584434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/12749427cf775d9f76a85a10a11914fd.jpg","text":"TemporaryFile(/tmp/multipartBody1184802966063282190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010572670,"filename":"image_04012025_18_08_02_584434_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326718356","file1":"1326718342","file0":"1326718340","file3":"1326718358"},"map_files_photo_id_array":[{"photo_id":"1326718356","filename":"file2"},{"photo_id":"1326718342","filename":"file1"},{"photo_id":"1326718340","filename":"file0"},{"photo_id":"1326718358","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326718340":["hashtag1","hashtag2"]},{"1326718358":["hashtag1","hashtag2"]},{"1326718342":["hashtag1","hashtag2"]},{"1326718356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326718340, 1326718358, 1326718342, 1326718356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.30704045295715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:09:22.520801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/08/image_04012025_18_08_02_584434_0003.jpg', '/home/pi/Desktop/images/04012025/18/09/image_04012025_18_09_02_613254_0000.jpg', '/home/pi/Desktop/images/04012025/18/09/image_04012025_18_09_02_613254_0001.jpg', '/home/pi/Desktop/images/04012025/18/09/image_04012025_18_09_02_613254_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/08/image_04012025_18_08_02_584434_0003.jpg
/home/pi/Desktop/images/04012025/18/09/image_04012025_18_09_02_613254_0000.jpg
/home/pi/Desktop/images/04012025/18/09/image_04012025_18_09_02_613254_0001.jpg
/home/pi/Desktop/images/04012025/18/09/image_04012025_18_09_02_613254_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326718874","1326718856","1326718871","1326718845"],"photo_ids_order":["1326718845","1326718856","1326718871","1326718874"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/256bf58084cc77a3f401626829a171be.jpg","text":"TemporaryFile(/tmp/multipartBody8380641935294493032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010632820,"filename":"image_04012025_18_09_02_613254_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eb184e1e0ecec2abc4a6f2311af1236f.jpg","text":"TemporaryFile(/tmp/multipartBody2318785012411345867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010632820,"filename":"image_04012025_18_09_02_613254_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/86dbb0c3fe367fc437ff7b21362dbba6.jpg","text":"TemporaryFile(/tmp/multipartBody1669098058851754293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010632820,"filename":"image_04012025_18_09_02_613254_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aa51765778f0e662770117fbaa93d726.jpg","text":"TemporaryFile(/tmp/multipartBody6388908768719515798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010632820,"filename":"image_04012025_18_08_02_584434_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326718871","file1":"1326718856","file0":"1326718845","file3":"1326718874"},"map_files_photo_id_array":[{"photo_id":"1326718871","filename":"file2"},{"photo_id":"1326718856","filename":"file1"},{"photo_id":"1326718845","filename":"file0"},{"photo_id":"1326718874","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326718874":["hashtag1","hashtag2"]},{"1326718856":["hashtag1","hashtag2"]},{"1326718871":["hashtag1","hashtag2"]},{"1326718845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326718874, 1326718856, 1326718871, 1326718845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.480371952056885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:10:22.724660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/09/image_04012025_18_09_02_613254_0003.jpg', '/home/pi/Desktop/images/04012025/18/10/image_04012025_18_10_02_958914_0000.jpg', '/home/pi/Desktop/images/04012025/18/10/image_04012025_18_10_02_958914_0001.jpg', '/home/pi/Desktop/images/04012025/18/10/image_04012025_18_10_02_958914_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/09/image_04012025_18_09_02_613254_0003.jpg
/home/pi/Desktop/images/04012025/18/10/image_04012025_18_10_02_958914_0000.jpg
/home/pi/Desktop/images/04012025/18/10/image_04012025_18_10_02_958914_0001.jpg
/home/pi/Desktop/images/04012025/18/10/image_04012025_18_10_02_958914_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326719711","1326719342","1326719494","1326719308"],"photo_ids_order":["1326719308","1326719342","1326719494","1326719711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eef6bfa8e82b46f213dfe5b1597b52b8.jpg","text":"TemporaryFile(/tmp/multipartBody8553242959373039511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010693026,"filename":"image_04012025_18_10_02_958914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3841938979889c14d430f403d470bd7e.jpg","text":"TemporaryFile(/tmp/multipartBody1144269737193366052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010693026,"filename":"image_04012025_18_10_02_958914_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/127f79d6e37f2019c5c943998e1efdd2.jpg","text":"TemporaryFile(/tmp/multipartBody1647128820127648468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010693026,"filename":"image_04012025_18_10_02_958914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/92d6896cd82eb51b5cfb6dccdc0c6ff0.jpg","text":"TemporaryFile(/tmp/multipartBody2823788654506480988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010693026,"filename":"image_04012025_18_09_02_613254_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326719494","file1":"1326719342","file0":"1326719308","file3":"1326719711"},"map_files_photo_id_array":[{"photo_id":"1326719494","filename":"file2"},{"photo_id":"1326719342","filename":"file1"},{"photo_id":"1326719308","filename":"file0"},{"photo_id":"1326719711","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326719711":["hashtag1","hashtag2"]},{"1326719342":["hashtag1","hashtag2"]},{"1326719494":["hashtag1","hashtag2"]},{"1326719308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326719711, 1326719342, 1326719494, 1326719308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.92303681373596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:11:21.888388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/10/image_04012025_18_10_02_958914_0003.jpg', '/home/pi/Desktop/images/04012025/18/11/image_04012025_18_11_03_050512_0000.jpg', '/home/pi/Desktop/images/04012025/18/11/image_04012025_18_11_03_050512_0001.jpg', '/home/pi/Desktop/images/04012025/18/11/image_04012025_18_11_03_050512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/10/image_04012025_18_10_02_958914_0003.jpg
/home/pi/Desktop/images/04012025/18/11/image_04012025_18_11_03_050512_0000.jpg
/home/pi/Desktop/images/04012025/18/11/image_04012025_18_11_03_050512_0001.jpg
/home/pi/Desktop/images/04012025/18/11/image_04012025_18_11_03_050512_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326719779","1326719781","1326719784","1326719777"],"photo_ids_order":["1326719777","1326719779","1326719781","1326719784"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e91ac58a77706b887f1cb2c3d66eb057.jpg","text":"TemporaryFile(/tmp/multipartBody8949018771373917635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010752012,"filename":"image_04012025_18_11_03_050512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/281c0f05972eb1edd92bd4972e3dbab9.jpg","text":"TemporaryFile(/tmp/multipartBody352746795706139602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010752012,"filename":"image_04012025_18_11_03_050512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6f795b6c6b14ceebf8cfbdcf8f24cd35.jpg","text":"TemporaryFile(/tmp/multipartBody600994455202529111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010752012,"filename":"image_04012025_18_11_03_050512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/77b6d1734822e73fe93cd867d13118de.jpg","text":"TemporaryFile(/tmp/multipartBody4056687907067241890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010752012,"filename":"image_04012025_18_10_02_958914_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326719781","file1":"1326719779","file0":"1326719777","file3":"1326719784"},"map_files_photo_id_array":[{"photo_id":"1326719781","filename":"file2"},{"photo_id":"1326719779","filename":"file1"},{"photo_id":"1326719777","filename":"file0"},{"photo_id":"1326719784","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326719779":["hashtag1","hashtag2"]},{"1326719781":["hashtag1","hashtag2"]},{"1326719784":["hashtag1","hashtag2"]},{"1326719777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326719779, 1326719781, 1326719784, 1326719777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10183882713318 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:12:02.358379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:12:22.018676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/11/image_04012025_18_11_03_050512_0003.jpg', '/home/pi/Desktop/images/04012025/18/12/image_04012025_18_12_02_217539_0000.jpg', '/home/pi/Desktop/images/04012025/18/12/image_04012025_18_12_02_217539_0001.jpg', '/home/pi/Desktop/images/04012025/18/12/image_04012025_18_12_02_217539_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/11/image_04012025_18_11_03_050512_0003.jpg
/home/pi/Desktop/images/04012025/18/12/image_04012025_18_12_02_217539_0000.jpg
/home/pi/Desktop/images/04012025/18/12/image_04012025_18_12_02_217539_0001.jpg
/home/pi/Desktop/images/04012025/18/12/image_04012025_18_12_02_217539_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326720312","1326720179","1326720442","1326719946"],"photo_ids_order":["1326719946","1326720179","1326720312","1326720442"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/255abdd6cff282a17b9398a68a0f6957.jpg","text":"TemporaryFile(/tmp/multipartBody3844177011289322897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010812341,"filename":"image_04012025_18_12_02_217539_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7104c083912330a35dffad317d39ee72.jpg","text":"TemporaryFile(/tmp/multipartBody2968627660073136765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010812341,"filename":"image_04012025_18_12_02_217539_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9689eb8bb8595cbdbe79897713acf3a5.jpg","text":"TemporaryFile(/tmp/multipartBody1065560886446051746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010812341,"filename":"image_04012025_18_12_02_217539_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/36a154a0b82e7cc1ca49d4c2d2605e6c.jpg","text":"TemporaryFile(/tmp/multipartBody1350631496342963390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010812341,"filename":"image_04012025_18_11_03_050512_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326720312","file1":"1326720179","file0":"1326719946","file3":"1326720442"},"map_files_photo_id_array":[{"photo_id":"1326720312","filename":"file2"},{"photo_id":"1326720179","filename":"file1"},{"photo_id":"1326719946","filename":"file0"},{"photo_id":"1326720442","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326720312":["hashtag1","hashtag2"]},{"1326720179":["hashtag1","hashtag2"]},{"1326720442":["hashtag1","hashtag2"]},{"1326719946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326720312, 1326720179, 1326720442, 1326719946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.62846922874451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:13:22.325197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/12/image_04012025_18_12_02_217539_0003.jpg', '/home/pi/Desktop/images/04012025/18/13/image_04012025_18_13_02_398223_0000.jpg', '/home/pi/Desktop/images/04012025/18/13/image_04012025_18_13_02_398223_0001.jpg', '/home/pi/Desktop/images/04012025/18/13/image_04012025_18_13_02_398223_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/12/image_04012025_18_12_02_217539_0003.jpg
/home/pi/Desktop/images/04012025/18/13/image_04012025_18_13_02_398223_0000.jpg
/home/pi/Desktop/images/04012025/18/13/image_04012025_18_13_02_398223_0001.jpg
/home/pi/Desktop/images/04012025/18/13/image_04012025_18_13_02_398223_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326721013","1326720955","1326721068","1326721038"],"photo_ids_order":["1326720955","1326721013","1326721038","1326721068"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2b6ab24dfa6092f7ca9af6f83fb398ae.jpg","text":"TemporaryFile(/tmp/multipartBody1119392032188317361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010872640,"filename":"image_04012025_18_13_02_398223_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3b14e99b60704dfb1bd9d0910acbdba5.jpg","text":"TemporaryFile(/tmp/multipartBody4317440687101362077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010872640,"filename":"image_04012025_18_12_02_217539_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b43b6cd98281740171c26822dcee8822.jpg","text":"TemporaryFile(/tmp/multipartBody1107582710514058010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010872640,"filename":"image_04012025_18_13_02_398223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3961c519c4e5bb2921db8e4a5c361128.jpg","text":"TemporaryFile(/tmp/multipartBody41857383605192553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010872640,"filename":"image_04012025_18_13_02_398223_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326721038","file1":"1326721013","file0":"1326720955","file3":"1326721068"},"map_files_photo_id_array":[{"photo_id":"1326721038","filename":"file2"},{"photo_id":"1326721013","filename":"file1"},{"photo_id":"1326720955","filename":"file0"},{"photo_id":"1326721068","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326721013":["hashtag1","hashtag2"]},{"1326720955":["hashtag1","hashtag2"]},{"1326721068":["hashtag1","hashtag2"]},{"1326721038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326721013, 1326720955, 1326721068, 1326721038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.450796127319336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:14:22.543126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/13/image_04012025_18_13_02_398223_0003.jpg', '/home/pi/Desktop/images/04012025/18/14/image_04012025_18_14_02_703590_0000.jpg', '/home/pi/Desktop/images/04012025/18/14/image_04012025_18_14_02_703590_0001.jpg', '/home/pi/Desktop/images/04012025/18/14/image_04012025_18_14_02_703590_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/13/image_04012025_18_13_02_398223_0003.jpg
/home/pi/Desktop/images/04012025/18/14/image_04012025_18_14_02_703590_0000.jpg
/home/pi/Desktop/images/04012025/18/14/image_04012025_18_14_02_703590_0001.jpg
/home/pi/Desktop/images/04012025/18/14/image_04012025_18_14_02_703590_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326721420","1326721615","1326721449","1326721659"],"photo_ids_order":["1326721420","1326721449","1326721615","1326721659"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e7544d81f535c7cb5b60a1377877e25f.jpg","text":"TemporaryFile(/tmp/multipartBody1978961129959868289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010932943,"filename":"image_04012025_18_13_02_398223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/29a8cb267e836dc22fdfccb4b579900c.jpg","text":"TemporaryFile(/tmp/multipartBody3903913177362696363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010932943,"filename":"image_04012025_18_14_02_703590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e749c26c761f143abb7a06641342d85d.jpg","text":"TemporaryFile(/tmp/multipartBody6348543820994170616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010932943,"filename":"image_04012025_18_14_02_703590_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc293295839b9b328909cbb811a4fdf0.jpg","text":"TemporaryFile(/tmp/multipartBody5333491127654879945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010932943,"filename":"image_04012025_18_14_02_703590_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326721615","file1":"1326721449","file0":"1326721420","file3":"1326721659"},"map_files_photo_id_array":[{"photo_id":"1326721615","filename":"file2"},{"photo_id":"1326721449","filename":"file1"},{"photo_id":"1326721420","filename":"file0"},{"photo_id":"1326721659","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326721420":["hashtag1","hashtag2"]},{"1326721615":["hashtag1","hashtag2"]},{"1326721449":["hashtag1","hashtag2"]},{"1326721659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326721420, 1326721615, 1326721449, 1326721659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.27158164978027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:15:03.271910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:15:22.661396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/14/image_04012025_18_14_02_703590_0003.jpg', '/home/pi/Desktop/images/04012025/18/15/image_04012025_18_15_02_878148_0000.jpg', '/home/pi/Desktop/images/04012025/18/15/image_04012025_18_15_02_878148_0001.jpg', '/home/pi/Desktop/images/04012025/18/15/image_04012025_18_15_02_878148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/14/image_04012025_18_14_02_703590_0003.jpg
/home/pi/Desktop/images/04012025/18/15/image_04012025_18_15_02_878148_0000.jpg
/home/pi/Desktop/images/04012025/18/15/image_04012025_18_15_02_878148_0001.jpg
/home/pi/Desktop/images/04012025/18/15/image_04012025_18_15_02_878148_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326721786","1326721768","1326721797","1326721781"],"photo_ids_order":["1326721768","1326721781","1326721786","1326721797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/551a0645b0774b73eb2eca0d102ea2f1.jpg","text":"TemporaryFile(/tmp/multipartBody8937399236765415300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010993012,"filename":"image_04012025_18_15_02_878148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d491ec6d402183941d3ee770e3c2154a.jpg","text":"TemporaryFile(/tmp/multipartBody4320520680685271202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010993012,"filename":"image_04012025_18_14_02_703590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4fda94810cdf20db636bb316f5c39603.jpg","text":"TemporaryFile(/tmp/multipartBody5958043264072478063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010993012,"filename":"image_04012025_18_15_02_878148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9b9fd74db4459721831e1d4d6a18cf71.jpg","text":"TemporaryFile(/tmp/multipartBody679634861388286052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736010993012,"filename":"image_04012025_18_15_02_878148_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326721786","file1":"1326721781","file0":"1326721768","file3":"1326721797"},"map_files_photo_id_array":[{"photo_id":"1326721786","filename":"file2"},{"photo_id":"1326721781","filename":"file1"},{"photo_id":"1326721768","filename":"file0"},{"photo_id":"1326721797","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326721786":["hashtag1","hashtag2"]},{"1326721768":["hashtag1","hashtag2"]},{"1326721797":["hashtag1","hashtag2"]},{"1326721781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326721786, 1326721768, 1326721797, 1326721781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.91301488876343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:16:22.024765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/15/image_04012025_18_15_02_878148_0003.jpg', '/home/pi/Desktop/images/04012025/18/16/image_04012025_18_16_03_032131_0000.jpg', '/home/pi/Desktop/images/04012025/18/16/image_04012025_18_16_03_032131_0001.jpg', '/home/pi/Desktop/images/04012025/18/16/image_04012025_18_16_03_032131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/15/image_04012025_18_15_02_878148_0003.jpg
/home/pi/Desktop/images/04012025/18/16/image_04012025_18_16_03_032131_0000.jpg
/home/pi/Desktop/images/04012025/18/16/image_04012025_18_16_03_032131_0001.jpg
/home/pi/Desktop/images/04012025/18/16/image_04012025_18_16_03_032131_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326722272","1326722239","1326722319","1326722315"],"photo_ids_order":["1326722239","1326722272","1326722315","1326722319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9d514d0b89019d8ffc6482a4481bbb5c.jpg","text":"TemporaryFile(/tmp/multipartBody8199852834255686828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011052304,"filename":"image_04012025_18_16_03_032131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/181d52038ab9448c914dc5afd97864ce.jpg","text":"TemporaryFile(/tmp/multipartBody397886709181362943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011052304,"filename":"image_04012025_18_15_02_878148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1ed06e0b919dc6ab9950809cbd4e46f1.jpg","text":"TemporaryFile(/tmp/multipartBody574745722344601454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011052304,"filename":"image_04012025_18_16_03_032131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28d8af87ef8439c0355e77a5f7d8c640.jpg","text":"TemporaryFile(/tmp/multipartBody8451065021240675337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011052304,"filename":"image_04012025_18_16_03_032131_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326722315","file1":"1326722272","file0":"1326722239","file3":"1326722319"},"map_files_photo_id_array":[{"photo_id":"1326722315","filename":"file2"},{"photo_id":"1326722272","filename":"file1"},{"photo_id":"1326722239","filename":"file0"},{"photo_id":"1326722319","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326722272":["hashtag1","hashtag2"]},{"1326722239":["hashtag1","hashtag2"]},{"1326722319":["hashtag1","hashtag2"]},{"1326722315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326722272, 1326722239, 1326722319, 1326722315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23370122909546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:17:02.625028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:17:22.082175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/16/image_04012025_18_16_03_032131_0003.jpg', '/home/pi/Desktop/images/04012025/18/17/image_04012025_18_17_02_452597_0000.jpg', '/home/pi/Desktop/images/04012025/18/17/image_04012025_18_17_02_452597_0001.jpg', '/home/pi/Desktop/images/04012025/18/17/image_04012025_18_17_02_452597_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/16/image_04012025_18_16_03_032131_0003.jpg
/home/pi/Desktop/images/04012025/18/17/image_04012025_18_17_02_452597_0000.jpg
/home/pi/Desktop/images/04012025/18/17/image_04012025_18_17_02_452597_0001.jpg
/home/pi/Desktop/images/04012025/18/17/image_04012025_18_17_02_452597_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.847091913223267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 18:17:42.123094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/16/image_04012025_18_16_03_032131_0003.jpg', '/home/pi/Desktop/images/04012025/18/17/image_04012025_18_17_02_452597_0000.jpg', '/home/pi/Desktop/images/04012025/18/17/image_04012025_18_17_02_452597_0001.jpg', '/home/pi/Desktop/images/04012025/18/17/image_04012025_18_17_02_452597_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/16/image_04012025_18_16_03_032131_0003.jpg
/home/pi/Desktop/images/04012025/18/17/image_04012025_18_17_02_452597_0000.jpg
/home/pi/Desktop/images/04012025/18/17/image_04012025_18_17_02_452597_0001.jpg
/home/pi/Desktop/images/04012025/18/17/image_04012025_18_17_02_452597_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326722596","1326722581","1326722598","1326722600"],"photo_ids_order":["1326722581","1326722596","1326722598","1326722600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7202e88b5b29e837dded81c2bd8a45b7.jpg","text":"TemporaryFile(/tmp/multipartBody3150992893597401878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011132365,"filename":"image_04012025_18_17_02_452597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/79f0c81c30d54efa14bbbf03d04fc22a.jpg","text":"TemporaryFile(/tmp/multipartBody2207129736941050236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011132365,"filename":"image_04012025_18_16_03_032131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/662b78c1c978833c15c2378547af5d21.jpg","text":"TemporaryFile(/tmp/multipartBody6571644641651117773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011132365,"filename":"image_04012025_18_17_02_452597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6f2957d6572b182d119413f7d1f57b1a.jpg","text":"TemporaryFile(/tmp/multipartBody1275480467629845148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011132365,"filename":"image_04012025_18_17_02_452597_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326722598","file1":"1326722596","file0":"1326722581","file3":"1326722600"},"map_files_photo_id_array":[{"photo_id":"1326722598","filename":"file2"},{"photo_id":"1326722596","filename":"file1"},{"photo_id":"1326722581","filename":"file0"},{"photo_id":"1326722600","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326722596":["hashtag1","hashtag2"]},{"1326722581":["hashtag1","hashtag2"]},{"1326722598":["hashtag1","hashtag2"]},{"1326722600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326722596, 1326722581, 1326722598, 1326722600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81446671485901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:18:22.348371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/17/image_04012025_18_17_02_452597_0003.jpg', '/home/pi/Desktop/images/04012025/18/18/image_04012025_18_18_02_556057_0000.jpg', '/home/pi/Desktop/images/04012025/18/18/image_04012025_18_18_02_556057_0001.jpg', '/home/pi/Desktop/images/04012025/18/18/image_04012025_18_18_02_556057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/17/image_04012025_18_17_02_452597_0003.jpg
/home/pi/Desktop/images/04012025/18/18/image_04012025_18_18_02_556057_0000.jpg
/home/pi/Desktop/images/04012025/18/18/image_04012025_18_18_02_556057_0001.jpg
/home/pi/Desktop/images/04012025/18/18/image_04012025_18_18_02_556057_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326722608","1326722610","1326722606","1326722621"],"photo_ids_order":["1326722606","1326722608","1326722610","1326722621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a2096b9d8609641e4c44545d14f909ab.jpg","text":"TemporaryFile(/tmp/multipartBody4521500804938682688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011172569,"filename":"image_04012025_18_18_02_556057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f550f0eed78d491cd675bfa0d70fd209.jpg","text":"TemporaryFile(/tmp/multipartBody6463997530104216908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011172569,"filename":"image_04012025_18_18_02_556057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0723b0aa1e45a11d02e3e19d20c5cdbb.jpg","text":"TemporaryFile(/tmp/multipartBody2791553781000877428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011172569,"filename":"image_04012025_18_17_02_452597_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0fb28a7291c8f8d4e35a466fb75b9f01.jpg","text":"TemporaryFile(/tmp/multipartBody2708645758354307342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011172569,"filename":"image_04012025_18_18_02_556057_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326722610","file1":"1326722608","file0":"1326722606","file3":"1326722621"},"map_files_photo_id_array":[{"photo_id":"1326722610","filename":"file2"},{"photo_id":"1326722608","filename":"file1"},{"photo_id":"1326722606","filename":"file0"},{"photo_id":"1326722621","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326722608":["hashtag1","hashtag2"]},{"1326722610":["hashtag1","hashtag2"]},{"1326722606":["hashtag1","hashtag2"]},{"1326722621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326722608, 1326722610, 1326722606, 1326722621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.150492429733276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:19:22.520733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/18/image_04012025_18_18_02_556057_0003.jpg', '/home/pi/Desktop/images/04012025/18/19/image_04012025_18_19_02_670034_0000.jpg', '/home/pi/Desktop/images/04012025/18/19/image_04012025_18_19_02_670034_0001.jpg', '/home/pi/Desktop/images/04012025/18/19/image_04012025_18_19_02_670034_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/18/image_04012025_18_18_02_556057_0003.jpg
/home/pi/Desktop/images/04012025/18/19/image_04012025_18_19_02_670034_0000.jpg
/home/pi/Desktop/images/04012025/18/19/image_04012025_18_19_02_670034_0001.jpg
/home/pi/Desktop/images/04012025/18/19/image_04012025_18_19_02_670034_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326723153","1326723045","1326722964","1326722966"],"photo_ids_order":["1326722964","1326722966","1326723045","1326723153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a449a8ab94fa7829b1847ec122ebf26b.jpg","text":"TemporaryFile(/tmp/multipartBody8160736229491008104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011232711,"filename":"image_04012025_18_19_02_670034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/738083d8cf0cab39bda159c4a6c09624.jpg","text":"TemporaryFile(/tmp/multipartBody387219901378879135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011232711,"filename":"image_04012025_18_19_02_670034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/891792bd64714eb416b120c421714d37.jpg","text":"TemporaryFile(/tmp/multipartBody4585497216801599059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011232711,"filename":"image_04012025_18_18_02_556057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28b4ddea730602727aa32207338a3e0f.jpg","text":"TemporaryFile(/tmp/multipartBody3105336382383932087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011232711,"filename":"image_04012025_18_19_02_670034_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326723045","file1":"1326722966","file0":"1326722964","file3":"1326723153"},"map_files_photo_id_array":[{"photo_id":"1326723045","filename":"file2"},{"photo_id":"1326722966","filename":"file1"},{"photo_id":"1326722964","filename":"file0"},{"photo_id":"1326723153","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326723153":["hashtag1","hashtag2"]},{"1326723045":["hashtag1","hashtag2"]},{"1326722964":["hashtag1","hashtag2"]},{"1326722966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326723153, 1326723045, 1326722964, 1326722966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.85825228691101 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:20:22.693004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/19/image_04012025_18_19_02_670034_0003.jpg', '/home/pi/Desktop/images/04012025/18/20/image_04012025_18_20_02_876027_0000.jpg', '/home/pi/Desktop/images/04012025/18/20/image_04012025_18_20_02_876027_0001.jpg', '/home/pi/Desktop/images/04012025/18/20/image_04012025_18_20_02_876027_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/19/image_04012025_18_19_02_670034_0003.jpg
/home/pi/Desktop/images/04012025/18/20/image_04012025_18_20_02_876027_0000.jpg
/home/pi/Desktop/images/04012025/18/20/image_04012025_18_20_02_876027_0001.jpg
/home/pi/Desktop/images/04012025/18/20/image_04012025_18_20_02_876027_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326723255","1326723249","1326723251","1326723253"],"photo_ids_order":["1326723249","1326723251","1326723253","1326723255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/56076e7bdd6a0af818446b3e2db7220f.jpg","text":"TemporaryFile(/tmp/multipartBody3550562676279318285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011293005,"filename":"image_04012025_18_20_02_876027_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/58f563eaf6bfd8ff0887d388559bdeba.jpg","text":"TemporaryFile(/tmp/multipartBody4174141497876191530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011293005,"filename":"image_04012025_18_19_02_670034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/586683f4b1e1a08d14a3bae98c3145cc.jpg","text":"TemporaryFile(/tmp/multipartBody1853033999968432116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011293005,"filename":"image_04012025_18_20_02_876027_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aaa8dcc1bc6355ce1cf85d59d497aa46.jpg","text":"TemporaryFile(/tmp/multipartBody6163996494498741941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011293005,"filename":"image_04012025_18_20_02_876027_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326723253","file1":"1326723251","file0":"1326723249","file3":"1326723255"},"map_files_photo_id_array":[{"photo_id":"1326723253","filename":"file2"},{"photo_id":"1326723251","filename":"file1"},{"photo_id":"1326723249","filename":"file0"},{"photo_id":"1326723255","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326723255":["hashtag1","hashtag2"]},{"1326723249":["hashtag1","hashtag2"]},{"1326723251":["hashtag1","hashtag2"]},{"1326723253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326723255, 1326723249, 1326723251, 1326723253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26639437675476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:21:21.934670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/20/image_04012025_18_20_02_876027_0003.jpg', '/home/pi/Desktop/images/04012025/18/21/image_04012025_18_21_02_984141_0000.jpg', '/home/pi/Desktop/images/04012025/18/21/image_04012025_18_21_02_984141_0001.jpg', '/home/pi/Desktop/images/04012025/18/21/image_04012025_18_21_02_984141_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/20/image_04012025_18_20_02_876027_0003.jpg
/home/pi/Desktop/images/04012025/18/21/image_04012025_18_21_02_984141_0000.jpg
/home/pi/Desktop/images/04012025/18/21/image_04012025_18_21_02_984141_0001.jpg
/home/pi/Desktop/images/04012025/18/21/image_04012025_18_21_02_984141_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326723264","1326723267","1326723269","1326723271"],"photo_ids_order":["1326723264","1326723267","1326723269","1326723271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f1b943c789ced7e9be3424b95b4cd918.jpg","text":"TemporaryFile(/tmp/multipartBody7555030446457070431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011352058,"filename":"image_04012025_18_20_02_876027_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6db030720b0c1d71ace5d3e2c387e26b.jpg","text":"TemporaryFile(/tmp/multipartBody7081024073109960667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011352058,"filename":"image_04012025_18_21_02_984141_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a20a5956b088105791ce1d382cfd7618.jpg","text":"TemporaryFile(/tmp/multipartBody2388536854127224921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011352058,"filename":"image_04012025_18_21_02_984141_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/48c5e0dd0eb82835e7b45f207dfc4758.jpg","text":"TemporaryFile(/tmp/multipartBody8477404297945842763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011352058,"filename":"image_04012025_18_21_02_984141_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326723269","file1":"1326723267","file0":"1326723264","file3":"1326723271"},"map_files_photo_id_array":[{"photo_id":"1326723269","filename":"file2"},{"photo_id":"1326723267","filename":"file1"},{"photo_id":"1326723264","filename":"file0"},{"photo_id":"1326723271","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326723264":["hashtag1","hashtag2"]},{"1326723267":["hashtag1","hashtag2"]},{"1326723269":["hashtag1","hashtag2"]},{"1326723271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326723264, 1326723267, 1326723269, 1326723271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.831005334854126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:22:02.422109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:22:22.010496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/21/image_04012025_18_21_02_984141_0003.jpg', '/home/pi/Desktop/images/04012025/18/22/image_04012025_18_22_02_207674_0000.jpg', '/home/pi/Desktop/images/04012025/18/22/image_04012025_18_22_02_207674_0001.jpg', '/home/pi/Desktop/images/04012025/18/22/image_04012025_18_22_02_207674_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/21/image_04012025_18_21_02_984141_0003.jpg
/home/pi/Desktop/images/04012025/18/22/image_04012025_18_22_02_207674_0000.jpg
/home/pi/Desktop/images/04012025/18/22/image_04012025_18_22_02_207674_0001.jpg
/home/pi/Desktop/images/04012025/18/22/image_04012025_18_22_02_207674_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326723829","1326723831","1326723801","1326723833"],"photo_ids_order":["1326723801","1326723829","1326723831","1326723833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1a645616e4eb9784a9f8c1f9784d44f7.jpg","text":"TemporaryFile(/tmp/multipartBody2262935839799240802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011412268,"filename":"image_04012025_18_22_02_207674_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f3a122084b5aea83134609669d967545.jpg","text":"TemporaryFile(/tmp/multipartBody2049049556241715742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011412268,"filename":"image_04012025_18_22_02_207674_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/01d7f167ff8bb534851818f5b1902406.jpg","text":"TemporaryFile(/tmp/multipartBody651766063624186568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011412268,"filename":"image_04012025_18_21_02_984141_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d043fbfadb574260edab50f995e87bc1.jpg","text":"TemporaryFile(/tmp/multipartBody853581667311345084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011412268,"filename":"image_04012025_18_22_02_207674_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326723831","file1":"1326723829","file0":"1326723801","file3":"1326723833"},"map_files_photo_id_array":[{"photo_id":"1326723831","filename":"file2"},{"photo_id":"1326723829","filename":"file1"},{"photo_id":"1326723801","filename":"file0"},{"photo_id":"1326723833","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326723829":["hashtag1","hashtag2"]},{"1326723831":["hashtag1","hashtag2"]},{"1326723801":["hashtag1","hashtag2"]},{"1326723833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326723829, 1326723831, 1326723801, 1326723833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.96206068992615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:23:02.776999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:23:22.104926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/22/image_04012025_18_22_02_207674_0003.jpg', '/home/pi/Desktop/images/04012025/18/23/image_04012025_18_23_02_318381_0000.jpg', '/home/pi/Desktop/images/04012025/18/23/image_04012025_18_23_02_318381_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/22/image_04012025_18_22_02_207674_0003.jpg
/home/pi/Desktop/images/04012025/18/23/image_04012025_18_23_02_318381_0000.jpg
/home/pi/Desktop/images/04012025/18/23/image_04012025_18_23_02_318381_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326723847","1326723841","1326723844"],"photo_ids_order":["1326723841","1326723844","1326723847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9a516f44ae341a323d49a3c20d67aad9.jpg","text":"TemporaryFile(/tmp/multipartBody2000305676929695190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011470012,"filename":"image_04012025_18_23_02_318381_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cc58da91218af4a311b93d4b34ebc409.jpg","text":"TemporaryFile(/tmp/multipartBody5648623045985358346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011470012,"filename":"image_04012025_18_22_02_207674_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/21a9b80a6e4c3c54dfe50336b5c1bdf5.jpg","text":"TemporaryFile(/tmp/multipartBody6843669609806586194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011470012,"filename":"image_04012025_18_23_02_318381_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326723847","file1":"1326723844","file0":"1326723841"},"map_files_photo_id_array":[{"photo_id":"1326723847","filename":"file2"},{"photo_id":"1326723844","filename":"file1"},{"photo_id":"1326723841","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326723847":["hashtag1","hashtag2"]},{"1326723841":["hashtag1","hashtag2"]},{"1326723844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326723847, 1326723841, 1326723844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.08794093132019 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:24:02.711069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:24:22.439687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/23/image_04012025_18_23_02_318381_0003.jpg', '/home/pi/Desktop/images/04012025/18/24/image_04012025_18_24_02_537014_0000.jpg', '/home/pi/Desktop/images/04012025/18/24/image_04012025_18_24_02_537014_0001.jpg', '/home/pi/Desktop/images/04012025/18/24/image_04012025_18_24_02_537014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/23/image_04012025_18_23_02_318381_0003.jpg
/home/pi/Desktop/images/04012025/18/24/image_04012025_18_24_02_537014_0000.jpg
/home/pi/Desktop/images/04012025/18/24/image_04012025_18_24_02_537014_0001.jpg
/home/pi/Desktop/images/04012025/18/24/image_04012025_18_24_02_537014_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326725457","1326725458","1326724984","1326725329"],"photo_ids_order":["1326724984","1326725329","1326725457","1326725458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bc210f90903bcfd6f43b0fe4bdf74d5f.jpg","text":"TemporaryFile(/tmp/multipartBody6135644768395418853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011532654,"filename":"image_04012025_18_24_02_537014_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3e6c62f8c5d51d8ded9617ab7e5ca805.jpg","text":"TemporaryFile(/tmp/multipartBody638632483602096897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011532654,"filename":"image_04012025_18_24_02_537014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d7ad649fbf3aef4309561a10a6eb9bb.jpg","text":"TemporaryFile(/tmp/multipartBody4317682647083732474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011532654,"filename":"image_04012025_18_23_02_318381_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4412a6def9b4203cf240ee0b4a7b6cd9.jpg","text":"TemporaryFile(/tmp/multipartBody8483093685582350123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011532654,"filename":"image_04012025_18_24_02_537014_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326725457","file1":"1326725329","file0":"1326724984","file3":"1326725458"},"map_files_photo_id_array":[{"photo_id":"1326725457","filename":"file2"},{"photo_id":"1326725329","filename":"file1"},{"photo_id":"1326724984","filename":"file0"},{"photo_id":"1326725458","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326725457":["hashtag1","hashtag2"]},{"1326725458":["hashtag1","hashtag2"]},{"1326724984":["hashtag1","hashtag2"]},{"1326725329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326725457, 1326725458, 1326724984, 1326725329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.86127328872681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:25:22.518586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/24/image_04012025_18_24_02_537014_0003.jpg', '/home/pi/Desktop/images/04012025/18/25/image_04012025_18_25_02_756588_0000.jpg', '/home/pi/Desktop/images/04012025/18/25/image_04012025_18_25_02_756588_0001.jpg', '/home/pi/Desktop/images/04012025/18/25/image_04012025_18_25_02_756588_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/24/image_04012025_18_24_02_537014_0003.jpg
/home/pi/Desktop/images/04012025/18/25/image_04012025_18_25_02_756588_0000.jpg
/home/pi/Desktop/images/04012025/18/25/image_04012025_18_25_02_756588_0001.jpg
/home/pi/Desktop/images/04012025/18/25/image_04012025_18_25_02_756588_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326725765","1326725762","1326725737","1326725766"],"photo_ids_order":["1326725737","1326725762","1326725765","1326725766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8e855ca1a12bbb150e9faa9b5495c08d.jpg","text":"TemporaryFile(/tmp/multipartBody6723761133255512639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011592859,"filename":"image_04012025_18_25_02_756588_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5ea60e4d0e62ff0f82bfcc231bcd6e6e.jpg","text":"TemporaryFile(/tmp/multipartBody4875388251791990979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011592859,"filename":"image_04012025_18_25_02_756588_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ea6adb9addb953382af4a9e87f9ebbd8.jpg","text":"TemporaryFile(/tmp/multipartBody8528900763375923919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011592859,"filename":"image_04012025_18_24_02_537014_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2fadaf976c4d297cf562600cd19373c9.jpg","text":"TemporaryFile(/tmp/multipartBody6836343313286872590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011592859,"filename":"image_04012025_18_25_02_756588_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326725765","file1":"1326725762","file0":"1326725737","file3":"1326725766"},"map_files_photo_id_array":[{"photo_id":"1326725765","filename":"file2"},{"photo_id":"1326725762","filename":"file1"},{"photo_id":"1326725737","filename":"file0"},{"photo_id":"1326725766","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326725765":["hashtag1","hashtag2"]},{"1326725762":["hashtag1","hashtag2"]},{"1326725737":["hashtag1","hashtag2"]},{"1326725766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326725765, 1326725762, 1326725737, 1326725766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74939250946045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:26:22.739209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/25/image_04012025_18_25_02_756588_0003.jpg', '/home/pi/Desktop/images/04012025/18/26/image_04012025_18_26_02_874404_0000.jpg', '/home/pi/Desktop/images/04012025/18/26/image_04012025_18_26_02_874404_0001.jpg', '/home/pi/Desktop/images/04012025/18/26/image_04012025_18_26_02_874404_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/25/image_04012025_18_25_02_756588_0003.jpg
/home/pi/Desktop/images/04012025/18/26/image_04012025_18_26_02_874404_0000.jpg
/home/pi/Desktop/images/04012025/18/26/image_04012025_18_26_02_874404_0001.jpg
/home/pi/Desktop/images/04012025/18/26/image_04012025_18_26_02_874404_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326726275","1326726205","1326726279","1326726237"],"photo_ids_order":["1326726205","1326726237","1326726275","1326726279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0d0c18d21a5123a7d82f8f290707d9df.jpg","text":"TemporaryFile(/tmp/multipartBody8519388026463121062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011653056,"filename":"image_04012025_18_26_02_874404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e87c30b053deeec17fb85ea25ca61deb.jpg","text":"TemporaryFile(/tmp/multipartBody959803457430675183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011653056,"filename":"image_04012025_18_25_02_756588_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b1f7a0de14d1f2650636a69b58ea9006.jpg","text":"TemporaryFile(/tmp/multipartBody6169726598267621157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011653056,"filename":"image_04012025_18_26_02_874404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/366a2d31e25887918e6a24da614e0cbd.jpg","text":"TemporaryFile(/tmp/multipartBody2965714646331331405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011653056,"filename":"image_04012025_18_26_02_874404_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326726275","file1":"1326726237","file0":"1326726205","file3":"1326726279"},"map_files_photo_id_array":[{"photo_id":"1326726275","filename":"file2"},{"photo_id":"1326726237","filename":"file1"},{"photo_id":"1326726205","filename":"file0"},{"photo_id":"1326726279","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326726275":["hashtag1","hashtag2"]},{"1326726205":["hashtag1","hashtag2"]},{"1326726279":["hashtag1","hashtag2"]},{"1326726237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326726275, 1326726205, 1326726279, 1326726237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87387251853943 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:27:22.002807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/26/image_04012025_18_26_02_874404_0003.jpg', '/home/pi/Desktop/images/04012025/18/27/image_04012025_18_27_03_053792_0000.jpg', '/home/pi/Desktop/images/04012025/18/27/image_04012025_18_27_03_053792_0001.jpg', '/home/pi/Desktop/images/04012025/18/27/image_04012025_18_27_03_053792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/26/image_04012025_18_26_02_874404_0003.jpg
/home/pi/Desktop/images/04012025/18/27/image_04012025_18_27_03_053792_0000.jpg
/home/pi/Desktop/images/04012025/18/27/image_04012025_18_27_03_053792_0001.jpg
/home/pi/Desktop/images/04012025/18/27/image_04012025_18_27_03_053792_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326726734","1326726732","1326726695","1326726698"],"photo_ids_order":["1326726695","1326726698","1326726732","1326726734"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/461e349bcf787ea5fdbad0d6a088ad56.jpg","text":"TemporaryFile(/tmp/multipartBody1124651248569769319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011712237,"filename":"image_04012025_18_27_03_053792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bfed54f66eb129a3d59645744084b028.jpg","text":"TemporaryFile(/tmp/multipartBody7854701702962952319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011712237,"filename":"image_04012025_18_27_03_053792_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2a1baeef0e47abc73716fde033fb4da7.jpg","text":"TemporaryFile(/tmp/multipartBody2373480102321800569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011712237,"filename":"image_04012025_18_26_02_874404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/71feab577299f59ccbf684cc838180fa.jpg","text":"TemporaryFile(/tmp/multipartBody4446020388843441906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011712237,"filename":"image_04012025_18_27_03_053792_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326726732","file1":"1326726698","file0":"1326726695","file3":"1326726734"},"map_files_photo_id_array":[{"photo_id":"1326726732","filename":"file2"},{"photo_id":"1326726698","filename":"file1"},{"photo_id":"1326726695","filename":"file0"},{"photo_id":"1326726734","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326726734":["hashtag1","hashtag2"]},{"1326726732":["hashtag1","hashtag2"]},{"1326726695":["hashtag1","hashtag2"]},{"1326726698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326726734, 1326726732, 1326726695, 1326726698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63611435890198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:28:02.468943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:28:22.079790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/27/image_04012025_18_27_03_053792_0003.jpg', '/home/pi/Desktop/images/04012025/18/28/image_04012025_18_28_02_317527_0000.jpg', '/home/pi/Desktop/images/04012025/18/28/image_04012025_18_28_02_317527_0001.jpg', '/home/pi/Desktop/images/04012025/18/28/image_04012025_18_28_02_317527_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/27/image_04012025_18_27_03_053792_0003.jpg
/home/pi/Desktop/images/04012025/18/28/image_04012025_18_28_02_317527_0000.jpg
/home/pi/Desktop/images/04012025/18/28/image_04012025_18_28_02_317527_0001.jpg
/home/pi/Desktop/images/04012025/18/28/image_04012025_18_28_02_317527_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326727150","1326727156","1326727146","1326727172"],"photo_ids_order":["1326727146","1326727150","1326727156","1326727172"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/502ba606068b5d567a0fe0bbe14e0c9d.jpg","text":"TemporaryFile(/tmp/multipartBody5016597011559768521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011772322,"filename":"image_04012025_18_28_02_317527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/481b62c0e2b46269a74ba5b92543235b.jpg","text":"TemporaryFile(/tmp/multipartBody1946586062001130700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011772322,"filename":"image_04012025_18_28_02_317527_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/006b4613751c6daad1d71cffb46cb40b.jpg","text":"TemporaryFile(/tmp/multipartBody2065236800412001117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011772322,"filename":"image_04012025_18_27_03_053792_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dd61da66f15bb4f0c3db75462e2a3cb4.jpg","text":"TemporaryFile(/tmp/multipartBody8992896009943171586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011772322,"filename":"image_04012025_18_28_02_317527_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326727156","file1":"1326727150","file0":"1326727146","file3":"1326727172"},"map_files_photo_id_array":[{"photo_id":"1326727156","filename":"file2"},{"photo_id":"1326727150","filename":"file1"},{"photo_id":"1326727146","filename":"file0"},{"photo_id":"1326727172","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326727150":["hashtag1","hashtag2"]},{"1326727156":["hashtag1","hashtag2"]},{"1326727146":["hashtag1","hashtag2"]},{"1326727172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326727150, 1326727156, 1326727146, 1326727172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34815692901611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:29:22.269060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/28/image_04012025_18_28_02_317527_0003.jpg', '/home/pi/Desktop/images/04012025/18/29/image_04012025_18_29_02_425881_0000.jpg', '/home/pi/Desktop/images/04012025/18/29/image_04012025_18_29_02_425881_0001.jpg', '/home/pi/Desktop/images/04012025/18/29/image_04012025_18_29_02_425881_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/28/image_04012025_18_28_02_317527_0003.jpg
/home/pi/Desktop/images/04012025/18/29/image_04012025_18_29_02_425881_0000.jpg
/home/pi/Desktop/images/04012025/18/29/image_04012025_18_29_02_425881_0001.jpg
/home/pi/Desktop/images/04012025/18/29/image_04012025_18_29_02_425881_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326727622","1326727630","1326727627","1326727625"],"photo_ids_order":["1326727622","1326727625","1326727627","1326727630"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d24f71a58f2b9120dc4b76d65b122099.jpg","text":"TemporaryFile(/tmp/multipartBody3998290811641797465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011832387,"filename":"image_04012025_18_28_02_317527_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca8e4128f51031fdb2d319548428b307.jpg","text":"TemporaryFile(/tmp/multipartBody881298719837701219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011832387,"filename":"image_04012025_18_29_02_425881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6b523d878b7e622784dfee7e8f57981a.jpg","text":"TemporaryFile(/tmp/multipartBody5321234320446304009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011832387,"filename":"image_04012025_18_29_02_425881_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/df217468090a382bdcb35518d906d563.jpg","text":"TemporaryFile(/tmp/multipartBody158892048506156920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011832387,"filename":"image_04012025_18_29_02_425881_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326727627","file1":"1326727625","file0":"1326727622","file3":"1326727630"},"map_files_photo_id_array":[{"photo_id":"1326727627","filename":"file2"},{"photo_id":"1326727625","filename":"file1"},{"photo_id":"1326727622","filename":"file0"},{"photo_id":"1326727630","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326727622":["hashtag1","hashtag2"]},{"1326727630":["hashtag1","hashtag2"]},{"1326727627":["hashtag1","hashtag2"]},{"1326727625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326727622, 1326727630, 1326727627, 1326727625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.86272692680359 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:30:02.751374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:30:22.498474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/29/image_04012025_18_29_02_425881_0003.jpg', '/home/pi/Desktop/images/04012025/18/30/image_04012025_18_30_02_753712_0000.jpg', '/home/pi/Desktop/images/04012025/18/30/image_04012025_18_30_02_753712_0001.jpg', '/home/pi/Desktop/images/04012025/18/30/image_04012025_18_30_02_753712_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/29/image_04012025_18_29_02_425881_0003.jpg
/home/pi/Desktop/images/04012025/18/30/image_04012025_18_30_02_753712_0000.jpg
/home/pi/Desktop/images/04012025/18/30/image_04012025_18_30_02_753712_0001.jpg
/home/pi/Desktop/images/04012025/18/30/image_04012025_18_30_02_753712_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326728433","1326728435","1326728417","1326728386"],"photo_ids_order":["1326728386","1326728417","1326728433","1326728435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/01119b9958ef5bc0c31dba438288f8c3.jpg","text":"TemporaryFile(/tmp/multipartBody4471370504024333797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011892834,"filename":"image_04012025_18_30_02_753712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/494a88a177e5546f92131c618578ffb7.jpg","text":"TemporaryFile(/tmp/multipartBody4842756691458225286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011892834,"filename":"image_04012025_18_30_02_753712_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/226f573c8bb833cf156900c014a1820f.jpg","text":"TemporaryFile(/tmp/multipartBody2174832984854222044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011892834,"filename":"image_04012025_18_30_02_753712_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85dce1ea4838c52caf2b8c2e46220a01.jpg","text":"TemporaryFile(/tmp/multipartBody2874391300314420682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011892834,"filename":"image_04012025_18_29_02_425881_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326728433","file1":"1326728417","file0":"1326728386","file3":"1326728435"},"map_files_photo_id_array":[{"photo_id":"1326728433","filename":"file2"},{"photo_id":"1326728417","filename":"file1"},{"photo_id":"1326728386","filename":"file0"},{"photo_id":"1326728435","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326728433":["hashtag1","hashtag2"]},{"1326728435":["hashtag1","hashtag2"]},{"1326728417":["hashtag1","hashtag2"]},{"1326728386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326728433, 1326728435, 1326728417, 1326728386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.596108198165894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:31:22.686495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/30/image_04012025_18_30_02_753712_0003.jpg', '/home/pi/Desktop/images/04012025/18/31/image_04012025_18_31_02_815675_0000.jpg', '/home/pi/Desktop/images/04012025/18/31/image_04012025_18_31_02_815675_0001.jpg', '/home/pi/Desktop/images/04012025/18/31/image_04012025_18_31_02_815675_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/30/image_04012025_18_30_02_753712_0003.jpg
/home/pi/Desktop/images/04012025/18/31/image_04012025_18_31_02_815675_0000.jpg
/home/pi/Desktop/images/04012025/18/31/image_04012025_18_31_02_815675_0001.jpg
/home/pi/Desktop/images/04012025/18/31/image_04012025_18_31_02_815675_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326728749","1326728730","1326728777","1326728870"],"photo_ids_order":["1326728730","1326728749","1326728777","1326728870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/be105248a5d28f1746334973c4e8056f.jpg","text":"TemporaryFile(/tmp/multipartBody6123842546819097506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011952999,"filename":"image_04012025_18_31_02_815675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fb81c8bcec8d4435797053d86bc78892.jpg","text":"TemporaryFile(/tmp/multipartBody4421658042102890598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011952999,"filename":"image_04012025_18_30_02_753712_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9be4fd37753273f8a8fe1b8e8d07a031.jpg","text":"TemporaryFile(/tmp/multipartBody5302673619378512025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011952999,"filename":"image_04012025_18_31_02_815675_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/283c37ca10f0a06ab704760a9013074c.jpg","text":"TemporaryFile(/tmp/multipartBody147002358472178096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736011952999,"filename":"image_04012025_18_31_02_815675_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326728777","file1":"1326728749","file0":"1326728730","file3":"1326728870"},"map_files_photo_id_array":[{"photo_id":"1326728777","filename":"file2"},{"photo_id":"1326728749","filename":"file1"},{"photo_id":"1326728730","filename":"file0"},{"photo_id":"1326728870","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326728749":["hashtag1","hashtag2"]},{"1326728730":["hashtag1","hashtag2"]},{"1326728777":["hashtag1","hashtag2"]},{"1326728870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326728749, 1326728730, 1326728777, 1326728870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.97345805168152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:32:21.878444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/31/image_04012025_18_31_02_815675_0003.jpg', '/home/pi/Desktop/images/04012025/18/32/image_04012025_18_32_03_014455_0000.jpg', '/home/pi/Desktop/images/04012025/18/32/image_04012025_18_32_03_014455_0001.jpg', '/home/pi/Desktop/images/04012025/18/32/image_04012025_18_32_03_014455_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/31/image_04012025_18_31_02_815675_0003.jpg
/home/pi/Desktop/images/04012025/18/32/image_04012025_18_32_03_014455_0000.jpg
/home/pi/Desktop/images/04012025/18/32/image_04012025_18_32_03_014455_0001.jpg
/home/pi/Desktop/images/04012025/18/32/image_04012025_18_32_03_014455_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326729301","1326729345","1326729299","1326729266"],"photo_ids_order":["1326729266","1326729299","1326729301","1326729345"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9e104ade6cd3d9e08072cffc43f5fef3.jpg","text":"TemporaryFile(/tmp/multipartBody2596190601648914962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012012191,"filename":"image_04012025_18_32_03_014455_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/caeeb3fde7e8cd1fe85a63fa1cb18ecd.jpg","text":"TemporaryFile(/tmp/multipartBody8284473545135355215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012012191,"filename":"image_04012025_18_32_03_014455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/542add0566b10e63ea47e19d5eaa4a96.jpg","text":"TemporaryFile(/tmp/multipartBody2277931759574593040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012012191,"filename":"image_04012025_18_32_03_014455_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/209de7f0e31caf29be908ab1c65a4aaa.jpg","text":"TemporaryFile(/tmp/multipartBody8758780744612726169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012012191,"filename":"image_04012025_18_31_02_815675_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326729301","file1":"1326729299","file0":"1326729266","file3":"1326729345"},"map_files_photo_id_array":[{"photo_id":"1326729301","filename":"file2"},{"photo_id":"1326729299","filename":"file1"},{"photo_id":"1326729266","filename":"file0"},{"photo_id":"1326729345","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326729301":["hashtag1","hashtag2"]},{"1326729345":["hashtag1","hashtag2"]},{"1326729299":["hashtag1","hashtag2"]},{"1326729266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326729301, 1326729345, 1326729299, 1326729266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.6714301109314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:33:02.598480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:33:22.012244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/32/image_04012025_18_32_03_014455_0003.jpg', '/home/pi/Desktop/images/04012025/18/33/image_04012025_18_33_02_257133_0000.jpg', '/home/pi/Desktop/images/04012025/18/33/image_04012025_18_33_02_257133_0001.jpg', '/home/pi/Desktop/images/04012025/18/33/image_04012025_18_33_02_257133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/32/image_04012025_18_32_03_014455_0003.jpg
/home/pi/Desktop/images/04012025/18/33/image_04012025_18_33_02_257133_0000.jpg
/home/pi/Desktop/images/04012025/18/33/image_04012025_18_33_02_257133_0001.jpg
/home/pi/Desktop/images/04012025/18/33/image_04012025_18_33_02_257133_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326729354","1326729362","1326729356","1326729358"],"photo_ids_order":["1326729354","1326729356","1326729358","1326729362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/708460149cf4910a3ed22d92752ebd4b.jpg","text":"TemporaryFile(/tmp/multipartBody6560064538286186985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012072155,"filename":"image_04012025_18_32_03_014455_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d8d610388e81e8af055a923e5484182.jpg","text":"TemporaryFile(/tmp/multipartBody1892596086370693071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012072155,"filename":"image_04012025_18_33_02_257133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/063940b55f624710b12d0e7b878b3de8.jpg","text":"TemporaryFile(/tmp/multipartBody7498237074178919045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012072155,"filename":"image_04012025_18_33_02_257133_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1b8e629b6e916688f96b1f71ba8282e5.jpg","text":"TemporaryFile(/tmp/multipartBody4032988693233164423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012072155,"filename":"image_04012025_18_33_02_257133_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326729358","file1":"1326729356","file0":"1326729354","file3":"1326729362"},"map_files_photo_id_array":[{"photo_id":"1326729358","filename":"file2"},{"photo_id":"1326729356","filename":"file1"},{"photo_id":"1326729354","filename":"file0"},{"photo_id":"1326729362","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326729354":["hashtag1","hashtag2"]},{"1326729362":["hashtag1","hashtag2"]},{"1326729356":["hashtag1","hashtag2"]},{"1326729358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326729354, 1326729362, 1326729356, 1326729358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10474228858948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:34:02.524033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:34:22.099771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/33/image_04012025_18_33_02_257133_0003.jpg', '/home/pi/Desktop/images/04012025/18/34/image_04012025_18_34_02_369378_0000.jpg', '/home/pi/Desktop/images/04012025/18/34/image_04012025_18_34_02_369378_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/33/image_04012025_18_33_02_257133_0003.jpg
/home/pi/Desktop/images/04012025/18/34/image_04012025_18_34_02_369378_0000.jpg
/home/pi/Desktop/images/04012025/18/34/image_04012025_18_34_02_369378_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":["1326729400","1326729402","1326729404"],"photo_ids_order":["1326729400","1326729402","1326729404"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4219ee5c2f44176f34a2cd3ae23f292a.jpg","text":"TemporaryFile(/tmp/multipartBody5468054260242256260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012129905,"filename":"image_04012025_18_33_02_257133_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/17ad74d7bdf51eca2d21076308fba708.jpg","text":"TemporaryFile(/tmp/multipartBody6511614865573385162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012129905,"filename":"image_04012025_18_34_02_369378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cc19757afbc5065a692fa4ef437ba60d.jpg","text":"TemporaryFile(/tmp/multipartBody6016992094027001905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012129905,"filename":"image_04012025_18_34_02_369378_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326729404","file1":"1326729402","file0":"1326729400"},"map_files_photo_id_array":[{"photo_id":"1326729404","filename":"file2"},{"photo_id":"1326729402","filename":"file1"},{"photo_id":"1326729400","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326729400":["hashtag1","hashtag2"]},{"1326729402":["hashtag1","hashtag2"]},{"1326729404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326729400, 1326729402, 1326729404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.357212781906128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:35:03.061898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:35:22.448695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/34/image_04012025_18_34_02_369378_0003.jpg', '/home/pi/Desktop/images/04012025/18/35/image_04012025_18_35_02_485358_0000.jpg', '/home/pi/Desktop/images/04012025/18/35/image_04012025_18_35_02_485358_0001.jpg', '/home/pi/Desktop/images/04012025/18/35/image_04012025_18_35_02_485358_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/34/image_04012025_18_34_02_369378_0003.jpg
/home/pi/Desktop/images/04012025/18/35/image_04012025_18_35_02_485358_0000.jpg
/home/pi/Desktop/images/04012025/18/35/image_04012025_18_35_02_485358_0001.jpg
/home/pi/Desktop/images/04012025/18/35/image_04012025_18_35_02_485358_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326729931","1326730132","1326729933","1326729997"],"photo_ids_order":["1326729931","1326729933","1326729997","1326730132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dac4130c43820a526e12786f6ad323c4.jpg","text":"TemporaryFile(/tmp/multipartBody1852547907083100670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012192756,"filename":"image_04012025_18_34_02_369378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/583c7a62c0e880788f4ae8efba87229d.jpg","text":"TemporaryFile(/tmp/multipartBody3151690047652989580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012192756,"filename":"image_04012025_18_35_02_485358_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d57b1881e2e15a36b3ee8c67e4225def.jpg","text":"TemporaryFile(/tmp/multipartBody4620144180766619923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012192756,"filename":"image_04012025_18_35_02_485358_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/48278b4afc47aebb09ffcd0a57f0f34c.jpg","text":"TemporaryFile(/tmp/multipartBody4847610394119188915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012192756,"filename":"image_04012025_18_35_02_485358_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326729997","file1":"1326729933","file0":"1326729931","file3":"1326730132"},"map_files_photo_id_array":[{"photo_id":"1326729997","filename":"file2"},{"photo_id":"1326729933","filename":"file1"},{"photo_id":"1326729931","filename":"file0"},{"photo_id":"1326730132","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326729931":["hashtag1","hashtag2"]},{"1326730132":["hashtag1","hashtag2"]},{"1326729933":["hashtag1","hashtag2"]},{"1326729997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326729931, 1326730132, 1326729933, 1326729997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.18772506713867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:36:02.800629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:36:22.490460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/35/image_04012025_18_35_02_485358_0003.jpg', '/home/pi/Desktop/images/04012025/18/36/image_04012025_18_36_02_827724_0000.jpg', '/home/pi/Desktop/images/04012025/18/36/image_04012025_18_36_02_827724_0001.jpg', '/home/pi/Desktop/images/04012025/18/36/image_04012025_18_36_02_827724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/35/image_04012025_18_35_02_485358_0003.jpg
/home/pi/Desktop/images/04012025/18/36/image_04012025_18_36_02_827724_0000.jpg
/home/pi/Desktop/images/04012025/18/36/image_04012025_18_36_02_827724_0001.jpg
/home/pi/Desktop/images/04012025/18/36/image_04012025_18_36_02_827724_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326731166","1326730937","1326730475","1326730805"],"photo_ids_order":["1326730475","1326730805","1326730937","1326731166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/646f72060fbc0e8f47518b59bc0648db.jpg","text":"TemporaryFile(/tmp/multipartBody8384697058708507676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012252823,"filename":"image_04012025_18_36_02_827724_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9a0573eebae04f50c5c3d372e9fc4540.jpg","text":"TemporaryFile(/tmp/multipartBody6144707843542012280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012252823,"filename":"image_04012025_18_36_02_827724_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/be9628a68ce95d089d03ba53c0333564.jpg","text":"TemporaryFile(/tmp/multipartBody2825216525725048262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012252823,"filename":"image_04012025_18_35_02_485358_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/367a7ea0b653aa9428ea8c2b448c11cd.jpg","text":"TemporaryFile(/tmp/multipartBody4586360096502069165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012252823,"filename":"image_04012025_18_36_02_827724_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326730937","file1":"1326730805","file0":"1326730475","file3":"1326731166"},"map_files_photo_id_array":[{"photo_id":"1326730937","filename":"file2"},{"photo_id":"1326730805","filename":"file1"},{"photo_id":"1326730475","filename":"file0"},{"photo_id":"1326731166","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326731166":["hashtag1","hashtag2"]},{"1326730937":["hashtag1","hashtag2"]},{"1326730475":["hashtag1","hashtag2"]},{"1326730805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326731166, 1326730937, 1326730475, 1326730805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.874167680740356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:37:03.310733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:37:22.844353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/36/image_04012025_18_36_02_827724_0003.jpg', '/home/pi/Desktop/images/04012025/18/37/image_04012025_18_37_02_917519_0000.jpg', '/home/pi/Desktop/images/04012025/18/37/image_04012025_18_37_02_917519_0001.jpg', '/home/pi/Desktop/images/04012025/18/37/image_04012025_18_37_02_917519_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/36/image_04012025_18_36_02_827724_0003.jpg
/home/pi/Desktop/images/04012025/18/37/image_04012025_18_37_02_917519_0000.jpg
/home/pi/Desktop/images/04012025/18/37/image_04012025_18_37_02_917519_0001.jpg
/home/pi/Desktop/images/04012025/18/37/image_04012025_18_37_02_917519_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326731646","1326731651","1326731546","1326731653"],"photo_ids_order":["1326731546","1326731646","1326731651","1326731653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7473d5fe99db07cf040de22ea04a706b.jpg","text":"TemporaryFile(/tmp/multipartBody6933965782560600526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012313083,"filename":"image_04012025_18_37_02_917519_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9a2bb6d5605b343849a178e52352be4d.jpg","text":"TemporaryFile(/tmp/multipartBody2918427826032549655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012313083,"filename":"image_04012025_18_37_02_917519_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ad5aedfa1a9f36fb9247b020fbc8edc8.jpg","text":"TemporaryFile(/tmp/multipartBody6184060792984264462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012313083,"filename":"image_04012025_18_36_02_827724_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/67489cf6e19e69b72e19de5ea97ec218.jpg","text":"TemporaryFile(/tmp/multipartBody240703873908704921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012313083,"filename":"image_04012025_18_37_02_917519_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326731651","file1":"1326731646","file0":"1326731546","file3":"1326731653"},"map_files_photo_id_array":[{"photo_id":"1326731651","filename":"file2"},{"photo_id":"1326731646","filename":"file1"},{"photo_id":"1326731546","filename":"file0"},{"photo_id":"1326731653","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326731646":["hashtag1","hashtag2"]},{"1326731651":["hashtag1","hashtag2"]},{"1326731546":["hashtag1","hashtag2"]},{"1326731653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326731646, 1326731651, 1326731546, 1326731653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.200623750686646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:38:22.050050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/37/image_04012025_18_37_02_917519_0003.jpg', '/home/pi/Desktop/images/04012025/18/38/image_04012025_18_38_03_082761_0000.jpg', '/home/pi/Desktop/images/04012025/18/38/image_04012025_18_38_03_082761_0001.jpg', '/home/pi/Desktop/images/04012025/18/38/image_04012025_18_38_03_082761_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/37/image_04012025_18_37_02_917519_0003.jpg
/home/pi/Desktop/images/04012025/18/38/image_04012025_18_38_03_082761_0000.jpg
/home/pi/Desktop/images/04012025/18/38/image_04012025_18_38_03_082761_0001.jpg
/home/pi/Desktop/images/04012025/18/38/image_04012025_18_38_03_082761_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326732103","1326732106","1326732109","1326732100"],"photo_ids_order":["1326732100","1326732103","1326732106","1326732109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a1b6ccb02b79c60861d85b5413e16527.jpg","text":"TemporaryFile(/tmp/multipartBody3864203377779307459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012372482,"filename":"image_04012025_18_38_03_082761_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a29e93ece9264d965ea9ef29400ddecc.jpg","text":"TemporaryFile(/tmp/multipartBody7632049857661007310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012372482,"filename":"image_04012025_18_38_03_082761_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ec5500fe5d33bf9d0fa892f8878bceb1.jpg","text":"TemporaryFile(/tmp/multipartBody8969283703311099285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012372482,"filename":"image_04012025_18_38_03_082761_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a04dfa830250783f9dd0b5466a1d956c.jpg","text":"TemporaryFile(/tmp/multipartBody192826737133350007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012372482,"filename":"image_04012025_18_37_02_917519_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326732106","file1":"1326732103","file0":"1326732100","file3":"1326732109"},"map_files_photo_id_array":[{"photo_id":"1326732106","filename":"file2"},{"photo_id":"1326732103","filename":"file1"},{"photo_id":"1326732100","filename":"file0"},{"photo_id":"1326732109","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326732103":["hashtag1","hashtag2"]},{"1326732106":["hashtag1","hashtag2"]},{"1326732109":["hashtag1","hashtag2"]},{"1326732100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326732103, 1326732106, 1326732109, 1326732100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.27967286109924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:39:02.752266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:39:22.209744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/38/image_04012025_18_38_03_082761_0003.jpg', '/home/pi/Desktop/images/04012025/18/39/image_04012025_18_39_02_335004_0000.jpg', '/home/pi/Desktop/images/04012025/18/39/image_04012025_18_39_02_335004_0001.jpg', '/home/pi/Desktop/images/04012025/18/39/image_04012025_18_39_02_335004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/38/image_04012025_18_38_03_082761_0003.jpg
/home/pi/Desktop/images/04012025/18/39/image_04012025_18_39_02_335004_0000.jpg
/home/pi/Desktop/images/04012025/18/39/image_04012025_18_39_02_335004_0001.jpg
/home/pi/Desktop/images/04012025/18/39/image_04012025_18_39_02_335004_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326732543","1326732485","1326732551","1326732520"],"photo_ids_order":["1326732485","1326732520","1326732543","1326732551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/11941f3854994ac9d0043cc9b21eb9f2.jpg","text":"TemporaryFile(/tmp/multipartBody488880166002330316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012432480,"filename":"image_04012025_18_39_02_335004_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/350fc65c52f26dbb131aedf752b9a7ff.jpg","text":"TemporaryFile(/tmp/multipartBody8934972941557052641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012432480,"filename":"image_04012025_18_38_03_082761_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/87335c7dba7dc80cba39aba0cd084f38.jpg","text":"TemporaryFile(/tmp/multipartBody4152285255705112073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012432480,"filename":"image_04012025_18_39_02_335004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/724ad562522d33c8519d9c96f3ca6796.jpg","text":"TemporaryFile(/tmp/multipartBody1123601397694718091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012432480,"filename":"image_04012025_18_39_02_335004_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326732543","file1":"1326732520","file0":"1326732485","file3":"1326732551"},"map_files_photo_id_array":[{"photo_id":"1326732543","filename":"file2"},{"photo_id":"1326732520","filename":"file1"},{"photo_id":"1326732485","filename":"file0"},{"photo_id":"1326732551","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326732543":["hashtag1","hashtag2"]},{"1326732485":["hashtag1","hashtag2"]},{"1326732551":["hashtag1","hashtag2"]},{"1326732520":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326732543, 1326732485, 1326732551, 1326732520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.593297243118286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:40:02.633204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:40:22.205539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/39/image_04012025_18_39_02_335004_0003.jpg', '/home/pi/Desktop/images/04012025/18/40/image_04012025_18_40_02_555027_0000.jpg', '/home/pi/Desktop/images/04012025/18/40/image_04012025_18_40_02_555027_0001.jpg', '/home/pi/Desktop/images/04012025/18/40/image_04012025_18_40_02_555027_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/39/image_04012025_18_39_02_335004_0003.jpg
/home/pi/Desktop/images/04012025/18/40/image_04012025_18_40_02_555027_0000.jpg
/home/pi/Desktop/images/04012025/18/40/image_04012025_18_40_02_555027_0001.jpg
/home/pi/Desktop/images/04012025/18/40/image_04012025_18_40_02_555027_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326732582","1326732592","1326732585","1326732588"],"photo_ids_order":["1326732582","1326732585","1326732588","1326732592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8f7f75ab232407be0400825fc58a63d5.jpg","text":"TemporaryFile(/tmp/multipartBody8906132377645203031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012492452,"filename":"image_04012025_18_39_02_335004_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aee3ee0dfdb9fa57351b2d5ce98bb442.jpg","text":"TemporaryFile(/tmp/multipartBody7785645991209223034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012492452,"filename":"image_04012025_18_40_02_555027_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/376fe8e4d09aa62d0cf61b540858e83d.jpg","text":"TemporaryFile(/tmp/multipartBody6777121741623314210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012492452,"filename":"image_04012025_18_40_02_555027_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/82f09c182e50341f995bbdba339a52dc.jpg","text":"TemporaryFile(/tmp/multipartBody4828810953498448535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012492452,"filename":"image_04012025_18_40_02_555027_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326732588","file1":"1326732585","file0":"1326732582","file3":"1326732592"},"map_files_photo_id_array":[{"photo_id":"1326732588","filename":"file2"},{"photo_id":"1326732585","filename":"file1"},{"photo_id":"1326732582","filename":"file0"},{"photo_id":"1326732592","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326732582":["hashtag1","hashtag2"]},{"1326732592":["hashtag1","hashtag2"]},{"1326732585":["hashtag1","hashtag2"]},{"1326732588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326732582, 1326732592, 1326732585, 1326732588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.1484158039093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:41:03.114499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:41:22.415352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/40/image_04012025_18_40_02_555027_0003.jpg', '/home/pi/Desktop/images/04012025/18/41/image_04012025_18_41_02_637012_0000.jpg', '/home/pi/Desktop/images/04012025/18/41/image_04012025_18_41_02_637012_0001.jpg', '/home/pi/Desktop/images/04012025/18/41/image_04012025_18_41_02_637012_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/40/image_04012025_18_40_02_555027_0003.jpg
/home/pi/Desktop/images/04012025/18/41/image_04012025_18_41_02_637012_0000.jpg
/home/pi/Desktop/images/04012025/18/41/image_04012025_18_41_02_637012_0001.jpg
/home/pi/Desktop/images/04012025/18/41/image_04012025_18_41_02_637012_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326732977","1326733078","1326732991","1326732994"],"photo_ids_order":["1326732977","1326732991","1326732994","1326733078"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f8d1ec93ab2bbe0259713789b9e6dcdb.jpg","text":"TemporaryFile(/tmp/multipartBody8274247153730953333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012552682,"filename":"image_04012025_18_40_02_555027_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/03e470a69509ed57dc3004ea610d9694.jpg","text":"TemporaryFile(/tmp/multipartBody1379142365539597845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012552682,"filename":"image_04012025_18_41_02_637012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3b248745f33602d79e03f720a6c9b3bf.jpg","text":"TemporaryFile(/tmp/multipartBody4054240728122647628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012552682,"filename":"image_04012025_18_41_02_637012_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/94413f75d879beff513ca693d2bf4b81.jpg","text":"TemporaryFile(/tmp/multipartBody4449318219710884408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012552682,"filename":"image_04012025_18_41_02_637012_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326732994","file1":"1326732991","file0":"1326732977","file3":"1326733078"},"map_files_photo_id_array":[{"photo_id":"1326732994","filename":"file2"},{"photo_id":"1326732991","filename":"file1"},{"photo_id":"1326732977","filename":"file0"},{"photo_id":"1326733078","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326732977":["hashtag1","hashtag2"]},{"1326733078":["hashtag1","hashtag2"]},{"1326732991":["hashtag1","hashtag2"]},{"1326732994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326732977, 1326733078, 1326732991, 1326732994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.24155259132385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:42:03.071914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:42:22.575946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/41/image_04012025_18_41_02_637012_0003.jpg', '/home/pi/Desktop/images/04012025/18/42/image_04012025_18_42_02_805701_0000.jpg', '/home/pi/Desktop/images/04012025/18/42/image_04012025_18_42_02_805701_0001.jpg', '/home/pi/Desktop/images/04012025/18/42/image_04012025_18_42_02_805701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/41/image_04012025_18_41_02_637012_0003.jpg
/home/pi/Desktop/images/04012025/18/42/image_04012025_18_42_02_805701_0000.jpg
/home/pi/Desktop/images/04012025/18/42/image_04012025_18_42_02_805701_0001.jpg
/home/pi/Desktop/images/04012025/18/42/image_04012025_18_42_02_805701_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326733506","1326733511","1326733529","1326733508"],"photo_ids_order":["1326733506","1326733508","1326733511","1326733529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e03706d7fd30487e4893c2d2ef3fd752.jpg","text":"TemporaryFile(/tmp/multipartBody1650510331564692809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012612800,"filename":"image_04012025_18_41_02_637012_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/25f06d01984741068f506cea60a7b766.jpg","text":"TemporaryFile(/tmp/multipartBody7650981568575169584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012612800,"filename":"image_04012025_18_42_02_805701_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db298fb31c5caea0ed54a3b4bc9ab746.jpg","text":"TemporaryFile(/tmp/multipartBody4948335502805363509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012612800,"filename":"image_04012025_18_42_02_805701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6ed4f01e5e8011cdec7c1d09f2972fb9.jpg","text":"TemporaryFile(/tmp/multipartBody2446770702763187227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012612800,"filename":"image_04012025_18_42_02_805701_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326733511","file1":"1326733508","file0":"1326733506","file3":"1326733529"},"map_files_photo_id_array":[{"photo_id":"1326733511","filename":"file2"},{"photo_id":"1326733508","filename":"file1"},{"photo_id":"1326733506","filename":"file0"},{"photo_id":"1326733529","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326733506":["hashtag1","hashtag2"]},{"1326733511":["hashtag1","hashtag2"]},{"1326733529":["hashtag1","hashtag2"]},{"1326733508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326733506, 1326733511, 1326733529, 1326733508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.362629652023315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:43:03.144715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:43:22.803648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/42/image_04012025_18_42_02_805701_0003.jpg', '/home/pi/Desktop/images/04012025/18/43/image_04012025_18_43_02_914478_0000.jpg', '/home/pi/Desktop/images/04012025/18/43/image_04012025_18_43_02_914478_0001.jpg', '/home/pi/Desktop/images/04012025/18/43/image_04012025_18_43_02_914478_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/42/image_04012025_18_42_02_805701_0003.jpg
/home/pi/Desktop/images/04012025/18/43/image_04012025_18_43_02_914478_0000.jpg
/home/pi/Desktop/images/04012025/18/43/image_04012025_18_43_02_914478_0001.jpg
/home/pi/Desktop/images/04012025/18/43/image_04012025_18_43_02_914478_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326733561","1326733555","1326733558","1326733563"],"photo_ids_order":["1326733555","1326733558","1326733561","1326733563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/17619c0cac477235c96a7edcdc9b48fd.jpg","text":"TemporaryFile(/tmp/multipartBody1081259257064106586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012673178,"filename":"image_04012025_18_43_02_914478_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eee5c46812084973c2da59a078840898.jpg","text":"TemporaryFile(/tmp/multipartBody2506686200164159566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012673178,"filename":"image_04012025_18_42_02_805701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f6014847f5ed75159594e0063a9df38.jpg","text":"TemporaryFile(/tmp/multipartBody8552326686672968305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012673178,"filename":"image_04012025_18_43_02_914478_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2a9d0b9bd5fb1e0ebdb438815ab8ed14.jpg","text":"TemporaryFile(/tmp/multipartBody5832966558643615889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012673178,"filename":"image_04012025_18_43_02_914478_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326733561","file1":"1326733558","file0":"1326733555","file3":"1326733563"},"map_files_photo_id_array":[{"photo_id":"1326733561","filename":"file2"},{"photo_id":"1326733558","filename":"file1"},{"photo_id":"1326733555","filename":"file0"},{"photo_id":"1326733563","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326733561":["hashtag1","hashtag2"]},{"1326733555":["hashtag1","hashtag2"]},{"1326733558":["hashtag1","hashtag2"]},{"1326733563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326733561, 1326733555, 1326733558, 1326733563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.54174542427063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:44:21.951711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/43/image_04012025_18_43_02_914478_0003.jpg', '/home/pi/Desktop/images/04012025/18/44/image_04012025_18_44_03_128678_0000.jpg', '/home/pi/Desktop/images/04012025/18/44/image_04012025_18_44_03_128678_0001.jpg', '/home/pi/Desktop/images/04012025/18/44/image_04012025_18_44_03_128678_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/43/image_04012025_18_43_02_914478_0003.jpg
/home/pi/Desktop/images/04012025/18/44/image_04012025_18_44_03_128678_0000.jpg
/home/pi/Desktop/images/04012025/18/44/image_04012025_18_44_03_128678_0001.jpg
/home/pi/Desktop/images/04012025/18/44/image_04012025_18_44_03_128678_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326733771","1326733765","1326733774","1326733768"],"photo_ids_order":["1326733765","1326733768","1326733771","1326733774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0607f0192fbe9fee62d367616a190d24.jpg","text":"TemporaryFile(/tmp/multipartBody6886132270664974822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012732331,"filename":"image_04012025_18_44_03_128678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e58c14de0773c606b5ef2515481358cd.jpg","text":"TemporaryFile(/tmp/multipartBody6726269849898824915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012732331,"filename":"image_04012025_18_43_02_914478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4a5579f70db56642e23b0d8823ae10a8.jpg","text":"TemporaryFile(/tmp/multipartBody3410294580521741729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012732331,"filename":"image_04012025_18_44_03_128678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/695ef54dd808497dbe7e1481915c6a33.jpg","text":"TemporaryFile(/tmp/multipartBody4830957620262776368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012732331,"filename":"image_04012025_18_44_03_128678_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326733771","file1":"1326733768","file0":"1326733765","file3":"1326733774"},"map_files_photo_id_array":[{"photo_id":"1326733771","filename":"file2"},{"photo_id":"1326733768","filename":"file1"},{"photo_id":"1326733765","filename":"file0"},{"photo_id":"1326733774","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326733771":["hashtag1","hashtag2"]},{"1326733765":["hashtag1","hashtag2"]},{"1326733774":["hashtag1","hashtag2"]},{"1326733768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326733771, 1326733765, 1326733774, 1326733768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.362788438797 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:45:22.090012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/44/image_04012025_18_44_03_128678_0003.jpg', '/home/pi/Desktop/images/04012025/18/45/image_04012025_18_45_02_317362_0000.jpg', '/home/pi/Desktop/images/04012025/18/45/image_04012025_18_45_02_317362_0001.jpg', '/home/pi/Desktop/images/04012025/18/45/image_04012025_18_45_02_317362_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/44/image_04012025_18_44_03_128678_0003.jpg
/home/pi/Desktop/images/04012025/18/45/image_04012025_18_45_02_317362_0000.jpg
/home/pi/Desktop/images/04012025/18/45/image_04012025_18_45_02_317362_0001.jpg
/home/pi/Desktop/images/04012025/18/45/image_04012025_18_45_02_317362_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326733784","1326733808","1326733792","1326733782"],"photo_ids_order":["1326733782","1326733784","1326733792","1326733808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d5a7a92b196b9eef6391ba20cb7f1026.jpg","text":"TemporaryFile(/tmp/multipartBody6027481074021985423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012792360,"filename":"image_04012025_18_45_02_317362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d5235c7eb30c8f98f123707895efaab5.jpg","text":"TemporaryFile(/tmp/multipartBody6620825323354720549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012792360,"filename":"image_04012025_18_45_02_317362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9f598fc754de6e16114836c333841c7f.jpg","text":"TemporaryFile(/tmp/multipartBody5905448414567045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012792360,"filename":"image_04012025_18_45_02_317362_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ef29875b0f1aede20031649700066839.jpg","text":"TemporaryFile(/tmp/multipartBody7113649859320357955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012792360,"filename":"image_04012025_18_44_03_128678_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326733792","file1":"1326733784","file0":"1326733782","file3":"1326733808"},"map_files_photo_id_array":[{"photo_id":"1326733792","filename":"file2"},{"photo_id":"1326733784","filename":"file1"},{"photo_id":"1326733782","filename":"file0"},{"photo_id":"1326733808","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326733784":["hashtag1","hashtag2"]},{"1326733808":["hashtag1","hashtag2"]},{"1326733792":["hashtag1","hashtag2"]},{"1326733782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326733784, 1326733808, 1326733792, 1326733782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.37578082084656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:46:02.696634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:46:22.365700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/45/image_04012025_18_45_02_317362_0003.jpg', '/home/pi/Desktop/images/04012025/18/46/image_04012025_18_46_02_510068_0000.jpg', '/home/pi/Desktop/images/04012025/18/46/image_04012025_18_46_02_510068_0001.jpg', '/home/pi/Desktop/images/04012025/18/46/image_04012025_18_46_02_510068_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/45/image_04012025_18_45_02_317362_0003.jpg
/home/pi/Desktop/images/04012025/18/46/image_04012025_18_46_02_510068_0000.jpg
/home/pi/Desktop/images/04012025/18/46/image_04012025_18_46_02_510068_0001.jpg
/home/pi/Desktop/images/04012025/18/46/image_04012025_18_46_02_510068_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326734003","1326734006","1326734008","1326734001"],"photo_ids_order":["1326734001","1326734003","1326734006","1326734008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1cf4a78af69281ba187af057709ebc52.jpg","text":"TemporaryFile(/tmp/multipartBody8013191299531080246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012852784,"filename":"image_04012025_18_46_02_510068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2b0bcc77193639e920701207910e61a4.jpg","text":"TemporaryFile(/tmp/multipartBody5530265002590367810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012852784,"filename":"image_04012025_18_46_02_510068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/213d32e346b6812c59356c7095f243d9.jpg","text":"TemporaryFile(/tmp/multipartBody6604494008037621636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012852784,"filename":"image_04012025_18_46_02_510068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/94675e4531902c093b2219afdbe53926.jpg","text":"TemporaryFile(/tmp/multipartBody7522216960776840561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012852784,"filename":"image_04012025_18_45_02_317362_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326734006","file1":"1326734003","file0":"1326734001","file3":"1326734008"},"map_files_photo_id_array":[{"photo_id":"1326734006","filename":"file2"},{"photo_id":"1326734003","filename":"file1"},{"photo_id":"1326734001","filename":"file0"},{"photo_id":"1326734008","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326734003":["hashtag1","hashtag2"]},{"1326734006":["hashtag1","hashtag2"]},{"1326734008":["hashtag1","hashtag2"]},{"1326734001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326734003, 1326734006, 1326734008, 1326734001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.963423013687134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:47:22.459116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/46/image_04012025_18_46_02_510068_0003.jpg', '/home/pi/Desktop/images/04012025/18/47/image_04012025_18_47_02_601694_0000.jpg', '/home/pi/Desktop/images/04012025/18/47/image_04012025_18_47_02_601694_0001.jpg', '/home/pi/Desktop/images/04012025/18/47/image_04012025_18_47_02_601694_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/46/image_04012025_18_46_02_510068_0003.jpg
/home/pi/Desktop/images/04012025/18/47/image_04012025_18_47_02_601694_0000.jpg
/home/pi/Desktop/images/04012025/18/47/image_04012025_18_47_02_601694_0001.jpg
/home/pi/Desktop/images/04012025/18/47/image_04012025_18_47_02_601694_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326734080","1326734170","1326734224","1326734199"],"photo_ids_order":["1326734080","1326734170","1326734199","1326734224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a15c0787d661f7abc34d3b7f3233734a.jpg","text":"TemporaryFile(/tmp/multipartBody9139261712352995389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012912750,"filename":"image_04012025_18_46_02_510068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f4ab40e29e6c24d7a5a4f62e4c9c4038.jpg","text":"TemporaryFile(/tmp/multipartBody2742977924949123048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012912750,"filename":"image_04012025_18_47_02_601694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c28b15774686c661af4e24831cb8238b.jpg","text":"TemporaryFile(/tmp/multipartBody836029051628279840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012912750,"filename":"image_04012025_18_47_02_601694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ccc18c7ff2179116f9062bc9bbcea518.jpg","text":"TemporaryFile(/tmp/multipartBody2228423689361885416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012912750,"filename":"image_04012025_18_47_02_601694_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326734199","file1":"1326734170","file0":"1326734080","file3":"1326734224"},"map_files_photo_id_array":[{"photo_id":"1326734199","filename":"file2"},{"photo_id":"1326734170","filename":"file1"},{"photo_id":"1326734080","filename":"file0"},{"photo_id":"1326734224","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326734080":["hashtag1","hashtag2"]},{"1326734170":["hashtag1","hashtag2"]},{"1326734224":["hashtag1","hashtag2"]},{"1326734199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326734080, 1326734170, 1326734224, 1326734199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57153391838074 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-04 18:48:22.584457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/47/image_04012025_18_47_02_601694_0003.jpg', '/home/pi/Desktop/images/04012025/18/48/image_04012025_18_48_02_774663_0000.jpg', '/home/pi/Desktop/images/04012025/18/48/image_04012025_18_48_02_774663_0001.jpg', '/home/pi/Desktop/images/04012025/18/48/image_04012025_18_48_02_774663_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/47/image_04012025_18_47_02_601694_0003.jpg
/home/pi/Desktop/images/04012025/18/48/image_04012025_18_48_02_774663_0000.jpg
/home/pi/Desktop/images/04012025/18/48/image_04012025_18_48_02_774663_0001.jpg
/home/pi/Desktop/images/04012025/18/48/image_04012025_18_48_02_774663_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326734429","1326734503","1326734508","1326734474"],"photo_ids_order":["1326734429","1326734474","1326734503","1326734508"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c6666250e5fed2ddffea9af2c43d61d5.jpg","text":"TemporaryFile(/tmp/multipartBody1800937896872908449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012972888,"filename":"image_04012025_18_47_02_601694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1b26c1763659dd54394aef3d4bcb8c5a.jpg","text":"TemporaryFile(/tmp/multipartBody3944615719209834178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012972888,"filename":"image_04012025_18_48_02_774663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/15c36450ec85e543d3a88ae3bcd2b170.jpg","text":"TemporaryFile(/tmp/multipartBody397333312499257448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012972888,"filename":"image_04012025_18_48_02_774663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cda2d246633367c89db20a52a947d2b5.jpg","text":"TemporaryFile(/tmp/multipartBody2790112746150438381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736012972888,"filename":"image_04012025_18_48_02_774663_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326734503","file1":"1326734474","file0":"1326734429","file3":"1326734508"},"map_files_photo_id_array":[{"photo_id":"1326734503","filename":"file2"},{"photo_id":"1326734474","filename":"file1"},{"photo_id":"1326734429","filename":"file0"},{"photo_id":"1326734508","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326734429":["hashtag1","hashtag2"]},{"1326734503":["hashtag1","hashtag2"]},{"1326734508":["hashtag1","hashtag2"]},{"1326734474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326734429, 1326734503, 1326734508, 1326734474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02059245109558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:49:21.910167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/48/image_04012025_18_48_02_774663_0003.jpg', '/home/pi/Desktop/images/04012025/18/49/image_04012025_18_49_02_930801_0000.jpg', '/home/pi/Desktop/images/04012025/18/49/image_04012025_18_49_02_930801_0001.jpg', '/home/pi/Desktop/images/04012025/18/49/image_04012025_18_49_02_930801_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/48/image_04012025_18_48_02_774663_0003.jpg
/home/pi/Desktop/images/04012025/18/49/image_04012025_18_49_02_930801_0000.jpg
/home/pi/Desktop/images/04012025/18/49/image_04012025_18_49_02_930801_0001.jpg
/home/pi/Desktop/images/04012025/18/49/image_04012025_18_49_02_930801_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326734549","1326734546","1326734544","1326734552"],"photo_ids_order":["1326734544","1326734546","1326734549","1326734552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a5d2c66b27b1955464bb0a6b0d90979d.jpg","text":"TemporaryFile(/tmp/multipartBody5999445791893382626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013032295,"filename":"image_04012025_18_49_02_930801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/08af547666f867c479314949aa6e5f80.jpg","text":"TemporaryFile(/tmp/multipartBody6799688125616256329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013032295,"filename":"image_04012025_18_49_02_930801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/766fb40fdf69af6d0a477fb96d98578b.jpg","text":"TemporaryFile(/tmp/multipartBody1207813496821766272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013032295,"filename":"image_04012025_18_48_02_774663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b6cce4a03319dae4fcb8c2903fd083a.jpg","text":"TemporaryFile(/tmp/multipartBody4153104439154574677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013032295,"filename":"image_04012025_18_49_02_930801_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326734549","file1":"1326734546","file0":"1326734544","file3":"1326734552"},"map_files_photo_id_array":[{"photo_id":"1326734549","filename":"file2"},{"photo_id":"1326734546","filename":"file1"},{"photo_id":"1326734544","filename":"file0"},{"photo_id":"1326734552","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326734549":["hashtag1","hashtag2"]},{"1326734546":["hashtag1","hashtag2"]},{"1326734544":["hashtag1","hashtag2"]},{"1326734552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326734549, 1326734546, 1326734544, 1326734552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77241778373718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:50:02.280416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:50:21.991321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/49/image_04012025_18_49_02_930801_0003.jpg', '/home/pi/Desktop/images/04012025/18/50/image_04012025_18_50_02_203531_0000.jpg', '/home/pi/Desktop/images/04012025/18/50/image_04012025_18_50_02_203531_0001.jpg', '/home/pi/Desktop/images/04012025/18/50/image_04012025_18_50_02_203531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/49/image_04012025_18_49_02_930801_0003.jpg
/home/pi/Desktop/images/04012025/18/50/image_04012025_18_50_02_203531_0000.jpg
/home/pi/Desktop/images/04012025/18/50/image_04012025_18_50_02_203531_0001.jpg
/home/pi/Desktop/images/04012025/18/50/image_04012025_18_50_02_203531_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326734566","1326734569","1326734560","1326734562"],"photo_ids_order":["1326734560","1326734562","1326734566","1326734569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f9513456b1dd791ba1e4f8db08b77074.jpg","text":"TemporaryFile(/tmp/multipartBody1038323604559945236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013092213,"filename":"image_04012025_18_50_02_203531_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cd5fc1f03ce35f364c4e598cf7fe89e8.jpg","text":"TemporaryFile(/tmp/multipartBody3039608636848692223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013092213,"filename":"image_04012025_18_50_02_203531_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/37c76cc60059cfa41e0f09a854408951.jpg","text":"TemporaryFile(/tmp/multipartBody3036777895747696993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013092213,"filename":"image_04012025_18_49_02_930801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0dd742527d95414774081601fe3891d0.jpg","text":"TemporaryFile(/tmp/multipartBody4341479214481248767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013092213,"filename":"image_04012025_18_50_02_203531_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326734566","file1":"1326734562","file0":"1326734560","file3":"1326734569"},"map_files_photo_id_array":[{"photo_id":"1326734566","filename":"file2"},{"photo_id":"1326734562","filename":"file1"},{"photo_id":"1326734560","filename":"file0"},{"photo_id":"1326734569","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326734566":["hashtag1","hashtag2"]},{"1326734569":["hashtag1","hashtag2"]},{"1326734560":["hashtag1","hashtag2"]},{"1326734562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326734566, 1326734569, 1326734560, 1326734562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9873480796814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:51:02.751457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:51:22.064585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/50/image_04012025_18_50_02_203531_0003.jpg', '/home/pi/Desktop/images/04012025/18/51/image_04012025_18_51_02_332120_0000.jpg', '/home/pi/Desktop/images/04012025/18/51/image_04012025_18_51_02_332120_0001.jpg', '/home/pi/Desktop/images/04012025/18/51/image_04012025_18_51_02_332120_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/50/image_04012025_18_50_02_203531_0003.jpg
/home/pi/Desktop/images/04012025/18/51/image_04012025_18_51_02_332120_0000.jpg
/home/pi/Desktop/images/04012025/18/51/image_04012025_18_51_02_332120_0001.jpg
/home/pi/Desktop/images/04012025/18/51/image_04012025_18_51_02_332120_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326734959","1326734950","1326734952","1326734961"],"photo_ids_order":["1326734950","1326734952","1326734959","1326734961"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/95e3a8e64e2dc46bb8b395e22f756023.jpg","text":"TemporaryFile(/tmp/multipartBody2272609711981293512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013152302,"filename":"image_04012025_18_51_02_332120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/514159177fe9ad3fca62242d14082ec9.jpg","text":"TemporaryFile(/tmp/multipartBody2994916220265480342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013152302,"filename":"image_04012025_18_50_02_203531_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/080375abf4cdb2e5f3c8d7579954fec9.jpg","text":"TemporaryFile(/tmp/multipartBody8130010589329337397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013152302,"filename":"image_04012025_18_51_02_332120_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d10ce2224912655851e39587236aa561.jpg","text":"TemporaryFile(/tmp/multipartBody6463847501076574941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013152302,"filename":"image_04012025_18_51_02_332120_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326734959","file1":"1326734952","file0":"1326734950","file3":"1326734961"},"map_files_photo_id_array":[{"photo_id":"1326734959","filename":"file2"},{"photo_id":"1326734952","filename":"file1"},{"photo_id":"1326734950","filename":"file0"},{"photo_id":"1326734961","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326734959":["hashtag1","hashtag2"]},{"1326734950":["hashtag1","hashtag2"]},{"1326734952":["hashtag1","hashtag2"]},{"1326734961":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326734959, 1326734950, 1326734952, 1326734961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.255677700042725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:52:02.631275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:52:22.257960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/51/image_04012025_18_51_02_332120_0003.jpg', '/home/pi/Desktop/images/04012025/18/52/image_04012025_18_52_02_466098_0000.jpg', '/home/pi/Desktop/images/04012025/18/52/image_04012025_18_52_02_466098_0001.jpg', '/home/pi/Desktop/images/04012025/18/52/image_04012025_18_52_02_466098_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/51/image_04012025_18_51_02_332120_0003.jpg
/home/pi/Desktop/images/04012025/18/52/image_04012025_18_52_02_466098_0000.jpg
/home/pi/Desktop/images/04012025/18/52/image_04012025_18_52_02_466098_0001.jpg
/home/pi/Desktop/images/04012025/18/52/image_04012025_18_52_02_466098_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326735435","1326735378","1326735351","1326735353"],"photo_ids_order":["1326735351","1326735353","1326735378","1326735435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b98c0cf77c967296b3db2ce9bfa99685.jpg","text":"TemporaryFile(/tmp/multipartBody6772977644128035405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013212671,"filename":"image_04012025_18_52_02_466098_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d28442610fe81b96e4a909bd68c83595.jpg","text":"TemporaryFile(/tmp/multipartBody8553572438916987803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013212671,"filename":"image_04012025_18_52_02_466098_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af2be3f50c64849b1f0de7230c178811.jpg","text":"TemporaryFile(/tmp/multipartBody8242006381181636866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013212671,"filename":"image_04012025_18_51_02_332120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a83c54265dc7c5db49a27d68a5a6e83a.jpg","text":"TemporaryFile(/tmp/multipartBody8325183370351490445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013212671,"filename":"image_04012025_18_52_02_466098_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326735378","file1":"1326735353","file0":"1326735351","file3":"1326735435"},"map_files_photo_id_array":[{"photo_id":"1326735378","filename":"file2"},{"photo_id":"1326735353","filename":"file1"},{"photo_id":"1326735351","filename":"file0"},{"photo_id":"1326735435","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326735435":["hashtag1","hashtag2"]},{"1326735378":["hashtag1","hashtag2"]},{"1326735351":["hashtag1","hashtag2"]},{"1326735353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326735435, 1326735378, 1326735351, 1326735353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.749499797821045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:53:03.102242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:53:22.517962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/52/image_04012025_18_52_02_466098_0003.jpg', '/home/pi/Desktop/images/04012025/18/53/image_04012025_18_53_02_669290_0000.jpg', '/home/pi/Desktop/images/04012025/18/53/image_04012025_18_53_02_669290_0001.jpg', '/home/pi/Desktop/images/04012025/18/53/image_04012025_18_53_02_669290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/52/image_04012025_18_52_02_466098_0003.jpg
/home/pi/Desktop/images/04012025/18/53/image_04012025_18_53_02_669290_0000.jpg
/home/pi/Desktop/images/04012025/18/53/image_04012025_18_53_02_669290_0001.jpg
/home/pi/Desktop/images/04012025/18/53/image_04012025_18_53_02_669290_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326735835","1326735832","1326735795","1326735825"],"photo_ids_order":["1326735795","1326735825","1326735832","1326735835"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/534f32d2785f1db2c3270aadb0e06c8f.jpg","text":"TemporaryFile(/tmp/multipartBody8689645704348381325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013272830,"filename":"image_04012025_18_53_02_669290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/26ed8cbecc392fc4bb076665bb8b15aa.jpg","text":"TemporaryFile(/tmp/multipartBody3276705267607946536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013272830,"filename":"image_04012025_18_53_02_669290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/919fad6874f7d7185f3285555d4a6e3e.jpg","text":"TemporaryFile(/tmp/multipartBody7553483158582922497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013272830,"filename":"image_04012025_18_52_02_466098_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1c7bb5ac277eff4190776ddd692dd973.jpg","text":"TemporaryFile(/tmp/multipartBody2407924083219014886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013272830,"filename":"image_04012025_18_53_02_669290_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326735832","file1":"1326735825","file0":"1326735795","file3":"1326735835"},"map_files_photo_id_array":[{"photo_id":"1326735832","filename":"file2"},{"photo_id":"1326735825","filename":"file1"},{"photo_id":"1326735795","filename":"file0"},{"photo_id":"1326735835","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326735835":["hashtag1","hashtag2"]},{"1326735832":["hashtag1","hashtag2"]},{"1326735795":["hashtag1","hashtag2"]},{"1326735825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326735835, 1326735832, 1326735795, 1326735825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1765570640564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:54:02.899524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:54:22.556733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/53/image_04012025_18_53_02_669290_0003.jpg', '/home/pi/Desktop/images/04012025/18/54/image_04012025_18_54_02_792038_0000.jpg', '/home/pi/Desktop/images/04012025/18/54/image_04012025_18_54_02_792038_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/53/image_04012025_18_53_02_669290_0003.jpg
/home/pi/Desktop/images/04012025/18/54/image_04012025_18_54_02_792038_0000.jpg
/home/pi/Desktop/images/04012025/18/54/image_04012025_18_54_02_792038_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":["1326735844","1326735846","1326735842"],"photo_ids_order":["1326735842","1326735844","1326735846"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/58d53cbb2cbddddee9211d95fa304e42.jpg","text":"TemporaryFile(/tmp/multipartBody6936796281104313505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013330525,"filename":"image_04012025_18_54_02_792038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0f8d9890896d8ab46790d4723ff3b81.jpg","text":"TemporaryFile(/tmp/multipartBody8673639480372986531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013330525,"filename":"image_04012025_18_54_02_792038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4749981a96156cd6e4e5e5e2d5496a29.jpg","text":"TemporaryFile(/tmp/multipartBody6508543350113705192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013330525,"filename":"image_04012025_18_53_02_669290_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326735846","file1":"1326735844","file0":"1326735842"},"map_files_photo_id_array":[{"photo_id":"1326735846","filename":"file2"},{"photo_id":"1326735844","filename":"file1"},{"photo_id":"1326735842","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326735844":["hashtag1","hashtag2"]},{"1326735846":["hashtag1","hashtag2"]},{"1326735842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326735844, 1326735846, 1326735842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.99526858329773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 18:55:03.479056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:55:22.741981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/54/image_04012025_18_54_02_792038_0002.jpg', '/home/pi/Desktop/images/04012025/18/55/image_04012025_18_55_02_946045_0000.jpg', '/home/pi/Desktop/images/04012025/18/55/image_04012025_18_55_02_946045_0001.jpg', '/home/pi/Desktop/images/04012025/18/55/image_04012025_18_55_02_946045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/54/image_04012025_18_54_02_792038_0002.jpg
/home/pi/Desktop/images/04012025/18/55/image_04012025_18_55_02_946045_0000.jpg
/home/pi/Desktop/images/04012025/18/55/image_04012025_18_55_02_946045_0001.jpg
/home/pi/Desktop/images/04012025/18/55/image_04012025_18_55_02_946045_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326736290","1326736283","1326736286","1326736288"],"photo_ids_order":["1326736283","1326736286","1326736288","1326736290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af601a6a74c9ddd1acccf70a1fa37e35.jpg","text":"TemporaryFile(/tmp/multipartBody4562138298476720585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013392998,"filename":"image_04012025_18_55_02_946045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b91577c45ed26b16c324cc064baab4b2.jpg","text":"TemporaryFile(/tmp/multipartBody5585197556205012411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013392998,"filename":"image_04012025_18_54_02_792038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/01190a260a942268c74cf3ed21df2934.jpg","text":"TemporaryFile(/tmp/multipartBody6131915549135111784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013392998,"filename":"image_04012025_18_55_02_946045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49e7cc51b4f2d38faed72cb0bb007eb1.jpg","text":"TemporaryFile(/tmp/multipartBody4136090618990931600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013392998,"filename":"image_04012025_18_55_02_946045_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326736288","file1":"1326736286","file0":"1326736283","file3":"1326736290"},"map_files_photo_id_array":[{"photo_id":"1326736288","filename":"file2"},{"photo_id":"1326736286","filename":"file1"},{"photo_id":"1326736283","filename":"file0"},{"photo_id":"1326736290","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326736290":["hashtag1","hashtag2"]},{"1326736283":["hashtag1","hashtag2"]},{"1326736286":["hashtag1","hashtag2"]},{"1326736288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326736290, 1326736283, 1326736286, 1326736288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.80285596847534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:56:22.036028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/55/image_04012025_18_55_02_946045_0003.jpg', '/home/pi/Desktop/images/04012025/18/56/image_04012025_18_56_03_095947_0000.jpg', '/home/pi/Desktop/images/04012025/18/56/image_04012025_18_56_03_095947_0001.jpg', '/home/pi/Desktop/images/04012025/18/56/image_04012025_18_56_03_095947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/55/image_04012025_18_55_02_946045_0003.jpg
/home/pi/Desktop/images/04012025/18/56/image_04012025_18_56_03_095947_0000.jpg
/home/pi/Desktop/images/04012025/18/56/image_04012025_18_56_03_095947_0001.jpg
/home/pi/Desktop/images/04012025/18/56/image_04012025_18_56_03_095947_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326736300","1326736776","1326736619","1326736297"],"photo_ids_order":["1326736297","1326736300","1326736619","1326736776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e06946c8d78d7ec56877686285f8ec3d.jpg","text":"TemporaryFile(/tmp/multipartBody5853117232976813115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013452513,"filename":"image_04012025_18_56_03_095947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3557050875cfbb299f8d071b9d60074d.jpg","text":"TemporaryFile(/tmp/multipartBody255177266405416574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013452513,"filename":"image_04012025_18_56_03_095947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ef8342e0c4ea6e045a901b72e2ed137.jpg","text":"TemporaryFile(/tmp/multipartBody7537192215989996491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013452513,"filename":"image_04012025_18_56_03_095947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9c28f2d2c1c3d75a07446ce80ce7a0a7.jpg","text":"TemporaryFile(/tmp/multipartBody875004225581746117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013452513,"filename":"image_04012025_18_55_02_946045_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326736619","file1":"1326736300","file0":"1326736297","file3":"1326736776"},"map_files_photo_id_array":[{"photo_id":"1326736619","filename":"file2"},{"photo_id":"1326736300","filename":"file1"},{"photo_id":"1326736297","filename":"file0"},{"photo_id":"1326736776","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326736300":["hashtag1","hashtag2"]},{"1326736776":["hashtag1","hashtag2"]},{"1326736619":["hashtag1","hashtag2"]},{"1326736297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326736300, 1326736776, 1326736619, 1326736297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.93535137176514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 18:57:22.224730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/56/image_04012025_18_56_03_095947_0003.jpg', '/home/pi/Desktop/images/04012025/18/57/image_04012025_18_57_02_403249_0000.jpg', '/home/pi/Desktop/images/04012025/18/57/image_04012025_18_57_02_403249_0001.jpg', '/home/pi/Desktop/images/04012025/18/57/image_04012025_18_57_02_403249_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/56/image_04012025_18_56_03_095947_0003.jpg
/home/pi/Desktop/images/04012025/18/57/image_04012025_18_57_02_403249_0000.jpg
/home/pi/Desktop/images/04012025/18/57/image_04012025_18_57_02_403249_0001.jpg
/home/pi/Desktop/images/04012025/18/57/image_04012025_18_57_02_403249_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-04 18:59:03.135816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/56/image_04012025_18_56_03_095947_0003.jpg', '/home/pi/Desktop/images/04012025/18/57/image_04012025_18_57_02_403249_0000.jpg', '/home/pi/Desktop/images/04012025/18/57/image_04012025_18_57_02_403249_0001.jpg', '/home/pi/Desktop/images/04012025/18/57/image_04012025_18_57_02_403249_0002.jpg', '/home/pi/Desktop/images/04012025/18/57/image_04012025_18_57_02_403249_0003.jpg', '/home/pi/Desktop/images/04012025/18/58/image_04012025_18_58_02_534109_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/56/image_04012025_18_56_03_095947_0003.jpg
/home/pi/Desktop/images/04012025/18/57/image_04012025_18_57_02_403249_0000.jpg
/home/pi/Desktop/images/04012025/18/57/image_04012025_18_57_02_403249_0001.jpg
/home/pi/Desktop/images/04012025/18/57/image_04012025_18_57_02_403249_0002.jpg
/home/pi/Desktop/images/04012025/18/57/image_04012025_18_57_02_403249_0003.jpg
/home/pi/Desktop/images/04012025/18/58/image_04012025_18_58_02_534109_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":["1326738873","1326738954","1326738956","1326738818","1326738926","1326738870"],"photo_ids_order":["1326738818","1326738870","1326738873","1326738926","1326738954","1326738956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cd6539913b52c459713dbc43a735df75.jpg","text":"TemporaryFile(/tmp/multipartBody8779299541600342451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013617959,"filename":"image_04012025_18_57_02_403249_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9eee08a91da91b42e17c0a410552f034.jpg","text":"TemporaryFile(/tmp/multipartBody6451551850152889239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013617959,"filename":"image_04012025_18_57_02_403249_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8803f6fc16f771cb246a6ccf1a2f592e.jpg","text":"TemporaryFile(/tmp/multipartBody6172396722259369586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013617959,"filename":"image_04012025_18_58_02_534109_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/047eee2478201e3a7a2d087a9a782ff4.jpg","text":"TemporaryFile(/tmp/multipartBody7869303723300092316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013617959,"filename":"image_04012025_18_56_03_095947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1bda25d4bb6a1bce5dd3fdafb203c05c.jpg","text":"TemporaryFile(/tmp/multipartBody5667228536288894384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013617959,"filename":"image_04012025_18_57_02_403249_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/530edbb62cb0683c05da100b3db47582.jpg","text":"TemporaryFile(/tmp/multipartBody4751230330915007798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013617959,"filename":"image_04012025_18_57_02_403249_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326738873","file1":"1326738870","file0":"1326738818","file4":"1326738954","file5":"1326738956","file3":"1326738926"},"map_files_photo_id_array":[{"photo_id":"1326738956","filename":"file5"},{"photo_id":"1326738873","filename":"file2"},{"photo_id":"1326738954","filename":"file4"},{"photo_id":"1326738870","filename":"file1"},{"photo_id":"1326738818","filename":"file0"},{"photo_id":"1326738926","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326738873":["hashtag1","hashtag2"]},{"1326738954":["hashtag1","hashtag2"]},{"1326738956":["hashtag1","hashtag2"]},{"1326738818":["hashtag1","hashtag2"]},{"1326738926":["hashtag1","hashtag2"]},{"1326738870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326738873, 1326738954, 1326738956, 1326738818, 1326738926, 1326738870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.864866495132446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:00:03.062483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/58/image_04012025_18_58_02_534109_0001.jpg', '/home/pi/Desktop/images/04012025/18/58/image_04012025_18_58_02_534109_0002.jpg', '/home/pi/Desktop/images/04012025/18/58/image_04012025_18_58_02_534109_0003.jpg', '/home/pi/Desktop/images/04012025/18/59/image_04012025_18_59_02_674741_0000.jpg', '/home/pi/Desktop/images/04012025/18/59/image_04012025_18_59_02_674741_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/58/image_04012025_18_58_02_534109_0001.jpg
/home/pi/Desktop/images/04012025/18/58/image_04012025_18_58_02_534109_0002.jpg
/home/pi/Desktop/images/04012025/18/58/image_04012025_18_58_02_534109_0003.jpg
/home/pi/Desktop/images/04012025/18/59/image_04012025_18_59_02_674741_0000.jpg
/home/pi/Desktop/images/04012025/18/59/image_04012025_18_59_02_674741_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":["1326738972","1326738968","1326738977","1326738964","1326738978"],"photo_ids_order":["1326738964","1326738968","1326738972","1326738977","1326738978"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/209ae44d98ab76038f5d34618249cb90.jpg","text":"TemporaryFile(/tmp/multipartBody4651352488721705267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013675648,"filename":"image_04012025_18_58_02_534109_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f0e270391202009085ca9aeea3e4c6e.jpg","text":"TemporaryFile(/tmp/multipartBody1577993162658526325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013675648,"filename":"image_04012025_18_58_02_534109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/401f2a23be59473743751c50f9f93147.jpg","text":"TemporaryFile(/tmp/multipartBody6565961564681673362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013675648,"filename":"image_04012025_18_59_02_674741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/817f76768fb2e267f694c4d846e1f506.jpg","text":"TemporaryFile(/tmp/multipartBody5299713510822785907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013675648,"filename":"image_04012025_18_58_02_534109_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9226aaadcbff8ecaa549ac7d612186a9.jpg","text":"TemporaryFile(/tmp/multipartBody4968595810962074485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013675648,"filename":"image_04012025_18_59_02_674741_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326738972","file1":"1326738968","file0":"1326738964","file4":"1326738978","file3":"1326738977"},"map_files_photo_id_array":[{"photo_id":"1326738972","filename":"file2"},{"photo_id":"1326738978","filename":"file4"},{"photo_id":"1326738968","filename":"file1"},{"photo_id":"1326738964","filename":"file0"},{"photo_id":"1326738977","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326738972":["hashtag1","hashtag2"]},{"1326738968":["hashtag1","hashtag2"]},{"1326738977":["hashtag1","hashtag2"]},{"1326738964":["hashtag1","hashtag2"]},{"1326738978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326738972, 1326738968, 1326738977, 1326738964, 1326738978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.81408476829529 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 19:00:52.558339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/18/59/image_04012025_18_59_02_674741_0002.jpg', '/home/pi/Desktop/images/04012025/19/00/image_04012025_19_00_02_743953_0000.jpg', '/home/pi/Desktop/images/04012025/19/00/image_04012025_19_00_02_743953_0001.jpg', '/home/pi/Desktop/images/04012025/19/00/image_04012025_19_00_02_743953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/18/59/image_04012025_18_59_02_674741_0002.jpg
/home/pi/Desktop/images/04012025/19/00/image_04012025_19_00_02_743953_0000.jpg
/home/pi/Desktop/images/04012025/19/00/image_04012025_19_00_02_743953_0001.jpg
/home/pi/Desktop/images/04012025/19/00/image_04012025_19_00_02_743953_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326739020","1326738992","1326739019","1326738990"],"photo_ids_order":["1326738990","1326738992","1326739019","1326739020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85f7a5deb1a8126b929861d8009c625b.jpg","text":"TemporaryFile(/tmp/multipartBody5881477531129262114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013722547,"filename":"image_04012025_19_00_02_743953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d642112fc7db1704d526c8a65b7b1c0b.jpg","text":"TemporaryFile(/tmp/multipartBody1588981126375687735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013722547,"filename":"image_04012025_19_00_02_743953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3f63bd10c0f0561fbb39500359e4d410.jpg","text":"TemporaryFile(/tmp/multipartBody4698789605470380657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013722547,"filename":"image_04012025_19_00_02_743953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/702a4f78dd39c98c2374dddd38ff6faa.jpg","text":"TemporaryFile(/tmp/multipartBody4030028604848577771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013722547,"filename":"image_04012025_18_59_02_674741_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326739019","file1":"1326738992","file0":"1326738990","file3":"1326739020"},"map_files_photo_id_array":[{"photo_id":"1326739019","filename":"file2"},{"photo_id":"1326738992","filename":"file1"},{"photo_id":"1326738990","filename":"file0"},{"photo_id":"1326739020","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326739020":["hashtag1","hashtag2"]},{"1326738992":["hashtag1","hashtag2"]},{"1326739019":["hashtag1","hashtag2"]},{"1326738990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326739020, 1326738992, 1326739019, 1326738990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44174265861511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 19:01:32.798146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/00/image_04012025_19_00_02_743953_0003.jpg', '/home/pi/Desktop/images/04012025/19/01/image_04012025_19_01_02_940965_0000.jpg', '/home/pi/Desktop/images/04012025/19/01/image_04012025_19_01_02_940965_0001.jpg', '/home/pi/Desktop/images/04012025/19/01/image_04012025_19_01_02_940965_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/00/image_04012025_19_00_02_743953_0003.jpg
/home/pi/Desktop/images/04012025/19/01/image_04012025_19_01_02_940965_0000.jpg
/home/pi/Desktop/images/04012025/19/01/image_04012025_19_01_02_940965_0001.jpg
/home/pi/Desktop/images/04012025/19/01/image_04012025_19_01_02_940965_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326739574","1326739577","1326739579","1326739651"],"photo_ids_order":["1326739574","1326739577","1326739579","1326739651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce7d12be19c71ba589362e2e07c61724.jpg","text":"TemporaryFile(/tmp/multipartBody1291585943610780676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013762803,"filename":"image_04012025_19_00_02_743953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4e6b6fe02db6c5fd75aab0f4ffb65f32.jpg","text":"TemporaryFile(/tmp/multipartBody2501480690417173064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013762803,"filename":"image_04012025_19_01_02_940965_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2425c014da461db8041a2c5d6834b89b.jpg","text":"TemporaryFile(/tmp/multipartBody3264319159571551110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013762803,"filename":"image_04012025_19_01_02_940965_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/21e7bb10b3263ab63f1048561d59a7ac.jpg","text":"TemporaryFile(/tmp/multipartBody3523940943601959421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013762803,"filename":"image_04012025_19_01_02_940965_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326739579","file1":"1326739577","file0":"1326739574","file3":"1326739651"},"map_files_photo_id_array":[{"photo_id":"1326739579","filename":"file2"},{"photo_id":"1326739577","filename":"file1"},{"photo_id":"1326739574","filename":"file0"},{"photo_id":"1326739651","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326739574":["hashtag1","hashtag2"]},{"1326739577":["hashtag1","hashtag2"]},{"1326739579":["hashtag1","hashtag2"]},{"1326739651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326739574, 1326739577, 1326739579, 1326739651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.867225646972656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:02:22.014057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/01/image_04012025_19_01_02_940965_0003.jpg', '/home/pi/Desktop/images/04012025/19/02/image_04012025_19_02_03_127974_0000.jpg', '/home/pi/Desktop/images/04012025/19/02/image_04012025_19_02_03_127974_0001.jpg', '/home/pi/Desktop/images/04012025/19/02/image_04012025_19_02_03_127974_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/01/image_04012025_19_01_02_940965_0003.jpg
/home/pi/Desktop/images/04012025/19/02/image_04012025_19_02_03_127974_0000.jpg
/home/pi/Desktop/images/04012025/19/02/image_04012025_19_02_03_127974_0001.jpg
/home/pi/Desktop/images/04012025/19/02/image_04012025_19_02_03_127974_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326740294","1326740341","1326740344","1326739932"],"photo_ids_order":["1326739932","1326740294","1326740341","1326740344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1a245abb69e0d05d7a0670f35a0b6865.jpg","text":"TemporaryFile(/tmp/multipartBody158332322892990236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013812148,"filename":"image_04012025_19_02_03_127974_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5dfd68e709b80bbb7ca2f0bf30c40bba.jpg","text":"TemporaryFile(/tmp/multipartBody693299229354684567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013812148,"filename":"image_04012025_19_02_03_127974_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f03bee79a0f38e192518186a3f7243f5.jpg","text":"TemporaryFile(/tmp/multipartBody7953410590334662077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013812148,"filename":"image_04012025_19_02_03_127974_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/42a363c6f45142976e9631aace7c08be.jpg","text":"TemporaryFile(/tmp/multipartBody2099909145578576672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013812148,"filename":"image_04012025_19_01_02_940965_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326740341","file1":"1326740294","file0":"1326739932","file3":"1326740344"},"map_files_photo_id_array":[{"photo_id":"1326740341","filename":"file2"},{"photo_id":"1326740294","filename":"file1"},{"photo_id":"1326739932","filename":"file0"},{"photo_id":"1326740344","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326740294":["hashtag1","hashtag2"]},{"1326740341":["hashtag1","hashtag2"]},{"1326740344":["hashtag1","hashtag2"]},{"1326739932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326740294, 1326740341, 1326740344, 1326739932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.146642446517944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:03:02.765918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:03:22.115147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/02/image_04012025_19_02_03_127974_0003.jpg', '/home/pi/Desktop/images/04012025/19/03/image_04012025_19_03_02_307994_0000.jpg', '/home/pi/Desktop/images/04012025/19/03/image_04012025_19_03_02_307994_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/02/image_04012025_19_02_03_127974_0003.jpg
/home/pi/Desktop/images/04012025/19/03/image_04012025_19_03_02_307994_0000.jpg
/home/pi/Desktop/images/04012025/19/03/image_04012025_19_03_02_307994_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":["1326741094","1326740546","1326740704"],"photo_ids_order":["1326740546","1326740704","1326741094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/727c92f46db29679e3f707d41bb21613.jpg","text":"TemporaryFile(/tmp/multipartBody5806101444556377084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013869894,"filename":"image_04012025_19_03_02_307994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9e84d12fddc356ddaee5d918d460d0e0.jpg","text":"TemporaryFile(/tmp/multipartBody9001314684526966956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013869894,"filename":"image_04012025_19_02_03_127974_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c3b5a5de69d81419a2c01ea39feb5c67.jpg","text":"TemporaryFile(/tmp/multipartBody6042783132077853985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013869894,"filename":"image_04012025_19_03_02_307994_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326741094","file1":"1326740704","file0":"1326740546"},"map_files_photo_id_array":[{"photo_id":"1326741094","filename":"file2"},{"photo_id":"1326740704","filename":"file1"},{"photo_id":"1326740546","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326741094":["hashtag1","hashtag2"]},{"1326740546":["hashtag1","hashtag2"]},{"1326740704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326741094, 1326740546, 1326740704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.7124285697937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:04:02.805644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:04:22.338921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/03/image_04012025_19_03_02_307994_0003.jpg', '/home/pi/Desktop/images/04012025/19/04/image_04012025_19_04_02_516394_0000.jpg', '/home/pi/Desktop/images/04012025/19/04/image_04012025_19_04_02_516394_0001.jpg', '/home/pi/Desktop/images/04012025/19/04/image_04012025_19_04_02_516394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/03/image_04012025_19_03_02_307994_0003.jpg
/home/pi/Desktop/images/04012025/19/04/image_04012025_19_04_02_516394_0000.jpg
/home/pi/Desktop/images/04012025/19/04/image_04012025_19_04_02_516394_0001.jpg
/home/pi/Desktop/images/04012025/19/04/image_04012025_19_04_02_516394_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326742010","1326742007","1326741973","1326741897"],"photo_ids_order":["1326741897","1326741973","1326742007","1326742010"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c2aa814997ad0fb4a730005d05ac3b43.jpg","text":"TemporaryFile(/tmp/multipartBody7335451007009995622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013932616,"filename":"image_04012025_19_04_02_516394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/700370075693cfb9c6fea20ae233abe1.jpg","text":"TemporaryFile(/tmp/multipartBody5970799621658886760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013932616,"filename":"image_04012025_19_04_02_516394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1f1b9ab2f03ce19a7de916ea0a61cc01.jpg","text":"TemporaryFile(/tmp/multipartBody8897454234772135991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013932616,"filename":"image_04012025_19_04_02_516394_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2503ba1b03775271a80beca94816397e.jpg","text":"TemporaryFile(/tmp/multipartBody5138207339024023836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013932616,"filename":"image_04012025_19_03_02_307994_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326742007","file1":"1326741973","file0":"1326741897","file3":"1326742010"},"map_files_photo_id_array":[{"photo_id":"1326742007","filename":"file2"},{"photo_id":"1326741973","filename":"file1"},{"photo_id":"1326741897","filename":"file0"},{"photo_id":"1326742010","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326742010":["hashtag1","hashtag2"]},{"1326742007":["hashtag1","hashtag2"]},{"1326741973":["hashtag1","hashtag2"]},{"1326741897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326742010, 1326742007, 1326741973, 1326741897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26131725311279 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:05:03.084417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:05:22.428858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/04/image_04012025_19_04_02_516394_0003.jpg', '/home/pi/Desktop/images/04012025/19/05/image_04012025_19_05_02_673534_0000.jpg', '/home/pi/Desktop/images/04012025/19/05/image_04012025_19_05_02_673534_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/04/image_04012025_19_04_02_516394_0003.jpg
/home/pi/Desktop/images/04012025/19/05/image_04012025_19_05_02_673534_0000.jpg
/home/pi/Desktop/images/04012025/19/05/image_04012025_19_05_02_673534_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":["1326742019","1326742018","1326742017"],"photo_ids_order":["1326742017","1326742018","1326742019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2bf4d7ada4cbf7be6ca142657da529c4.jpg","text":"TemporaryFile(/tmp/multipartBody1817384486125717735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013990287,"filename":"image_04012025_19_05_02_673534_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/386912f015d81ed34c3c4c25c35aafde.jpg","text":"TemporaryFile(/tmp/multipartBody2279198562798286902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013990287,"filename":"image_04012025_19_05_02_673534_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/90d2f49b7dfc781501b099ed1656989b.jpg","text":"TemporaryFile(/tmp/multipartBody3654113420208420691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736013990287,"filename":"image_04012025_19_04_02_516394_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326742019","file1":"1326742018","file0":"1326742017"},"map_files_photo_id_array":[{"photo_id":"1326742019","filename":"file2"},{"photo_id":"1326742018","filename":"file1"},{"photo_id":"1326742017","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326742019":["hashtag1","hashtag2"]},{"1326742018":["hashtag1","hashtag2"]},{"1326742017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326742019, 1326742018, 1326742017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.97332191467285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:06:02.960579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:06:22.709904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/05/image_04012025_19_05_02_673534_0002.jpg', '/home/pi/Desktop/images/04012025/19/06/image_04012025_19_06_02_768860_0000.jpg', '/home/pi/Desktop/images/04012025/19/06/image_04012025_19_06_02_768860_0001.jpg', '/home/pi/Desktop/images/04012025/19/06/image_04012025_19_06_02_768860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/05/image_04012025_19_05_02_673534_0002.jpg
/home/pi/Desktop/images/04012025/19/06/image_04012025_19_06_02_768860_0000.jpg
/home/pi/Desktop/images/04012025/19/06/image_04012025_19_06_02_768860_0001.jpg
/home/pi/Desktop/images/04012025/19/06/image_04012025_19_06_02_768860_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326742780","1326742788","1326742698","1326742778"],"photo_ids_order":["1326742698","1326742778","1326742780","1326742788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9f2162965ba0faec5b940b3ec0e44925.jpg","text":"TemporaryFile(/tmp/multipartBody3163752696686898471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014052981,"filename":"image_04012025_19_06_02_768860_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fdee75c4e807063f8af1a1de0628648a.jpg","text":"TemporaryFile(/tmp/multipartBody800702073997872199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014052981,"filename":"image_04012025_19_06_02_768860_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3397905d926fff93b8ce92bae648d74a.jpg","text":"TemporaryFile(/tmp/multipartBody7383645755492959828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014052981,"filename":"image_04012025_19_05_02_673534_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7acca9780802280c8952ef29d717e78b.jpg","text":"TemporaryFile(/tmp/multipartBody56800911354113322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014052981,"filename":"image_04012025_19_06_02_768860_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326742780","file1":"1326742778","file0":"1326742698","file3":"1326742788"},"map_files_photo_id_array":[{"photo_id":"1326742780","filename":"file2"},{"photo_id":"1326742778","filename":"file1"},{"photo_id":"1326742698","filename":"file0"},{"photo_id":"1326742788","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326742780":["hashtag1","hashtag2"]},{"1326742788":["hashtag1","hashtag2"]},{"1326742698":["hashtag1","hashtag2"]},{"1326742778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326742780, 1326742788, 1326742698, 1326742778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.82093358039856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:07:21.879709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/06/image_04012025_19_06_02_768860_0003.jpg', '/home/pi/Desktop/images/04012025/19/07/image_04012025_19_07_02_968141_0000.jpg', '/home/pi/Desktop/images/04012025/19/07/image_04012025_19_07_02_968141_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/06/image_04012025_19_06_02_768860_0003.jpg
/home/pi/Desktop/images/04012025/19/07/image_04012025_19_07_02_968141_0000.jpg
/home/pi/Desktop/images/04012025/19/07/image_04012025_19_07_02_968141_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":["1326743758","1326743682","1326743684"],"photo_ids_order":["1326743682","1326743684","1326743758"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6610a06d87bd6f0c21caca4f7c3fb0fb.jpg","text":"TemporaryFile(/tmp/multipartBody8703608698813699243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014109815,"filename":"image_04012025_19_07_02_968141_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/815245543b8d4081641475765da49698.jpg","text":"TemporaryFile(/tmp/multipartBody7383099802940297854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014109815,"filename":"image_04012025_19_06_02_768860_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4412da68a313c2e2a32721025a45d07f.jpg","text":"TemporaryFile(/tmp/multipartBody4737033524062270505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014109815,"filename":"image_04012025_19_07_02_968141_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326743758","file1":"1326743684","file0":"1326743682"},"map_files_photo_id_array":[{"photo_id":"1326743758","filename":"file2"},{"photo_id":"1326743684","filename":"file1"},{"photo_id":"1326743682","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326743758":["hashtag1","hashtag2"]},{"1326743682":["hashtag1","hashtag2"]},{"1326743684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326743758, 1326743682, 1326743684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.593167781829834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:08:02.265681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:08:21.976772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/07/image_04012025_19_07_02_968141_0002.jpg', '/home/pi/Desktop/images/04012025/19/08/image_04012025_19_08_02_227105_0000.jpg', '/home/pi/Desktop/images/04012025/19/08/image_04012025_19_08_02_227105_0001.jpg', '/home/pi/Desktop/images/04012025/19/08/image_04012025_19_08_02_227105_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/07/image_04012025_19_07_02_968141_0002.jpg
/home/pi/Desktop/images/04012025/19/08/image_04012025_19_08_02_227105_0000.jpg
/home/pi/Desktop/images/04012025/19/08/image_04012025_19_08_02_227105_0001.jpg
/home/pi/Desktop/images/04012025/19/08/image_04012025_19_08_02_227105_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.925010681152344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 19:08:41.921833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/07/image_04012025_19_07_02_968141_0002.jpg', '/home/pi/Desktop/images/04012025/19/08/image_04012025_19_08_02_227105_0000.jpg', '/home/pi/Desktop/images/04012025/19/08/image_04012025_19_08_02_227105_0001.jpg', '/home/pi/Desktop/images/04012025/19/08/image_04012025_19_08_02_227105_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/07/image_04012025_19_07_02_968141_0002.jpg
/home/pi/Desktop/images/04012025/19/08/image_04012025_19_08_02_227105_0000.jpg
/home/pi/Desktop/images/04012025/19/08/image_04012025_19_08_02_227105_0001.jpg
/home/pi/Desktop/images/04012025/19/08/image_04012025_19_08_02_227105_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326745968","1326745642","1326745977","1326745717"],"photo_ids_order":["1326745642","1326745717","1326745968","1326745977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/07d3bdbe827859e0ae2a9d55aec36f14.jpg","text":"TemporaryFile(/tmp/multipartBody2511190668651867754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014192235,"filename":"image_04012025_19_08_02_227105_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6324cc0f86e8951b25d1e5a2f4804f4a.jpg","text":"TemporaryFile(/tmp/multipartBody4815646206583611688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014192235,"filename":"image_04012025_19_07_02_968141_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8ef2e1d9af6f2d5505ba1d99fb28747f.jpg","text":"TemporaryFile(/tmp/multipartBody7845743590015372437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014192235,"filename":"image_04012025_19_08_02_227105_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cdfbe1cbec53db472f10941b40b3b0fd.jpg","text":"TemporaryFile(/tmp/multipartBody1929964741618810370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014192235,"filename":"image_04012025_19_08_02_227105_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326745968","file1":"1326745717","file0":"1326745642","file3":"1326745977"},"map_files_photo_id_array":[{"photo_id":"1326745968","filename":"file2"},{"photo_id":"1326745717","filename":"file1"},{"photo_id":"1326745642","filename":"file0"},{"photo_id":"1326745977","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326745968":["hashtag1","hashtag2"]},{"1326745642":["hashtag1","hashtag2"]},{"1326745977":["hashtag1","hashtag2"]},{"1326745717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326745968, 1326745642, 1326745977, 1326745717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.06950092315674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:09:22.133160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/08/image_04012025_19_08_02_227105_0003.jpg', '/home/pi/Desktop/images/04012025/19/09/image_04012025_19_09_02_279691_0000.jpg', '/home/pi/Desktop/images/04012025/19/09/image_04012025_19_09_02_279691_0001.jpg', '/home/pi/Desktop/images/04012025/19/09/image_04012025_19_09_02_279691_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/08/image_04012025_19_08_02_227105_0003.jpg
/home/pi/Desktop/images/04012025/19/09/image_04012025_19_09_02_279691_0000.jpg
/home/pi/Desktop/images/04012025/19/09/image_04012025_19_09_02_279691_0001.jpg
/home/pi/Desktop/images/04012025/19/09/image_04012025_19_09_02_279691_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326746075","1326746071","1326746077","1326746073"],"photo_ids_order":["1326746071","1326746073","1326746075","1326746077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ddc426e0dec8fb74f75543bd0a031801.jpg","text":"TemporaryFile(/tmp/multipartBody8091370919671173461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014232469,"filename":"image_04012025_19_09_02_279691_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5c2dcb4f90c40c77a9e02ce193402174.jpg","text":"TemporaryFile(/tmp/multipartBody6667493252510972396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014232469,"filename":"image_04012025_19_08_02_227105_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9c5653f0755f19172849f4b22a1a53ea.jpg","text":"TemporaryFile(/tmp/multipartBody9174483205537869085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014232469,"filename":"image_04012025_19_09_02_279691_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/22eefc791c515d9cc726e17094fb41d1.jpg","text":"TemporaryFile(/tmp/multipartBody732626256258655936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014232469,"filename":"image_04012025_19_09_02_279691_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326746075","file1":"1326746073","file0":"1326746071","file3":"1326746077"},"map_files_photo_id_array":[{"photo_id":"1326746075","filename":"file2"},{"photo_id":"1326746073","filename":"file1"},{"photo_id":"1326746071","filename":"file0"},{"photo_id":"1326746077","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326746075":["hashtag1","hashtag2"]},{"1326746071":["hashtag1","hashtag2"]},{"1326746077":["hashtag1","hashtag2"]},{"1326746073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326746075, 1326746071, 1326746077, 1326746073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.999948024749756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:10:22.312080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/09/image_04012025_19_09_02_279691_0003.jpg', '/home/pi/Desktop/images/04012025/19/10/image_04012025_19_10_02_428532_0000.jpg', '/home/pi/Desktop/images/04012025/19/10/image_04012025_19_10_02_428532_0001.jpg', '/home/pi/Desktop/images/04012025/19/10/image_04012025_19_10_02_428532_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/09/image_04012025_19_09_02_279691_0003.jpg
/home/pi/Desktop/images/04012025/19/10/image_04012025_19_10_02_428532_0000.jpg
/home/pi/Desktop/images/04012025/19/10/image_04012025_19_10_02_428532_0001.jpg
/home/pi/Desktop/images/04012025/19/10/image_04012025_19_10_02_428532_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326746220","1326746111","1326746110","1326746113"],"photo_ids_order":["1326746110","1326746111","1326746113","1326746220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/95949c78c1f2d5464953b6b9f53ed684.jpg","text":"TemporaryFile(/tmp/multipartBody3617488172320600504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014292701,"filename":"image_04012025_19_10_02_428532_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9b4f984fd9f0a803c3d01ab0de87178a.jpg","text":"TemporaryFile(/tmp/multipartBody8369401730150478228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014292701,"filename":"image_04012025_19_10_02_428532_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d996401d2dd526bc71fea389af81fb47.jpg","text":"TemporaryFile(/tmp/multipartBody5916746239418848553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014292701,"filename":"image_04012025_19_09_02_279691_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4bee14e66a017b86ccdf70d069989dbb.jpg","text":"TemporaryFile(/tmp/multipartBody3229062804339386656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014292701,"filename":"image_04012025_19_10_02_428532_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326746113","file1":"1326746111","file0":"1326746110","file3":"1326746220"},"map_files_photo_id_array":[{"photo_id":"1326746113","filename":"file2"},{"photo_id":"1326746111","filename":"file1"},{"photo_id":"1326746110","filename":"file0"},{"photo_id":"1326746220","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326746220":["hashtag1","hashtag2"]},{"1326746111":["hashtag1","hashtag2"]},{"1326746110":["hashtag1","hashtag2"]},{"1326746113":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326746220, 1326746111, 1326746110, 1326746113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.2246298789978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:11:02.976233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:11:22.531214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/10/image_04012025_19_10_02_428532_0003.jpg', '/home/pi/Desktop/images/04012025/19/11/image_04012025_19_11_02_688243_0000.jpg', '/home/pi/Desktop/images/04012025/19/11/image_04012025_19_11_02_688243_0001.jpg', '/home/pi/Desktop/images/04012025/19/11/image_04012025_19_11_02_688243_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/10/image_04012025_19_10_02_428532_0003.jpg
/home/pi/Desktop/images/04012025/19/11/image_04012025_19_11_02_688243_0000.jpg
/home/pi/Desktop/images/04012025/19/11/image_04012025_19_11_02_688243_0001.jpg
/home/pi/Desktop/images/04012025/19/11/image_04012025_19_11_02_688243_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326747131","1326747133","1326747135","1326747129"],"photo_ids_order":["1326747129","1326747131","1326747133","1326747135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d52ea7b53f6800c2bd252468c718ede.jpg","text":"TemporaryFile(/tmp/multipartBody2931832563151978097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014352860,"filename":"image_04012025_19_11_02_688243_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cc868db8597a53f404e1c6257522c023.jpg","text":"TemporaryFile(/tmp/multipartBody2454855423380959190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014352860,"filename":"image_04012025_19_11_02_688243_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1ecdb4b836fbaa7054805f20e9e44ea0.jpg","text":"TemporaryFile(/tmp/multipartBody6053229959024750209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014352860,"filename":"image_04012025_19_11_02_688243_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3423499e2427fed69ce0ebf918dde029.jpg","text":"TemporaryFile(/tmp/multipartBody5203417033761904169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014352860,"filename":"image_04012025_19_10_02_428532_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326747133","file1":"1326747131","file0":"1326747129","file3":"1326747135"},"map_files_photo_id_array":[{"photo_id":"1326747133","filename":"file2"},{"photo_id":"1326747131","filename":"file1"},{"photo_id":"1326747129","filename":"file0"},{"photo_id":"1326747135","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326747131":["hashtag1","hashtag2"]},{"1326747133":["hashtag1","hashtag2"]},{"1326747135":["hashtag1","hashtag2"]},{"1326747129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326747131, 1326747133, 1326747135, 1326747129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43238663673401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:12:03.121820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:12:22.739863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/11/image_04012025_19_11_02_688243_0003.jpg', '/home/pi/Desktop/images/04012025/19/12/image_04012025_19_12_02_968698_0000.jpg', '/home/pi/Desktop/images/04012025/19/12/image_04012025_19_12_02_968698_0001.jpg', '/home/pi/Desktop/images/04012025/19/12/image_04012025_19_12_02_968698_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/11/image_04012025_19_11_02_688243_0003.jpg
/home/pi/Desktop/images/04012025/19/12/image_04012025_19_12_02_968698_0000.jpg
/home/pi/Desktop/images/04012025/19/12/image_04012025_19_12_02_968698_0001.jpg
/home/pi/Desktop/images/04012025/19/12/image_04012025_19_12_02_968698_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326747170","1326747152","1326747143","1326747144"],"photo_ids_order":["1326747143","1326747144","1326747152","1326747170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7aef58adc1b26ab8540430ea5003030c.jpg","text":"TemporaryFile(/tmp/multipartBody777609123252014403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014413041,"filename":"image_04012025_19_12_02_968698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/25bf103fe69c7f31ca49beaa73f93159.jpg","text":"TemporaryFile(/tmp/multipartBody5114088364478866978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014413041,"filename":"image_04012025_19_12_02_968698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d1cae204268d2edb7662616b8a7e8a3f.jpg","text":"TemporaryFile(/tmp/multipartBody3691090966969083362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014413041,"filename":"image_04012025_19_11_02_688243_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0640a4a028826e97a6de05eebf26995.jpg","text":"TemporaryFile(/tmp/multipartBody8722037816804183871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014413041,"filename":"image_04012025_19_12_02_968698_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326747152","file1":"1326747144","file0":"1326747143","file3":"1326747170"},"map_files_photo_id_array":[{"photo_id":"1326747152","filename":"file2"},{"photo_id":"1326747144","filename":"file1"},{"photo_id":"1326747143","filename":"file0"},{"photo_id":"1326747170","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326747170":["hashtag1","hashtag2"]},{"1326747152":["hashtag1","hashtag2"]},{"1326747143":["hashtag1","hashtag2"]},{"1326747144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326747170, 1326747152, 1326747143, 1326747144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34457039833069 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:13:22.004758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/12/image_04012025_19_12_02_968698_0003.jpg', '/home/pi/Desktop/images/04012025/19/13/image_04012025_19_13_03_086893_0000.jpg', '/home/pi/Desktop/images/04012025/19/13/image_04012025_19_13_03_086893_0001.jpg', '/home/pi/Desktop/images/04012025/19/13/image_04012025_19_13_03_086893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/12/image_04012025_19_12_02_968698_0003.jpg
/home/pi/Desktop/images/04012025/19/13/image_04012025_19_13_03_086893_0000.jpg
/home/pi/Desktop/images/04012025/19/13/image_04012025_19_13_03_086893_0001.jpg
/home/pi/Desktop/images/04012025/19/13/image_04012025_19_13_03_086893_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326747694","1326747696","1326747519","1326747213"],"photo_ids_order":["1326747213","1326747519","1326747694","1326747696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1644a809cedd57788a56c4643e1fe4d4.jpg","text":"TemporaryFile(/tmp/multipartBody8153678571285945230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014472283,"filename":"image_04012025_19_13_03_086893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/05ac8f83ab7b3b5ac891b705a587616f.jpg","text":"TemporaryFile(/tmp/multipartBody6101361575426767359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014472283,"filename":"image_04012025_19_13_03_086893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28d9106a64ea14065bd7ab1e867d07d1.jpg","text":"TemporaryFile(/tmp/multipartBody9186607091998480485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014472283,"filename":"image_04012025_19_13_03_086893_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/86a34cd4b3609b33e07b33292d38125c.jpg","text":"TemporaryFile(/tmp/multipartBody6091324141326272355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014472283,"filename":"image_04012025_19_12_02_968698_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326747694","file1":"1326747519","file0":"1326747213","file3":"1326747696"},"map_files_photo_id_array":[{"photo_id":"1326747694","filename":"file2"},{"photo_id":"1326747519","filename":"file1"},{"photo_id":"1326747213","filename":"file0"},{"photo_id":"1326747696","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326747694":["hashtag1","hashtag2"]},{"1326747696":["hashtag1","hashtag2"]},{"1326747519":["hashtag1","hashtag2"]},{"1326747213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326747694, 1326747696, 1326747519, 1326747213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.37935972213745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:14:02.498649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:14:22.194611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/13/image_04012025_19_13_03_086893_0003.jpg', '/home/pi/Desktop/images/04012025/19/14/image_04012025_19_14_02_272569_0000.jpg', '/home/pi/Desktop/images/04012025/19/14/image_04012025_19_14_02_272569_0001.jpg', '/home/pi/Desktop/images/04012025/19/14/image_04012025_19_14_02_272569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/13/image_04012025_19_13_03_086893_0003.jpg
/home/pi/Desktop/images/04012025/19/14/image_04012025_19_14_02_272569_0000.jpg
/home/pi/Desktop/images/04012025/19/14/image_04012025_19_14_02_272569_0001.jpg
/home/pi/Desktop/images/04012025/19/14/image_04012025_19_14_02_272569_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326748456","1326748542","1326748518","1326748413"],"photo_ids_order":["1326748413","1326748456","1326748518","1326748542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6165aaa87bc5aadba7d0ae0589043d6e.jpg","text":"TemporaryFile(/tmp/multipartBody35026819094496636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014532498,"filename":"image_04012025_19_14_02_272569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4c100a966b408de37b6fc9e60be1f4b3.jpg","text":"TemporaryFile(/tmp/multipartBody8024486383652803396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014532498,"filename":"image_04012025_19_14_02_272569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85e78fbc0e6f921bbef5d58867e471d0.jpg","text":"TemporaryFile(/tmp/multipartBody2109558793984814246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014532498,"filename":"image_04012025_19_14_02_272569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b5a03dedbc30c06d2cf478f38394a71f.jpg","text":"TemporaryFile(/tmp/multipartBody6664862458244065169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014532498,"filename":"image_04012025_19_13_03_086893_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326748518","file1":"1326748456","file0":"1326748413","file3":"1326748542"},"map_files_photo_id_array":[{"photo_id":"1326748518","filename":"file2"},{"photo_id":"1326748456","filename":"file1"},{"photo_id":"1326748413","filename":"file0"},{"photo_id":"1326748542","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326748456":["hashtag1","hashtag2"]},{"1326748542":["hashtag1","hashtag2"]},{"1326748518":["hashtag1","hashtag2"]},{"1326748413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326748456, 1326748542, 1326748518, 1326748413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.614887714385986 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-04 19:15:22.304845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/14/image_04012025_19_14_02_272569_0003.jpg', '/home/pi/Desktop/images/04012025/19/15/image_04012025_19_15_02_527986_0000.jpg', '/home/pi/Desktop/images/04012025/19/15/image_04012025_19_15_02_527986_0001.jpg', '/home/pi/Desktop/images/04012025/19/15/image_04012025_19_15_02_527986_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/14/image_04012025_19_14_02_272569_0003.jpg
/home/pi/Desktop/images/04012025/19/15/image_04012025_19_15_02_527986_0000.jpg
/home/pi/Desktop/images/04012025/19/15/image_04012025_19_15_02_527986_0001.jpg
/home/pi/Desktop/images/04012025/19/15/image_04012025_19_15_02_527986_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.843713998794556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 19:15:42.400391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/14/image_04012025_19_14_02_272569_0003.jpg', '/home/pi/Desktop/images/04012025/19/15/image_04012025_19_15_02_527986_0000.jpg', '/home/pi/Desktop/images/04012025/19/15/image_04012025_19_15_02_527986_0001.jpg', '/home/pi/Desktop/images/04012025/19/15/image_04012025_19_15_02_527986_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/14/image_04012025_19_14_02_272569_0003.jpg
/home/pi/Desktop/images/04012025/19/15/image_04012025_19_15_02_527986_0000.jpg
/home/pi/Desktop/images/04012025/19/15/image_04012025_19_15_02_527986_0001.jpg
/home/pi/Desktop/images/04012025/19/15/image_04012025_19_15_02_527986_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326748957","1326748959","1326748683","1326749007"],"photo_ids_order":["1326748683","1326748957","1326748959","1326749007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a0c4e40e97f32ac2fdf2cdab83a63f98.jpg","text":"TemporaryFile(/tmp/multipartBody469728577810961511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014612637,"filename":"image_04012025_19_15_02_527986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8eb13ce71efb125a99168edfdcbb1141.jpg","text":"TemporaryFile(/tmp/multipartBody46757469025624649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014612637,"filename":"image_04012025_19_15_02_527986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f08b42ff554b7623b42e4f9104d90d14.jpg","text":"TemporaryFile(/tmp/multipartBody7634540953190645354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014612637,"filename":"image_04012025_19_14_02_272569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/513b9397034fa6b3a35aabbe747eb825.jpg","text":"TemporaryFile(/tmp/multipartBody3921510177383557287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014612637,"filename":"image_04012025_19_15_02_527986_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326748959","file1":"1326748957","file0":"1326748683","file3":"1326749007"},"map_files_photo_id_array":[{"photo_id":"1326748959","filename":"file2"},{"photo_id":"1326748957","filename":"file1"},{"photo_id":"1326748683","filename":"file0"},{"photo_id":"1326749007","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326748957":["hashtag1","hashtag2"]},{"1326748959":["hashtag1","hashtag2"]},{"1326748683":["hashtag1","hashtag2"]},{"1326749007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326748957, 1326748959, 1326748683, 1326749007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.20864152908325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:16:22.542619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/15/image_04012025_19_15_02_527986_0003.jpg', '/home/pi/Desktop/images/04012025/19/16/image_04012025_19_16_02_790821_0000.jpg', '/home/pi/Desktop/images/04012025/19/16/image_04012025_19_16_02_790821_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/15/image_04012025_19_15_02_527986_0003.jpg
/home/pi/Desktop/images/04012025/19/16/image_04012025_19_16_02_790821_0000.jpg
/home/pi/Desktop/images/04012025/19/16/image_04012025_19_16_02_790821_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326749071","1326749067","1326749069"],"photo_ids_order":["1326749067","1326749069","1326749071"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/953f4864c9be45ce14119e2a0f0eae37.jpg","text":"TemporaryFile(/tmp/multipartBody6286448566204300613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014650330,"filename":"image_04012025_19_16_02_790821_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f48932ad6bc686b54b989d6889b888f6.jpg","text":"TemporaryFile(/tmp/multipartBody3555158757684909139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014650330,"filename":"image_04012025_19_15_02_527986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f5f7ff19dd73bb1e240f3192d49e9a7.jpg","text":"TemporaryFile(/tmp/multipartBody5232252093626203258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014650330,"filename":"image_04012025_19_16_02_790821_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326749071","file1":"1326749069","file0":"1326749067"},"map_files_photo_id_array":[{"photo_id":"1326749071","filename":"file2"},{"photo_id":"1326749069","filename":"file1"},{"photo_id":"1326749067","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326749071":["hashtag1","hashtag2"]},{"1326749067":["hashtag1","hashtag2"]},{"1326749069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326749071, 1326749067, 1326749069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.0623459815979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:17:03.135775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:17:22.666346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/16/image_04012025_19_16_02_790821_0003.jpg', '/home/pi/Desktop/images/04012025/19/17/image_04012025_19_17_02_863131_0000.jpg', '/home/pi/Desktop/images/04012025/19/17/image_04012025_19_17_02_863131_0001.jpg', '/home/pi/Desktop/images/04012025/19/17/image_04012025_19_17_02_863131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/16/image_04012025_19_16_02_790821_0003.jpg
/home/pi/Desktop/images/04012025/19/17/image_04012025_19_17_02_863131_0000.jpg
/home/pi/Desktop/images/04012025/19/17/image_04012025_19_17_02_863131_0001.jpg
/home/pi/Desktop/images/04012025/19/17/image_04012025_19_17_02_863131_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326749088","1326749087","1326749081","1326749084"],"photo_ids_order":["1326749081","1326749084","1326749087","1326749088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5477889f3c948daf26c846012608f3fe.jpg","text":"TemporaryFile(/tmp/multipartBody9201315651093525295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014712971,"filename":"image_04012025_19_17_02_863131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c708594743bb7a55310450e14f48e2f9.jpg","text":"TemporaryFile(/tmp/multipartBody2126011487918673284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014712971,"filename":"image_04012025_19_17_02_863131_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1f394d0ef5dd63f4c4cdbb63a1a8a0f7.jpg","text":"TemporaryFile(/tmp/multipartBody548488848416013158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014712971,"filename":"image_04012025_19_16_02_790821_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2ba8efe921d43eb7c53ce26bcd080d42.jpg","text":"TemporaryFile(/tmp/multipartBody7262272706573776465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014712971,"filename":"image_04012025_19_17_02_863131_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326749087","file1":"1326749084","file0":"1326749081","file3":"1326749088"},"map_files_photo_id_array":[{"photo_id":"1326749087","filename":"file2"},{"photo_id":"1326749084","filename":"file1"},{"photo_id":"1326749081","filename":"file0"},{"photo_id":"1326749088","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326749088":["hashtag1","hashtag2"]},{"1326749087":["hashtag1","hashtag2"]},{"1326749081":["hashtag1","hashtag2"]},{"1326749084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326749088, 1326749087, 1326749081, 1326749084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.85832357406616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:18:21.927646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/17/image_04012025_19_17_02_863131_0003.jpg', '/home/pi/Desktop/images/04012025/19/18/image_04012025_19_18_03_053726_0000.jpg', '/home/pi/Desktop/images/04012025/19/18/image_04012025_19_18_03_053726_0001.jpg', '/home/pi/Desktop/images/04012025/19/18/image_04012025_19_18_03_053726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/17/image_04012025_19_17_02_863131_0003.jpg
/home/pi/Desktop/images/04012025/19/18/image_04012025_19_18_03_053726_0000.jpg
/home/pi/Desktop/images/04012025/19/18/image_04012025_19_18_03_053726_0001.jpg
/home/pi/Desktop/images/04012025/19/18/image_04012025_19_18_03_053726_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326749518","1326749512","1326749525","1326749519"],"photo_ids_order":["1326749512","1326749518","1326749519","1326749525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c47b4ef8e8508426851848f21d6d0e53.jpg","text":"TemporaryFile(/tmp/multipartBody5420558482576152640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014772408,"filename":"image_04012025_19_18_03_053726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/24ee7e69080f5c25f8501503effb6c12.jpg","text":"TemporaryFile(/tmp/multipartBody943947155611026728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014772408,"filename":"image_04012025_19_17_02_863131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6e8fc8d032e159583c4fccc1afd76b7c.jpg","text":"TemporaryFile(/tmp/multipartBody5950441313012975640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014772408,"filename":"image_04012025_19_18_03_053726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8628cb67b9023b656ee205d93eb12c10.jpg","text":"TemporaryFile(/tmp/multipartBody4584794041093461592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014772408,"filename":"image_04012025_19_18_03_053726_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326749519","file1":"1326749518","file0":"1326749512","file3":"1326749525"},"map_files_photo_id_array":[{"photo_id":"1326749519","filename":"file2"},{"photo_id":"1326749518","filename":"file1"},{"photo_id":"1326749512","filename":"file0"},{"photo_id":"1326749525","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326749518":["hashtag1","hashtag2"]},{"1326749512":["hashtag1","hashtag2"]},{"1326749525":["hashtag1","hashtag2"]},{"1326749519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326749518, 1326749512, 1326749525, 1326749519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.192983627319336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:19:02.730386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:19:22.019544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/18/image_04012025_19_18_03_053726_0003.jpg', '/home/pi/Desktop/images/04012025/19/19/image_04012025_19_19_02_237315_0000.jpg', '/home/pi/Desktop/images/04012025/19/19/image_04012025_19_19_02_237315_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/18/image_04012025_19_18_03_053726_0003.jpg
/home/pi/Desktop/images/04012025/19/19/image_04012025_19_19_02_237315_0000.jpg
/home/pi/Desktop/images/04012025/19/19/image_04012025_19_19_02_237315_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":["1326749647","1326749588","1326749558"],"photo_ids_order":["1326749558","1326749588","1326749647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/de32a4d8675b09850821ee0619c4a70d.jpg","text":"TemporaryFile(/tmp/multipartBody3447204377943390022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014830042,"filename":"image_04012025_19_19_02_237315_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/24f264ecd1740f75f1258056fe9db62f.jpg","text":"TemporaryFile(/tmp/multipartBody5798953906754871640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014830042,"filename":"image_04012025_19_19_02_237315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c28775bbe511a44380cceb38e443d166.jpg","text":"TemporaryFile(/tmp/multipartBody3836385985592526285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014830042,"filename":"image_04012025_19_18_03_053726_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326749647","file1":"1326749588","file0":"1326749558"},"map_files_photo_id_array":[{"photo_id":"1326749647","filename":"file2"},{"photo_id":"1326749588","filename":"file1"},{"photo_id":"1326749558","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326749647":["hashtag1","hashtag2"]},{"1326749588":["hashtag1","hashtag2"]},{"1326749558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326749647, 1326749588, 1326749558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.836069345474243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:20:02.603666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:20:22.260249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/19/image_04012025_19_19_02_237315_0003.jpg', '/home/pi/Desktop/images/04012025/19/20/image_04012025_19_20_02_381802_0000.jpg', '/home/pi/Desktop/images/04012025/19/20/image_04012025_19_20_02_381802_0001.jpg', '/home/pi/Desktop/images/04012025/19/20/image_04012025_19_20_02_381802_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/19/image_04012025_19_19_02_237315_0003.jpg
/home/pi/Desktop/images/04012025/19/20/image_04012025_19_20_02_381802_0000.jpg
/home/pi/Desktop/images/04012025/19/20/image_04012025_19_20_02_381802_0001.jpg
/home/pi/Desktop/images/04012025/19/20/image_04012025_19_20_02_381802_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326750341","1326750050","1326750577","1326750086"],"photo_ids_order":["1326750050","1326750086","1326750341","1326750577"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a6f932420d521b011273566f4c01d65d.jpg","text":"TemporaryFile(/tmp/multipartBody6161905319640668831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014892598,"filename":"image_04012025_19_20_02_381802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/34ab75e83737a9fbda55e5bcfa12d954.jpg","text":"TemporaryFile(/tmp/multipartBody8653708101409594047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014892598,"filename":"image_04012025_19_19_02_237315_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4de18a6e1b4c36fd74b8c68fc846cf9b.jpg","text":"TemporaryFile(/tmp/multipartBody2385263602362309423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014892598,"filename":"image_04012025_19_20_02_381802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fab5977f1e66ad2c90c394e945a75a70.jpg","text":"TemporaryFile(/tmp/multipartBody8177075753630070152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014892598,"filename":"image_04012025_19_20_02_381802_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326750341","file1":"1326750086","file0":"1326750050","file3":"1326750577"},"map_files_photo_id_array":[{"photo_id":"1326750341","filename":"file2"},{"photo_id":"1326750086","filename":"file1"},{"photo_id":"1326750050","filename":"file0"},{"photo_id":"1326750577","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326750341":["hashtag1","hashtag2"]},{"1326750050":["hashtag1","hashtag2"]},{"1326750577":["hashtag1","hashtag2"]},{"1326750086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326750341, 1326750050, 1326750577, 1326750086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.335054874420166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:21:03.008114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:21:22.442871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/20/image_04012025_19_20_02_381802_0003.jpg', '/home/pi/Desktop/images/04012025/19/21/image_04012025_19_21_02_588854_0000.jpg', '/home/pi/Desktop/images/04012025/19/21/image_04012025_19_21_02_588854_0001.jpg', '/home/pi/Desktop/images/04012025/19/21/image_04012025_19_21_02_588854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/20/image_04012025_19_20_02_381802_0003.jpg
/home/pi/Desktop/images/04012025/19/21/image_04012025_19_21_02_588854_0000.jpg
/home/pi/Desktop/images/04012025/19/21/image_04012025_19_21_02_588854_0001.jpg
/home/pi/Desktop/images/04012025/19/21/image_04012025_19_21_02_588854_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326750877","1326750967","1326750879","1326750878"],"photo_ids_order":["1326750877","1326750878","1326750879","1326750967"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/05e378c5dcbaeef01659255888bfcd39.jpg","text":"TemporaryFile(/tmp/multipartBody3478303962922434436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014952672,"filename":"image_04012025_19_20_02_381802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8d3f1abee37a18e8227f8aff8acf6674.jpg","text":"TemporaryFile(/tmp/multipartBody6531135807613046686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014952672,"filename":"image_04012025_19_21_02_588854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4193794c2e81a0c6c6d53dcec05326b5.jpg","text":"TemporaryFile(/tmp/multipartBody3890030054789649436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014952672,"filename":"image_04012025_19_21_02_588854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e058d31d02fbd5fea11e8d705d5bdf68.jpg","text":"TemporaryFile(/tmp/multipartBody7598436663114632654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736014952672,"filename":"image_04012025_19_21_02_588854_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326750879","file1":"1326750878","file0":"1326750877","file3":"1326750967"},"map_files_photo_id_array":[{"photo_id":"1326750879","filename":"file2"},{"photo_id":"1326750878","filename":"file1"},{"photo_id":"1326750877","filename":"file0"},{"photo_id":"1326750967","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326750877":["hashtag1","hashtag2"]},{"1326750967":["hashtag1","hashtag2"]},{"1326750879":["hashtag1","hashtag2"]},{"1326750878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326750877, 1326750967, 1326750879, 1326750878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.07595443725586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:22:03.032689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:22:22.676411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/21/image_04012025_19_21_02_588854_0003.jpg', '/home/pi/Desktop/images/04012025/19/22/image_04012025_19_22_02_788833_0000.jpg', '/home/pi/Desktop/images/04012025/19/22/image_04012025_19_22_02_788833_0001.jpg', '/home/pi/Desktop/images/04012025/19/22/image_04012025_19_22_02_788833_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/21/image_04012025_19_21_02_588854_0003.jpg
/home/pi/Desktop/images/04012025/19/22/image_04012025_19_22_02_788833_0000.jpg
/home/pi/Desktop/images/04012025/19/22/image_04012025_19_22_02_788833_0001.jpg
/home/pi/Desktop/images/04012025/19/22/image_04012025_19_22_02_788833_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326752337","1326752241","1326752136","1326752228"],"photo_ids_order":["1326752136","1326752228","1326752241","1326752337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2a818830d716ed0e4133936877b15437.jpg","text":"TemporaryFile(/tmp/multipartBody7001414843958161460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015013176,"filename":"image_04012025_19_22_02_788833_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9187afe4ca2b2e80d4febb711e670bb3.jpg","text":"TemporaryFile(/tmp/multipartBody4368402461458264893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015013176,"filename":"image_04012025_19_22_02_788833_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1dfc6586b150b7a1ae08b398072e12ab.jpg","text":"TemporaryFile(/tmp/multipartBody5835196892771965506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015013176,"filename":"image_04012025_19_21_02_588854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3aedcd16b21f4401cb89be86fca4f9c8.jpg","text":"TemporaryFile(/tmp/multipartBody7836596822479087741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015013176,"filename":"image_04012025_19_22_02_788833_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326752241","file1":"1326752228","file0":"1326752136","file3":"1326752337"},"map_files_photo_id_array":[{"photo_id":"1326752241","filename":"file2"},{"photo_id":"1326752228","filename":"file1"},{"photo_id":"1326752136","filename":"file0"},{"photo_id":"1326752337","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326752337":["hashtag1","hashtag2"]},{"1326752241":["hashtag1","hashtag2"]},{"1326752136":["hashtag1","hashtag2"]},{"1326752228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326752337, 1326752241, 1326752136, 1326752228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.253854751586914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:23:21.763320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/22/image_04012025_19_22_02_788833_0003.jpg', '/home/pi/Desktop/images/04012025/19/23/image_04012025_19_23_03_043387_0000.jpg', '/home/pi/Desktop/images/04012025/19/23/image_04012025_19_23_03_043387_0001.jpg', '/home/pi/Desktop/images/04012025/19/23/image_04012025_19_23_03_043387_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/22/image_04012025_19_22_02_788833_0003.jpg
/home/pi/Desktop/images/04012025/19/23/image_04012025_19_23_03_043387_0000.jpg
/home/pi/Desktop/images/04012025/19/23/image_04012025_19_23_03_043387_0001.jpg
/home/pi/Desktop/images/04012025/19/23/image_04012025_19_23_03_043387_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326752388","1326752390","1326752393","1326752395"],"photo_ids_order":["1326752388","1326752390","1326752393","1326752395"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fdae1cce3cef8c00f21cd86f20ee0cab.jpg","text":"TemporaryFile(/tmp/multipartBody8115858470879318117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015072153,"filename":"image_04012025_19_22_02_788833_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc0867f8cfe85056219f78b610608920.jpg","text":"TemporaryFile(/tmp/multipartBody6848575578333671191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015072153,"filename":"image_04012025_19_23_03_043387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db5d354b1bece54f1161ecad11e8b3ab.jpg","text":"TemporaryFile(/tmp/multipartBody3246241781510239168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015072153,"filename":"image_04012025_19_23_03_043387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d2a2fa29c773f1527b9c46d5935c80f7.jpg","text":"TemporaryFile(/tmp/multipartBody5243544938696476311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015072153,"filename":"image_04012025_19_23_03_043387_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326752393","file1":"1326752390","file0":"1326752388","file3":"1326752395"},"map_files_photo_id_array":[{"photo_id":"1326752393","filename":"file2"},{"photo_id":"1326752390","filename":"file1"},{"photo_id":"1326752388","filename":"file0"},{"photo_id":"1326752395","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326752388":["hashtag1","hashtag2"]},{"1326752390":["hashtag1","hashtag2"]},{"1326752393":["hashtag1","hashtag2"]},{"1326752395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326752388, 1326752390, 1326752393, 1326752395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.174156665802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:24:02.353486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:24:21.876527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/23/image_04012025_19_23_03_043387_0003.jpg', '/home/pi/Desktop/images/04012025/19/24/image_04012025_19_24_02_152032_0000.jpg', '/home/pi/Desktop/images/04012025/19/24/image_04012025_19_24_02_152032_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/23/image_04012025_19_23_03_043387_0003.jpg
/home/pi/Desktop/images/04012025/19/24/image_04012025_19_24_02_152032_0000.jpg
/home/pi/Desktop/images/04012025/19/24/image_04012025_19_24_02_152032_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":["1326752404","1326752402","1326752405"],"photo_ids_order":["1326752402","1326752404","1326752405"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4a244fe108ce4b3424f21dcb8d58428c.jpg","text":"TemporaryFile(/tmp/multipartBody5799641653850582772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015129852,"filename":"image_04012025_19_24_02_152032_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/92d95c0ac9dfce0a03ef5c708e4df7a7.jpg","text":"TemporaryFile(/tmp/multipartBody2505878627126864537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015129852,"filename":"image_04012025_19_23_03_043387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a2216013c58da016ea6550cd854eeefd.jpg","text":"TemporaryFile(/tmp/multipartBody3057176780787282337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015129852,"filename":"image_04012025_19_24_02_152032_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326752405","file1":"1326752404","file0":"1326752402"},"map_files_photo_id_array":[{"photo_id":"1326752405","filename":"file2"},{"photo_id":"1326752404","filename":"file1"},{"photo_id":"1326752402","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326752404":["hashtag1","hashtag2"]},{"1326752402":["hashtag1","hashtag2"]},{"1326752405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326752404, 1326752402, 1326752405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.241352558135986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:25:02.572531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:25:22.032239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/24/image_04012025_19_24_02_152032_0002.jpg', '/home/pi/Desktop/images/04012025/19/25/image_04012025_19_25_02_265021_0000.jpg', '/home/pi/Desktop/images/04012025/19/25/image_04012025_19_25_02_265021_0001.jpg', '/home/pi/Desktop/images/04012025/19/25/image_04012025_19_25_02_265021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/24/image_04012025_19_24_02_152032_0002.jpg
/home/pi/Desktop/images/04012025/19/25/image_04012025_19_25_02_265021_0000.jpg
/home/pi/Desktop/images/04012025/19/25/image_04012025_19_25_02_265021_0001.jpg
/home/pi/Desktop/images/04012025/19/25/image_04012025_19_25_02_265021_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326753077","1326752963","1326752869","1326752842"],"photo_ids_order":["1326752842","1326752869","1326752963","1326753077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/63df49830507686b429d9d58240fbb8e.jpg","text":"TemporaryFile(/tmp/multipartBody9195322199572454721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015192259,"filename":"image_04012025_19_25_02_265021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3bfdfb4e2aca36a7cd79f8e0184a48e6.jpg","text":"TemporaryFile(/tmp/multipartBody2689627931297114447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015192259,"filename":"image_04012025_19_25_02_265021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/93a0f5c053202388cf97855b90672f04.jpg","text":"TemporaryFile(/tmp/multipartBody8690017081189752901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015192259,"filename":"image_04012025_19_25_02_265021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c3c5f1b8fc6cb36d877e8503e27d3189.jpg","text":"TemporaryFile(/tmp/multipartBody2990635351937852563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015192259,"filename":"image_04012025_19_24_02_152032_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326752963","file1":"1326752869","file0":"1326752842","file3":"1326753077"},"map_files_photo_id_array":[{"photo_id":"1326752963","filename":"file2"},{"photo_id":"1326752869","filename":"file1"},{"photo_id":"1326752842","filename":"file0"},{"photo_id":"1326753077","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326753077":["hashtag1","hashtag2"]},{"1326752963":["hashtag1","hashtag2"]},{"1326752869":["hashtag1","hashtag2"]},{"1326752842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326753077, 1326752963, 1326752869, 1326752842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.08039212226868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:26:02.930423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:26:22.515596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/25/image_04012025_19_25_02_265021_0003.jpg', '/home/pi/Desktop/images/04012025/19/26/image_04012025_19_26_02_416124_0000.jpg', '/home/pi/Desktop/images/04012025/19/26/image_04012025_19_26_02_416124_0001.jpg', '/home/pi/Desktop/images/04012025/19/26/image_04012025_19_26_02_416124_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/25/image_04012025_19_25_02_265021_0003.jpg
/home/pi/Desktop/images/04012025/19/26/image_04012025_19_26_02_416124_0000.jpg
/home/pi/Desktop/images/04012025/19/26/image_04012025_19_26_02_416124_0001.jpg
/home/pi/Desktop/images/04012025/19/26/image_04012025_19_26_02_416124_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326753387","1326753357","1326753339","1326753140"],"photo_ids_order":["1326753140","1326753339","1326753357","1326753387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8dea2b8675e15002ee2c386243dba8bd.jpg","text":"TemporaryFile(/tmp/multipartBody888304932315943123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015252868,"filename":"image_04012025_19_26_02_416124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c9f1c6e145af7284f51c3af66bfa770c.jpg","text":"TemporaryFile(/tmp/multipartBody7209309155637188948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015252868,"filename":"image_04012025_19_26_02_416124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/678ff01a2387905ef58883774ab666dc.jpg","text":"TemporaryFile(/tmp/multipartBody6038146083552148952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015252868,"filename":"image_04012025_19_26_02_416124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ac3a41e201b36a32a1989b658ca96f7a.jpg","text":"TemporaryFile(/tmp/multipartBody5291180868206919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015252868,"filename":"image_04012025_19_25_02_265021_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326753357","file1":"1326753339","file0":"1326753140","file3":"1326753387"},"map_files_photo_id_array":[{"photo_id":"1326753357","filename":"file2"},{"photo_id":"1326753339","filename":"file1"},{"photo_id":"1326753140","filename":"file0"},{"photo_id":"1326753387","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326753387":["hashtag1","hashtag2"]},{"1326753357":["hashtag1","hashtag2"]},{"1326753339":["hashtag1","hashtag2"]},{"1326753140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326753387, 1326753357, 1326753339, 1326753140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.813830614089966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:27:22.755155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/26/image_04012025_19_26_02_416124_0003.jpg', '/home/pi/Desktop/images/04012025/19/27/image_04012025_19_27_02_870952_0000.jpg', '/home/pi/Desktop/images/04012025/19/27/image_04012025_19_27_02_870952_0001.jpg', '/home/pi/Desktop/images/04012025/19/27/image_04012025_19_27_02_870952_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/26/image_04012025_19_26_02_416124_0003.jpg
/home/pi/Desktop/images/04012025/19/27/image_04012025_19_27_02_870952_0000.jpg
/home/pi/Desktop/images/04012025/19/27/image_04012025_19_27_02_870952_0001.jpg
/home/pi/Desktop/images/04012025/19/27/image_04012025_19_27_02_870952_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326753395","1326753398","1326753396","1326753409"],"photo_ids_order":["1326753395","1326753396","1326753398","1326753409"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0fb0a5373007707f67fae5ac96780486.jpg","text":"TemporaryFile(/tmp/multipartBody6790464188487594231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015313054,"filename":"image_04012025_19_26_02_416124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/44b5a29e6f7b9469a6ebbf90b6edfb5c.jpg","text":"TemporaryFile(/tmp/multipartBody6299495600382255926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015313054,"filename":"image_04012025_19_27_02_870952_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/51db610d2ff3cfe686157b643436ea43.jpg","text":"TemporaryFile(/tmp/multipartBody1569377106764901659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015313054,"filename":"image_04012025_19_27_02_870952_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/24e04264934bce41c63408c183501dde.jpg","text":"TemporaryFile(/tmp/multipartBody8663583782884558843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015313054,"filename":"image_04012025_19_27_02_870952_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326753398","file1":"1326753396","file0":"1326753395","file3":"1326753409"},"map_files_photo_id_array":[{"photo_id":"1326753398","filename":"file2"},{"photo_id":"1326753396","filename":"file1"},{"photo_id":"1326753395","filename":"file0"},{"photo_id":"1326753409","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326753395":["hashtag1","hashtag2"]},{"1326753398":["hashtag1","hashtag2"]},{"1326753396":["hashtag1","hashtag2"]},{"1326753409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326753395, 1326753398, 1326753396, 1326753409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.89619565010071 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:28:21.980336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/27/image_04012025_19_27_02_870952_0003.jpg', '/home/pi/Desktop/images/04012025/19/28/image_04012025_19_28_03_114733_0000.jpg', '/home/pi/Desktop/images/04012025/19/28/image_04012025_19_28_03_114733_0001.jpg', '/home/pi/Desktop/images/04012025/19/28/image_04012025_19_28_03_114733_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/27/image_04012025_19_27_02_870952_0003.jpg
/home/pi/Desktop/images/04012025/19/28/image_04012025_19_28_03_114733_0000.jpg
/home/pi/Desktop/images/04012025/19/28/image_04012025_19_28_03_114733_0001.jpg
/home/pi/Desktop/images/04012025/19/28/image_04012025_19_28_03_114733_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326753777","1326753771","1326753769","1326753774"],"photo_ids_order":["1326753769","1326753771","1326753774","1326753777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b13d7fcc4ed530a108025e65912c65e0.jpg","text":"TemporaryFile(/tmp/multipartBody9150532014472834041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015372176,"filename":"image_04012025_19_28_03_114733_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8c7c6081b8e1eb1bba237736277f44d3.jpg","text":"TemporaryFile(/tmp/multipartBody1429646295383339535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015372176,"filename":"image_04012025_19_28_03_114733_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/956398059169374ad6b771e980db3e1d.jpg","text":"TemporaryFile(/tmp/multipartBody2746195170863016672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015372176,"filename":"image_04012025_19_27_02_870952_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a7507dbe21b12a91faa842c973de3708.jpg","text":"TemporaryFile(/tmp/multipartBody6228261424506793684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015372176,"filename":"image_04012025_19_28_03_114733_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326753774","file1":"1326753771","file0":"1326753769","file3":"1326753777"},"map_files_photo_id_array":[{"photo_id":"1326753774","filename":"file2"},{"photo_id":"1326753771","filename":"file1"},{"photo_id":"1326753769","filename":"file0"},{"photo_id":"1326753777","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326753777":["hashtag1","hashtag2"]},{"1326753771":["hashtag1","hashtag2"]},{"1326753769":["hashtag1","hashtag2"]},{"1326753774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326753777, 1326753771, 1326753769, 1326753774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.35722756385803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:29:02.802365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:29:22.234152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/28/image_04012025_19_28_03_114733_0003.jpg', '/home/pi/Desktop/images/04012025/19/29/image_04012025_19_29_02_275203_0000.jpg', '/home/pi/Desktop/images/04012025/19/29/image_04012025_19_29_02_275203_0001.jpg', '/home/pi/Desktop/images/04012025/19/29/image_04012025_19_29_02_275203_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/28/image_04012025_19_28_03_114733_0003.jpg
/home/pi/Desktop/images/04012025/19/29/image_04012025_19_29_02_275203_0000.jpg
/home/pi/Desktop/images/04012025/19/29/image_04012025_19_29_02_275203_0001.jpg
/home/pi/Desktop/images/04012025/19/29/image_04012025_19_29_02_275203_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.95083212852478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 19:29:42.114010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/28/image_04012025_19_28_03_114733_0003.jpg', '/home/pi/Desktop/images/04012025/19/29/image_04012025_19_29_02_275203_0000.jpg', '/home/pi/Desktop/images/04012025/19/29/image_04012025_19_29_02_275203_0001.jpg', '/home/pi/Desktop/images/04012025/19/29/image_04012025_19_29_02_275203_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/28/image_04012025_19_28_03_114733_0003.jpg
/home/pi/Desktop/images/04012025/19/29/image_04012025_19_29_02_275203_0000.jpg
/home/pi/Desktop/images/04012025/19/29/image_04012025_19_29_02_275203_0001.jpg
/home/pi/Desktop/images/04012025/19/29/image_04012025_19_29_02_275203_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326754787","1326754739","1326754733","1326754700"],"photo_ids_order":["1326754700","1326754733","1326754739","1326754787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/506aa898e8dc00460fa17f3dc4afcd99.jpg","text":"TemporaryFile(/tmp/multipartBody3889852949385901332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015452463,"filename":"image_04012025_19_29_02_275203_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca40cd9b06c9277df13959fb0642b680.jpg","text":"TemporaryFile(/tmp/multipartBody2376549079638029151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015452463,"filename":"image_04012025_19_29_02_275203_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/021d2fbe58147cf730df830900937636.jpg","text":"TemporaryFile(/tmp/multipartBody8424334664674635828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015452463,"filename":"image_04012025_19_29_02_275203_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bda78b114a4e76ecf93032f783d6e45e.jpg","text":"TemporaryFile(/tmp/multipartBody1378247772191214025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015452463,"filename":"image_04012025_19_28_03_114733_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326754739","file1":"1326754733","file0":"1326754700","file3":"1326754787"},"map_files_photo_id_array":[{"photo_id":"1326754739","filename":"file2"},{"photo_id":"1326754733","filename":"file1"},{"photo_id":"1326754700","filename":"file0"},{"photo_id":"1326754787","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326754787":["hashtag1","hashtag2"]},{"1326754739":["hashtag1","hashtag2"]},{"1326754733":["hashtag1","hashtag2"]},{"1326754700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326754787, 1326754739, 1326754733, 1326754700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.73683738708496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 19:30:32.258937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/29/image_04012025_19_29_02_275203_0003.jpg', '/home/pi/Desktop/images/04012025/19/30/image_04012025_19_30_02_531825_0000.jpg', '/home/pi/Desktop/images/04012025/19/30/image_04012025_19_30_02_531825_0001.jpg', '/home/pi/Desktop/images/04012025/19/30/image_04012025_19_30_02_531825_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/29/image_04012025_19_29_02_275203_0003.jpg
/home/pi/Desktop/images/04012025/19/30/image_04012025_19_30_02_531825_0000.jpg
/home/pi/Desktop/images/04012025/19/30/image_04012025_19_30_02_531825_0001.jpg
/home/pi/Desktop/images/04012025/19/30/image_04012025_19_30_02_531825_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326754905","1326754960","1326754930","1326754965"],"photo_ids_order":["1326754905","1326754930","1326754960","1326754965"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/031e79c09a1042a6c128650633b59269.jpg","text":"TemporaryFile(/tmp/multipartBody7231723754685372166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015502593,"filename":"image_04012025_19_29_02_275203_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/92aa81ac787163581cef624d583ad324.jpg","text":"TemporaryFile(/tmp/multipartBody910138596196593123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015502593,"filename":"image_04012025_19_30_02_531825_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/794628b5a88a45b768e2420fabd78f07.jpg","text":"TemporaryFile(/tmp/multipartBody4796625730860898510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015502593,"filename":"image_04012025_19_30_02_531825_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6b32c57b522066cb84673bf687c0993b.jpg","text":"TemporaryFile(/tmp/multipartBody3783091733156069961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015502593,"filename":"image_04012025_19_30_02_531825_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326754960","file1":"1326754930","file0":"1326754905","file3":"1326754965"},"map_files_photo_id_array":[{"photo_id":"1326754960","filename":"file2"},{"photo_id":"1326754930","filename":"file1"},{"photo_id":"1326754905","filename":"file0"},{"photo_id":"1326754965","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326754905":["hashtag1","hashtag2"]},{"1326754960":["hashtag1","hashtag2"]},{"1326754930":["hashtag1","hashtag2"]},{"1326754965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326754905, 1326754960, 1326754930, 1326754965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.38663601875305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:31:22.486612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/30/image_04012025_19_30_02_531825_0003.jpg', '/home/pi/Desktop/images/04012025/19/31/image_04012025_19_31_02_637649_0000.jpg', '/home/pi/Desktop/images/04012025/19/31/image_04012025_19_31_02_637649_0001.jpg', '/home/pi/Desktop/images/04012025/19/31/image_04012025_19_31_02_637649_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/30/image_04012025_19_30_02_531825_0003.jpg
/home/pi/Desktop/images/04012025/19/31/image_04012025_19_31_02_637649_0000.jpg
/home/pi/Desktop/images/04012025/19/31/image_04012025_19_31_02_637649_0001.jpg
/home/pi/Desktop/images/04012025/19/31/image_04012025_19_31_02_637649_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326755188","1326755274","1326755190","1326755186"],"photo_ids_order":["1326755186","1326755188","1326755190","1326755274"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/850b9d1590e0523dcef0257ea66ee183.jpg","text":"TemporaryFile(/tmp/multipartBody3405826690528544925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015552885,"filename":"image_04012025_19_31_02_637649_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0cac0922b1542930093c152d342f55ea.jpg","text":"TemporaryFile(/tmp/multipartBody2102177854005526856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015552885,"filename":"image_04012025_19_31_02_637649_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/754e4d6b3c25b108cf1168bb4ea07174.jpg","text":"TemporaryFile(/tmp/multipartBody1821372634680604744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015552885,"filename":"image_04012025_19_31_02_637649_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/86f3dd8ce98345853c6fbccb20fdb5de.jpg","text":"TemporaryFile(/tmp/multipartBody2090493161353202693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015552885,"filename":"image_04012025_19_30_02_531825_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326755190","file1":"1326755188","file0":"1326755186","file3":"1326755274"},"map_files_photo_id_array":[{"photo_id":"1326755190","filename":"file2"},{"photo_id":"1326755188","filename":"file1"},{"photo_id":"1326755186","filename":"file0"},{"photo_id":"1326755274","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326755188":["hashtag1","hashtag2"]},{"1326755274":["hashtag1","hashtag2"]},{"1326755190":["hashtag1","hashtag2"]},{"1326755186":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326755188, 1326755274, 1326755190, 1326755186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63420605659485 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-04 19:32:22.675193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/31/image_04012025_19_31_02_637649_0003.jpg', '/home/pi/Desktop/images/04012025/19/32/image_04012025_19_32_02_819966_0000.jpg', '/home/pi/Desktop/images/04012025/19/32/image_04012025_19_32_02_819966_0001.jpg', '/home/pi/Desktop/images/04012025/19/32/image_04012025_19_32_02_819966_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/31/image_04012025_19_31_02_637649_0003.jpg
/home/pi/Desktop/images/04012025/19/32/image_04012025_19_32_02_819966_0000.jpg
/home/pi/Desktop/images/04012025/19/32/image_04012025_19_32_02_819966_0001.jpg
/home/pi/Desktop/images/04012025/19/32/image_04012025_19_32_02_819966_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326755342","1326755341","1326755340","1326755337"],"photo_ids_order":["1326755337","1326755340","1326755341","1326755342"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1ca62fee5464dd06a45794b4cc979cf9.jpg","text":"TemporaryFile(/tmp/multipartBody855410093470166887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015613015,"filename":"image_04012025_19_32_02_819966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bdce461e58d907be0c6a26e81a4832b4.jpg","text":"TemporaryFile(/tmp/multipartBody6211120622089638970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015613015,"filename":"image_04012025_19_32_02_819966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8febd1b0ec449c75fd141e76dd48fb67.jpg","text":"TemporaryFile(/tmp/multipartBody4909513990301612365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015613015,"filename":"image_04012025_19_32_02_819966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d999a2076626e8e7f9156f8833ce71ff.jpg","text":"TemporaryFile(/tmp/multipartBody226439911630858139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015613015,"filename":"image_04012025_19_31_02_637649_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326755341","file1":"1326755340","file0":"1326755337","file3":"1326755342"},"map_files_photo_id_array":[{"photo_id":"1326755341","filename":"file2"},{"photo_id":"1326755340","filename":"file1"},{"photo_id":"1326755337","filename":"file0"},{"photo_id":"1326755342","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326755342":["hashtag1","hashtag2"]},{"1326755341":["hashtag1","hashtag2"]},{"1326755340":["hashtag1","hashtag2"]},{"1326755337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326755342, 1326755341, 1326755340, 1326755337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.27180552482605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:33:21.848842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/32/image_04012025_19_32_02_819966_0003.jpg', '/home/pi/Desktop/images/04012025/19/33/image_04012025_19_33_03_016169_0000.jpg', '/home/pi/Desktop/images/04012025/19/33/image_04012025_19_33_03_016169_0001.jpg', '/home/pi/Desktop/images/04012025/19/33/image_04012025_19_33_03_016169_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/32/image_04012025_19_32_02_819966_0003.jpg
/home/pi/Desktop/images/04012025/19/33/image_04012025_19_33_03_016169_0000.jpg
/home/pi/Desktop/images/04012025/19/33/image_04012025_19_33_03_016169_0001.jpg
/home/pi/Desktop/images/04012025/19/33/image_04012025_19_33_03_016169_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326755354","1326755350","1326755353","1326755355"],"photo_ids_order":["1326755350","1326755353","1326755354","1326755355"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c751d3a4e5d18857fa5e75a80921abf5.jpg","text":"TemporaryFile(/tmp/multipartBody6124017162418327028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015672354,"filename":"image_04012025_19_33_03_016169_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f56d6c53a03f40edc0dfe0e54e2650a8.jpg","text":"TemporaryFile(/tmp/multipartBody3490949080300647092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015672354,"filename":"image_04012025_19_32_02_819966_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2cca0fada1dc34677923a7be5df97cce.jpg","text":"TemporaryFile(/tmp/multipartBody119507952034121495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015672354,"filename":"image_04012025_19_33_03_016169_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a09381db0446348587edb7d2765c75a5.jpg","text":"TemporaryFile(/tmp/multipartBody1219408449951147615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015672354,"filename":"image_04012025_19_33_03_016169_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326755354","file1":"1326755353","file0":"1326755350","file3":"1326755355"},"map_files_photo_id_array":[{"photo_id":"1326755354","filename":"file2"},{"photo_id":"1326755353","filename":"file1"},{"photo_id":"1326755350","filename":"file0"},{"photo_id":"1326755355","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326755354":["hashtag1","hashtag2"]},{"1326755350":["hashtag1","hashtag2"]},{"1326755353":["hashtag1","hashtag2"]},{"1326755355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326755354, 1326755350, 1326755353, 1326755355)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.776543378829956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:34:22.024268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/33/image_04012025_19_33_03_016169_0003.jpg', '/home/pi/Desktop/images/04012025/19/34/image_04012025_19_34_02_189605_0000.jpg', '/home/pi/Desktop/images/04012025/19/34/image_04012025_19_34_02_189605_0001.jpg', '/home/pi/Desktop/images/04012025/19/34/image_04012025_19_34_02_189605_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/33/image_04012025_19_33_03_016169_0003.jpg
/home/pi/Desktop/images/04012025/19/34/image_04012025_19_34_02_189605_0000.jpg
/home/pi/Desktop/images/04012025/19/34/image_04012025_19_34_02_189605_0001.jpg
/home/pi/Desktop/images/04012025/19/34/image_04012025_19_34_02_189605_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326755398","1326755394","1326755396","1326755399"],"photo_ids_order":["1326755394","1326755396","1326755398","1326755399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cbcbfed1abcc9a074e50a069df89e182.jpg","text":"TemporaryFile(/tmp/multipartBody4564174179551079706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015732465,"filename":"image_04012025_19_34_02_189605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b9e788c80d32860faf68f2883546830a.jpg","text":"TemporaryFile(/tmp/multipartBody1268820512839201170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015732465,"filename":"image_04012025_19_33_03_016169_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6f9a8d4a02dd0efa0a9b73990540ccde.jpg","text":"TemporaryFile(/tmp/multipartBody7683986437893666050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015732465,"filename":"image_04012025_19_34_02_189605_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8a44b90ca0fe6d5371e707ea39959d22.jpg","text":"TemporaryFile(/tmp/multipartBody7240037220263927092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015732465,"filename":"image_04012025_19_34_02_189605_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326755398","file1":"1326755396","file0":"1326755394","file3":"1326755399"},"map_files_photo_id_array":[{"photo_id":"1326755398","filename":"file2"},{"photo_id":"1326755396","filename":"file1"},{"photo_id":"1326755394","filename":"file0"},{"photo_id":"1326755399","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326755398":["hashtag1","hashtag2"]},{"1326755394":["hashtag1","hashtag2"]},{"1326755396":["hashtag1","hashtag2"]},{"1326755399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326755398, 1326755394, 1326755396, 1326755399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.41143608093262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:35:02.956195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:35:22.372642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/34/image_04012025_19_34_02_189605_0003.jpg', '/home/pi/Desktop/images/04012025/19/35/image_04012025_19_35_02_418775_0000.jpg', '/home/pi/Desktop/images/04012025/19/35/image_04012025_19_35_02_418775_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/34/image_04012025_19_34_02_189605_0003.jpg
/home/pi/Desktop/images/04012025/19/35/image_04012025_19_35_02_418775_0000.jpg
/home/pi/Desktop/images/04012025/19/35/image_04012025_19_35_02_418775_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":["1326756352","1326755883","1326756395"],"photo_ids_order":["1326755883","1326756352","1326756395"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba46410b88375411eff6bda9514eec9a.jpg","text":"TemporaryFile(/tmp/multipartBody8297628174820556355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015790296,"filename":"image_04012025_19_35_02_418775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e559e2a558f5b4fb0b8d9bac9d510435.jpg","text":"TemporaryFile(/tmp/multipartBody4383203179470495217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015790296,"filename":"image_04012025_19_34_02_189605_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/824d580e61c51a174d051f1794f659ed.jpg","text":"TemporaryFile(/tmp/multipartBody57006284180490512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015790296,"filename":"image_04012025_19_35_02_418775_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326756395","file1":"1326756352","file0":"1326755883"},"map_files_photo_id_array":[{"photo_id":"1326756395","filename":"file2"},{"photo_id":"1326756352","filename":"file1"},{"photo_id":"1326755883","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326756352":["hashtag1","hashtag2"]},{"1326755883":["hashtag1","hashtag2"]},{"1326756395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326756352, 1326755883, 1326756395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.60674166679382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:36:02.894999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:36:22.481335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/35/image_04012025_19_35_02_418775_0003.jpg', '/home/pi/Desktop/images/04012025/19/36/image_04012025_19_36_02_624040_0000.jpg', '/home/pi/Desktop/images/04012025/19/36/image_04012025_19_36_02_624040_0001.jpg', '/home/pi/Desktop/images/04012025/19/36/image_04012025_19_36_02_624040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/35/image_04012025_19_35_02_418775_0003.jpg
/home/pi/Desktop/images/04012025/19/36/image_04012025_19_36_02_624040_0000.jpg
/home/pi/Desktop/images/04012025/19/36/image_04012025_19_36_02_624040_0001.jpg
/home/pi/Desktop/images/04012025/19/36/image_04012025_19_36_02_624040_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.784966707229614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 19:36:42.478927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/35/image_04012025_19_35_02_418775_0003.jpg', '/home/pi/Desktop/images/04012025/19/36/image_04012025_19_36_02_624040_0000.jpg', '/home/pi/Desktop/images/04012025/19/36/image_04012025_19_36_02_624040_0001.jpg', '/home/pi/Desktop/images/04012025/19/36/image_04012025_19_36_02_624040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/35/image_04012025_19_35_02_418775_0003.jpg
/home/pi/Desktop/images/04012025/19/36/image_04012025_19_36_02_624040_0000.jpg
/home/pi/Desktop/images/04012025/19/36/image_04012025_19_36_02_624040_0001.jpg
/home/pi/Desktop/images/04012025/19/36/image_04012025_19_36_02_624040_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326757039","1326757033","1326757035","1326757037"],"photo_ids_order":["1326757033","1326757035","1326757037","1326757039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/80d1d39b7208c89c383d60cc95d35103.jpg","text":"TemporaryFile(/tmp/multipartBody6575324650965641437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015872663,"filename":"image_04012025_19_36_02_624040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f1f98e1eda413f1767b0a72d90569977.jpg","text":"TemporaryFile(/tmp/multipartBody7783644454110101088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015872663,"filename":"image_04012025_19_35_02_418775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba279bfa21fa20bfe0210497ad852ff1.jpg","text":"TemporaryFile(/tmp/multipartBody8444511340631798772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015872663,"filename":"image_04012025_19_36_02_624040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/38b47dd50fa91478e56caa3e98afca01.jpg","text":"TemporaryFile(/tmp/multipartBody8372464303482962574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015872663,"filename":"image_04012025_19_36_02_624040_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326757037","file1":"1326757035","file0":"1326757033","file3":"1326757039"},"map_files_photo_id_array":[{"photo_id":"1326757037","filename":"file2"},{"photo_id":"1326757035","filename":"file1"},{"photo_id":"1326757033","filename":"file0"},{"photo_id":"1326757039","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326757039":["hashtag1","hashtag2"]},{"1326757033":["hashtag1","hashtag2"]},{"1326757035":["hashtag1","hashtag2"]},{"1326757037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326757039, 1326757033, 1326757035, 1326757037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.981934785842896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:37:22.665847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/36/image_04012025_19_36_02_624040_0003.jpg', '/home/pi/Desktop/images/04012025/19/37/image_04012025_19_37_02_885310_0000.jpg', '/home/pi/Desktop/images/04012025/19/37/image_04012025_19_37_02_885310_0001.jpg', '/home/pi/Desktop/images/04012025/19/37/image_04012025_19_37_02_885310_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/36/image_04012025_19_36_02_624040_0003.jpg
/home/pi/Desktop/images/04012025/19/37/image_04012025_19_37_02_885310_0000.jpg
/home/pi/Desktop/images/04012025/19/37/image_04012025_19_37_02_885310_0001.jpg
/home/pi/Desktop/images/04012025/19/37/image_04012025_19_37_02_885310_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326757083","1326757080","1326757085","1326757087"],"photo_ids_order":["1326757080","1326757083","1326757085","1326757087"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/71999a54c382b2a4e5cf14ef29a7e997.jpg","text":"TemporaryFile(/tmp/multipartBody7653937786180641214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015912945,"filename":"image_04012025_19_37_02_885310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5e27082e05f53dfd69a3f27e3fb45f7d.jpg","text":"TemporaryFile(/tmp/multipartBody2655674430989510264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015912945,"filename":"image_04012025_19_36_02_624040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3a98831143c245c4ec2c225575d10fe5.jpg","text":"TemporaryFile(/tmp/multipartBody6344934134810093774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015912945,"filename":"image_04012025_19_37_02_885310_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a109c0c4d00f2534b8bdf80a0284cc99.jpg","text":"TemporaryFile(/tmp/multipartBody7319330108306778607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015912945,"filename":"image_04012025_19_37_02_885310_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326757085","file1":"1326757083","file0":"1326757080","file3":"1326757087"},"map_files_photo_id_array":[{"photo_id":"1326757085","filename":"file2"},{"photo_id":"1326757083","filename":"file1"},{"photo_id":"1326757080","filename":"file0"},{"photo_id":"1326757087","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326757083":["hashtag1","hashtag2"]},{"1326757080":["hashtag1","hashtag2"]},{"1326757085":["hashtag1","hashtag2"]},{"1326757087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326757083, 1326757080, 1326757085, 1326757087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.660446882247925 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-04 19:38:21.892731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/37/image_04012025_19_37_02_885310_0003.jpg', '/home/pi/Desktop/images/04012025/19/38/image_04012025_19_38_02_992559_0000.jpg', '/home/pi/Desktop/images/04012025/19/38/image_04012025_19_38_02_992559_0001.jpg', '/home/pi/Desktop/images/04012025/19/38/image_04012025_19_38_02_992559_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/37/image_04012025_19_37_02_885310_0003.jpg
/home/pi/Desktop/images/04012025/19/38/image_04012025_19_38_02_992559_0000.jpg
/home/pi/Desktop/images/04012025/19/38/image_04012025_19_38_02_992559_0001.jpg
/home/pi/Desktop/images/04012025/19/38/image_04012025_19_38_02_992559_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326757924","1326758129","1326758146","1326758149"],"photo_ids_order":["1326757924","1326758129","1326758146","1326758149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d88e15411bdc5d3f6ae83a00b4d5af65.jpg","text":"TemporaryFile(/tmp/multipartBody6830540994010528331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015972322,"filename":"image_04012025_19_37_02_885310_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f8f0f1c5b2da8d92f5741f08fc147f19.jpg","text":"TemporaryFile(/tmp/multipartBody2141867382912216191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015972322,"filename":"image_04012025_19_38_02_992559_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/812ce64d4ea958c86cd9f2d1f74cb6e5.jpg","text":"TemporaryFile(/tmp/multipartBody3495747315167656067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015972322,"filename":"image_04012025_19_38_02_992559_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/548b4c70330765698b3091c06596a8da.jpg","text":"TemporaryFile(/tmp/multipartBody2485383734930070984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736015972322,"filename":"image_04012025_19_38_02_992559_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326758146","file1":"1326758129","file0":"1326757924","file3":"1326758149"},"map_files_photo_id_array":[{"photo_id":"1326758146","filename":"file2"},{"photo_id":"1326758129","filename":"file1"},{"photo_id":"1326757924","filename":"file0"},{"photo_id":"1326758149","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326757924":["hashtag1","hashtag2"]},{"1326758129":["hashtag1","hashtag2"]},{"1326758146":["hashtag1","hashtag2"]},{"1326758149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326757924, 1326758129, 1326758146, 1326758149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.68784141540527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:39:02.672557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:39:22.051980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/38/image_04012025_19_38_02_992559_0003.jpg', '/home/pi/Desktop/images/04012025/19/39/image_04012025_19_39_02_231735_0000.jpg', '/home/pi/Desktop/images/04012025/19/39/image_04012025_19_39_02_231735_0001.jpg', '/home/pi/Desktop/images/04012025/19/39/image_04012025_19_39_02_231735_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/38/image_04012025_19_38_02_992559_0003.jpg
/home/pi/Desktop/images/04012025/19/39/image_04012025_19_39_02_231735_0000.jpg
/home/pi/Desktop/images/04012025/19/39/image_04012025_19_39_02_231735_0001.jpg
/home/pi/Desktop/images/04012025/19/39/image_04012025_19_39_02_231735_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326758203","1326758205","1326758208","1326758212"],"photo_ids_order":["1326758203","1326758205","1326758208","1326758212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c5f82366260ded759a5ce6bf6d61c4c2.jpg","text":"TemporaryFile(/tmp/multipartBody5476451777624838068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016032396,"filename":"image_04012025_19_38_02_992559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bcf860d099053e4225b7027cd075c7cd.jpg","text":"TemporaryFile(/tmp/multipartBody941748215131515827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016032396,"filename":"image_04012025_19_39_02_231735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5cf46c39c2a108b1c4851bec7c6631ad.jpg","text":"TemporaryFile(/tmp/multipartBody7482531130237013337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016032396,"filename":"image_04012025_19_39_02_231735_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49382936b4759b331df166214b06188b.jpg","text":"TemporaryFile(/tmp/multipartBody2594787707635113243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016032396,"filename":"image_04012025_19_39_02_231735_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326758208","file1":"1326758205","file0":"1326758203","file3":"1326758212"},"map_files_photo_id_array":[{"photo_id":"1326758208","filename":"file2"},{"photo_id":"1326758205","filename":"file1"},{"photo_id":"1326758203","filename":"file0"},{"photo_id":"1326758212","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326758203":["hashtag1","hashtag2"]},{"1326758205":["hashtag1","hashtag2"]},{"1326758208":["hashtag1","hashtag2"]},{"1326758212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326758203, 1326758205, 1326758208, 1326758212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.985817432403564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:40:02.631318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:40:22.243616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/39/image_04012025_19_39_02_231735_0003.jpg', '/home/pi/Desktop/images/04012025/19/40/image_04012025_19_40_02_436467_0000.jpg', '/home/pi/Desktop/images/04012025/19/40/image_04012025_19_40_02_436467_0001.jpg', '/home/pi/Desktop/images/04012025/19/40/image_04012025_19_40_02_436467_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/39/image_04012025_19_39_02_231735_0003.jpg
/home/pi/Desktop/images/04012025/19/40/image_04012025_19_40_02_436467_0000.jpg
/home/pi/Desktop/images/04012025/19/40/image_04012025_19_40_02_436467_0001.jpg
/home/pi/Desktop/images/04012025/19/40/image_04012025_19_40_02_436467_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326758512","1326758682","1326758526","1326758513"],"photo_ids_order":["1326758512","1326758513","1326758526","1326758682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1f8809ca1b8ff2c24978536e4dfbbfe6.jpg","text":"TemporaryFile(/tmp/multipartBody9057165969818898035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016092540,"filename":"image_04012025_19_39_02_231735_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e31226f4c2d4f8471f46d9bece6b4784.jpg","text":"TemporaryFile(/tmp/multipartBody6974147584198984846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016092540,"filename":"image_04012025_19_40_02_436467_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e9a2e27ab2bc61d116c383b9eedffbec.jpg","text":"TemporaryFile(/tmp/multipartBody2173849993533734032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016092540,"filename":"image_04012025_19_40_02_436467_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c25310e4bad6e7721fd7f383b5dd863c.jpg","text":"TemporaryFile(/tmp/multipartBody5040221675145446681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016092540,"filename":"image_04012025_19_40_02_436467_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326758526","file1":"1326758513","file0":"1326758512","file3":"1326758682"},"map_files_photo_id_array":[{"photo_id":"1326758526","filename":"file2"},{"photo_id":"1326758513","filename":"file1"},{"photo_id":"1326758512","filename":"file0"},{"photo_id":"1326758682","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326758512":["hashtag1","hashtag2"]},{"1326758682":["hashtag1","hashtag2"]},{"1326758526":["hashtag1","hashtag2"]},{"1326758513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326758512, 1326758682, 1326758526, 1326758513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.98922848701477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:41:22.445448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/40/image_04012025_19_40_02_436467_0003.jpg', '/home/pi/Desktop/images/04012025/19/41/image_04012025_19_41_02_556333_0000.jpg', '/home/pi/Desktop/images/04012025/19/41/image_04012025_19_41_02_556333_0001.jpg', '/home/pi/Desktop/images/04012025/19/41/image_04012025_19_41_02_556333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/40/image_04012025_19_40_02_436467_0003.jpg
/home/pi/Desktop/images/04012025/19/41/image_04012025_19_41_02_556333_0000.jpg
/home/pi/Desktop/images/04012025/19/41/image_04012025_19_41_02_556333_0001.jpg
/home/pi/Desktop/images/04012025/19/41/image_04012025_19_41_02_556333_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326759123","1326759126","1326759089","1326759171"],"photo_ids_order":["1326759089","1326759123","1326759126","1326759171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/36d6f5f1889a0f74b1a5b74e57c0b93b.jpg","text":"TemporaryFile(/tmp/multipartBody1924879581809838545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016152873,"filename":"image_04012025_19_41_02_556333_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4b4369573f7392ec1bb9f483f1e8214f.jpg","text":"TemporaryFile(/tmp/multipartBody2411187068235568219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016152873,"filename":"image_04012025_19_41_02_556333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/83b57c56673a441b27424db533b6e311.jpg","text":"TemporaryFile(/tmp/multipartBody3298869536525697575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016152873,"filename":"image_04012025_19_40_02_436467_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f9077bdb22d57ed274c86e6c337af92a.jpg","text":"TemporaryFile(/tmp/multipartBody8163541587619248179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016152873,"filename":"image_04012025_19_41_02_556333_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326759126","file1":"1326759123","file0":"1326759089","file3":"1326759171"},"map_files_photo_id_array":[{"photo_id":"1326759126","filename":"file2"},{"photo_id":"1326759123","filename":"file1"},{"photo_id":"1326759089","filename":"file0"},{"photo_id":"1326759171","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326759123":["hashtag1","hashtag2"]},{"1326759126":["hashtag1","hashtag2"]},{"1326759089":["hashtag1","hashtag2"]},{"1326759171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326759123, 1326759126, 1326759089, 1326759171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.793376207351685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:42:03.001201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:42:22.595057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/41/image_04012025_19_41_02_556333_0003.jpg', '/home/pi/Desktop/images/04012025/19/42/image_04012025_19_42_02_751842_0000.jpg', '/home/pi/Desktop/images/04012025/19/42/image_04012025_19_42_02_751842_0001.jpg', '/home/pi/Desktop/images/04012025/19/42/image_04012025_19_42_02_751842_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/41/image_04012025_19_41_02_556333_0003.jpg
/home/pi/Desktop/images/04012025/19/42/image_04012025_19_42_02_751842_0000.jpg
/home/pi/Desktop/images/04012025/19/42/image_04012025_19_42_02_751842_0001.jpg
/home/pi/Desktop/images/04012025/19/42/image_04012025_19_42_02_751842_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326759486","1326759500","1326759544","1326759462"],"photo_ids_order":["1326759462","1326759486","1326759500","1326759544"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/892af47922becced435011e8b5c63ee1.jpg","text":"TemporaryFile(/tmp/multipartBody188078924939973822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016212973,"filename":"image_04012025_19_42_02_751842_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6850a1e931a72be32f8fae0e8fc3722a.jpg","text":"TemporaryFile(/tmp/multipartBody3397354306823354635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016212973,"filename":"image_04012025_19_42_02_751842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2efc318a5bad7aef9e49084ed69fd11d.jpg","text":"TemporaryFile(/tmp/multipartBody638216081749744081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016212973,"filename":"image_04012025_19_42_02_751842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/de86aae9091d470c338b31c992b878fb.jpg","text":"TemporaryFile(/tmp/multipartBody1956906073362115315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016212973,"filename":"image_04012025_19_41_02_556333_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326759500","file1":"1326759486","file0":"1326759462","file3":"1326759544"},"map_files_photo_id_array":[{"photo_id":"1326759500","filename":"file2"},{"photo_id":"1326759486","filename":"file1"},{"photo_id":"1326759462","filename":"file0"},{"photo_id":"1326759544","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326759486":["hashtag1","hashtag2"]},{"1326759500":["hashtag1","hashtag2"]},{"1326759544":["hashtag1","hashtag2"]},{"1326759462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326759486, 1326759500, 1326759544, 1326759462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.29206585884094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:43:21.761909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/42/image_04012025_19_42_02_751842_0003.jpg', '/home/pi/Desktop/images/04012025/19/43/image_04012025_19_43_02_890908_0000.jpg', '/home/pi/Desktop/images/04012025/19/43/image_04012025_19_43_02_890908_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/42/image_04012025_19_42_02_751842_0003.jpg
/home/pi/Desktop/images/04012025/19/43/image_04012025_19_43_02_890908_0000.jpg
/home/pi/Desktop/images/04012025/19/43/image_04012025_19_43_02_890908_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.543228387832642 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 19:43:31.806433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/42/image_04012025_19_42_02_751842_0003.jpg', '/home/pi/Desktop/images/04012025/19/43/image_04012025_19_43_02_890908_0000.jpg', '/home/pi/Desktop/images/04012025/19/43/image_04012025_19_43_02_890908_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/42/image_04012025_19_42_02_751842_0003.jpg
/home/pi/Desktop/images/04012025/19/43/image_04012025_19_43_02_890908_0000.jpg
/home/pi/Desktop/images/04012025/19/43/image_04012025_19_43_02_890908_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":["1326759948","1326759770","1326759950"],"photo_ids_order":["1326759770","1326759948","1326759950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2b1f9d564afa2b13192e7c923e11712c.jpg","text":"TemporaryFile(/tmp/multipartBody1420691068933347124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016279716,"filename":"image_04012025_19_43_02_890908_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e4e1b8632e5b72e683327aae69cfafa6.jpg","text":"TemporaryFile(/tmp/multipartBody4304708236552734016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016279716,"filename":"image_04012025_19_42_02_751842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/42cada41226eb338b2bfe2befda57d0e.jpg","text":"TemporaryFile(/tmp/multipartBody7961604079536642556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016279716,"filename":"image_04012025_19_43_02_890908_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326759950","file1":"1326759948","file0":"1326759770"},"map_files_photo_id_array":[{"photo_id":"1326759950","filename":"file2"},{"photo_id":"1326759948","filename":"file1"},{"photo_id":"1326759770","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326759948":["hashtag1","hashtag2"]},{"1326759770":["hashtag1","hashtag2"]},{"1326759950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326759948, 1326759770, 1326759950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.32798981666565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:44:21.932927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/43/image_04012025_19_43_02_890908_0003.jpg', '/home/pi/Desktop/images/04012025/19/44/image_04012025_19_44_02_137680_0000.jpg', '/home/pi/Desktop/images/04012025/19/44/image_04012025_19_44_02_137680_0001.jpg', '/home/pi/Desktop/images/04012025/19/44/image_04012025_19_44_02_137680_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/43/image_04012025_19_43_02_890908_0003.jpg
/home/pi/Desktop/images/04012025/19/44/image_04012025_19_44_02_137680_0000.jpg
/home/pi/Desktop/images/04012025/19/44/image_04012025_19_44_02_137680_0001.jpg
/home/pi/Desktop/images/04012025/19/44/image_04012025_19_44_02_137680_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326760356","1326760358","1326760474","1326760354"],"photo_ids_order":["1326760354","1326760356","1326760358","1326760474"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e403a8e6dd75aeed03fa9c0e074198ad.jpg","text":"TemporaryFile(/tmp/multipartBody7301003824357183075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016332309,"filename":"image_04012025_19_44_02_137680_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/470f1101c823a16aa2ba90578e996a91.jpg","text":"TemporaryFile(/tmp/multipartBody5746191277769838683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016332309,"filename":"image_04012025_19_44_02_137680_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/814c9b39270857b72dcabe0e5a41203d.jpg","text":"TemporaryFile(/tmp/multipartBody939313757953740802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016332309,"filename":"image_04012025_19_44_02_137680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/90973f65c8e222f64a3341e2a620e35e.jpg","text":"TemporaryFile(/tmp/multipartBody686127762491873693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016332309,"filename":"image_04012025_19_43_02_890908_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326760358","file1":"1326760356","file0":"1326760354","file3":"1326760474"},"map_files_photo_id_array":[{"photo_id":"1326760358","filename":"file2"},{"photo_id":"1326760356","filename":"file1"},{"photo_id":"1326760354","filename":"file0"},{"photo_id":"1326760474","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326760356":["hashtag1","hashtag2"]},{"1326760358":["hashtag1","hashtag2"]},{"1326760474":["hashtag1","hashtag2"]},{"1326760354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326760356, 1326760358, 1326760474, 1326760354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.396880865097046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:45:02.812110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:45:22.056761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/44/image_04012025_19_44_02_137680_0003.jpg', '/home/pi/Desktop/images/04012025/19/45/image_04012025_19_45_02_321600_0000.jpg', '/home/pi/Desktop/images/04012025/19/45/image_04012025_19_45_02_321600_0001.jpg', '/home/pi/Desktop/images/04012025/19/45/image_04012025_19_45_02_321600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/44/image_04012025_19_44_02_137680_0003.jpg
/home/pi/Desktop/images/04012025/19/45/image_04012025_19_45_02_321600_0000.jpg
/home/pi/Desktop/images/04012025/19/45/image_04012025_19_45_02_321600_0001.jpg
/home/pi/Desktop/images/04012025/19/45/image_04012025_19_45_02_321600_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326760740","1326760736","1326760735","1326760738"],"photo_ids_order":["1326760735","1326760736","1326760738","1326760740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c292476722e5deb76a7ccd364b770b36.jpg","text":"TemporaryFile(/tmp/multipartBody8073201243331120315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016392524,"filename":"image_04012025_19_45_02_321600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/53d3aaca6a6c6d0b6f8a254f63a26998.jpg","text":"TemporaryFile(/tmp/multipartBody6558649673521752273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016392524,"filename":"image_04012025_19_45_02_321600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a9d80405e15605534f471395a6ba77a2.jpg","text":"TemporaryFile(/tmp/multipartBody1578822789678657180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016392524,"filename":"image_04012025_19_44_02_137680_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2903852ed6b26f381f93df45721ef127.jpg","text":"TemporaryFile(/tmp/multipartBody1596524209276211510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016392524,"filename":"image_04012025_19_45_02_321600_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326760738","file1":"1326760736","file0":"1326760735","file3":"1326760740"},"map_files_photo_id_array":[{"photo_id":"1326760738","filename":"file2"},{"photo_id":"1326760736","filename":"file1"},{"photo_id":"1326760735","filename":"file0"},{"photo_id":"1326760740","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326760740":["hashtag1","hashtag2"]},{"1326760736":["hashtag1","hashtag2"]},{"1326760735":["hashtag1","hashtag2"]},{"1326760738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326760740, 1326760736, 1326760735, 1326760738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.101882219314575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:46:22.315493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/45/image_04012025_19_45_02_321600_0003.jpg', '/home/pi/Desktop/images/04012025/19/46/image_04012025_19_46_02_460323_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/45/image_04012025_19_45_02_321600_0003.jpg
/home/pi/Desktop/images/04012025/19/46/image_04012025_19_46_02_460323_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":["1326760749","1326760751"],"photo_ids_order":["1326760749","1326760751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f35c11c2c71e606e797f56129da39c5.jpg","text":"TemporaryFile(/tmp/multipartBody6113709309589895074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016447761,"filename":"image_04012025_19_45_02_321600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/58d6ed148804ca762bceefb9d8d3075b.jpg","text":"TemporaryFile(/tmp/multipartBody8834618214386436144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016447761,"filename":"image_04012025_19_46_02_460323_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326760751","file0":"1326760749"},"map_files_photo_id_array":[{"photo_id":"1326760751","filename":"file1"},{"photo_id":"1326760749","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326760749":["hashtag1","hashtag2"]},{"1326760751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326760749, 1326760751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.80018973350525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 19:46:52.227091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:47:02.993670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:47:22.507033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/46/image_04012025_19_46_02_460323_0003.jpg', '/home/pi/Desktop/images/04012025/19/47/image_04012025_19_47_02_631154_0000.jpg', '/home/pi/Desktop/images/04012025/19/47/image_04012025_19_47_02_631154_0001.jpg', '/home/pi/Desktop/images/04012025/19/47/image_04012025_19_47_02_631154_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/46/image_04012025_19_46_02_460323_0003.jpg
/home/pi/Desktop/images/04012025/19/47/image_04012025_19_47_02_631154_0000.jpg
/home/pi/Desktop/images/04012025/19/47/image_04012025_19_47_02_631154_0001.jpg
/home/pi/Desktop/images/04012025/19/47/image_04012025_19_47_02_631154_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326760875","1326760880","1326760877","1326760873"],"photo_ids_order":["1326760873","1326760875","1326760877","1326760880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fbc054a1dce2a1a75c354a96697aecd1.jpg","text":"TemporaryFile(/tmp/multipartBody16244499208866526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016512809,"filename":"image_04012025_19_47_02_631154_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1262c316a7dc61dd12251b11dfda6528.jpg","text":"TemporaryFile(/tmp/multipartBody1557330448278647460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016512809,"filename":"image_04012025_19_47_02_631154_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a76233da9d18980189c94a4247329bb7.jpg","text":"TemporaryFile(/tmp/multipartBody8199675932429450609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016512809,"filename":"image_04012025_19_47_02_631154_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/254ac10d03e408c6bc4351ce2e4f76cf.jpg","text":"TemporaryFile(/tmp/multipartBody4117170691873275065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016512809,"filename":"image_04012025_19_46_02_460323_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326760877","file1":"1326760875","file0":"1326760873","file3":"1326760880"},"map_files_photo_id_array":[{"photo_id":"1326760877","filename":"file2"},{"photo_id":"1326760875","filename":"file1"},{"photo_id":"1326760873","filename":"file0"},{"photo_id":"1326760880","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326760875":["hashtag1","hashtag2"]},{"1326760880":["hashtag1","hashtag2"]},{"1326760877":["hashtag1","hashtag2"]},{"1326760873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326760875, 1326760880, 1326760877, 1326760873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.426159620285034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:48:03.042861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:48:22.597523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/47/image_04012025_19_47_02_631154_0003.jpg', '/home/pi/Desktop/images/04012025/19/48/image_04012025_19_48_02_783375_0000.jpg', '/home/pi/Desktop/images/04012025/19/48/image_04012025_19_48_02_783375_0001.jpg', '/home/pi/Desktop/images/04012025/19/48/image_04012025_19_48_02_783375_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/47/image_04012025_19_47_02_631154_0003.jpg
/home/pi/Desktop/images/04012025/19/48/image_04012025_19_48_02_783375_0000.jpg
/home/pi/Desktop/images/04012025/19/48/image_04012025_19_48_02_783375_0001.jpg
/home/pi/Desktop/images/04012025/19/48/image_04012025_19_48_02_783375_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326761943","1326762015","1326761984","1326762017"],"photo_ids_order":["1326761943","1326761984","1326762015","1326762017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4bdd258c8c412438c6a50dd9a534cd0d.jpg","text":"TemporaryFile(/tmp/multipartBody7709129780780740194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016572995,"filename":"image_04012025_19_47_02_631154_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/967461e30997b8d7870aa80c80207e5c.jpg","text":"TemporaryFile(/tmp/multipartBody1561323610564091587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016572995,"filename":"image_04012025_19_48_02_783375_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/63ae32ff7e450c66b97a856360613081.jpg","text":"TemporaryFile(/tmp/multipartBody8760433753379250425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016572995,"filename":"image_04012025_19_48_02_783375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0a04b253973ae52070ee5b3c3e7fcf29.jpg","text":"TemporaryFile(/tmp/multipartBody4963174015083515131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016572995,"filename":"image_04012025_19_48_02_783375_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326762015","file1":"1326761984","file0":"1326761943","file3":"1326762017"},"map_files_photo_id_array":[{"photo_id":"1326762015","filename":"file2"},{"photo_id":"1326761984","filename":"file1"},{"photo_id":"1326761943","filename":"file0"},{"photo_id":"1326762017","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326761943":["hashtag1","hashtag2"]},{"1326762015":["hashtag1","hashtag2"]},{"1326761984":["hashtag1","hashtag2"]},{"1326762017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326761943, 1326762015, 1326761984, 1326762017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.3874249458313 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:49:22.826541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/48/image_04012025_19_48_02_783375_0003.jpg', '/home/pi/Desktop/images/04012025/19/49/image_04012025_19_49_02_944567_0000.jpg', '/home/pi/Desktop/images/04012025/19/49/image_04012025_19_49_02_944567_0001.jpg', '/home/pi/Desktop/images/04012025/19/49/image_04012025_19_49_02_944567_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/48/image_04012025_19_48_02_783375_0003.jpg
/home/pi/Desktop/images/04012025/19/49/image_04012025_19_49_02_944567_0000.jpg
/home/pi/Desktop/images/04012025/19/49/image_04012025_19_49_02_944567_0001.jpg
/home/pi/Desktop/images/04012025/19/49/image_04012025_19_49_02_944567_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326762379","1326762376","1326762372","1326762369"],"photo_ids_order":["1326762369","1326762372","1326762376","1326762379"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6b902e9d50c317cb9d6e7d99f5b54b18.jpg","text":"TemporaryFile(/tmp/multipartBody4985823042443581223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016633236,"filename":"image_04012025_19_49_02_944567_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/66cccb781a73e433300fe84711821e3e.jpg","text":"TemporaryFile(/tmp/multipartBody9172029090379985476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016633236,"filename":"image_04012025_19_49_02_944567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/720dd936e090e8b6e17f4cb0507c180d.jpg","text":"TemporaryFile(/tmp/multipartBody6606448394645819507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016633236,"filename":"image_04012025_19_49_02_944567_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/20221ea4999add10ef39b29a542ae8be.jpg","text":"TemporaryFile(/tmp/multipartBody3993139479556085406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016633236,"filename":"image_04012025_19_48_02_783375_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326762376","file1":"1326762372","file0":"1326762369","file3":"1326762379"},"map_files_photo_id_array":[{"photo_id":"1326762376","filename":"file2"},{"photo_id":"1326762372","filename":"file1"},{"photo_id":"1326762369","filename":"file0"},{"photo_id":"1326762379","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326762379":["hashtag1","hashtag2"]},{"1326762376":["hashtag1","hashtag2"]},{"1326762372":["hashtag1","hashtag2"]},{"1326762369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326762379, 1326762376, 1326762372, 1326762369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.12096834182739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:50:02.269139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:50:21.850113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/49/image_04012025_19_49_02_944567_0003.jpg', '/home/pi/Desktop/images/04012025/19/50/image_04012025_19_50_03_213954_0000.jpg', '/home/pi/Desktop/images/04012025/19/50/image_04012025_19_50_03_213954_0001.jpg', '/home/pi/Desktop/images/04012025/19/50/image_04012025_19_50_03_213954_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/49/image_04012025_19_49_02_944567_0003.jpg
/home/pi/Desktop/images/04012025/19/50/image_04012025_19_50_03_213954_0000.jpg
/home/pi/Desktop/images/04012025/19/50/image_04012025_19_50_03_213954_0001.jpg
/home/pi/Desktop/images/04012025/19/50/image_04012025_19_50_03_213954_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326762621","1326762620","1326762623","1326762619"],"photo_ids_order":["1326762619","1326762620","1326762621","1326762623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cd10cf968c999b7dfdfc77133f1a445b.jpg","text":"TemporaryFile(/tmp/multipartBody1467639165588453505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016692276,"filename":"image_04012025_19_50_03_213954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/066d2828a8f5a978ff71fc791c619196.jpg","text":"TemporaryFile(/tmp/multipartBody1296928625309378653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016692276,"filename":"image_04012025_19_50_03_213954_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d4fc4c86b57aa9ca24d8bc4dfe5c3a60.jpg","text":"TemporaryFile(/tmp/multipartBody4098832875549441039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016692276,"filename":"image_04012025_19_50_03_213954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5001adae547463ab4faacd01ec4a9b7e.jpg","text":"TemporaryFile(/tmp/multipartBody8755264739904104321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016692276,"filename":"image_04012025_19_49_02_944567_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326762621","file1":"1326762620","file0":"1326762619","file3":"1326762623"},"map_files_photo_id_array":[{"photo_id":"1326762621","filename":"file2"},{"photo_id":"1326762620","filename":"file1"},{"photo_id":"1326762619","filename":"file0"},{"photo_id":"1326762623","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326762621":["hashtag1","hashtag2"]},{"1326762620":["hashtag1","hashtag2"]},{"1326762623":["hashtag1","hashtag2"]},{"1326762619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326762621, 1326762620, 1326762623, 1326762619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.59849786758423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:51:02.592597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:51:22.072811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/50/image_04012025_19_50_03_213954_0003.jpg', '/home/pi/Desktop/images/04012025/19/51/image_04012025_19_51_02_312044_0000.jpg', '/home/pi/Desktop/images/04012025/19/51/image_04012025_19_51_02_312044_0001.jpg', '/home/pi/Desktop/images/04012025/19/51/image_04012025_19_51_02_312044_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/50/image_04012025_19_50_03_213954_0003.jpg
/home/pi/Desktop/images/04012025/19/51/image_04012025_19_51_02_312044_0000.jpg
/home/pi/Desktop/images/04012025/19/51/image_04012025_19_51_02_312044_0001.jpg
/home/pi/Desktop/images/04012025/19/51/image_04012025_19_51_02_312044_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326762731","1326762733","1326762735","1326762732"],"photo_ids_order":["1326762731","1326762732","1326762733","1326762735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5c4e0044250c0f011cb5c6ca074b3c91.jpg","text":"TemporaryFile(/tmp/multipartBody2652476246603385676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016752435,"filename":"image_04012025_19_50_03_213954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1791c2193f14a685a11f64b3ca4bb9a4.jpg","text":"TemporaryFile(/tmp/multipartBody7724772308502682187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016752435,"filename":"image_04012025_19_51_02_312044_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6886520955c79153b9afbd92579fad77.jpg","text":"TemporaryFile(/tmp/multipartBody6543410636376298309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016752435,"filename":"image_04012025_19_51_02_312044_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1218b74935d5a159dfab817eb74f4b07.jpg","text":"TemporaryFile(/tmp/multipartBody3948380167680995012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016752435,"filename":"image_04012025_19_51_02_312044_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326762733","file1":"1326762732","file0":"1326762731","file3":"1326762735"},"map_files_photo_id_array":[{"photo_id":"1326762733","filename":"file2"},{"photo_id":"1326762732","filename":"file1"},{"photo_id":"1326762731","filename":"file0"},{"photo_id":"1326762735","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326762731":["hashtag1","hashtag2"]},{"1326762733":["hashtag1","hashtag2"]},{"1326762735":["hashtag1","hashtag2"]},{"1326762732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326762731, 1326762733, 1326762735, 1326762732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.752625703811646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:52:02.630015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:52:22.419084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/51/image_04012025_19_51_02_312044_0003.jpg', '/home/pi/Desktop/images/04012025/19/52/image_04012025_19_52_02_419907_0000.jpg', '/home/pi/Desktop/images/04012025/19/52/image_04012025_19_52_02_419907_0001.jpg', '/home/pi/Desktop/images/04012025/19/52/image_04012025_19_52_02_419907_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/51/image_04012025_19_51_02_312044_0003.jpg
/home/pi/Desktop/images/04012025/19/52/image_04012025_19_52_02_419907_0000.jpg
/home/pi/Desktop/images/04012025/19/52/image_04012025_19_52_02_419907_0001.jpg
/home/pi/Desktop/images/04012025/19/52/image_04012025_19_52_02_419907_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326762874","1326762859","1326762945","1326762861"],"photo_ids_order":["1326762859","1326762861","1326762874","1326762945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9baa07feab8de576ea26d2035b22111f.jpg","text":"TemporaryFile(/tmp/multipartBody7204541289750157222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016812767,"filename":"image_04012025_19_52_02_419907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9affe34f70689603b79b6475a656cda3.jpg","text":"TemporaryFile(/tmp/multipartBody1358750388699140305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016812767,"filename":"image_04012025_19_51_02_312044_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/530369786a6f56eba0783dff8de7b86c.jpg","text":"TemporaryFile(/tmp/multipartBody526994655275687813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016812767,"filename":"image_04012025_19_52_02_419907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/414104cb85fa53473d237c3aaa2b44f8.jpg","text":"TemporaryFile(/tmp/multipartBody2718647202443237382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016812767,"filename":"image_04012025_19_52_02_419907_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326762874","file1":"1326762861","file0":"1326762859","file3":"1326762945"},"map_files_photo_id_array":[{"photo_id":"1326762874","filename":"file2"},{"photo_id":"1326762861","filename":"file1"},{"photo_id":"1326762859","filename":"file0"},{"photo_id":"1326762945","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326762874":["hashtag1","hashtag2"]},{"1326762859":["hashtag1","hashtag2"]},{"1326762945":["hashtag1","hashtag2"]},{"1326762861":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326762874, 1326762859, 1326762945, 1326762861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.094791412353516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:53:03.099040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:53:22.443741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/52/image_04012025_19_52_02_419907_0003.jpg', '/home/pi/Desktop/images/04012025/19/53/image_04012025_19_53_02_649868_0000.jpg', '/home/pi/Desktop/images/04012025/19/53/image_04012025_19_53_02_649868_0001.jpg', '/home/pi/Desktop/images/04012025/19/53/image_04012025_19_53_02_649868_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/52/image_04012025_19_52_02_419907_0003.jpg
/home/pi/Desktop/images/04012025/19/53/image_04012025_19_53_02_649868_0000.jpg
/home/pi/Desktop/images/04012025/19/53/image_04012025_19_53_02_649868_0001.jpg
/home/pi/Desktop/images/04012025/19/53/image_04012025_19_53_02_649868_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326763195","1326763197","1326763191","1326763193"],"photo_ids_order":["1326763191","1326763193","1326763195","1326763197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9feeb21c9b00fa85b36b7a9922099787.jpg","text":"TemporaryFile(/tmp/multipartBody7704785822231330768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016872712,"filename":"image_04012025_19_53_02_649868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4513345ade9ef7685b50c35a6bbe64a3.jpg","text":"TemporaryFile(/tmp/multipartBody8236690893602319407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016872712,"filename":"image_04012025_19_53_02_649868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7643f993a87a8442d29348cb0004775d.jpg","text":"TemporaryFile(/tmp/multipartBody8421559378713549355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016872712,"filename":"image_04012025_19_52_02_419907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b431580b5197a4017e04d1a557c5c325.jpg","text":"TemporaryFile(/tmp/multipartBody1317672072010806942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016872712,"filename":"image_04012025_19_53_02_649868_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326763195","file1":"1326763193","file0":"1326763191","file3":"1326763197"},"map_files_photo_id_array":[{"photo_id":"1326763195","filename":"file2"},{"photo_id":"1326763193","filename":"file1"},{"photo_id":"1326763191","filename":"file0"},{"photo_id":"1326763197","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326763195":["hashtag1","hashtag2"]},{"1326763197":["hashtag1","hashtag2"]},{"1326763191":["hashtag1","hashtag2"]},{"1326763193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326763195, 1326763197, 1326763191, 1326763193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.036927938461304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:54:22.754913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/53/image_04012025_19_53_02_649868_0003.jpg', '/home/pi/Desktop/images/04012025/19/54/image_04012025_19_54_02_800200_0000.jpg', '/home/pi/Desktop/images/04012025/19/54/image_04012025_19_54_02_800200_0001.jpg', '/home/pi/Desktop/images/04012025/19/54/image_04012025_19_54_02_800200_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/53/image_04012025_19_53_02_649868_0003.jpg
/home/pi/Desktop/images/04012025/19/54/image_04012025_19_54_02_800200_0000.jpg
/home/pi/Desktop/images/04012025/19/54/image_04012025_19_54_02_800200_0001.jpg
/home/pi/Desktop/images/04012025/19/54/image_04012025_19_54_02_800200_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326763427","1326763376","1326763457","1326763429"],"photo_ids_order":["1326763376","1326763427","1326763429","1326763457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/234c45ec88c7516531b3b952035ad5c2.jpg","text":"TemporaryFile(/tmp/multipartBody807554613829076764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016933316,"filename":"image_04012025_19_54_02_800200_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4eeb8fa5148e4ccb10fa50659c9da9be.jpg","text":"TemporaryFile(/tmp/multipartBody429729792489470443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016933316,"filename":"image_04012025_19_53_02_649868_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/958609c2400845e3daab9dff91206652.jpg","text":"TemporaryFile(/tmp/multipartBody1689919464028645502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016933316,"filename":"image_04012025_19_54_02_800200_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7664bca70daaeeebacc161f64f52b8e6.jpg","text":"TemporaryFile(/tmp/multipartBody3816257908895263638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016933316,"filename":"image_04012025_19_54_02_800200_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326763429","file1":"1326763427","file0":"1326763376","file3":"1326763457"},"map_files_photo_id_array":[{"photo_id":"1326763429","filename":"file2"},{"photo_id":"1326763427","filename":"file1"},{"photo_id":"1326763376","filename":"file0"},{"photo_id":"1326763457","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326763427":["hashtag1","hashtag2"]},{"1326763376":["hashtag1","hashtag2"]},{"1326763457":["hashtag1","hashtag2"]},{"1326763429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326763427, 1326763376, 1326763457, 1326763429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.931281089782715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:55:02.285262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:55:21.748479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/54/image_04012025_19_54_02_800200_0003.jpg', '/home/pi/Desktop/images/04012025/19/55/image_04012025_19_55_03_137662_0000.jpg', '/home/pi/Desktop/images/04012025/19/55/image_04012025_19_55_03_137662_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/54/image_04012025_19_54_02_800200_0003.jpg
/home/pi/Desktop/images/04012025/19/55/image_04012025_19_55_03_137662_0000.jpg
/home/pi/Desktop/images/04012025/19/55/image_04012025_19_55_03_137662_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":["1326763601","1326763600","1326763598"],"photo_ids_order":["1326763598","1326763600","1326763601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/57c77d2895174372c2da1e6eb77f142a.jpg","text":"TemporaryFile(/tmp/multipartBody8973006613992699621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016989553,"filename":"image_04012025_19_55_03_137662_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b7e7c3e6b2cffeb887dc09ec8308e518.jpg","text":"TemporaryFile(/tmp/multipartBody6188934516888515240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016989553,"filename":"image_04012025_19_55_03_137662_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e8bdc8a3a4ffef111a8d8d1b8ae8b6a7.jpg","text":"TemporaryFile(/tmp/multipartBody2697124382106269279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736016989553,"filename":"image_04012025_19_54_02_800200_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326763601","file1":"1326763600","file0":"1326763598"},"map_files_photo_id_array":[{"photo_id":"1326763601","filename":"file2"},{"photo_id":"1326763600","filename":"file1"},{"photo_id":"1326763598","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326763601":["hashtag1","hashtag2"]},{"1326763600":["hashtag1","hashtag2"]},{"1326763598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326763601, 1326763600, 1326763598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.871798753738403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:56:02.384251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:56:22.034805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/55/image_04012025_19_55_03_137662_0003.jpg', '/home/pi/Desktop/images/04012025/19/56/image_04012025_19_56_02_181871_0000.jpg', '/home/pi/Desktop/images/04012025/19/56/image_04012025_19_56_02_181871_0001.jpg', '/home/pi/Desktop/images/04012025/19/56/image_04012025_19_56_02_181871_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/55/image_04012025_19_55_03_137662_0003.jpg
/home/pi/Desktop/images/04012025/19/56/image_04012025_19_56_02_181871_0000.jpg
/home/pi/Desktop/images/04012025/19/56/image_04012025_19_56_02_181871_0001.jpg
/home/pi/Desktop/images/04012025/19/56/image_04012025_19_56_02_181871_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326763613","1326763616","1326763617","1326763611"],"photo_ids_order":["1326763611","1326763613","1326763616","1326763617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/24b7f8e4015d8b7dfb98e88cd9a3f501.jpg","text":"TemporaryFile(/tmp/multipartBody8710846274933499526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017052264,"filename":"image_04012025_19_56_02_181871_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c22464698b9cd7cbc81bc8903d9b8ecb.jpg","text":"TemporaryFile(/tmp/multipartBody5781212364498351402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017052264,"filename":"image_04012025_19_56_02_181871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5b53c5ffeb0d6eb8dd9bb1c3e8d5c569.jpg","text":"TemporaryFile(/tmp/multipartBody7776970364275077365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017052264,"filename":"image_04012025_19_56_02_181871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0368733e6e09c3d2a775db0c4d2c8280.jpg","text":"TemporaryFile(/tmp/multipartBody9148958262448092164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017052264,"filename":"image_04012025_19_55_03_137662_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326763616","file1":"1326763613","file0":"1326763611","file3":"1326763617"},"map_files_photo_id_array":[{"photo_id":"1326763616","filename":"file2"},{"photo_id":"1326763613","filename":"file1"},{"photo_id":"1326763611","filename":"file0"},{"photo_id":"1326763617","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326763613":["hashtag1","hashtag2"]},{"1326763616":["hashtag1","hashtag2"]},{"1326763617":["hashtag1","hashtag2"]},{"1326763611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326763613, 1326763616, 1326763617, 1326763611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.366148471832275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:57:02.746814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:57:22.213695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/56/image_04012025_19_56_02_181871_0003.jpg', '/home/pi/Desktop/images/04012025/19/57/image_04012025_19_57_02_412185_0000.jpg', '/home/pi/Desktop/images/04012025/19/57/image_04012025_19_57_02_412185_0001.jpg', '/home/pi/Desktop/images/04012025/19/57/image_04012025_19_57_02_412185_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/56/image_04012025_19_56_02_181871_0003.jpg
/home/pi/Desktop/images/04012025/19/57/image_04012025_19_57_02_412185_0000.jpg
/home/pi/Desktop/images/04012025/19/57/image_04012025_19_57_02_412185_0001.jpg
/home/pi/Desktop/images/04012025/19/57/image_04012025_19_57_02_412185_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326763625","1326763628","1326763633","1326763626"],"photo_ids_order":["1326763625","1326763626","1326763628","1326763633"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2a268dcfb2a98c1614d66f0a15b569b7.jpg","text":"TemporaryFile(/tmp/multipartBody6300762369790339390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017112337,"filename":"image_04012025_19_56_02_181871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5aa1924886ccb17b430f8890d599bb9b.jpg","text":"TemporaryFile(/tmp/multipartBody9094758349308464006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017112337,"filename":"image_04012025_19_57_02_412185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e00628305323fcd0c020f3d09d29910a.jpg","text":"TemporaryFile(/tmp/multipartBody2732509067407749080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017112337,"filename":"image_04012025_19_57_02_412185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cff3aa988bce355f2380e0c66efcd077.jpg","text":"TemporaryFile(/tmp/multipartBody3749896357342644420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017112337,"filename":"image_04012025_19_57_02_412185_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326763628","file1":"1326763626","file0":"1326763625","file3":"1326763633"},"map_files_photo_id_array":[{"photo_id":"1326763628","filename":"file2"},{"photo_id":"1326763626","filename":"file1"},{"photo_id":"1326763625","filename":"file0"},{"photo_id":"1326763633","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326763625":["hashtag1","hashtag2"]},{"1326763628":["hashtag1","hashtag2"]},{"1326763633":["hashtag1","hashtag2"]},{"1326763626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326763625, 1326763628, 1326763633, 1326763626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94882941246033 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 19:59:03.148970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 19:59:22.373405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/57/image_04012025_19_57_02_412185_0003.jpg', '/home/pi/Desktop/images/04012025/19/58/image_04012025_19_58_02_531929_0000.jpg', '/home/pi/Desktop/images/04012025/19/58/image_04012025_19_58_02_531929_0001.jpg', '/home/pi/Desktop/images/04012025/19/58/image_04012025_19_58_02_531929_0002.jpg', '/home/pi/Desktop/images/04012025/19/58/image_04012025_19_58_02_531929_0003.jpg', '/home/pi/Desktop/images/04012025/19/59/image_04012025_19_59_02_653692_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/57/image_04012025_19_57_02_412185_0003.jpg
/home/pi/Desktop/images/04012025/19/58/image_04012025_19_58_02_531929_0000.jpg
/home/pi/Desktop/images/04012025/19/58/image_04012025_19_58_02_531929_0001.jpg
/home/pi/Desktop/images/04012025/19/58/image_04012025_19_58_02_531929_0002.jpg
/home/pi/Desktop/images/04012025/19/58/image_04012025_19_58_02_531929_0003.jpg
/home/pi/Desktop/images/04012025/19/59/image_04012025_19_59_02_653692_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":["1326765217","1326765220","1326765214","1326765208","1326765212","1326765218"],"photo_ids_order":["1326765208","1326765212","1326765214","1326765217","1326765218","1326765220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd76ef125307d45898ddc594f7c539e5.jpg","text":"TemporaryFile(/tmp/multipartBody7716546619712940900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017237341,"filename":"image_04012025_19_58_02_531929_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5b61d2c8bf96a1d0d3cd411e8d339f27.jpg","text":"TemporaryFile(/tmp/multipartBody3151296776238485577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017237341,"filename":"image_04012025_19_59_02_653692_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0f47342c42bd2c78711b60882af321c8.jpg","text":"TemporaryFile(/tmp/multipartBody6039435195226182161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017237341,"filename":"image_04012025_19_58_02_531929_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7cc70cce98ccc519e47bf0b4e3f5cc43.jpg","text":"TemporaryFile(/tmp/multipartBody1844955209744812055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017237341,"filename":"image_04012025_19_57_02_412185_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5095d30c60fd9d70e82c6300062435a6.jpg","text":"TemporaryFile(/tmp/multipartBody528508494806884123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017237341,"filename":"image_04012025_19_58_02_531929_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a3f4a5231457027e08debb26395876e6.jpg","text":"TemporaryFile(/tmp/multipartBody587388881109605848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017237341,"filename":"image_04012025_19_58_02_531929_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326765214","file1":"1326765212","file0":"1326765208","file4":"1326765218","file5":"1326765220","file3":"1326765217"},"map_files_photo_id_array":[{"photo_id":"1326765220","filename":"file5"},{"photo_id":"1326765214","filename":"file2"},{"photo_id":"1326765218","filename":"file4"},{"photo_id":"1326765212","filename":"file1"},{"photo_id":"1326765208","filename":"file0"},{"photo_id":"1326765217","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326765217":["hashtag1","hashtag2"]},{"1326765220":["hashtag1","hashtag2"]},{"1326765214":["hashtag1","hashtag2"]},{"1326765208":["hashtag1","hashtag2"]},{"1326765212":["hashtag1","hashtag2"]},{"1326765218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326765217, 1326765220, 1326765214, 1326765208, 1326765212, 1326765218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.37845826148987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:00:22.550830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/19/59/image_04012025_19_59_02_653692_0001.jpg', '/home/pi/Desktop/images/04012025/19/59/image_04012025_19_59_02_653692_0002.jpg', '/home/pi/Desktop/images/04012025/19/59/image_04012025_19_59_02_653692_0003.jpg', '/home/pi/Desktop/images/04012025/20/00/image_04012025_20_00_02_852414_0000.jpg', '/home/pi/Desktop/images/04012025/20/00/image_04012025_20_00_02_852414_0001.jpg', '/home/pi/Desktop/images/04012025/20/00/image_04012025_20_00_02_852414_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/19/59/image_04012025_19_59_02_653692_0001.jpg
/home/pi/Desktop/images/04012025/19/59/image_04012025_19_59_02_653692_0002.jpg
/home/pi/Desktop/images/04012025/19/59/image_04012025_19_59_02_653692_0003.jpg
/home/pi/Desktop/images/04012025/20/00/image_04012025_20_00_02_852414_0000.jpg
/home/pi/Desktop/images/04012025/20/00/image_04012025_20_00_02_852414_0001.jpg
/home/pi/Desktop/images/04012025/20/00/image_04012025_20_00_02_852414_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326765259","1326765258","1326765392","1326765239","1326765347","1326765373"],"photo_ids_order":["1326765239","1326765258","1326765259","1326765347","1326765373","1326765392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e623287ed823138459bd5bb3376f8a9c.jpg","text":"TemporaryFile(/tmp/multipartBody6088989914601360817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017297595,"filename":"image_04012025_19_59_02_653692_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/94122cadca71f0936c09ef8510c1053b.jpg","text":"TemporaryFile(/tmp/multipartBody7596624033758383166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017297595,"filename":"image_04012025_19_59_02_653692_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7e5e9e62f6bb2a489f3a00a7cbfaea5d.jpg","text":"TemporaryFile(/tmp/multipartBody6551873228510205686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017297595,"filename":"image_04012025_20_00_02_852414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5ebd2ef32d77e6cca3abc69c06affeaa.jpg","text":"TemporaryFile(/tmp/multipartBody5111561856432442284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017297595,"filename":"image_04012025_19_59_02_653692_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e623d5d8bc58f9a9b610ad06f02a05dd.jpg","text":"TemporaryFile(/tmp/multipartBody5592379654496667751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017297595,"filename":"image_04012025_20_00_02_852414_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3eefb5f5589c1ddeae8cf0b3c29bfe55.jpg","text":"TemporaryFile(/tmp/multipartBody8925364536158196970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017297595,"filename":"image_04012025_20_00_02_852414_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326765259","file1":"1326765258","file0":"1326765239","file4":"1326765373","file5":"1326765392","file3":"1326765347"},"map_files_photo_id_array":[{"photo_id":"1326765392","filename":"file5"},{"photo_id":"1326765259","filename":"file2"},{"photo_id":"1326765373","filename":"file4"},{"photo_id":"1326765258","filename":"file1"},{"photo_id":"1326765239","filename":"file0"},{"photo_id":"1326765347","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326765259":["hashtag1","hashtag2"]},{"1326765258":["hashtag1","hashtag2"]},{"1326765392":["hashtag1","hashtag2"]},{"1326765239":["hashtag1","hashtag2"]},{"1326765347":["hashtag1","hashtag2"]},{"1326765373":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326765259, 1326765258, 1326765392, 1326765239, 1326765347, 1326765373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.70694708824158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 20:01:32.731819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/00/image_04012025_20_00_02_852414_0003.jpg', '/home/pi/Desktop/images/04012025/20/01/image_04012025_20_01_02_964834_0000.jpg', '/home/pi/Desktop/images/04012025/20/01/image_04012025_20_01_02_964834_0001.jpg', '/home/pi/Desktop/images/04012025/20/01/image_04012025_20_01_02_964834_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/00/image_04012025_20_00_02_852414_0003.jpg
/home/pi/Desktop/images/04012025/20/01/image_04012025_20_01_02_964834_0000.jpg
/home/pi/Desktop/images/04012025/20/01/image_04012025_20_01_02_964834_0001.jpg
/home/pi/Desktop/images/04012025/20/01/image_04012025_20_01_02_964834_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326765427","1326765429","1326765516","1326765428"],"photo_ids_order":["1326765427","1326765428","1326765429","1326765516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/deaaeb91a49457f2945132449f26b208.jpg","text":"TemporaryFile(/tmp/multipartBody1128742804096185472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017363094,"filename":"image_04012025_20_00_02_852414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1a54c700f01dec00935ca194cf3b004b.jpg","text":"TemporaryFile(/tmp/multipartBody8272859916415285028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017363094,"filename":"image_04012025_20_01_02_964834_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2aa19c97d4bf7939720bd676153eac85.jpg","text":"TemporaryFile(/tmp/multipartBody6322477704499518923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017363094,"filename":"image_04012025_20_01_02_964834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3cf14fff410ec730354cacd58888a44a.jpg","text":"TemporaryFile(/tmp/multipartBody4264962298538327673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017363094,"filename":"image_04012025_20_01_02_964834_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326765429","file1":"1326765428","file0":"1326765427","file3":"1326765516"},"map_files_photo_id_array":[{"photo_id":"1326765429","filename":"file2"},{"photo_id":"1326765428","filename":"file1"},{"photo_id":"1326765427","filename":"file0"},{"photo_id":"1326765516","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326765427":["hashtag1","hashtag2"]},{"1326765429":["hashtag1","hashtag2"]},{"1326765516":["hashtag1","hashtag2"]},{"1326765428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326765427, 1326765429, 1326765516, 1326765428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50561213493347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:02:21.990812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/01/image_04012025_20_01_02_964834_0003.jpg', '/home/pi/Desktop/images/04012025/20/02/image_04012025_20_02_03_153145_0000.jpg', '/home/pi/Desktop/images/04012025/20/02/image_04012025_20_02_03_153145_0001.jpg', '/home/pi/Desktop/images/04012025/20/02/image_04012025_20_02_03_153145_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/01/image_04012025_20_01_02_964834_0003.jpg
/home/pi/Desktop/images/04012025/20/02/image_04012025_20_02_03_153145_0000.jpg
/home/pi/Desktop/images/04012025/20/02/image_04012025_20_02_03_153145_0001.jpg
/home/pi/Desktop/images/04012025/20/02/image_04012025_20_02_03_153145_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326765801","1326765750","1326765797","1326765800"],"photo_ids_order":["1326765750","1326765797","1326765800","1326765801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9f7f150c535f85114d03951f443c9a51.jpg","text":"TemporaryFile(/tmp/multipartBody748901550330259097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017412414,"filename":"image_04012025_20_02_03_153145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bab13f6193220a0c967c41e51ae45015.jpg","text":"TemporaryFile(/tmp/multipartBody8689370200016807636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017412414,"filename":"image_04012025_20_01_02_964834_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/32bad70bc1954338b259d1837eb1dc06.jpg","text":"TemporaryFile(/tmp/multipartBody3828458671573937638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017412414,"filename":"image_04012025_20_02_03_153145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db43d410df16a808ebf751094dce2599.jpg","text":"TemporaryFile(/tmp/multipartBody6957169557764172429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017412414,"filename":"image_04012025_20_02_03_153145_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326765800","file1":"1326765797","file0":"1326765750","file3":"1326765801"},"map_files_photo_id_array":[{"photo_id":"1326765800","filename":"file2"},{"photo_id":"1326765797","filename":"file1"},{"photo_id":"1326765750","filename":"file0"},{"photo_id":"1326765801","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326765801":["hashtag1","hashtag2"]},{"1326765750":["hashtag1","hashtag2"]},{"1326765797":["hashtag1","hashtag2"]},{"1326765800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326765801, 1326765750, 1326765797, 1326765800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8384428024292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:03:02.699430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:03:22.192276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/02/image_04012025_20_02_03_153145_0003.jpg', '/home/pi/Desktop/images/04012025/20/03/image_04012025_20_03_02_358097_0000.jpg', '/home/pi/Desktop/images/04012025/20/03/image_04012025_20_03_02_358097_0001.jpg', '/home/pi/Desktop/images/04012025/20/03/image_04012025_20_03_02_358097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/02/image_04012025_20_02_03_153145_0003.jpg
/home/pi/Desktop/images/04012025/20/03/image_04012025_20_03_02_358097_0000.jpg
/home/pi/Desktop/images/04012025/20/03/image_04012025_20_03_02_358097_0001.jpg
/home/pi/Desktop/images/04012025/20/03/image_04012025_20_03_02_358097_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326765888","1326765908","1326765917","1326765892"],"photo_ids_order":["1326765888","1326765892","1326765908","1326765917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8846a0434c74ef6cf79e91d8c73342bf.jpg","text":"TemporaryFile(/tmp/multipartBody7979306965396456750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017472645,"filename":"image_04012025_20_02_03_153145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b6d01f6e2e7dbb30d634bc7188708b3b.jpg","text":"TemporaryFile(/tmp/multipartBody3335929027311298367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017472645,"filename":"image_04012025_20_03_02_358097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/faec4c58fe5d6cf657eeede9011808e3.jpg","text":"TemporaryFile(/tmp/multipartBody578075312650008874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017472645,"filename":"image_04012025_20_03_02_358097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7eec069bfa50f6559f889f95467501b9.jpg","text":"TemporaryFile(/tmp/multipartBody2374792676878110069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017472645,"filename":"image_04012025_20_03_02_358097_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326765908","file1":"1326765892","file0":"1326765888","file3":"1326765917"},"map_files_photo_id_array":[{"photo_id":"1326765908","filename":"file2"},{"photo_id":"1326765892","filename":"file1"},{"photo_id":"1326765888","filename":"file0"},{"photo_id":"1326765917","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326765888":["hashtag1","hashtag2"]},{"1326765908":["hashtag1","hashtag2"]},{"1326765917":["hashtag1","hashtag2"]},{"1326765892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326765888, 1326765908, 1326765917, 1326765892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.29716944694519 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:04:02.661401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:04:22.297193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/03/image_04012025_20_03_02_358097_0003.jpg', '/home/pi/Desktop/images/04012025/20/04/image_04012025_20_04_02_535933_0000.jpg', '/home/pi/Desktop/images/04012025/20/04/image_04012025_20_04_02_535933_0001.jpg', '/home/pi/Desktop/images/04012025/20/04/image_04012025_20_04_02_535933_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/03/image_04012025_20_03_02_358097_0003.jpg
/home/pi/Desktop/images/04012025/20/04/image_04012025_20_04_02_535933_0000.jpg
/home/pi/Desktop/images/04012025/20/04/image_04012025_20_04_02_535933_0001.jpg
/home/pi/Desktop/images/04012025/20/04/image_04012025_20_04_02_535933_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.799480438232422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 20:04:42.310945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/03/image_04012025_20_03_02_358097_0003.jpg', '/home/pi/Desktop/images/04012025/20/04/image_04012025_20_04_02_535933_0000.jpg', '/home/pi/Desktop/images/04012025/20/04/image_04012025_20_04_02_535933_0001.jpg', '/home/pi/Desktop/images/04012025/20/04/image_04012025_20_04_02_535933_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/03/image_04012025_20_03_02_358097_0003.jpg
/home/pi/Desktop/images/04012025/20/04/image_04012025_20_04_02_535933_0000.jpg
/home/pi/Desktop/images/04012025/20/04/image_04012025_20_04_02_535933_0001.jpg
/home/pi/Desktop/images/04012025/20/04/image_04012025_20_04_02_535933_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766020","1326766022","1326766021","1326766024"],"photo_ids_order":["1326766020","1326766021","1326766022","1326766024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/43c1c87015ccc15686117b1f077d1e93.jpg","text":"TemporaryFile(/tmp/multipartBody1670720554477451798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017552519,"filename":"image_04012025_20_03_02_358097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6648be9a68e6dc6cc684389965d40485.jpg","text":"TemporaryFile(/tmp/multipartBody5046494843380095306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017552519,"filename":"image_04012025_20_04_02_535933_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d6cc908ebd53259f91d94b39914b10ed.jpg","text":"TemporaryFile(/tmp/multipartBody1141127961518841559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017552519,"filename":"image_04012025_20_04_02_535933_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/07b57f76ec01664b6b0e3be51b588b37.jpg","text":"TemporaryFile(/tmp/multipartBody6556413613655165745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017552519,"filename":"image_04012025_20_04_02_535933_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766022","file1":"1326766021","file0":"1326766020","file3":"1326766024"},"map_files_photo_id_array":[{"photo_id":"1326766022","filename":"file2"},{"photo_id":"1326766021","filename":"file1"},{"photo_id":"1326766020","filename":"file0"},{"photo_id":"1326766024","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766020":["hashtag1","hashtag2"]},{"1326766022":["hashtag1","hashtag2"]},{"1326766021":["hashtag1","hashtag2"]},{"1326766024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766020, 1326766022, 1326766021, 1326766024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0573410987854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:05:22.510126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/04/image_04012025_20_04_02_535933_0003.jpg', '/home/pi/Desktop/images/04012025/20/05/image_04012025_20_05_02_633638_0000.jpg', '/home/pi/Desktop/images/04012025/20/05/image_04012025_20_05_02_633638_0001.jpg', '/home/pi/Desktop/images/04012025/20/05/image_04012025_20_05_02_633638_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/04/image_04012025_20_04_02_535933_0003.jpg
/home/pi/Desktop/images/04012025/20/05/image_04012025_20_05_02_633638_0000.jpg
/home/pi/Desktop/images/04012025/20/05/image_04012025_20_05_02_633638_0001.jpg
/home/pi/Desktop/images/04012025/20/05/image_04012025_20_05_02_633638_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766038","1326766033","1326766036","1326766030"],"photo_ids_order":["1326766030","1326766033","1326766036","1326766038"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6a88ea42936a7977d1e7a084d4111297.jpg","text":"TemporaryFile(/tmp/multipartBody119788792480324511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017592747,"filename":"image_04012025_20_05_02_633638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4c4ae790a1dad50858cbdc793db762a0.jpg","text":"TemporaryFile(/tmp/multipartBody3856910302761768658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017592747,"filename":"image_04012025_20_05_02_633638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3ed61e00ffc7a3fecde70d3db8bbe81e.jpg","text":"TemporaryFile(/tmp/multipartBody7299165193920350167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017592747,"filename":"image_04012025_20_05_02_633638_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8efbdae4ac7e3a2cc248a6b98daac2e9.jpg","text":"TemporaryFile(/tmp/multipartBody3674586263919212740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017592747,"filename":"image_04012025_20_04_02_535933_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766036","file1":"1326766033","file0":"1326766030","file3":"1326766038"},"map_files_photo_id_array":[{"photo_id":"1326766036","filename":"file2"},{"photo_id":"1326766033","filename":"file1"},{"photo_id":"1326766030","filename":"file0"},{"photo_id":"1326766038","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766038":["hashtag1","hashtag2"]},{"1326766033":["hashtag1","hashtag2"]},{"1326766036":["hashtag1","hashtag2"]},{"1326766030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766038, 1326766033, 1326766036, 1326766030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.894118785858154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:06:03.170436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:06:22.735873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/05/image_04012025_20_05_02_633638_0003.jpg', '/home/pi/Desktop/images/04012025/20/06/image_04012025_20_06_02_838356_0000.jpg', '/home/pi/Desktop/images/04012025/20/06/image_04012025_20_06_02_838356_0001.jpg', '/home/pi/Desktop/images/04012025/20/06/image_04012025_20_06_02_838356_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/05/image_04012025_20_05_02_633638_0003.jpg
/home/pi/Desktop/images/04012025/20/06/image_04012025_20_06_02_838356_0000.jpg
/home/pi/Desktop/images/04012025/20/06/image_04012025_20_06_02_838356_0001.jpg
/home/pi/Desktop/images/04012025/20/06/image_04012025_20_06_02_838356_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766050","1326766074","1326766068","1326766048"],"photo_ids_order":["1326766048","1326766050","1326766068","1326766074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bbfb7b279f351cf8cbd44ffa5fd77cc4.jpg","text":"TemporaryFile(/tmp/multipartBody3840530748272210321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017653080,"filename":"image_04012025_20_06_02_838356_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/baa0a31f7eafabec1ce953da27f4ddfb.jpg","text":"TemporaryFile(/tmp/multipartBody7570989882622455652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017653080,"filename":"image_04012025_20_06_02_838356_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7e5e1dc63c3457cbf448fe077170826a.jpg","text":"TemporaryFile(/tmp/multipartBody2641760529028996077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017653080,"filename":"image_04012025_20_06_02_838356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8c708526e927203ee95106d72bc3bdb8.jpg","text":"TemporaryFile(/tmp/multipartBody8574806394543754022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017653080,"filename":"image_04012025_20_05_02_633638_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766068","file1":"1326766050","file0":"1326766048","file3":"1326766074"},"map_files_photo_id_array":[{"photo_id":"1326766068","filename":"file2"},{"photo_id":"1326766050","filename":"file1"},{"photo_id":"1326766048","filename":"file0"},{"photo_id":"1326766074","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766050":["hashtag1","hashtag2"]},{"1326766074":["hashtag1","hashtag2"]},{"1326766068":["hashtag1","hashtag2"]},{"1326766048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766050, 1326766074, 1326766068, 1326766048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.16504263877869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:07:21.853225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/06/image_04012025_20_06_02_838356_0003.jpg', '/home/pi/Desktop/images/04012025/20/07/image_04012025_20_07_03_046945_0000.jpg', '/home/pi/Desktop/images/04012025/20/07/image_04012025_20_07_03_046945_0001.jpg', '/home/pi/Desktop/images/04012025/20/07/image_04012025_20_07_03_046945_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/06/image_04012025_20_06_02_838356_0003.jpg
/home/pi/Desktop/images/04012025/20/07/image_04012025_20_07_03_046945_0000.jpg
/home/pi/Desktop/images/04012025/20/07/image_04012025_20_07_03_046945_0001.jpg
/home/pi/Desktop/images/04012025/20/07/image_04012025_20_07_03_046945_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766116","1326766118","1326766112","1326766117"],"photo_ids_order":["1326766112","1326766116","1326766117","1326766118"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8dc5e3c7b4f354ba5a66080b761523ad.jpg","text":"TemporaryFile(/tmp/multipartBody8736425234808586876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017712095,"filename":"image_04012025_20_07_03_046945_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4259a84ed2a009f3c9004799ea07caf3.jpg","text":"TemporaryFile(/tmp/multipartBody4425007964476185982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017712095,"filename":"image_04012025_20_07_03_046945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0d5a8d6156692f4d848d7898a12814b1.jpg","text":"TemporaryFile(/tmp/multipartBody303011494440247650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017712095,"filename":"image_04012025_20_06_02_838356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/66b0ce41f6473b84ab24e4f613d51c2d.jpg","text":"TemporaryFile(/tmp/multipartBody1365840695883789356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017712095,"filename":"image_04012025_20_07_03_046945_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766117","file1":"1326766116","file0":"1326766112","file3":"1326766118"},"map_files_photo_id_array":[{"photo_id":"1326766117","filename":"file2"},{"photo_id":"1326766116","filename":"file1"},{"photo_id":"1326766112","filename":"file0"},{"photo_id":"1326766118","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766116":["hashtag1","hashtag2"]},{"1326766118":["hashtag1","hashtag2"]},{"1326766112":["hashtag1","hashtag2"]},{"1326766117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766116, 1326766118, 1326766112, 1326766117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.651928424835205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:08:02.591446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:08:22.092132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/07/image_04012025_20_07_03_046945_0003.jpg', '/home/pi/Desktop/images/04012025/20/08/image_04012025_20_08_02_229334_0000.jpg', '/home/pi/Desktop/images/04012025/20/08/image_04012025_20_08_02_229334_0001.jpg', '/home/pi/Desktop/images/04012025/20/08/image_04012025_20_08_02_229334_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/07/image_04012025_20_07_03_046945_0003.jpg
/home/pi/Desktop/images/04012025/20/08/image_04012025_20_08_02_229334_0000.jpg
/home/pi/Desktop/images/04012025/20/08/image_04012025_20_08_02_229334_0001.jpg
/home/pi/Desktop/images/04012025/20/08/image_04012025_20_08_02_229334_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.88236927986145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 20:08:42.101024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/07/image_04012025_20_07_03_046945_0003.jpg', '/home/pi/Desktop/images/04012025/20/08/image_04012025_20_08_02_229334_0000.jpg', '/home/pi/Desktop/images/04012025/20/08/image_04012025_20_08_02_229334_0001.jpg', '/home/pi/Desktop/images/04012025/20/08/image_04012025_20_08_02_229334_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/07/image_04012025_20_07_03_046945_0003.jpg
/home/pi/Desktop/images/04012025/20/08/image_04012025_20_08_02_229334_0000.jpg
/home/pi/Desktop/images/04012025/20/08/image_04012025_20_08_02_229334_0001.jpg
/home/pi/Desktop/images/04012025/20/08/image_04012025_20_08_02_229334_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766134","1326766137","1326766133","1326766135"],"photo_ids_order":["1326766133","1326766134","1326766135","1326766137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3ace5b94880a76a6a241be31522e2587.jpg","text":"TemporaryFile(/tmp/multipartBody5385733531630798935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017792413,"filename":"image_04012025_20_08_02_229334_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dd570ab0e947c05e902e263e463d3a85.jpg","text":"TemporaryFile(/tmp/multipartBody2530196456006644306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017792413,"filename":"image_04012025_20_08_02_229334_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3f2c70949d64bd0e27da28f4264ebbdc.jpg","text":"TemporaryFile(/tmp/multipartBody1074299318800882732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017792413,"filename":"image_04012025_20_07_03_046945_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3de22d1e938768eab02d4328593c3d82.jpg","text":"TemporaryFile(/tmp/multipartBody1975438283259692313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017792413,"filename":"image_04012025_20_08_02_229334_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766135","file1":"1326766134","file0":"1326766133","file3":"1326766137"},"map_files_photo_id_array":[{"photo_id":"1326766135","filename":"file2"},{"photo_id":"1326766134","filename":"file1"},{"photo_id":"1326766133","filename":"file0"},{"photo_id":"1326766137","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766134":["hashtag1","hashtag2"]},{"1326766137":["hashtag1","hashtag2"]},{"1326766133":["hashtag1","hashtag2"]},{"1326766135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766134, 1326766137, 1326766133, 1326766135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.662588357925415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:09:22.274661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/08/image_04012025_20_08_02_229334_0003.jpg', '/home/pi/Desktop/images/04012025/20/09/image_04012025_20_09_02_421771_0000.jpg', '/home/pi/Desktop/images/04012025/20/09/image_04012025_20_09_02_421771_0001.jpg', '/home/pi/Desktop/images/04012025/20/09/image_04012025_20_09_02_421771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/08/image_04012025_20_08_02_229334_0003.jpg
/home/pi/Desktop/images/04012025/20/09/image_04012025_20_09_02_421771_0000.jpg
/home/pi/Desktop/images/04012025/20/09/image_04012025_20_09_02_421771_0001.jpg
/home/pi/Desktop/images/04012025/20/09/image_04012025_20_09_02_421771_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766149","1326766148","1326766145","1326766150"],"photo_ids_order":["1326766145","1326766148","1326766149","1326766150"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0f90371b33c47499515fe450f21d1ba.jpg","text":"TemporaryFile(/tmp/multipartBody4464393679470876580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017832611,"filename":"image_04012025_20_09_02_421771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/57876c017f45aa04b02daf31ffea6698.jpg","text":"TemporaryFile(/tmp/multipartBody8038485366549621934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017832611,"filename":"image_04012025_20_09_02_421771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bcf57017072d7e6f6baddb611da3ce59.jpg","text":"TemporaryFile(/tmp/multipartBody280551806769722661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017832611,"filename":"image_04012025_20_08_02_229334_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fa009828c46b2649560441bbdacb92eb.jpg","text":"TemporaryFile(/tmp/multipartBody7293603948777772164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017832611,"filename":"image_04012025_20_09_02_421771_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766149","file1":"1326766148","file0":"1326766145","file3":"1326766150"},"map_files_photo_id_array":[{"photo_id":"1326766149","filename":"file2"},{"photo_id":"1326766148","filename":"file1"},{"photo_id":"1326766145","filename":"file0"},{"photo_id":"1326766150","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766149":["hashtag1","hashtag2"]},{"1326766148":["hashtag1","hashtag2"]},{"1326766145":["hashtag1","hashtag2"]},{"1326766150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766149, 1326766148, 1326766145, 1326766150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.77431559562683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:10:22.431857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/09/image_04012025_20_09_02_421771_0003.jpg', '/home/pi/Desktop/images/04012025/20/10/image_04012025_20_10_02_572893_0000.jpg', '/home/pi/Desktop/images/04012025/20/10/image_04012025_20_10_02_572893_0001.jpg', '/home/pi/Desktop/images/04012025/20/10/image_04012025_20_10_02_572893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/09/image_04012025_20_09_02_421771_0003.jpg
/home/pi/Desktop/images/04012025/20/10/image_04012025_20_10_02_572893_0000.jpg
/home/pi/Desktop/images/04012025/20/10/image_04012025_20_10_02_572893_0001.jpg
/home/pi/Desktop/images/04012025/20/10/image_04012025_20_10_02_572893_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766164","1326766165","1326766159","1326766162"],"photo_ids_order":["1326766159","1326766162","1326766164","1326766165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e1ddb60c23d01d8e7371ab43b9bb5543.jpg","text":"TemporaryFile(/tmp/multipartBody8207869209266945400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017892761,"filename":"image_04012025_20_10_02_572893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce31eb44ec584abecc9ec80c525615ac.jpg","text":"TemporaryFile(/tmp/multipartBody5112330080913419538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017892761,"filename":"image_04012025_20_10_02_572893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b6e8f88ad0c0b1a103376785985e3587.jpg","text":"TemporaryFile(/tmp/multipartBody1786741301063779633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017892761,"filename":"image_04012025_20_09_02_421771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1b72e6aa5b2a4fe4c4885e4c91419567.jpg","text":"TemporaryFile(/tmp/multipartBody2702965900043033841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017892761,"filename":"image_04012025_20_10_02_572893_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766164","file1":"1326766162","file0":"1326766159","file3":"1326766165"},"map_files_photo_id_array":[{"photo_id":"1326766164","filename":"file2"},{"photo_id":"1326766162","filename":"file1"},{"photo_id":"1326766159","filename":"file0"},{"photo_id":"1326766165","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766164":["hashtag1","hashtag2"]},{"1326766165":["hashtag1","hashtag2"]},{"1326766159":["hashtag1","hashtag2"]},{"1326766162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766164, 1326766165, 1326766159, 1326766162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.19403529167175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:11:22.705079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/10/image_04012025_20_10_02_572893_0003.jpg', '/home/pi/Desktop/images/04012025/20/11/image_04012025_20_11_02_794553_0000.jpg', '/home/pi/Desktop/images/04012025/20/11/image_04012025_20_11_02_794553_0001.jpg', '/home/pi/Desktop/images/04012025/20/11/image_04012025_20_11_02_794553_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/10/image_04012025_20_10_02_572893_0003.jpg
/home/pi/Desktop/images/04012025/20/11/image_04012025_20_11_02_794553_0000.jpg
/home/pi/Desktop/images/04012025/20/11/image_04012025_20_11_02_794553_0001.jpg
/home/pi/Desktop/images/04012025/20/11/image_04012025_20_11_02_794553_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766197","1326766176","1326766195","1326766198"],"photo_ids_order":["1326766176","1326766195","1326766197","1326766198"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4a2e9a0d171b3df56a28322b4b4305fa.jpg","text":"TemporaryFile(/tmp/multipartBody4377324715615438535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017953080,"filename":"image_04012025_20_11_02_794553_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/76d13a9f1c55b17dbef59400f04c8f2b.jpg","text":"TemporaryFile(/tmp/multipartBody8758218059512884206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017953080,"filename":"image_04012025_20_10_02_572893_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ab3a79479b29dd687de2dc641fb990af.jpg","text":"TemporaryFile(/tmp/multipartBody4483226360185840680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017953080,"filename":"image_04012025_20_11_02_794553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/45a026cc18a6faf86d1464aa1dad9ca6.jpg","text":"TemporaryFile(/tmp/multipartBody4469108692855577854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736017953080,"filename":"image_04012025_20_11_02_794553_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766197","file1":"1326766195","file0":"1326766176","file3":"1326766198"},"map_files_photo_id_array":[{"photo_id":"1326766197","filename":"file2"},{"photo_id":"1326766195","filename":"file1"},{"photo_id":"1326766176","filename":"file0"},{"photo_id":"1326766198","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766197":["hashtag1","hashtag2"]},{"1326766176":["hashtag1","hashtag2"]},{"1326766195":["hashtag1","hashtag2"]},{"1326766198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766197, 1326766176, 1326766195, 1326766198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04354953765869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:12:21.826854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/11/image_04012025_20_11_02_794553_0003.jpg', '/home/pi/Desktop/images/04012025/20/12/image_04012025_20_12_03_010834_0000.jpg', '/home/pi/Desktop/images/04012025/20/12/image_04012025_20_12_03_010834_0001.jpg', '/home/pi/Desktop/images/04012025/20/12/image_04012025_20_12_03_010834_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/11/image_04012025_20_11_02_794553_0003.jpg
/home/pi/Desktop/images/04012025/20/12/image_04012025_20_12_03_010834_0000.jpg
/home/pi/Desktop/images/04012025/20/12/image_04012025_20_12_03_010834_0001.jpg
/home/pi/Desktop/images/04012025/20/12/image_04012025_20_12_03_010834_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766251","1326766253","1326766247","1326766252"],"photo_ids_order":["1326766247","1326766251","1326766252","1326766253"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/80d62650d52b52d10c7cb349178bb33d.jpg","text":"TemporaryFile(/tmp/multipartBody4303774420942032299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018012237,"filename":"image_04012025_20_12_03_010834_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d5f2665b918f1120fcd80ca86ac2f26c.jpg","text":"TemporaryFile(/tmp/multipartBody6077895046742116791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018012237,"filename":"image_04012025_20_12_03_010834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/da976fd76bba87c5fc78e54dbad5513c.jpg","text":"TemporaryFile(/tmp/multipartBody854684543241751250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018012237,"filename":"image_04012025_20_11_02_794553_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6eb4b9771f82cf26e1acea94995ae94a.jpg","text":"TemporaryFile(/tmp/multipartBody3646814169354565742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018012237,"filename":"image_04012025_20_12_03_010834_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766252","file1":"1326766251","file0":"1326766247","file3":"1326766253"},"map_files_photo_id_array":[{"photo_id":"1326766252","filename":"file2"},{"photo_id":"1326766251","filename":"file1"},{"photo_id":"1326766247","filename":"file0"},{"photo_id":"1326766253","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766251":["hashtag1","hashtag2"]},{"1326766253":["hashtag1","hashtag2"]},{"1326766247":["hashtag1","hashtag2"]},{"1326766252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766251, 1326766253, 1326766247, 1326766252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.3357675075531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:13:22.039446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/12/image_04012025_20_12_03_010834_0003.jpg', '/home/pi/Desktop/images/04012025/20/13/image_04012025_20_13_02_189706_0000.jpg', '/home/pi/Desktop/images/04012025/20/13/image_04012025_20_13_02_189706_0001.jpg', '/home/pi/Desktop/images/04012025/20/13/image_04012025_20_13_02_189706_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/12/image_04012025_20_12_03_010834_0003.jpg
/home/pi/Desktop/images/04012025/20/13/image_04012025_20_13_02_189706_0000.jpg
/home/pi/Desktop/images/04012025/20/13/image_04012025_20_13_02_189706_0001.jpg
/home/pi/Desktop/images/04012025/20/13/image_04012025_20_13_02_189706_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766335","1326766337","1326766331","1326766336"],"photo_ids_order":["1326766331","1326766335","1326766336","1326766337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/109cc047e373b0c6444069983ffa8fed.jpg","text":"TemporaryFile(/tmp/multipartBody2367183760291717343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018072316,"filename":"image_04012025_20_13_02_189706_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1ff1bee306fdccae664b2f250fdf66c4.jpg","text":"TemporaryFile(/tmp/multipartBody2439957059865460906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018072316,"filename":"image_04012025_20_13_02_189706_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cbf4cd54def2df328c27a29920101452.jpg","text":"TemporaryFile(/tmp/multipartBody466511959143259041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018072316,"filename":"image_04012025_20_12_03_010834_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/754f28fb494f3a5cd5e3d51b2062bc3b.jpg","text":"TemporaryFile(/tmp/multipartBody6632667725808216641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018072316,"filename":"image_04012025_20_13_02_189706_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766336","file1":"1326766335","file0":"1326766331","file3":"1326766337"},"map_files_photo_id_array":[{"photo_id":"1326766336","filename":"file2"},{"photo_id":"1326766335","filename":"file1"},{"photo_id":"1326766331","filename":"file0"},{"photo_id":"1326766337","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766335":["hashtag1","hashtag2"]},{"1326766337":["hashtag1","hashtag2"]},{"1326766331":["hashtag1","hashtag2"]},{"1326766336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766335, 1326766337, 1326766331, 1326766336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.64923572540283 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:14:22.219297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/13/image_04012025_20_13_02_189706_0003.jpg', '/home/pi/Desktop/images/04012025/20/14/image_04012025_20_14_02_423107_0000.jpg', '/home/pi/Desktop/images/04012025/20/14/image_04012025_20_14_02_423107_0001.jpg', '/home/pi/Desktop/images/04012025/20/14/image_04012025_20_14_02_423107_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/13/image_04012025_20_13_02_189706_0003.jpg
/home/pi/Desktop/images/04012025/20/14/image_04012025_20_14_02_423107_0000.jpg
/home/pi/Desktop/images/04012025/20/14/image_04012025_20_14_02_423107_0001.jpg
/home/pi/Desktop/images/04012025/20/14/image_04012025_20_14_02_423107_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766383","1326766385","1326766388","1326766378"],"photo_ids_order":["1326766378","1326766383","1326766385","1326766388"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2dde36ffd56647b396ad2155b0ddd267.jpg","text":"TemporaryFile(/tmp/multipartBody3499401968361186007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018132493,"filename":"image_04012025_20_14_02_423107_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca8c44b081fe257ba4c568c5aca211b6.jpg","text":"TemporaryFile(/tmp/multipartBody981314638384700110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018132493,"filename":"image_04012025_20_14_02_423107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/065ee9dfc02cd46bc532d10fe67d0fb7.jpg","text":"TemporaryFile(/tmp/multipartBody4269196596304390383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018132493,"filename":"image_04012025_20_14_02_423107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c1b6c9a0593476ad1b6effd241a89809.jpg","text":"TemporaryFile(/tmp/multipartBody8578260528363729972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018132493,"filename":"image_04012025_20_13_02_189706_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766385","file1":"1326766383","file0":"1326766378","file3":"1326766388"},"map_files_photo_id_array":[{"photo_id":"1326766385","filename":"file2"},{"photo_id":"1326766383","filename":"file1"},{"photo_id":"1326766378","filename":"file0"},{"photo_id":"1326766388","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766383":["hashtag1","hashtag2"]},{"1326766385":["hashtag1","hashtag2"]},{"1326766388":["hashtag1","hashtag2"]},{"1326766378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766383, 1326766385, 1326766388, 1326766378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.77118539810181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:15:03.113808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:15:22.522619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/14/image_04012025_20_14_02_423107_0003.jpg', '/home/pi/Desktop/images/04012025/20/15/image_04012025_20_15_02_619133_0000.jpg', '/home/pi/Desktop/images/04012025/20/15/image_04012025_20_15_02_619133_0001.jpg', '/home/pi/Desktop/images/04012025/20/15/image_04012025_20_15_02_619133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/14/image_04012025_20_14_02_423107_0003.jpg
/home/pi/Desktop/images/04012025/20/15/image_04012025_20_15_02_619133_0000.jpg
/home/pi/Desktop/images/04012025/20/15/image_04012025_20_15_02_619133_0001.jpg
/home/pi/Desktop/images/04012025/20/15/image_04012025_20_15_02_619133_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.961204767227173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 20:15:42.422182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/14/image_04012025_20_14_02_423107_0003.jpg', '/home/pi/Desktop/images/04012025/20/15/image_04012025_20_15_02_619133_0000.jpg', '/home/pi/Desktop/images/04012025/20/15/image_04012025_20_15_02_619133_0001.jpg', '/home/pi/Desktop/images/04012025/20/15/image_04012025_20_15_02_619133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/14/image_04012025_20_14_02_423107_0003.jpg
/home/pi/Desktop/images/04012025/20/15/image_04012025_20_15_02_619133_0000.jpg
/home/pi/Desktop/images/04012025/20/15/image_04012025_20_15_02_619133_0001.jpg
/home/pi/Desktop/images/04012025/20/15/image_04012025_20_15_02_619133_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766451","1326766450","1326766453","1326766426"],"photo_ids_order":["1326766426","1326766450","1326766451","1326766453"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6ab0119b5b188bf99809bd1c8ea493da.jpg","text":"TemporaryFile(/tmp/multipartBody2906768627067416009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018212785,"filename":"image_04012025_20_15_02_619133_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cbd5b7475f3d9712b1320c0fe3ea292b.jpg","text":"TemporaryFile(/tmp/multipartBody9208033026415452285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018212785,"filename":"image_04012025_20_15_02_619133_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6e845d5a6e591198f41613441147d280.jpg","text":"TemporaryFile(/tmp/multipartBody6048198492157183382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018212785,"filename":"image_04012025_20_15_02_619133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/527d70d7aee71c2110387ca2d98a6927.jpg","text":"TemporaryFile(/tmp/multipartBody7639738638302730120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018212785,"filename":"image_04012025_20_14_02_423107_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766451","file1":"1326766450","file0":"1326766426","file3":"1326766453"},"map_files_photo_id_array":[{"photo_id":"1326766451","filename":"file2"},{"photo_id":"1326766450","filename":"file1"},{"photo_id":"1326766426","filename":"file0"},{"photo_id":"1326766453","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766451":["hashtag1","hashtag2"]},{"1326766450":["hashtag1","hashtag2"]},{"1326766453":["hashtag1","hashtag2"]},{"1326766426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766451, 1326766450, 1326766453, 1326766426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.74493741989136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:16:22.595730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/15/image_04012025_20_15_02_619133_0003.jpg', '/home/pi/Desktop/images/04012025/20/16/image_04012025_20_16_02_776279_0000.jpg', '/home/pi/Desktop/images/04012025/20/16/image_04012025_20_16_02_776279_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/15/image_04012025_20_15_02_619133_0003.jpg
/home/pi/Desktop/images/04012025/20/16/image_04012025_20_16_02_776279_0000.jpg
/home/pi/Desktop/images/04012025/20/16/image_04012025_20_16_02_776279_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":["1326766623","1326766621","1326766618"],"photo_ids_order":["1326766618","1326766621","1326766623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/acbf25a6ab2bcf4e83b0d6b77bbd6e89.jpg","text":"TemporaryFile(/tmp/multipartBody8304284053910259785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018250471,"filename":"image_04012025_20_16_02_776279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2041b49fd8be9d1e0251ba19e4d07335.jpg","text":"TemporaryFile(/tmp/multipartBody7851719846584136539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018250471,"filename":"image_04012025_20_16_02_776279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b4c0ce1cdc6ca1b6c9a04fcc7d6b58a1.jpg","text":"TemporaryFile(/tmp/multipartBody7196055796565989134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018250471,"filename":"image_04012025_20_15_02_619133_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766623","file1":"1326766621","file0":"1326766618"},"map_files_photo_id_array":[{"photo_id":"1326766623","filename":"file2"},{"photo_id":"1326766621","filename":"file1"},{"photo_id":"1326766618","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766623":["hashtag1","hashtag2"]},{"1326766621":["hashtag1","hashtag2"]},{"1326766618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766623, 1326766621, 1326766618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.053257703781128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:17:03.275258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:17:22.821589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/16/image_04012025_20_16_02_776279_0003.jpg', '/home/pi/Desktop/images/04012025/20/17/image_04012025_20_17_02_944546_0000.jpg', '/home/pi/Desktop/images/04012025/20/17/image_04012025_20_17_02_944546_0001.jpg', '/home/pi/Desktop/images/04012025/20/17/image_04012025_20_17_02_944546_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/16/image_04012025_20_16_02_776279_0003.jpg
/home/pi/Desktop/images/04012025/20/17/image_04012025_20_17_02_944546_0000.jpg
/home/pi/Desktop/images/04012025/20/17/image_04012025_20_17_02_944546_0001.jpg
/home/pi/Desktop/images/04012025/20/17/image_04012025_20_17_02_944546_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766635","1326766631","1326766634","1326766636"],"photo_ids_order":["1326766631","1326766634","1326766635","1326766636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/37812f400adf6962eaf814f1dca7301c.jpg","text":"TemporaryFile(/tmp/multipartBody2835547366521302421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018313068,"filename":"image_04012025_20_17_02_944546_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28d852578e6a4a530a02726910d9e806.jpg","text":"TemporaryFile(/tmp/multipartBody838580157289393863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018313068,"filename":"image_04012025_20_16_02_776279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ad24fd0a0cba323a4b337ba6ed483e44.jpg","text":"TemporaryFile(/tmp/multipartBody1287962797102735769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018313068,"filename":"image_04012025_20_17_02_944546_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b5001c78115a791b6eadda07e00ba9af.jpg","text":"TemporaryFile(/tmp/multipartBody5160744125153040580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018313068,"filename":"image_04012025_20_17_02_944546_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766635","file1":"1326766634","file0":"1326766631","file3":"1326766636"},"map_files_photo_id_array":[{"photo_id":"1326766635","filename":"file2"},{"photo_id":"1326766634","filename":"file1"},{"photo_id":"1326766631","filename":"file0"},{"photo_id":"1326766636","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766635":["hashtag1","hashtag2"]},{"1326766631":["hashtag1","hashtag2"]},{"1326766634":["hashtag1","hashtag2"]},{"1326766636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766635, 1326766631, 1326766634, 1326766636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.59781742095947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:18:22.013833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/17/image_04012025_20_17_02_944546_0003.jpg', '/home/pi/Desktop/images/04012025/20/18/image_04012025_20_18_03_082535_0000.jpg', '/home/pi/Desktop/images/04012025/20/18/image_04012025_20_18_03_082535_0001.jpg', '/home/pi/Desktop/images/04012025/20/18/image_04012025_20_18_03_082535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/17/image_04012025_20_17_02_944546_0003.jpg
/home/pi/Desktop/images/04012025/20/18/image_04012025_20_18_03_082535_0000.jpg
/home/pi/Desktop/images/04012025/20/18/image_04012025_20_18_03_082535_0001.jpg
/home/pi/Desktop/images/04012025/20/18/image_04012025_20_18_03_082535_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766647","1326766658","1326766660","1326766645"],"photo_ids_order":["1326766645","1326766647","1326766658","1326766660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f900c329b888bebe68d2482f4f2b012f.jpg","text":"TemporaryFile(/tmp/multipartBody4449887078349233843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018372324,"filename":"image_04012025_20_18_03_082535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f6ed8120dffa6af44e4a0bd591f0f6af.jpg","text":"TemporaryFile(/tmp/multipartBody8990016518769126458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018372324,"filename":"image_04012025_20_18_03_082535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8f1ffdca1b9711957c8e6761f82367b0.jpg","text":"TemporaryFile(/tmp/multipartBody5375769217608212241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018372324,"filename":"image_04012025_20_18_03_082535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c03ac2f933ff07d0f8e279f84dedca72.jpg","text":"TemporaryFile(/tmp/multipartBody321669031763136135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018372324,"filename":"image_04012025_20_17_02_944546_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766658","file1":"1326766647","file0":"1326766645","file3":"1326766660"},"map_files_photo_id_array":[{"photo_id":"1326766658","filename":"file2"},{"photo_id":"1326766647","filename":"file1"},{"photo_id":"1326766645","filename":"file0"},{"photo_id":"1326766660","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766647":["hashtag1","hashtag2"]},{"1326766658":["hashtag1","hashtag2"]},{"1326766660":["hashtag1","hashtag2"]},{"1326766645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766647, 1326766658, 1326766660, 1326766645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.937005281448364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:19:02.691628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:19:22.182177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/18/image_04012025_20_18_03_082535_0003.jpg', '/home/pi/Desktop/images/04012025/20/19/image_04012025_20_19_02_342253_0000.jpg', '/home/pi/Desktop/images/04012025/20/19/image_04012025_20_19_02_342253_0001.jpg', '/home/pi/Desktop/images/04012025/20/19/image_04012025_20_19_02_342253_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/18/image_04012025_20_18_03_082535_0003.jpg
/home/pi/Desktop/images/04012025/20/19/image_04012025_20_19_02_342253_0000.jpg
/home/pi/Desktop/images/04012025/20/19/image_04012025_20_19_02_342253_0001.jpg
/home/pi/Desktop/images/04012025/20/19/image_04012025_20_19_02_342253_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766692","1326766690","1326766693","1326766696"],"photo_ids_order":["1326766690","1326766692","1326766693","1326766696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/717aabad1e150b53d9c762bf24799395.jpg","text":"TemporaryFile(/tmp/multipartBody2719801710624533615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018432336,"filename":"image_04012025_20_19_02_342253_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85a6292997e0331ad9f148b94d4c55dc.jpg","text":"TemporaryFile(/tmp/multipartBody2198293346670001220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018432336,"filename":"image_04012025_20_18_03_082535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/222d82146d83379f899f6da1647dd006.jpg","text":"TemporaryFile(/tmp/multipartBody5156932418323773738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018432336,"filename":"image_04012025_20_19_02_342253_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c7531766b91035c4469e11fda0b47dc6.jpg","text":"TemporaryFile(/tmp/multipartBody6378907721643185528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018432336,"filename":"image_04012025_20_19_02_342253_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766693","file1":"1326766692","file0":"1326766690","file3":"1326766696"},"map_files_photo_id_array":[{"photo_id":"1326766693","filename":"file2"},{"photo_id":"1326766692","filename":"file1"},{"photo_id":"1326766690","filename":"file0"},{"photo_id":"1326766696","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766692":["hashtag1","hashtag2"]},{"1326766690":["hashtag1","hashtag2"]},{"1326766693":["hashtag1","hashtag2"]},{"1326766696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766692, 1326766690, 1326766693, 1326766696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.862919092178345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:20:02.682344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:20:22.324327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/19/image_04012025_20_19_02_342253_0003.jpg', '/home/pi/Desktop/images/04012025/20/20/image_04012025_20_20_02_408092_0000.jpg', '/home/pi/Desktop/images/04012025/20/20/image_04012025_20_20_02_408092_0001.jpg', '/home/pi/Desktop/images/04012025/20/20/image_04012025_20_20_02_408092_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/19/image_04012025_20_19_02_342253_0003.jpg
/home/pi/Desktop/images/04012025/20/20/image_04012025_20_20_02_408092_0000.jpg
/home/pi/Desktop/images/04012025/20/20/image_04012025_20_20_02_408092_0001.jpg
/home/pi/Desktop/images/04012025/20/20/image_04012025_20_20_02_408092_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766710","1326766707","1326766712","1326766705"],"photo_ids_order":["1326766705","1326766707","1326766710","1326766712"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d349155825a6ae6ee125475bcb07385.jpg","text":"TemporaryFile(/tmp/multipartBody7469493802821316890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018492666,"filename":"image_04012025_20_20_02_408092_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f6395f944013d40397f55f9ac422b7b.jpg","text":"TemporaryFile(/tmp/multipartBody5033882061816557215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018492666,"filename":"image_04012025_20_20_02_408092_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db9b83da00a82b4657dcb8fdba986d6f.jpg","text":"TemporaryFile(/tmp/multipartBody7368821989733854928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018492666,"filename":"image_04012025_20_20_02_408092_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/28a147bd9566f400577d4808b10c847d.jpg","text":"TemporaryFile(/tmp/multipartBody2261054941748017101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018492666,"filename":"image_04012025_20_19_02_342253_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766710","file1":"1326766707","file0":"1326766705","file3":"1326766712"},"map_files_photo_id_array":[{"photo_id":"1326766710","filename":"file2"},{"photo_id":"1326766707","filename":"file1"},{"photo_id":"1326766705","filename":"file0"},{"photo_id":"1326766712","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766710":["hashtag1","hashtag2"]},{"1326766707":["hashtag1","hashtag2"]},{"1326766712":["hashtag1","hashtag2"]},{"1326766705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766710, 1326766707, 1326766712, 1326766705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.72308015823364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:21:22.440758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/20/image_04012025_20_20_02_408092_0003.jpg', '/home/pi/Desktop/images/04012025/20/21/image_04012025_20_21_02_598347_0000.jpg', '/home/pi/Desktop/images/04012025/20/21/image_04012025_20_21_02_598347_0001.jpg', '/home/pi/Desktop/images/04012025/20/21/image_04012025_20_21_02_598347_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/20/image_04012025_20_20_02_408092_0003.jpg
/home/pi/Desktop/images/04012025/20/21/image_04012025_20_21_02_598347_0000.jpg
/home/pi/Desktop/images/04012025/20/21/image_04012025_20_21_02_598347_0001.jpg
/home/pi/Desktop/images/04012025/20/21/image_04012025_20_21_02_598347_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766785","1326766781","1326766798","1326766783"],"photo_ids_order":["1326766781","1326766783","1326766785","1326766798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bda6f1c43188100932badc8191af460e.jpg","text":"TemporaryFile(/tmp/multipartBody1759886901732021993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018552755,"filename":"image_04012025_20_21_02_598347_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce4b01d9dfa2461ea165bd76e7157724.jpg","text":"TemporaryFile(/tmp/multipartBody6668346655574588142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018552755,"filename":"image_04012025_20_20_02_408092_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c89e3cb94de193e6923be2f766113cce.jpg","text":"TemporaryFile(/tmp/multipartBody5241424278115599596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018552755,"filename":"image_04012025_20_21_02_598347_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eca4c5756e655970cd3ef1736743c099.jpg","text":"TemporaryFile(/tmp/multipartBody69068432953751381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018552755,"filename":"image_04012025_20_21_02_598347_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766785","file1":"1326766783","file0":"1326766781","file3":"1326766798"},"map_files_photo_id_array":[{"photo_id":"1326766785","filename":"file2"},{"photo_id":"1326766783","filename":"file1"},{"photo_id":"1326766781","filename":"file0"},{"photo_id":"1326766798","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766785":["hashtag1","hashtag2"]},{"1326766781":["hashtag1","hashtag2"]},{"1326766798":["hashtag1","hashtag2"]},{"1326766783":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766785, 1326766781, 1326766798, 1326766783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.1618812084198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:22:22.594235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/21/image_04012025_20_21_02_598347_0003.jpg', '/home/pi/Desktop/images/04012025/20/22/image_04012025_20_22_02_782600_0000.jpg', '/home/pi/Desktop/images/04012025/20/22/image_04012025_20_22_02_782600_0001.jpg', '/home/pi/Desktop/images/04012025/20/22/image_04012025_20_22_02_782600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/21/image_04012025_20_21_02_598347_0003.jpg
/home/pi/Desktop/images/04012025/20/22/image_04012025_20_22_02_782600_0000.jpg
/home/pi/Desktop/images/04012025/20/22/image_04012025_20_22_02_782600_0001.jpg
/home/pi/Desktop/images/04012025/20/22/image_04012025_20_22_02_782600_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766836","1326766829","1326766834","1326766831"],"photo_ids_order":["1326766829","1326766831","1326766834","1326766836"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8e4b09821a03eb98853cd607934903b9.jpg","text":"TemporaryFile(/tmp/multipartBody42718936729227991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018612885,"filename":"image_04012025_20_22_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/4/132690c443c175353d5c724d831409d6.jpg","text":"TemporaryFile(/tmp/multipartBody6123845705672103607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018612885,"filename":"image_04012025_20_21_02_598347_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2e665e0fd20609a4dedff8ddf4b782e0.jpg","text":"TemporaryFile(/tmp/multipartBody1842852536106088092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018612885,"filename":"image_04012025_20_22_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/4/4438c9cd490556b4bab6c8e111803dbc.jpg","text":"TemporaryFile(/tmp/multipartBody3635594779536625553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018612885,"filename":"image_04012025_20_22_02_782600_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766834","file1":"1326766831","file0":"1326766829","file3":"1326766836"},"map_files_photo_id_array":[{"photo_id":"1326766834","filename":"file2"},{"photo_id":"1326766831","filename":"file1"},{"photo_id":"1326766829","filename":"file0"},{"photo_id":"1326766836","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766836":["hashtag1","hashtag2"]},{"1326766829":["hashtag1","hashtag2"]},{"1326766834":["hashtag1","hashtag2"]},{"1326766831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766836, 1326766829, 1326766834, 1326766831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32707333564758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:23:21.855186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/22/image_04012025_20_22_02_782600_0003.jpg', '/home/pi/Desktop/images/04012025/20/23/image_04012025_20_23_03_035991_0000.jpg', '/home/pi/Desktop/images/04012025/20/23/image_04012025_20_23_03_035991_0001.jpg', '/home/pi/Desktop/images/04012025/20/23/image_04012025_20_23_03_035991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/22/image_04012025_20_22_02_782600_0003.jpg
/home/pi/Desktop/images/04012025/20/23/image_04012025_20_23_03_035991_0000.jpg
/home/pi/Desktop/images/04012025/20/23/image_04012025_20_23_03_035991_0001.jpg
/home/pi/Desktop/images/04012025/20/23/image_04012025_20_23_03_035991_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766845","1326766847","1326766849","1326766843"],"photo_ids_order":["1326766843","1326766845","1326766847","1326766849"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6a7863afd9802f508858a235a1bd16a4.jpg","text":"TemporaryFile(/tmp/multipartBody7536270524689933888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018672182,"filename":"image_04012025_20_23_03_035991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/929b98ab16398cc830fbb259c2f111ca.jpg","text":"TemporaryFile(/tmp/multipartBody3107292530501410690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018672182,"filename":"image_04012025_20_23_03_035991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6de36fca42e69be64ba7038cc92ee380.jpg","text":"TemporaryFile(/tmp/multipartBody2578460623614182847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018672182,"filename":"image_04012025_20_23_03_035991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e9beea9e0eaa88f405cb472cdd4f9d65.jpg","text":"TemporaryFile(/tmp/multipartBody4642798616871539063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018672182,"filename":"image_04012025_20_22_02_782600_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766847","file1":"1326766845","file0":"1326766843","file3":"1326766849"},"map_files_photo_id_array":[{"photo_id":"1326766847","filename":"file2"},{"photo_id":"1326766845","filename":"file1"},{"photo_id":"1326766843","filename":"file0"},{"photo_id":"1326766849","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766845":["hashtag1","hashtag2"]},{"1326766847":["hashtag1","hashtag2"]},{"1326766849":["hashtag1","hashtag2"]},{"1326766843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766845, 1326766847, 1326766849, 1326766843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.352497577667236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:24:02.409088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:24:22.017168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/23/image_04012025_20_23_03_035991_0003.jpg', '/home/pi/Desktop/images/04012025/20/24/image_04012025_20_24_02_220345_0000.jpg', '/home/pi/Desktop/images/04012025/20/24/image_04012025_20_24_02_220345_0001.jpg', '/home/pi/Desktop/images/04012025/20/24/image_04012025_20_24_02_220345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/23/image_04012025_20_23_03_035991_0003.jpg
/home/pi/Desktop/images/04012025/20/24/image_04012025_20_24_02_220345_0000.jpg
/home/pi/Desktop/images/04012025/20/24/image_04012025_20_24_02_220345_0001.jpg
/home/pi/Desktop/images/04012025/20/24/image_04012025_20_24_02_220345_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766875","1326766860","1326766863","1326766857"],"photo_ids_order":["1326766857","1326766860","1326766863","1326766875"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5e996f9c780b4b96f7c5f15224568bab.jpg","text":"TemporaryFile(/tmp/multipartBody6138830071293441790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018732319,"filename":"image_04012025_20_24_02_220345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/be3f919a998e5b98fc16677da10d3788.jpg","text":"TemporaryFile(/tmp/multipartBody3289170681593755401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018732319,"filename":"image_04012025_20_24_02_220345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1cd13d784037b2278890754e0f7b841d.jpg","text":"TemporaryFile(/tmp/multipartBody2934683249531998341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018732319,"filename":"image_04012025_20_24_02_220345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/69292d780ce7925584013cc24cb906d2.jpg","text":"TemporaryFile(/tmp/multipartBody8490255380346537745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018732319,"filename":"image_04012025_20_23_03_035991_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766863","file1":"1326766860","file0":"1326766857","file3":"1326766875"},"map_files_photo_id_array":[{"photo_id":"1326766863","filename":"file2"},{"photo_id":"1326766860","filename":"file1"},{"photo_id":"1326766857","filename":"file0"},{"photo_id":"1326766875","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766875":["hashtag1","hashtag2"]},{"1326766860":["hashtag1","hashtag2"]},{"1326766863":["hashtag1","hashtag2"]},{"1326766857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766875, 1326766860, 1326766863, 1326766857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.656123876571655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:25:02.879166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:25:22.332451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/24/image_04012025_20_24_02_220345_0003.jpg', '/home/pi/Desktop/images/04012025/20/25/image_04012025_20_25_02_321851_0000.jpg', '/home/pi/Desktop/images/04012025/20/25/image_04012025_20_25_02_321851_0001.jpg', '/home/pi/Desktop/images/04012025/20/25/image_04012025_20_25_02_321851_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/24/image_04012025_20_24_02_220345_0003.jpg
/home/pi/Desktop/images/04012025/20/25/image_04012025_20_25_02_321851_0000.jpg
/home/pi/Desktop/images/04012025/20/25/image_04012025_20_25_02_321851_0001.jpg
/home/pi/Desktop/images/04012025/20/25/image_04012025_20_25_02_321851_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766912","1326766905","1326766909","1326766903"],"photo_ids_order":["1326766903","1326766905","1326766909","1326766912"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7b926163eb4fd136957a300db5794da.jpg","text":"TemporaryFile(/tmp/multipartBody2707634275318986205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018792638,"filename":"image_04012025_20_25_02_321851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5a5f69fb3012f1d5ec9e2347f9732228.jpg","text":"TemporaryFile(/tmp/multipartBody8084831285391209455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018792638,"filename":"image_04012025_20_25_02_321851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0069e2e8aa0aec365ba7ac26e8419af2.jpg","text":"TemporaryFile(/tmp/multipartBody7219696286907426253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018792638,"filename":"image_04012025_20_25_02_321851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/21d57c133c69400f33e3887e9747b232.jpg","text":"TemporaryFile(/tmp/multipartBody3091938628113146813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018792638,"filename":"image_04012025_20_24_02_220345_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766909","file1":"1326766905","file0":"1326766903","file3":"1326766912"},"map_files_photo_id_array":[{"photo_id":"1326766909","filename":"file2"},{"photo_id":"1326766905","filename":"file1"},{"photo_id":"1326766903","filename":"file0"},{"photo_id":"1326766912","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766912":["hashtag1","hashtag2"]},{"1326766905":["hashtag1","hashtag2"]},{"1326766909":["hashtag1","hashtag2"]},{"1326766903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766912, 1326766905, 1326766909, 1326766903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.5940842628479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:26:22.435293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/25/image_04012025_20_25_02_321851_0003.jpg', '/home/pi/Desktop/images/04012025/20/26/image_04012025_20_26_02_620656_0000.jpg', '/home/pi/Desktop/images/04012025/20/26/image_04012025_20_26_02_620656_0001.jpg', '/home/pi/Desktop/images/04012025/20/26/image_04012025_20_26_02_620656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/25/image_04012025_20_25_02_321851_0003.jpg
/home/pi/Desktop/images/04012025/20/26/image_04012025_20_26_02_620656_0000.jpg
/home/pi/Desktop/images/04012025/20/26/image_04012025_20_26_02_620656_0001.jpg
/home/pi/Desktop/images/04012025/20/26/image_04012025_20_26_02_620656_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766923","1326766922","1326766925","1326766927"],"photo_ids_order":["1326766922","1326766923","1326766925","1326766927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3070aa90665231531186e7343bce317d.jpg","text":"TemporaryFile(/tmp/multipartBody788866649263462474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018852938,"filename":"image_04012025_20_26_02_620656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2661c76a65ba3b8236d420d5d739aa4e.jpg","text":"TemporaryFile(/tmp/multipartBody1222198931752445706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018852938,"filename":"image_04012025_20_25_02_321851_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bf3d5e0a08484ad321befddd9008b3c2.jpg","text":"TemporaryFile(/tmp/multipartBody3000494373325520738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018852938,"filename":"image_04012025_20_26_02_620656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a1eb45be3ccce5ff4606590e329f8484.jpg","text":"TemporaryFile(/tmp/multipartBody5717233606720849075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018852938,"filename":"image_04012025_20_26_02_620656_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766925","file1":"1326766923","file0":"1326766922","file3":"1326766927"},"map_files_photo_id_array":[{"photo_id":"1326766925","filename":"file2"},{"photo_id":"1326766923","filename":"file1"},{"photo_id":"1326766922","filename":"file0"},{"photo_id":"1326766927","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766923":["hashtag1","hashtag2"]},{"1326766922":["hashtag1","hashtag2"]},{"1326766925":["hashtag1","hashtag2"]},{"1326766927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766923, 1326766922, 1326766925, 1326766927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.36112570762634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:27:22.628582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/26/image_04012025_20_26_02_620656_0003.jpg', '/home/pi/Desktop/images/04012025/20/27/image_04012025_20_27_02_762161_0000.jpg', '/home/pi/Desktop/images/04012025/20/27/image_04012025_20_27_02_762161_0001.jpg', '/home/pi/Desktop/images/04012025/20/27/image_04012025_20_27_02_762161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/26/image_04012025_20_26_02_620656_0003.jpg
/home/pi/Desktop/images/04012025/20/27/image_04012025_20_27_02_762161_0000.jpg
/home/pi/Desktop/images/04012025/20/27/image_04012025_20_27_02_762161_0001.jpg
/home/pi/Desktop/images/04012025/20/27/image_04012025_20_27_02_762161_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766974","1326766949","1326766946","1326766936"],"photo_ids_order":["1326766936","1326766946","1326766949","1326766974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/056d64a2c6e05cd60f3882b7d179fcc4.jpg","text":"TemporaryFile(/tmp/multipartBody737322137235509312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018912955,"filename":"image_04012025_20_27_02_762161_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9744d05cf81455b989f238390cd3e786.jpg","text":"TemporaryFile(/tmp/multipartBody4359174099402676998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018912955,"filename":"image_04012025_20_27_02_762161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f9f63b179e379de385f0c583a8bee697.jpg","text":"TemporaryFile(/tmp/multipartBody4368031385064292360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018912955,"filename":"image_04012025_20_27_02_762161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e75994487c12d1a9690b897cecc92f2f.jpg","text":"TemporaryFile(/tmp/multipartBody8396459069166295188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018912955,"filename":"image_04012025_20_26_02_620656_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766949","file1":"1326766946","file0":"1326766936","file3":"1326766974"},"map_files_photo_id_array":[{"photo_id":"1326766949","filename":"file2"},{"photo_id":"1326766946","filename":"file1"},{"photo_id":"1326766936","filename":"file0"},{"photo_id":"1326766974","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766974":["hashtag1","hashtag2"]},{"1326766949":["hashtag1","hashtag2"]},{"1326766946":["hashtag1","hashtag2"]},{"1326766936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766974, 1326766949, 1326766946, 1326766936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18065404891968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:28:21.879821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/27/image_04012025_20_27_02_762161_0003.jpg', '/home/pi/Desktop/images/04012025/20/28/image_04012025_20_28_02_983238_0000.jpg', '/home/pi/Desktop/images/04012025/20/28/image_04012025_20_28_02_983238_0001.jpg', '/home/pi/Desktop/images/04012025/20/28/image_04012025_20_28_02_983238_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/27/image_04012025_20_27_02_762161_0003.jpg
/home/pi/Desktop/images/04012025/20/28/image_04012025_20_28_02_983238_0000.jpg
/home/pi/Desktop/images/04012025/20/28/image_04012025_20_28_02_983238_0001.jpg
/home/pi/Desktop/images/04012025/20/28/image_04012025_20_28_02_983238_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326766985","1326766982","1326766981","1326766984"],"photo_ids_order":["1326766981","1326766982","1326766984","1326766985"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d402f87486c2441117c59294ee26a066.jpg","text":"TemporaryFile(/tmp/multipartBody159335775228689419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018972380,"filename":"image_04012025_20_28_02_983238_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5157018b71e6e9a37916d56e58a61b15.jpg","text":"TemporaryFile(/tmp/multipartBody6548116997834908322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018972380,"filename":"image_04012025_20_28_02_983238_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b530a14bee2451538f2f3c627532a31b.jpg","text":"TemporaryFile(/tmp/multipartBody2085147163206253479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018972380,"filename":"image_04012025_20_27_02_762161_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5cbbce11923a110587c2fe50c07463f9.jpg","text":"TemporaryFile(/tmp/multipartBody7156013037150325860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736018972380,"filename":"image_04012025_20_28_02_983238_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326766984","file1":"1326766982","file0":"1326766981","file3":"1326766985"},"map_files_photo_id_array":[{"photo_id":"1326766984","filename":"file2"},{"photo_id":"1326766982","filename":"file1"},{"photo_id":"1326766981","filename":"file0"},{"photo_id":"1326766985","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326766985":["hashtag1","hashtag2"]},{"1326766982":["hashtag1","hashtag2"]},{"1326766981":["hashtag1","hashtag2"]},{"1326766984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326766985, 1326766982, 1326766981, 1326766984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.83444786071777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:29:22.035388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/28/image_04012025_20_28_02_983238_0003.jpg', '/home/pi/Desktop/images/04012025/20/29/image_04012025_20_29_02_200525_0000.jpg', '/home/pi/Desktop/images/04012025/20/29/image_04012025_20_29_02_200525_0001.jpg', '/home/pi/Desktop/images/04012025/20/29/image_04012025_20_29_02_200525_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/28/image_04012025_20_28_02_983238_0003.jpg
/home/pi/Desktop/images/04012025/20/29/image_04012025_20_29_02_200525_0000.jpg
/home/pi/Desktop/images/04012025/20/29/image_04012025_20_29_02_200525_0001.jpg
/home/pi/Desktop/images/04012025/20/29/image_04012025_20_29_02_200525_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326767001","1326767003","1326767002","1326767005"],"photo_ids_order":["1326767001","1326767002","1326767003","1326767005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3597e42f76b1cd7582691b5ee4077d3a.jpg","text":"TemporaryFile(/tmp/multipartBody2551750990022107905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019032472,"filename":"image_04012025_20_28_02_983238_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8ef42b67b69497edca9cfb3df674c5aa.jpg","text":"TemporaryFile(/tmp/multipartBody1320270457466275401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019032472,"filename":"image_04012025_20_29_02_200525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9def30c4a129003b8bdb57af285c1afd.jpg","text":"TemporaryFile(/tmp/multipartBody7670580724173590555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019032472,"filename":"image_04012025_20_29_02_200525_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/416bc69aed7f0a27e1ae7102a5b56d82.jpg","text":"TemporaryFile(/tmp/multipartBody7175602379929885317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019032472,"filename":"image_04012025_20_29_02_200525_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326767003","file1":"1326767002","file0":"1326767001","file3":"1326767005"},"map_files_photo_id_array":[{"photo_id":"1326767003","filename":"file2"},{"photo_id":"1326767002","filename":"file1"},{"photo_id":"1326767001","filename":"file0"},{"photo_id":"1326767005","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326767001":["hashtag1","hashtag2"]},{"1326767003":["hashtag1","hashtag2"]},{"1326767002":["hashtag1","hashtag2"]},{"1326767005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326767001, 1326767003, 1326767002, 1326767005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.68566823005676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:30:02.487590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:30:22.083781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/29/image_04012025_20_29_02_200525_0003.jpg', '/home/pi/Desktop/images/04012025/20/30/image_04012025_20_30_02_407547_0000.jpg', '/home/pi/Desktop/images/04012025/20/30/image_04012025_20_30_02_407547_0001.jpg', '/home/pi/Desktop/images/04012025/20/30/image_04012025_20_30_02_407547_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/29/image_04012025_20_29_02_200525_0003.jpg
/home/pi/Desktop/images/04012025/20/30/image_04012025_20_30_02_407547_0000.jpg
/home/pi/Desktop/images/04012025/20/30/image_04012025_20_30_02_407547_0001.jpg
/home/pi/Desktop/images/04012025/20/30/image_04012025_20_30_02_407547_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326767066","1326767083","1326767071","1326767110"],"photo_ids_order":["1326767066","1326767071","1326767083","1326767110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9ca898390a76728756d01009f9a798b9.jpg","text":"TemporaryFile(/tmp/multipartBody2984292292684584774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019092385,"filename":"image_04012025_20_29_02_200525_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/969f9e71a99af9513ed12848c9cd4573.jpg","text":"TemporaryFile(/tmp/multipartBody572592034445896055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019092385,"filename":"image_04012025_20_30_02_407547_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ea1a8f780174e83dff86517d6691b55f.jpg","text":"TemporaryFile(/tmp/multipartBody6849586952969715004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019092385,"filename":"image_04012025_20_30_02_407547_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/442ffb6b6732e4986765139419b53415.jpg","text":"TemporaryFile(/tmp/multipartBody8277586972707765007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019092385,"filename":"image_04012025_20_30_02_407547_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326767083","file1":"1326767071","file0":"1326767066","file3":"1326767110"},"map_files_photo_id_array":[{"photo_id":"1326767083","filename":"file2"},{"photo_id":"1326767071","filename":"file1"},{"photo_id":"1326767066","filename":"file0"},{"photo_id":"1326767110","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326767066":["hashtag1","hashtag2"]},{"1326767083":["hashtag1","hashtag2"]},{"1326767071":["hashtag1","hashtag2"]},{"1326767110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326767066, 1326767083, 1326767071, 1326767110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.87734913825989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:31:22.271263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/30/image_04012025_20_30_02_407547_0003.jpg', '/home/pi/Desktop/images/04012025/20/31/image_04012025_20_31_02_458902_0000.jpg', '/home/pi/Desktop/images/04012025/20/31/image_04012025_20_31_02_458902_0001.jpg', '/home/pi/Desktop/images/04012025/20/31/image_04012025_20_31_02_458902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/30/image_04012025_20_30_02_407547_0003.jpg
/home/pi/Desktop/images/04012025/20/31/image_04012025_20_31_02_458902_0000.jpg
/home/pi/Desktop/images/04012025/20/31/image_04012025_20_31_02_458902_0001.jpg
/home/pi/Desktop/images/04012025/20/31/image_04012025_20_31_02_458902_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326767220","1326767223","1326767222","1326767224"],"photo_ids_order":["1326767220","1326767222","1326767223","1326767224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/86b974d5bf821f2ad5ab671a899c6a49.jpg","text":"TemporaryFile(/tmp/multipartBody3327263541264778278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019152606,"filename":"image_04012025_20_30_02_407547_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0e4620a76a991309beaff6895bb45836.jpg","text":"TemporaryFile(/tmp/multipartBody6683355154248530695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019152606,"filename":"image_04012025_20_31_02_458902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/34551e59c05abef46fffef37efc2a65b.jpg","text":"TemporaryFile(/tmp/multipartBody4454914493544528104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019152606,"filename":"image_04012025_20_31_02_458902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ee7d219881a67cb6f1ed9fdc6be7a7a2.jpg","text":"TemporaryFile(/tmp/multipartBody874896514405619520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019152606,"filename":"image_04012025_20_31_02_458902_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326767223","file1":"1326767222","file0":"1326767220","file3":"1326767224"},"map_files_photo_id_array":[{"photo_id":"1326767223","filename":"file2"},{"photo_id":"1326767222","filename":"file1"},{"photo_id":"1326767220","filename":"file0"},{"photo_id":"1326767224","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326767220":["hashtag1","hashtag2"]},{"1326767223":["hashtag1","hashtag2"]},{"1326767222":["hashtag1","hashtag2"]},{"1326767224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326767220, 1326767223, 1326767222, 1326767224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.65273714065552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:32:02.824763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:32:22.448876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/31/image_04012025_20_31_02_458902_0003.jpg', '/home/pi/Desktop/images/04012025/20/32/image_04012025_20_32_02_649022_0001.jpg', '/home/pi/Desktop/images/04012025/20/32/image_04012025_20_32_02_649022_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/31/image_04012025_20_31_02_458902_0003.jpg
/home/pi/Desktop/images/04012025/20/32/image_04012025_20_32_02_649022_0001.jpg
/home/pi/Desktop/images/04012025/20/32/image_04012025_20_32_02_649022_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326767442","1326767413","1326767445"],"photo_ids_order":["1326767413","1326767442","1326767445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/937f6897023b17905248571590fb1230.jpg","text":"TemporaryFile(/tmp/multipartBody387780635485690604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019210169,"filename":"image_04012025_20_32_02_649022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/22297fb1df36e3b714f949fa2d91f07d.jpg","text":"TemporaryFile(/tmp/multipartBody1598436212292463189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019210169,"filename":"image_04012025_20_31_02_458902_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f8c47d67d077886ef8f1b3d20158e4d8.jpg","text":"TemporaryFile(/tmp/multipartBody4621997878253155620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019210169,"filename":"image_04012025_20_32_02_649022_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326767445","file1":"1326767442","file0":"1326767413"},"map_files_photo_id_array":[{"photo_id":"1326767445","filename":"file2"},{"photo_id":"1326767442","filename":"file1"},{"photo_id":"1326767413","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326767442":["hashtag1","hashtag2"]},{"1326767413":["hashtag1","hashtag2"]},{"1326767445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326767442, 1326767413, 1326767445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.30226421356201 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:33:03.302393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:33:22.712408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/32/image_04012025_20_32_02_649022_0003.jpg', '/home/pi/Desktop/images/04012025/20/33/image_04012025_20_33_02_755302_0000.jpg', '/home/pi/Desktop/images/04012025/20/33/image_04012025_20_33_02_755302_0001.jpg', '/home/pi/Desktop/images/04012025/20/33/image_04012025_20_33_02_755302_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/32/image_04012025_20_32_02_649022_0003.jpg
/home/pi/Desktop/images/04012025/20/33/image_04012025_20_33_02_755302_0000.jpg
/home/pi/Desktop/images/04012025/20/33/image_04012025_20_33_02_755302_0001.jpg
/home/pi/Desktop/images/04012025/20/33/image_04012025_20_33_02_755302_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.4008469581604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 20:33:42.632735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/32/image_04012025_20_32_02_649022_0003.jpg', '/home/pi/Desktop/images/04012025/20/33/image_04012025_20_33_02_755302_0000.jpg', '/home/pi/Desktop/images/04012025/20/33/image_04012025_20_33_02_755302_0001.jpg', '/home/pi/Desktop/images/04012025/20/33/image_04012025_20_33_02_755302_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/32/image_04012025_20_32_02_649022_0003.jpg
/home/pi/Desktop/images/04012025/20/33/image_04012025_20_33_02_755302_0000.jpg
/home/pi/Desktop/images/04012025/20/33/image_04012025_20_33_02_755302_0001.jpg
/home/pi/Desktop/images/04012025/20/33/image_04012025_20_33_02_755302_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326767465","1326767470","1326767467","1326767463"],"photo_ids_order":["1326767463","1326767465","1326767467","1326767470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cace91616bb88902acb4d2f97cf71c6a.jpg","text":"TemporaryFile(/tmp/multipartBody741938842256410234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019292472,"filename":"image_04012025_20_33_02_755302_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0807c3ffc80cee0979627c87aff854d.jpg","text":"TemporaryFile(/tmp/multipartBody7110824858292224028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019292472,"filename":"image_04012025_20_33_02_755302_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d2fb45d7a03bd44c70f855305613b83e.jpg","text":"TemporaryFile(/tmp/multipartBody7519541544154322677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019292472,"filename":"image_04012025_20_33_02_755302_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0394c3b5a4de867dfbb480b0d8ccbdd3.jpg","text":"TemporaryFile(/tmp/multipartBody8188131003381048886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019292472,"filename":"image_04012025_20_32_02_649022_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326767467","file1":"1326767465","file0":"1326767463","file3":"1326767470"},"map_files_photo_id_array":[{"photo_id":"1326767467","filename":"file2"},{"photo_id":"1326767465","filename":"file1"},{"photo_id":"1326767463","filename":"file0"},{"photo_id":"1326767470","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326767465":["hashtag1","hashtag2"]},{"1326767470":["hashtag1","hashtag2"]},{"1326767467":["hashtag1","hashtag2"]},{"1326767463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326767465, 1326767470, 1326767467, 1326767463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.99188542366028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:34:21.747555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/33/image_04012025_20_33_02_755302_0003.jpg', '/home/pi/Desktop/images/04012025/20/34/image_04012025_20_34_03_013049_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/33/image_04012025_20_33_02_755302_0003.jpg
/home/pi/Desktop/images/04012025/20/34/image_04012025_20_34_03_013049_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":["1326767517","1326767485"],"photo_ids_order":["1326767485","1326767517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49b985418987b5baa934c9fb5d7997db.jpg","text":"TemporaryFile(/tmp/multipartBody5384892998794117931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019326979,"filename":"image_04012025_20_34_03_013049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/479c95bdef97fb6bfe519d576f7006a5.jpg","text":"TemporaryFile(/tmp/multipartBody7723660930430437092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019326979,"filename":"image_04012025_20_33_02_755302_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326767517","file0":"1326767485"},"map_files_photo_id_array":[{"photo_id":"1326767517","filename":"file1"},{"photo_id":"1326767485","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326767517":["hashtag1","hashtag2"]},{"1326767485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326767517, 1326767485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.860665798187256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 20:34:51.756502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:35:02.428776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:35:21.995508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/34/image_04012025_20_34_03_013049_0002.jpg', '/home/pi/Desktop/images/04012025/20/35/image_04012025_20_35_02_130313_0000.jpg', '/home/pi/Desktop/images/04012025/20/35/image_04012025_20_35_02_130313_0001.jpg', '/home/pi/Desktop/images/04012025/20/35/image_04012025_20_35_02_130313_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/34/image_04012025_20_34_03_013049_0002.jpg
/home/pi/Desktop/images/04012025/20/35/image_04012025_20_35_02_130313_0000.jpg
/home/pi/Desktop/images/04012025/20/35/image_04012025_20_35_02_130313_0001.jpg
/home/pi/Desktop/images/04012025/20/35/image_04012025_20_35_02_130313_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326768469","1326768337","1326768339","1326768504"],"photo_ids_order":["1326768337","1326768339","1326768469","1326768504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/89f5bebfa526d3974d90d406139031e4.jpg","text":"TemporaryFile(/tmp/multipartBody184672761324288970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019391794,"filename":"image_04012025_20_35_02_130313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4c45064a09b05d45855c2c89725f66da.jpg","text":"TemporaryFile(/tmp/multipartBody1080901984856000028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019391794,"filename":"image_04012025_20_34_03_013049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4548c8ebe6713edb47b0bd69827ac8da.jpg","text":"TemporaryFile(/tmp/multipartBody2470255244528482405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019391794,"filename":"image_04012025_20_35_02_130313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ade505d7e6eef923d62a7f64211964e2.jpg","text":"TemporaryFile(/tmp/multipartBody8352300681921193907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019391794,"filename":"image_04012025_20_35_02_130313_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326768469","file1":"1326768339","file0":"1326768337","file3":"1326768504"},"map_files_photo_id_array":[{"photo_id":"1326768469","filename":"file2"},{"photo_id":"1326768339","filename":"file1"},{"photo_id":"1326768337","filename":"file0"},{"photo_id":"1326768504","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326768469":["hashtag1","hashtag2"]},{"1326768337":["hashtag1","hashtag2"]},{"1326768339":["hashtag1","hashtag2"]},{"1326768504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326768469, 1326768337, 1326768339, 1326768504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71492052078247 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:36:22.225850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/35/image_04012025_20_35_02_130313_0003.jpg', '/home/pi/Desktop/images/04012025/20/36/image_04012025_20_36_02_317727_0000.jpg', '/home/pi/Desktop/images/04012025/20/36/image_04012025_20_36_02_317727_0001.jpg', '/home/pi/Desktop/images/04012025/20/36/image_04012025_20_36_02_317727_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/35/image_04012025_20_35_02_130313_0003.jpg
/home/pi/Desktop/images/04012025/20/36/image_04012025_20_36_02_317727_0000.jpg
/home/pi/Desktop/images/04012025/20/36/image_04012025_20_36_02_317727_0001.jpg
/home/pi/Desktop/images/04012025/20/36/image_04012025_20_36_02_317727_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326768791","1326768787","1326768786","1326768788"],"photo_ids_order":["1326768786","1326768787","1326768788","1326768791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9917d5dcfd36948d24049cb795fe5d64.jpg","text":"TemporaryFile(/tmp/multipartBody9153936982148440159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019452064,"filename":"image_04012025_20_36_02_317727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6322abc21a5c21de253e143c16ea2343.jpg","text":"TemporaryFile(/tmp/multipartBody2419470559800322584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019452064,"filename":"image_04012025_20_36_02_317727_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b816ea4a4dd39d9199c54a30f11a099d.jpg","text":"TemporaryFile(/tmp/multipartBody3115914897155186278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019452064,"filename":"image_04012025_20_35_02_130313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a1cba7ab13c8d093dac491b49424d574.jpg","text":"TemporaryFile(/tmp/multipartBody410784074147574814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019452064,"filename":"image_04012025_20_36_02_317727_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326768788","file1":"1326768787","file0":"1326768786","file3":"1326768791"},"map_files_photo_id_array":[{"photo_id":"1326768788","filename":"file2"},{"photo_id":"1326768787","filename":"file1"},{"photo_id":"1326768786","filename":"file0"},{"photo_id":"1326768791","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326768791":["hashtag1","hashtag2"]},{"1326768787":["hashtag1","hashtag2"]},{"1326768786":["hashtag1","hashtag2"]},{"1326768788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326768791, 1326768787, 1326768786, 1326768788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23048114776611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:37:02.817248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:37:22.233277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/36/image_04012025_20_36_02_317727_0003.jpg', '/home/pi/Desktop/images/04012025/20/37/image_04012025_20_37_02_508386_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/36/image_04012025_20_36_02_317727_0003.jpg
/home/pi/Desktop/images/04012025/20/37/image_04012025_20_37_02_508386_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":["1326770056","1326770061"],"photo_ids_order":["1326770056","1326770061"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bfec15dc795a2b135ed2b26ea789e2f4.jpg","text":"TemporaryFile(/tmp/multipartBody1959849300190828984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019507519,"filename":"image_04012025_20_36_02_317727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a60df06ca83f941dc8767029f7d47b90.jpg","text":"TemporaryFile(/tmp/multipartBody7616268417270138730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019507519,"filename":"image_04012025_20_37_02_508386_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326770061","file0":"1326770056"},"map_files_photo_id_array":[{"photo_id":"1326770061","filename":"file1"},{"photo_id":"1326770056","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326770056":["hashtag1","hashtag2"]},{"1326770061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326770056, 1326770061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.200721740722656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 20:37:52.303834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:38:02.878973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:38:22.589879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/37/image_04012025_20_37_02_508386_0003.jpg', '/home/pi/Desktop/images/04012025/20/38/image_04012025_20_38_02_669805_0000.jpg', '/home/pi/Desktop/images/04012025/20/38/image_04012025_20_38_02_669805_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/37/image_04012025_20_37_02_508386_0003.jpg
/home/pi/Desktop/images/04012025/20/38/image_04012025_20_38_02_669805_0000.jpg
/home/pi/Desktop/images/04012025/20/38/image_04012025_20_38_02_669805_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":["1326770100","1326770094","1326770097"],"photo_ids_order":["1326770094","1326770097","1326770100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8a6b59bc4de06320d436fea698eb69bf.jpg","text":"TemporaryFile(/tmp/multipartBody1425132810758895680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019570134,"filename":"image_04012025_20_38_02_669805_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a33bd0544a32b092ca8c3b244be0e74b.jpg","text":"TemporaryFile(/tmp/multipartBody5091282507545727694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019570134,"filename":"image_04012025_20_37_02_508386_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a6d9c55d8192934bdec5e511d85a8567.jpg","text":"TemporaryFile(/tmp/multipartBody7049094401236368831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019570134,"filename":"image_04012025_20_38_02_669805_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326770100","file1":"1326770097","file0":"1326770094"},"map_files_photo_id_array":[{"photo_id":"1326770100","filename":"file2"},{"photo_id":"1326770097","filename":"file1"},{"photo_id":"1326770094","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326770100":["hashtag1","hashtag2"]},{"1326770094":["hashtag1","hashtag2"]},{"1326770097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326770100, 1326770094, 1326770097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.56367301940918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:39:03.241549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:39:22.661142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/38/image_04012025_20_38_02_669805_0003.jpg', '/home/pi/Desktop/images/04012025/20/39/image_04012025_20_39_02_879400_0000.jpg', '/home/pi/Desktop/images/04012025/20/39/image_04012025_20_39_02_879400_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/38/image_04012025_20_38_02_669805_0003.jpg
/home/pi/Desktop/images/04012025/20/39/image_04012025_20_39_02_879400_0000.jpg
/home/pi/Desktop/images/04012025/20/39/image_04012025_20_39_02_879400_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":["1326770566","1326770592","1326770643"],"photo_ids_order":["1326770566","1326770592","1326770643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d74412c36a517630c475dbaf0f7997a3.jpg","text":"TemporaryFile(/tmp/multipartBody5347914005779839484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019630171,"filename":"image_04012025_20_38_02_669805_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1cc50ff8dfeb342988c89b2dda952ec1.jpg","text":"TemporaryFile(/tmp/multipartBody3702592091006805558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019630171,"filename":"image_04012025_20_39_02_879400_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/53f1271ee255671054b63e9c8fddd45d.jpg","text":"TemporaryFile(/tmp/multipartBody3470733201482973886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019630171,"filename":"image_04012025_20_39_02_879400_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326770643","file1":"1326770592","file0":"1326770566"},"map_files_photo_id_array":[{"photo_id":"1326770643","filename":"file2"},{"photo_id":"1326770592","filename":"file1"},{"photo_id":"1326770566","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326770566":["hashtag1","hashtag2"]},{"1326770592":["hashtag1","hashtag2"]},{"1326770643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326770566, 1326770592, 1326770643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.183258056640625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 20:39:52.663040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:40:02.293094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:40:21.822116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/39/image_04012025_20_39_02_879400_0003.jpg', '/home/pi/Desktop/images/04012025/20/40/image_04012025_20_40_03_065008_0000.jpg', '/home/pi/Desktop/images/04012025/20/40/image_04012025_20_40_03_065008_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/39/image_04012025_20_39_02_879400_0003.jpg
/home/pi/Desktop/images/04012025/20/40/image_04012025_20_40_03_065008_0000.jpg
/home/pi/Desktop/images/04012025/20/40/image_04012025_20_40_03_065008_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326770956","1326770959","1326770958"],"photo_ids_order":["1326770956","1326770958","1326770959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b7d429e27203d1da9e06e7d00985c22b.jpg","text":"TemporaryFile(/tmp/multipartBody1177751480393124982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019689366,"filename":"image_04012025_20_39_02_879400_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fbf3e1390f1b62439523496aedcd2fc6.jpg","text":"TemporaryFile(/tmp/multipartBody847339880009591800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019689366,"filename":"image_04012025_20_40_03_065008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a36f6d46666440804b1a7693428b559f.jpg","text":"TemporaryFile(/tmp/multipartBody1236121948303120862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019689366,"filename":"image_04012025_20_40_03_065008_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326770959","file1":"1326770958","file0":"1326770956"},"map_files_photo_id_array":[{"photo_id":"1326770959","filename":"file2"},{"photo_id":"1326770958","filename":"file1"},{"photo_id":"1326770956","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326770956":["hashtag1","hashtag2"]},{"1326770959":["hashtag1","hashtag2"]},{"1326770958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326770956, 1326770959, 1326770958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.13547348976135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:41:02.797387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:41:21.945827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/40/image_04012025_20_40_03_065008_0003.jpg', '/home/pi/Desktop/images/04012025/20/41/image_04012025_20_41_02_171698_0000.jpg', '/home/pi/Desktop/images/04012025/20/41/image_04012025_20_41_02_171698_0001.jpg', '/home/pi/Desktop/images/04012025/20/41/image_04012025_20_41_02_171698_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/40/image_04012025_20_40_03_065008_0003.jpg
/home/pi/Desktop/images/04012025/20/41/image_04012025_20_41_02_171698_0000.jpg
/home/pi/Desktop/images/04012025/20/41/image_04012025_20_41_02_171698_0001.jpg
/home/pi/Desktop/images/04012025/20/41/image_04012025_20_41_02_171698_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326771291","1326771290","1326771293","1326771287"],"photo_ids_order":["1326771287","1326771290","1326771291","1326771293"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b1bf19dac6bb1b945293f104284b1a97.jpg","text":"TemporaryFile(/tmp/multipartBody2982527246869017900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019751880,"filename":"image_04012025_20_41_02_171698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c3744e60c71ac889199109fb5ea47cb9.jpg","text":"TemporaryFile(/tmp/multipartBody644686827682259556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019751880,"filename":"image_04012025_20_41_02_171698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bf3ab235cb9c223fc0497146bbe793fc.jpg","text":"TemporaryFile(/tmp/multipartBody497335366970914585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019751880,"filename":"image_04012025_20_41_02_171698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7304cd046831a8544b08027a5bf19f4f.jpg","text":"TemporaryFile(/tmp/multipartBody1801289718014749837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019751880,"filename":"image_04012025_20_40_03_065008_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326771291","file1":"1326771290","file0":"1326771287","file3":"1326771293"},"map_files_photo_id_array":[{"photo_id":"1326771291","filename":"file2"},{"photo_id":"1326771290","filename":"file1"},{"photo_id":"1326771287","filename":"file0"},{"photo_id":"1326771293","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326771291":["hashtag1","hashtag2"]},{"1326771290":["hashtag1","hashtag2"]},{"1326771293":["hashtag1","hashtag2"]},{"1326771287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326771291, 1326771290, 1326771293, 1326771287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.177876234054565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:42:02.704359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:42:22.288179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/41/image_04012025_20_41_02_171698_0003.jpg', '/home/pi/Desktop/images/04012025/20/42/image_04012025_20_42_02_470914_0000.jpg', '/home/pi/Desktop/images/04012025/20/42/image_04012025_20_42_02_470914_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/41/image_04012025_20_41_02_171698_0003.jpg
/home/pi/Desktop/images/04012025/20/42/image_04012025_20_42_02_470914_0000.jpg
/home/pi/Desktop/images/04012025/20/42/image_04012025_20_42_02_470914_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":["1326771385","1326771388","1326771383"],"photo_ids_order":["1326771383","1326771385","1326771388"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/41a0ae57f3ba27bbcb602bcc89d92cfb.jpg","text":"TemporaryFile(/tmp/multipartBody6389889020353381198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019809817,"filename":"image_04012025_20_42_02_470914_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d712a0bd0d048e406a0e1a1be46e22ff.jpg","text":"TemporaryFile(/tmp/multipartBody5017825131132510083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019809817,"filename":"image_04012025_20_42_02_470914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fdde0a69fbc2e100586d921363627736.jpg","text":"TemporaryFile(/tmp/multipartBody4626282630506444847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019809817,"filename":"image_04012025_20_41_02_171698_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326771388","file1":"1326771385","file0":"1326771383"},"map_files_photo_id_array":[{"photo_id":"1326771388","filename":"file2"},{"photo_id":"1326771385","filename":"file1"},{"photo_id":"1326771383","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326771385":["hashtag1","hashtag2"]},{"1326771388":["hashtag1","hashtag2"]},{"1326771383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326771385, 1326771388, 1326771383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.07255506515503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:43:02.800748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:43:22.402198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/42/image_04012025_20_42_02_470914_0002.jpg', '/home/pi/Desktop/images/04012025/20/43/image_04012025_20_43_02_646420_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/42/image_04012025_20_42_02_470914_0002.jpg
/home/pi/Desktop/images/04012025/20/43/image_04012025_20_43_02_646420_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.848100423812866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 20:43:32.334368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/42/image_04012025_20_42_02_470914_0002.jpg', '/home/pi/Desktop/images/04012025/20/43/image_04012025_20_43_02_646420_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/42/image_04012025_20_42_02_470914_0002.jpg
/home/pi/Desktop/images/04012025/20/43/image_04012025_20_43_02_646420_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":["1326771430","1326771434"],"photo_ids_order":["1326771430","1326771434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f6730041974f9d345f87f22f89d000c8.jpg","text":"TemporaryFile(/tmp/multipartBody6111264333778545438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019877585,"filename":"image_04012025_20_42_02_470914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dd297611cf86fbb115a9381880904418.jpg","text":"TemporaryFile(/tmp/multipartBody5514619000507304472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019877585,"filename":"image_04012025_20_43_02_646420_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326771434","file0":"1326771430"},"map_files_photo_id_array":[{"photo_id":"1326771434","filename":"file1"},{"photo_id":"1326771430","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326771430":["hashtag1","hashtag2"]},{"1326771434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326771430, 1326771434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.33684802055359 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:44:02.919937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:44:22.529745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/43/image_04012025_20_43_02_646420_0002.jpg', '/home/pi/Desktop/images/04012025/20/44/image_04012025_20_44_02_758670_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/43/image_04012025_20_43_02_646420_0002.jpg
/home/pi/Desktop/images/04012025/20/44/image_04012025_20_44_02_758670_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":["1326771450","1326771452"],"photo_ids_order":["1326771450","1326771452"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d0e8cf66294f59376f8f9ceefd76045.jpg","text":"TemporaryFile(/tmp/multipartBody5106637449664487321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019927767,"filename":"image_04012025_20_43_02_646420_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4326cb3ce73200e1c150c0f19db97164.jpg","text":"TemporaryFile(/tmp/multipartBody7323019693874551120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019927767,"filename":"image_04012025_20_44_02_758670_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326771452","file0":"1326771450"},"map_files_photo_id_array":[{"photo_id":"1326771452","filename":"file1"},{"photo_id":"1326771450","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326771450":["hashtag1","hashtag2"]},{"1326771452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326771450, 1326771452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.48773956298828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 20:44:52.458327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:45:03.122275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:45:22.589123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/44/image_04012025_20_44_02_758670_0003.jpg', '/home/pi/Desktop/images/04012025/20/45/image_04012025_20_45_02_848045_0000.jpg', '/home/pi/Desktop/images/04012025/20/45/image_04012025_20_45_02_848045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/44/image_04012025_20_44_02_758670_0003.jpg
/home/pi/Desktop/images/04012025/20/45/image_04012025_20_45_02_848045_0000.jpg
/home/pi/Desktop/images/04012025/20/45/image_04012025_20_45_02_848045_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326771464","1326771466","1326771467"],"photo_ids_order":["1326771464","1326771466","1326771467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/44addecdc9de7e442ef4129bdf09a71c.jpg","text":"TemporaryFile(/tmp/multipartBody2678359263032921677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019990124,"filename":"image_04012025_20_44_02_758670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/98f5955f194fb8ee39dcc24407d0bc9f.jpg","text":"TemporaryFile(/tmp/multipartBody1263832019216682407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019990124,"filename":"image_04012025_20_45_02_848045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4ecf9d6b4df9f8bd9e37572f296db959.jpg","text":"TemporaryFile(/tmp/multipartBody2909698660095386758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736019990124,"filename":"image_04012025_20_45_02_848045_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326771467","file1":"1326771466","file0":"1326771464"},"map_files_photo_id_array":[{"photo_id":"1326771467","filename":"file2"},{"photo_id":"1326771466","filename":"file1"},{"photo_id":"1326771464","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326771464":["hashtag1","hashtag2"]},{"1326771466":["hashtag1","hashtag2"]},{"1326771467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326771464, 1326771466, 1326771467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.256701469421387 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:46:02.328213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:46:21.836448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/45/image_04012025_20_45_02_848045_0003.jpg', '/home/pi/Desktop/images/04012025/20/46/image_04012025_20_46_03_013560_0000.jpg', '/home/pi/Desktop/images/04012025/20/46/image_04012025_20_46_03_013560_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/45/image_04012025_20_45_02_848045_0003.jpg
/home/pi/Desktop/images/04012025/20/46/image_04012025_20_46_03_013560_0000.jpg
/home/pi/Desktop/images/04012025/20/46/image_04012025_20_46_03_013560_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":["1326771522","1326771525","1326771528"],"photo_ids_order":["1326771522","1326771525","1326771528"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5863169a9cf74f0ad7de1b2eae3b927e.jpg","text":"TemporaryFile(/tmp/multipartBody5928321305201290970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020049349,"filename":"image_04012025_20_45_02_848045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af10393becd3bd35ac614b43a5b0cd67.jpg","text":"TemporaryFile(/tmp/multipartBody1759108397706063138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020049349,"filename":"image_04012025_20_46_03_013560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ccaa5e32fff64d4e5e1746b002b1e21c.jpg","text":"TemporaryFile(/tmp/multipartBody3667526184103306960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020049349,"filename":"image_04012025_20_46_03_013560_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326771528","file1":"1326771525","file0":"1326771522"},"map_files_photo_id_array":[{"photo_id":"1326771528","filename":"file2"},{"photo_id":"1326771525","filename":"file1"},{"photo_id":"1326771522","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326771522":["hashtag1","hashtag2"]},{"1326771525":["hashtag1","hashtag2"]},{"1326771528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326771522, 1326771525, 1326771528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.81716561317444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:47:02.667769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:47:22.063522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 20:47:32.001899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 20:47:42.077858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 20:47:52.006103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:48:02.615511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:48:22.330411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/46/image_04012025_20_46_03_013560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/46/image_04012025_20_46_03_013560_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326771552"],"photo_id":"1326771552","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ae87b08f2ec983568feed3815d0969c.jpg","text":"TemporaryFile(/tmp/multipartBody6891254883869261512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020165313,"filename":"image_04012025_20_46_03_013560_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326771552"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326771552"}],"hashtags":[],"portfolio_id":"19403015","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.854076385498047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 20:48:42.184232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 20:48:52.185215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:49:02.883802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:49:22.403714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/48/image_04012025_20_48_02_457657_0003.jpg', '/home/pi/Desktop/images/04012025/20/49/image_04012025_20_49_02_663822_0000.jpg', '/home/pi/Desktop/images/04012025/20/49/image_04012025_20_49_02_663822_0001.jpg', '/home/pi/Desktop/images/04012025/20/49/image_04012025_20_49_02_663822_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/48/image_04012025_20_48_02_457657_0003.jpg
/home/pi/Desktop/images/04012025/20/49/image_04012025_20_49_02_663822_0000.jpg
/home/pi/Desktop/images/04012025/20/49/image_04012025_20_49_02_663822_0001.jpg
/home/pi/Desktop/images/04012025/20/49/image_04012025_20_49_02_663822_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326771595","1326771598","1326771597","1326771600"],"photo_ids_order":["1326771595","1326771597","1326771598","1326771600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2b92ae3f6c552d3d201a1fbed691e02c.jpg","text":"TemporaryFile(/tmp/multipartBody6698076214785794538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020232221,"filename":"image_04012025_20_48_02_457657_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8bd7418135ac48b7ee924b4105026b0e.jpg","text":"TemporaryFile(/tmp/multipartBody4089426054398579963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020232221,"filename":"image_04012025_20_49_02_663822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e7c3ca91868f47f4326f2c8b0a08aacc.jpg","text":"TemporaryFile(/tmp/multipartBody1036009516073521637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020232221,"filename":"image_04012025_20_49_02_663822_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/372a63519e571b91fbea419b61483a73.jpg","text":"TemporaryFile(/tmp/multipartBody7265436712829383047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020232221,"filename":"image_04012025_20_49_02_663822_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326771598","file1":"1326771597","file0":"1326771595","file3":"1326771600"},"map_files_photo_id_array":[{"photo_id":"1326771598","filename":"file2"},{"photo_id":"1326771597","filename":"file1"},{"photo_id":"1326771595","filename":"file0"},{"photo_id":"1326771600","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326771595":["hashtag1","hashtag2"]},{"1326771598":["hashtag1","hashtag2"]},{"1326771597":["hashtag1","hashtag2"]},{"1326771600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326771595, 1326771598, 1326771597, 1326771600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.94351077079773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:50:02.999155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:50:22.704256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/49/image_04012025_20_49_02_663822_0003.jpg', '/home/pi/Desktop/images/04012025/20/50/image_04012025_20_50_02_776061_0000.jpg', '/home/pi/Desktop/images/04012025/20/50/image_04012025_20_50_02_776061_0001.jpg', '/home/pi/Desktop/images/04012025/20/50/image_04012025_20_50_02_776061_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/49/image_04012025_20_49_02_663822_0003.jpg
/home/pi/Desktop/images/04012025/20/50/image_04012025_20_50_02_776061_0000.jpg
/home/pi/Desktop/images/04012025/20/50/image_04012025_20_50_02_776061_0001.jpg
/home/pi/Desktop/images/04012025/20/50/image_04012025_20_50_02_776061_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326771781","1326771778","1326771783","1326771776"],"photo_ids_order":["1326771776","1326771778","1326771781","1326771783"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3de441d75539d76d2a7638585e1858ea.jpg","text":"TemporaryFile(/tmp/multipartBody6209765095375103863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020292510,"filename":"image_04012025_20_50_02_776061_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b9b1b3486465d25c3957e3ae50a36cb.jpg","text":"TemporaryFile(/tmp/multipartBody8439483180943574869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020292510,"filename":"image_04012025_20_50_02_776061_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/338b335048f0afb4443359f4e0614da1.jpg","text":"TemporaryFile(/tmp/multipartBody8971614356656243373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020292510,"filename":"image_04012025_20_50_02_776061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ae2ec6a0406673c9b6ff1dc5818f0af.jpg","text":"TemporaryFile(/tmp/multipartBody8507241979857128819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020292510,"filename":"image_04012025_20_49_02_663822_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326771781","file1":"1326771778","file0":"1326771776","file3":"1326771783"},"map_files_photo_id_array":[{"photo_id":"1326771781","filename":"file2"},{"photo_id":"1326771778","filename":"file1"},{"photo_id":"1326771776","filename":"file0"},{"photo_id":"1326771783","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326771781":["hashtag1","hashtag2"]},{"1326771778":["hashtag1","hashtag2"]},{"1326771783":["hashtag1","hashtag2"]},{"1326771776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326771781, 1326771778, 1326771783, 1326771776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.26865291595459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:51:02.459535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:51:21.841001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/50/image_04012025_20_50_02_776061_0003.jpg', '/home/pi/Desktop/images/04012025/20/51/image_04012025_20_51_02_960653_0000.jpg', '/home/pi/Desktop/images/04012025/20/51/image_04012025_20_51_02_960653_0001.jpg', '/home/pi/Desktop/images/04012025/20/51/image_04012025_20_51_02_960653_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/50/image_04012025_20_50_02_776061_0003.jpg
/home/pi/Desktop/images/04012025/20/51/image_04012025_20_51_02_960653_0000.jpg
/home/pi/Desktop/images/04012025/20/51/image_04012025_20_51_02_960653_0001.jpg
/home/pi/Desktop/images/04012025/20/51/image_04012025_20_51_02_960653_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326771905","1326771908","1326771910","1326771907"],"photo_ids_order":["1326771905","1326771907","1326771908","1326771910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/179199dd7da588de41a5cc3f5b7b3034.jpg","text":"TemporaryFile(/tmp/multipartBody7034605259131624039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020351679,"filename":"image_04012025_20_50_02_776061_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e263ef7342699c9055e5ac4a5ad94d88.jpg","text":"TemporaryFile(/tmp/multipartBody8159133555622616046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020351679,"filename":"image_04012025_20_51_02_960653_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1cacb429153a3c9e06b3db5a6e122de3.jpg","text":"TemporaryFile(/tmp/multipartBody2895353866788819422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020351679,"filename":"image_04012025_20_51_02_960653_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6a3443ee04581c52816ad6bd98391ae4.jpg","text":"TemporaryFile(/tmp/multipartBody3873329053581269413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020351679,"filename":"image_04012025_20_51_02_960653_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326771908","file1":"1326771907","file0":"1326771905","file3":"1326771910"},"map_files_photo_id_array":[{"photo_id":"1326771908","filename":"file2"},{"photo_id":"1326771907","filename":"file1"},{"photo_id":"1326771905","filename":"file0"},{"photo_id":"1326771910","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326771905":["hashtag1","hashtag2"]},{"1326771908":["hashtag1","hashtag2"]},{"1326771910":["hashtag1","hashtag2"]},{"1326771907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326771905, 1326771908, 1326771910, 1326771907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.04257130622864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:52:02.476498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:52:22.003672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/51/image_04012025_20_51_02_960653_0003.jpg', '/home/pi/Desktop/images/04012025/20/52/image_04012025_20_52_02_154963_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/51/image_04012025_20_51_02_960653_0003.jpg
/home/pi/Desktop/images/04012025/20/52/image_04012025_20_52_02_154963_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":["1326771947","1326771945"],"photo_ids_order":["1326771945","1326771947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/45bcd685c057869753996676e03014d0.jpg","text":"TemporaryFile(/tmp/multipartBody6125391484426680342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020407252,"filename":"image_04012025_20_52_02_154963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/07e0f96f4d10cd4d74507faaaaebf99d.jpg","text":"TemporaryFile(/tmp/multipartBody555274676371082921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020407252,"filename":"image_04012025_20_51_02_960653_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326771947","file0":"1326771945"},"map_files_photo_id_array":[{"photo_id":"1326771947","filename":"file1"},{"photo_id":"1326771945","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326771947":["hashtag1","hashtag2"]},{"1326771945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326771947, 1326771945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.784270524978638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 20:52:51.963442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:53:02.876658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:53:22.144427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/52/image_04012025_20_52_02_154963_0002.jpg', '/home/pi/Desktop/images/04012025/20/53/image_04012025_20_53_02_333855_0001.jpg', '/home/pi/Desktop/images/04012025/20/53/image_04012025_20_53_02_333855_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/52/image_04012025_20_52_02_154963_0002.jpg
/home/pi/Desktop/images/04012025/20/53/image_04012025_20_53_02_333855_0001.jpg
/home/pi/Desktop/images/04012025/20/53/image_04012025_20_53_02_333855_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326772282","1326772278","1326772280"],"photo_ids_order":["1326772278","1326772280","1326772282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/571b486d131f822b37d811825ac0e117.jpg","text":"TemporaryFile(/tmp/multipartBody1256254981584462452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020469646,"filename":"image_04012025_20_53_02_333855_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d53bd1a0763f057736c0759e105cc88b.jpg","text":"TemporaryFile(/tmp/multipartBody3636594651155724108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020469646,"filename":"image_04012025_20_52_02_154963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/11174bc71c4c29b02c9d332e78ba6b2c.jpg","text":"TemporaryFile(/tmp/multipartBody512909396388092807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020469646,"filename":"image_04012025_20_53_02_333855_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326772282","file1":"1326772280","file0":"1326772278"},"map_files_photo_id_array":[{"photo_id":"1326772282","filename":"file2"},{"photo_id":"1326772280","filename":"file1"},{"photo_id":"1326772278","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326772282":["hashtag1","hashtag2"]},{"1326772278":["hashtag1","hashtag2"]},{"1326772280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326772282, 1326772278, 1326772280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.05038571357727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:54:02.821571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:54:22.399798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/53/image_04012025_20_53_02_333855_0003.jpg', '/home/pi/Desktop/images/04012025/20/54/image_04012025_20_54_02_599747_0000.jpg', '/home/pi/Desktop/images/04012025/20/54/image_04012025_20_54_02_599747_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/53/image_04012025_20_53_02_333855_0003.jpg
/home/pi/Desktop/images/04012025/20/54/image_04012025_20_54_02_599747_0000.jpg
/home/pi/Desktop/images/04012025/20/54/image_04012025_20_54_02_599747_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.105868577957153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 20:54:32.359326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/53/image_04012025_20_53_02_333855_0003.jpg', '/home/pi/Desktop/images/04012025/20/54/image_04012025_20_54_02_599747_0000.jpg', '/home/pi/Desktop/images/04012025/20/54/image_04012025_20_54_02_599747_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/53/image_04012025_20_53_02_333855_0003.jpg
/home/pi/Desktop/images/04012025/20/54/image_04012025_20_54_02_599747_0000.jpg
/home/pi/Desktop/images/04012025/20/54/image_04012025_20_54_02_599747_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":["1326772651","1326772653","1326772649"],"photo_ids_order":["1326772649","1326772651","1326772653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/837e7124b2f497fc77562d5931ccc791.jpg","text":"TemporaryFile(/tmp/multipartBody1173072063901552125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020539894,"filename":"image_04012025_20_54_02_599747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a9639d195744d1a606222e0f283afb05.jpg","text":"TemporaryFile(/tmp/multipartBody3165290127032599877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020539894,"filename":"image_04012025_20_54_02_599747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0167938c297ba3717aa673fef0731d36.jpg","text":"TemporaryFile(/tmp/multipartBody541601749745427691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020539894,"filename":"image_04012025_20_53_02_333855_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326772653","file1":"1326772651","file0":"1326772649"},"map_files_photo_id_array":[{"photo_id":"1326772653","filename":"file2"},{"photo_id":"1326772651","filename":"file1"},{"photo_id":"1326772649","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326772651":["hashtag1","hashtag2"]},{"1326772653":["hashtag1","hashtag2"]},{"1326772649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326772651, 1326772653, 1326772649)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 3 photos
time to upload: 29.816752672195435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:55:22.567621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/54/image_04012025_20_54_02_599747_0002.jpg', '/home/pi/Desktop/images/04012025/20/55/image_04012025_20_55_02_749940_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/54/image_04012025_20_54_02_599747_0002.jpg
/home/pi/Desktop/images/04012025/20/55/image_04012025_20_55_02_749940_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":["1326772801","1326772800"],"photo_ids_order":["1326772800","1326772801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4ef2da22a9526e1884eed2dae3b7a13f.jpg","text":"TemporaryFile(/tmp/multipartBody3466991532015426371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020587822,"filename":"image_04012025_20_55_02_749940_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7de14ff57f19dad58954bc79d3741171.jpg","text":"TemporaryFile(/tmp/multipartBody4621517978166903514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020587822,"filename":"image_04012025_20_54_02_599747_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326772801","file0":"1326772800"},"map_files_photo_id_array":[{"photo_id":"1326772801","filename":"file1"},{"photo_id":"1326772800","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326772801":["hashtag1","hashtag2"]},{"1326772800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326772801, 1326772800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.662792444229126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 20:55:52.497037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:56:03.162951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:56:22.768907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/55/image_04012025_20_55_02_749940_0003.jpg', '/home/pi/Desktop/images/04012025/20/56/image_04012025_20_56_02_947130_0000.jpg', '/home/pi/Desktop/images/04012025/20/56/image_04012025_20_56_02_947130_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/55/image_04012025_20_55_02_749940_0003.jpg
/home/pi/Desktop/images/04012025/20/56/image_04012025_20_56_02_947130_0000.jpg
/home/pi/Desktop/images/04012025/20/56/image_04012025_20_56_02_947130_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":["1326772813","1326772810","1326772812"],"photo_ids_order":["1326772810","1326772812","1326772813"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dc6db2b4a190bda869e9031f24900660.jpg","text":"TemporaryFile(/tmp/multipartBody8284659595893008601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020650344,"filename":"image_04012025_20_56_02_947130_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/174bfa0d2c73c067e0f4c1b16001d0f2.jpg","text":"TemporaryFile(/tmp/multipartBody3441719251518914761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020650344,"filename":"image_04012025_20_55_02_749940_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4203998df7b94671e454453b1133b9ba.jpg","text":"TemporaryFile(/tmp/multipartBody4031239591599358736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020650344,"filename":"image_04012025_20_56_02_947130_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326772813","file1":"1326772812","file0":"1326772810"},"map_files_photo_id_array":[{"photo_id":"1326772813","filename":"file2"},{"photo_id":"1326772812","filename":"file1"},{"photo_id":"1326772810","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326772813":["hashtag1","hashtag2"]},{"1326772810":["hashtag1","hashtag2"]},{"1326772812":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326772813, 1326772810, 1326772812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.455135345458984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:57:02.658734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 20:57:21.864810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/56/image_04012025_20_56_02_947130_0002.jpg', '/home/pi/Desktop/images/04012025/20/57/image_04012025_20_57_03_120865_0001.jpg', '/home/pi/Desktop/images/04012025/20/57/image_04012025_20_57_03_120865_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/56/image_04012025_20_56_02_947130_0002.jpg
/home/pi/Desktop/images/04012025/20/57/image_04012025_20_57_03_120865_0001.jpg
/home/pi/Desktop/images/04012025/20/57/image_04012025_20_57_03_120865_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326773004","1326772842","1326772844"],"photo_ids_order":["1326772842","1326772844","1326773004"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5b691e74b70df639539b4b318e82f4ca.jpg","text":"TemporaryFile(/tmp/multipartBody6584189188081792735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020709374,"filename":"image_04012025_20_57_03_120865_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b4ee800c8bca18a2887b7a3afaca34eb.jpg","text":"TemporaryFile(/tmp/multipartBody968144998802932495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020709374,"filename":"image_04012025_20_56_02_947130_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f93fb1fb7114a740868dd0a8f1ca10a.jpg","text":"TemporaryFile(/tmp/multipartBody5769433513359661178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020709374,"filename":"image_04012025_20_57_03_120865_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326773004","file1":"1326772844","file0":"1326772842"},"map_files_photo_id_array":[{"photo_id":"1326773004","filename":"file2"},{"photo_id":"1326772844","filename":"file1"},{"photo_id":"1326772842","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326773004":["hashtag1","hashtag2"]},{"1326772842":["hashtag1","hashtag2"]},{"1326772844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326773004, 1326772842, 1326772844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.4685275554657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 20:59:02.871577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/57/image_04012025_20_57_03_120865_0003.jpg', '/home/pi/Desktop/images/04012025/20/58/image_04012025_20_58_02_292936_0000.jpg', '/home/pi/Desktop/images/04012025/20/58/image_04012025_20_58_02_292936_0001.jpg', '/home/pi/Desktop/images/04012025/20/58/image_04012025_20_58_02_292936_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/57/image_04012025_20_57_03_120865_0003.jpg
/home/pi/Desktop/images/04012025/20/58/image_04012025_20_58_02_292936_0000.jpg
/home/pi/Desktop/images/04012025/20/58/image_04012025_20_58_02_292936_0001.jpg
/home/pi/Desktop/images/04012025/20/58/image_04012025_20_58_02_292936_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326773985","1326774394","1326774331","1326773872"],"photo_ids_order":["1326773872","1326773985","1326774331","1326774394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5f58359df7a463f4d8635f2e90a2ce29.jpg","text":"TemporaryFile(/tmp/multipartBody374591059656101695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020812752,"filename":"image_04012025_20_58_02_292936_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a887309ae24336d8557e0471ca5489bf.jpg","text":"TemporaryFile(/tmp/multipartBody5681665976817005579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020812752,"filename":"image_04012025_20_58_02_292936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b90106fc5243455d0183b0f4db417dd.jpg","text":"TemporaryFile(/tmp/multipartBody3208961017777532783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020812752,"filename":"image_04012025_20_58_02_292936_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/26978bae33dd6b176d30d6b875b2b99c.jpg","text":"TemporaryFile(/tmp/multipartBody966985510671095728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020812752,"filename":"image_04012025_20_57_03_120865_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326774331","file1":"1326773985","file0":"1326773872","file3":"1326774394"},"map_files_photo_id_array":[{"photo_id":"1326774331","filename":"file2"},{"photo_id":"1326773985","filename":"file1"},{"photo_id":"1326773872","filename":"file0"},{"photo_id":"1326774394","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326773985":["hashtag1","hashtag2"]},{"1326774394":["hashtag1","hashtag2"]},{"1326774331":["hashtag1","hashtag2"]},{"1326773872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326773985, 1326774394, 1326774331, 1326773872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19451284408569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 20:59:52.217020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/58/image_04012025_20_58_02_292936_0003.jpg', '/home/pi/Desktop/images/04012025/20/59/image_04012025_20_59_02_432637_0000.jpg', '/home/pi/Desktop/images/04012025/20/59/image_04012025_20_59_02_432637_0001.jpg', '/home/pi/Desktop/images/04012025/20/59/image_04012025_20_59_02_432637_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/58/image_04012025_20_58_02_292936_0003.jpg
/home/pi/Desktop/images/04012025/20/59/image_04012025_20_59_02_432637_0000.jpg
/home/pi/Desktop/images/04012025/20/59/image_04012025_20_59_02_432637_0001.jpg
/home/pi/Desktop/images/04012025/20/59/image_04012025_20_59_02_432637_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326774596","1326774593","1326774547","1326774541"],"photo_ids_order":["1326774541","1326774547","1326774593","1326774596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c7cc616605cbb525789eac3530fb362c.jpg","text":"TemporaryFile(/tmp/multipartBody5850559073892065456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020862023,"filename":"image_04012025_20_59_02_432637_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/de3956c93158682577d01cf424acc70a.jpg","text":"TemporaryFile(/tmp/multipartBody8430991514701656702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020862023,"filename":"image_04012025_20_59_02_432637_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/32936581da744504355abeadb96c5619.jpg","text":"TemporaryFile(/tmp/multipartBody5181526260187064290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020862023,"filename":"image_04012025_20_59_02_432637_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a5bc69d399e5edbbdcb5cc58cb24494d.jpg","text":"TemporaryFile(/tmp/multipartBody3443572911603096540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020862023,"filename":"image_04012025_20_58_02_292936_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326774593","file1":"1326774547","file0":"1326774541","file3":"1326774596"},"map_files_photo_id_array":[{"photo_id":"1326774593","filename":"file2"},{"photo_id":"1326774547","filename":"file1"},{"photo_id":"1326774541","filename":"file0"},{"photo_id":"1326774596","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326774596":["hashtag1","hashtag2"]},{"1326774593":["hashtag1","hashtag2"]},{"1326774547":["hashtag1","hashtag2"]},{"1326774541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326774596, 1326774593, 1326774547, 1326774541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.120505571365356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 21:00:32.366225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/20/59/image_04012025_20_59_02_432637_0003.jpg', '/home/pi/Desktop/images/04012025/21/00/image_04012025_21_00_02_671479_0000.jpg', '/home/pi/Desktop/images/04012025/21/00/image_04012025_21_00_02_671479_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/20/59/image_04012025_20_59_02_432637_0003.jpg
/home/pi/Desktop/images/04012025/21/00/image_04012025_21_00_02_671479_0000.jpg
/home/pi/Desktop/images/04012025/21/00/image_04012025_21_00_02_671479_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":["1326774609","1326774623","1326774613"],"photo_ids_order":["1326774609","1326774613","1326774623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d8621d8089cf6271cd04f19fe8d5113f.jpg","text":"TemporaryFile(/tmp/multipartBody2975508982508039507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020899883,"filename":"image_04012025_20_59_02_432637_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/512fb06bfb75adb34c0d2ffc415d84c2.jpg","text":"TemporaryFile(/tmp/multipartBody3767857408797813060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020899883,"filename":"image_04012025_21_00_02_671479_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca44f4c1b8f61a39790208866ca9badb.jpg","text":"TemporaryFile(/tmp/multipartBody2008636128535741491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020899883,"filename":"image_04012025_21_00_02_671479_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326774623","file1":"1326774613","file0":"1326774609"},"map_files_photo_id_array":[{"photo_id":"1326774623","filename":"file2"},{"photo_id":"1326774613","filename":"file1"},{"photo_id":"1326774609","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326774609":["hashtag1","hashtag2"]},{"1326774623":["hashtag1","hashtag2"]},{"1326774613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326774609, 1326774623, 1326774613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.4285626411438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:01:22.627495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/00/image_04012025_21_00_02_671479_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/00/image_04012025_21_00_02_671479_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326774661"],"photo_id":"1326774661","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/685d6a4d73a434ac67c15b37e544db35.jpg","text":"TemporaryFile(/tmp/multipartBody4457571831474609728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736020945596,"filename":"image_04012025_21_00_02_671479_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326774661"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326774661"}],"hashtags":[],"portfolio_id":"19403015","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.30422830581665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 21:01:42.601359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 21:01:52.561698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 21:02:03.216700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:02:22.759582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/01/image_04012025_21_01_02_863050_0001.jpg', '/home/pi/Desktop/images/04012025/21/02/image_04012025_21_02_02_929185_0000.jpg', '/home/pi/Desktop/images/04012025/21/02/image_04012025_21_02_02_929185_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/01/image_04012025_21_01_02_863050_0001.jpg
/home/pi/Desktop/images/04012025/21/02/image_04012025_21_02_02_929185_0000.jpg
/home/pi/Desktop/images/04012025/21/02/image_04012025_21_02_02_929185_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":["1326774687","1326774692","1326774691"],"photo_ids_order":["1326774687","1326774691","1326774692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cca8b08e8285c1d6f67f95b0235a76b3.jpg","text":"TemporaryFile(/tmp/multipartBody8874634285258386127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021010437,"filename":"image_04012025_21_01_02_863050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a9500589c96025e152f73a131839c42d.jpg","text":"TemporaryFile(/tmp/multipartBody7948992109224907637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021010437,"filename":"image_04012025_21_02_02_929185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0c1b9374b5022ba00624b1bdd50be426.jpg","text":"TemporaryFile(/tmp/multipartBody2233921784719204754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021010437,"filename":"image_04012025_21_02_02_929185_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326774692","file1":"1326774691","file0":"1326774687"},"map_files_photo_id_array":[{"photo_id":"1326774692","filename":"file2"},{"photo_id":"1326774691","filename":"file1"},{"photo_id":"1326774687","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326774687":["hashtag1","hashtag2"]},{"1326774692":["hashtag1","hashtag2"]},{"1326774691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326774687, 1326774692, 1326774691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.72859764099121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 21:03:02.564904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:03:22.010012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/02/image_04012025_21_02_02_929185_0003.jpg', '/home/pi/Desktop/images/04012025/21/03/image_04012025_21_03_03_115582_0000.jpg', '/home/pi/Desktop/images/04012025/21/03/image_04012025_21_03_03_115582_0001.jpg', '/home/pi/Desktop/images/04012025/21/03/image_04012025_21_03_03_115582_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/02/image_04012025_21_02_02_929185_0003.jpg
/home/pi/Desktop/images/04012025/21/03/image_04012025_21_03_03_115582_0000.jpg
/home/pi/Desktop/images/04012025/21/03/image_04012025_21_03_03_115582_0001.jpg
/home/pi/Desktop/images/04012025/21/03/image_04012025_21_03_03_115582_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326774711","1326774704","1326774703","1326774700"],"photo_ids_order":["1326774700","1326774703","1326774704","1326774711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ebe1de313d2b2ed56779586444826891.jpg","text":"TemporaryFile(/tmp/multipartBody232955645418591814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021071964,"filename":"image_04012025_21_03_03_115582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3ceb72ac0a710783d2d1ca6906947653.jpg","text":"TemporaryFile(/tmp/multipartBody8952646859787628849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021071964,"filename":"image_04012025_21_03_03_115582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/66c96c7e1e1b4c7e6ab41adf8f73a984.jpg","text":"TemporaryFile(/tmp/multipartBody6303270939311950862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021071964,"filename":"image_04012025_21_03_03_115582_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/65bb0a6d3f2b0d89f3fe8a92c8a4cc66.jpg","text":"TemporaryFile(/tmp/multipartBody5259067908106631028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021071964,"filename":"image_04012025_21_02_02_929185_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326774704","file1":"1326774703","file0":"1326774700","file3":"1326774711"},"map_files_photo_id_array":[{"photo_id":"1326774704","filename":"file2"},{"photo_id":"1326774703","filename":"file1"},{"photo_id":"1326774700","filename":"file0"},{"photo_id":"1326774711","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326774711":["hashtag1","hashtag2"]},{"1326774704":["hashtag1","hashtag2"]},{"1326774703":["hashtag1","hashtag2"]},{"1326774700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326774711, 1326774704, 1326774703, 1326774700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.536789417266846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 21:04:02.647608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:04:22.156747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/03/image_04012025_21_03_03_115582_0003.jpg', '/home/pi/Desktop/images/04012025/21/04/image_04012025_21_04_02_332150_0000.jpg', '/home/pi/Desktop/images/04012025/21/04/image_04012025_21_04_02_332150_0001.jpg', '/home/pi/Desktop/images/04012025/21/04/image_04012025_21_04_02_332150_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/03/image_04012025_21_03_03_115582_0003.jpg
/home/pi/Desktop/images/04012025/21/04/image_04012025_21_04_02_332150_0000.jpg
/home/pi/Desktop/images/04012025/21/04/image_04012025_21_04_02_332150_0001.jpg
/home/pi/Desktop/images/04012025/21/04/image_04012025_21_04_02_332150_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326774747","1326774741","1326774744","1326774745"],"photo_ids_order":["1326774741","1326774744","1326774745","1326774747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b28818cb23f13a807485769b7d18c17c.jpg","text":"TemporaryFile(/tmp/multipartBody5128661323673376676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021132282,"filename":"image_04012025_21_04_02_332150_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8545ad5b34e97bb3b065bbbf624af4f1.jpg","text":"TemporaryFile(/tmp/multipartBody8598360579315338491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021132282,"filename":"image_04012025_21_03_03_115582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ff7f39d4023c0661eb6e2b3c6f3a5bce.jpg","text":"TemporaryFile(/tmp/multipartBody6984675298388432560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021132282,"filename":"image_04012025_21_04_02_332150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a5452ede941f87481a46397b01fdc4a8.jpg","text":"TemporaryFile(/tmp/multipartBody7902357532487139050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021132282,"filename":"image_04012025_21_04_02_332150_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326774745","file1":"1326774744","file0":"1326774741","file3":"1326774747"},"map_files_photo_id_array":[{"photo_id":"1326774745","filename":"file2"},{"photo_id":"1326774744","filename":"file1"},{"photo_id":"1326774741","filename":"file0"},{"photo_id":"1326774747","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326774747":["hashtag1","hashtag2"]},{"1326774741":["hashtag1","hashtag2"]},{"1326774744":["hashtag1","hashtag2"]},{"1326774745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326774747, 1326774741, 1326774744, 1326774745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.88858485221863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 21:05:02.890654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:05:22.329858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/04/image_04012025_21_04_02_332150_0003.jpg', '/home/pi/Desktop/images/04012025/21/05/image_04012025_21_05_02_501537_0000.jpg', '/home/pi/Desktop/images/04012025/21/05/image_04012025_21_05_02_501537_0001.jpg', '/home/pi/Desktop/images/04012025/21/05/image_04012025_21_05_02_501537_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/04/image_04012025_21_04_02_332150_0003.jpg
/home/pi/Desktop/images/04012025/21/05/image_04012025_21_05_02_501537_0000.jpg
/home/pi/Desktop/images/04012025/21/05/image_04012025_21_05_02_501537_0001.jpg
/home/pi/Desktop/images/04012025/21/05/image_04012025_21_05_02_501537_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326774765","1326774767","1326774760","1326774763"],"photo_ids_order":["1326774760","1326774763","1326774765","1326774767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/528832c740d49e90a825ed0b6bda7e17.jpg","text":"TemporaryFile(/tmp/multipartBody5652825612110709425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021192548,"filename":"image_04012025_21_05_02_501537_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/68d94a553288c9929e0316c37666daec.jpg","text":"TemporaryFile(/tmp/multipartBody3755961738806118838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021192548,"filename":"image_04012025_21_05_02_501537_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8cc4f837b52454d01c4c6f9ef34cf33c.jpg","text":"TemporaryFile(/tmp/multipartBody997018549465980580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021192548,"filename":"image_04012025_21_04_02_332150_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6763bc2af0d2b407377d22f21e69e1a4.jpg","text":"TemporaryFile(/tmp/multipartBody3238182001466265874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021192548,"filename":"image_04012025_21_05_02_501537_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326774765","file1":"1326774763","file0":"1326774760","file3":"1326774767"},"map_files_photo_id_array":[{"photo_id":"1326774765","filename":"file2"},{"photo_id":"1326774763","filename":"file1"},{"photo_id":"1326774760","filename":"file0"},{"photo_id":"1326774767","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326774765":["hashtag1","hashtag2"]},{"1326774767":["hashtag1","hashtag2"]},{"1326774760":["hashtag1","hashtag2"]},{"1326774763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326774765, 1326774767, 1326774760, 1326774763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.855565547943115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 21:06:02.974700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:06:22.442096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/05/image_04012025_21_05_02_501537_0003.jpg', '/home/pi/Desktop/images/04012025/21/06/image_04012025_21_06_02_680776_0000.jpg', '/home/pi/Desktop/images/04012025/21/06/image_04012025_21_06_02_680776_0001.jpg', '/home/pi/Desktop/images/04012025/21/06/image_04012025_21_06_02_680776_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/05/image_04012025_21_05_02_501537_0003.jpg
/home/pi/Desktop/images/04012025/21/06/image_04012025_21_06_02_680776_0000.jpg
/home/pi/Desktop/images/04012025/21/06/image_04012025_21_06_02_680776_0001.jpg
/home/pi/Desktop/images/04012025/21/06/image_04012025_21_06_02_680776_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326774801","1326774803","1326774778","1326774802"],"photo_ids_order":["1326774778","1326774801","1326774802","1326774803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7e30dedfd0e16276a7d8efd522326acd.jpg","text":"TemporaryFile(/tmp/multipartBody3084819537269259707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021252573,"filename":"image_04012025_21_06_02_680776_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3e70f0680c151ff80c6a4e65dfc52e95.jpg","text":"TemporaryFile(/tmp/multipartBody1607408642478891720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021252573,"filename":"image_04012025_21_06_02_680776_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/384aa34fd6fcf2ad4112dfdc6091b20b.jpg","text":"TemporaryFile(/tmp/multipartBody361283232419961458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021252573,"filename":"image_04012025_21_05_02_501537_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9eb3c4f309e47eb44828c42b8e625a8c.jpg","text":"TemporaryFile(/tmp/multipartBody4438939940720885386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021252573,"filename":"image_04012025_21_06_02_680776_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326774802","file1":"1326774801","file0":"1326774778","file3":"1326774803"},"map_files_photo_id_array":[{"photo_id":"1326774802","filename":"file2"},{"photo_id":"1326774801","filename":"file1"},{"photo_id":"1326774778","filename":"file0"},{"photo_id":"1326774803","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326774801":["hashtag1","hashtag2"]},{"1326774803":["hashtag1","hashtag2"]},{"1326774778":["hashtag1","hashtag2"]},{"1326774802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326774801, 1326774803, 1326774778, 1326774802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3299560546875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 21:07:03.345932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:07:22.583815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/06/image_04012025_21_06_02_680776_0003.jpg', '/home/pi/Desktop/images/04012025/21/07/image_04012025_21_07_02_840682_0000.jpg', '/home/pi/Desktop/images/04012025/21/07/image_04012025_21_07_02_840682_0001.jpg', '/home/pi/Desktop/images/04012025/21/07/image_04012025_21_07_02_840682_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/06/image_04012025_21_06_02_680776_0003.jpg
/home/pi/Desktop/images/04012025/21/07/image_04012025_21_07_02_840682_0000.jpg
/home/pi/Desktop/images/04012025/21/07/image_04012025_21_07_02_840682_0001.jpg
/home/pi/Desktop/images/04012025/21/07/image_04012025_21_07_02_840682_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326774953","1326774956","1326774950","1326774955"],"photo_ids_order":["1326774950","1326774953","1326774955","1326774956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/427481099ef54163b13d2e02fd4d462f.jpg","text":"TemporaryFile(/tmp/multipartBody7817057330681842650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021312677,"filename":"image_04012025_21_07_02_840682_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d3fb69e8002a311ba2f137ba9a6fd7cd.jpg","text":"TemporaryFile(/tmp/multipartBody5995364902209225380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021312677,"filename":"image_04012025_21_07_02_840682_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7e39398ec16df1eb8b3f129355030fa9.jpg","text":"TemporaryFile(/tmp/multipartBody4129482413574734454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021312677,"filename":"image_04012025_21_06_02_680776_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c5036f04cbeaaf205911b92ab8d19876.jpg","text":"TemporaryFile(/tmp/multipartBody8083575813618384322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021312677,"filename":"image_04012025_21_07_02_840682_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326774955","file1":"1326774953","file0":"1326774950","file3":"1326774956"},"map_files_photo_id_array":[{"photo_id":"1326774955","filename":"file2"},{"photo_id":"1326774953","filename":"file1"},{"photo_id":"1326774950","filename":"file0"},{"photo_id":"1326774956","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326774953":["hashtag1","hashtag2"]},{"1326774956":["hashtag1","hashtag2"]},{"1326774950":["hashtag1","hashtag2"]},{"1326774955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326774953, 1326774956, 1326774950, 1326774955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.758411169052124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 21:08:02.326532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:08:21.757629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/07/image_04012025_21_07_02_840682_0003.jpg', '/home/pi/Desktop/images/04012025/21/08/image_04012025_21_08_03_023768_0000.jpg', '/home/pi/Desktop/images/04012025/21/08/image_04012025_21_08_03_023768_0001.jpg', '/home/pi/Desktop/images/04012025/21/08/image_04012025_21_08_03_023768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/07/image_04012025_21_07_02_840682_0003.jpg
/home/pi/Desktop/images/04012025/21/08/image_04012025_21_08_03_023768_0000.jpg
/home/pi/Desktop/images/04012025/21/08/image_04012025_21_08_03_023768_0001.jpg
/home/pi/Desktop/images/04012025/21/08/image_04012025_21_08_03_023768_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326774972","1326774971","1326774968","1326774973"],"photo_ids_order":["1326774968","1326774971","1326774972","1326774973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d6aea8e9a1a593fcef7824b38414251.jpg","text":"TemporaryFile(/tmp/multipartBody8589296805896691914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021371935,"filename":"image_04012025_21_08_03_023768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f2979d9133764d221f3de0b84cfff4d2.jpg","text":"TemporaryFile(/tmp/multipartBody153266575046100538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021371935,"filename":"image_04012025_21_08_03_023768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/126c2594d9c5fb88aa1ecbb1220a8f0a.jpg","text":"TemporaryFile(/tmp/multipartBody3311144629227720155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021371935,"filename":"image_04012025_21_07_02_840682_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c7d9fa44067352bb714983b7399d9d16.jpg","text":"TemporaryFile(/tmp/multipartBody7656894947042524801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021371935,"filename":"image_04012025_21_08_03_023768_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326774972","file1":"1326774971","file0":"1326774968","file3":"1326774973"},"map_files_photo_id_array":[{"photo_id":"1326774972","filename":"file2"},{"photo_id":"1326774971","filename":"file1"},{"photo_id":"1326774968","filename":"file0"},{"photo_id":"1326774973","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326774972":["hashtag1","hashtag2"]},{"1326774971":["hashtag1","hashtag2"]},{"1326774968":["hashtag1","hashtag2"]},{"1326774973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326774972, 1326774971, 1326774968, 1326774973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.89705157279968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:09:21.965741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/08/image_04012025_21_08_03_023768_0003.jpg', '/home/pi/Desktop/images/04012025/21/09/image_04012025_21_09_02_131710_0000.jpg', '/home/pi/Desktop/images/04012025/21/09/image_04012025_21_09_02_131710_0001.jpg', '/home/pi/Desktop/images/04012025/21/09/image_04012025_21_09_02_131710_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/08/image_04012025_21_08_03_023768_0003.jpg
/home/pi/Desktop/images/04012025/21/09/image_04012025_21_09_02_131710_0000.jpg
/home/pi/Desktop/images/04012025/21/09/image_04012025_21_09_02_131710_0001.jpg
/home/pi/Desktop/images/04012025/21/09/image_04012025_21_09_02_131710_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326774998","1326774997","1326774993","1326774996"],"photo_ids_order":["1326774993","1326774996","1326774997","1326774998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/62d6c18c84ec945af49e61d015814aa2.jpg","text":"TemporaryFile(/tmp/multipartBody5495501428420403610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021432365,"filename":"image_04012025_21_09_02_131710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5fe14ac5a388f85a28c07ada409af885.jpg","text":"TemporaryFile(/tmp/multipartBody5020029951330550018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021432365,"filename":"image_04012025_21_09_02_131710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0e11cbbf641951e7245f0fd0de9dfaf8.jpg","text":"TemporaryFile(/tmp/multipartBody1338837899838561084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021432365,"filename":"image_04012025_21_08_03_023768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/226fccf2c089fc9d365298cf932871a1.jpg","text":"TemporaryFile(/tmp/multipartBody4309167169534933961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021432365,"filename":"image_04012025_21_09_02_131710_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326774997","file1":"1326774996","file0":"1326774993","file3":"1326774998"},"map_files_photo_id_array":[{"photo_id":"1326774997","filename":"file2"},{"photo_id":"1326774996","filename":"file1"},{"photo_id":"1326774993","filename":"file0"},{"photo_id":"1326774998","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326774998":["hashtag1","hashtag2"]},{"1326774997":["hashtag1","hashtag2"]},{"1326774993":["hashtag1","hashtag2"]},{"1326774996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326774998, 1326774997, 1326774993, 1326774996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.403183698654175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:10:22.199432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/09/image_04012025_21_09_02_131710_0003.jpg', '/home/pi/Desktop/images/04012025/21/10/image_04012025_21_10_02_330474_0000.jpg', '/home/pi/Desktop/images/04012025/21/10/image_04012025_21_10_02_330474_0001.jpg', '/home/pi/Desktop/images/04012025/21/10/image_04012025_21_10_02_330474_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/09/image_04012025_21_09_02_131710_0003.jpg
/home/pi/Desktop/images/04012025/21/10/image_04012025_21_10_02_330474_0000.jpg
/home/pi/Desktop/images/04012025/21/10/image_04012025_21_10_02_330474_0001.jpg
/home/pi/Desktop/images/04012025/21/10/image_04012025_21_10_02_330474_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775008","1326775010","1326775013","1326775012"],"photo_ids_order":["1326775008","1326775010","1326775012","1326775013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7df5523c767915ba8bef294af08c5623.jpg","text":"TemporaryFile(/tmp/multipartBody8021218734634735907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021492639,"filename":"image_04012025_21_09_02_131710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/022f34c2806a257466615a87580175cd.jpg","text":"TemporaryFile(/tmp/multipartBody1177003568036234328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021492639,"filename":"image_04012025_21_10_02_330474_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b93c427bc5fbf7b982e838cff4917b65.jpg","text":"TemporaryFile(/tmp/multipartBody3546902911153861806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021492639,"filename":"image_04012025_21_10_02_330474_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ac2a18e55096e293666e999632e95c63.jpg","text":"TemporaryFile(/tmp/multipartBody6942634224483737299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021492639,"filename":"image_04012025_21_10_02_330474_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775012","file1":"1326775010","file0":"1326775008","file3":"1326775013"},"map_files_photo_id_array":[{"photo_id":"1326775012","filename":"file2"},{"photo_id":"1326775010","filename":"file1"},{"photo_id":"1326775008","filename":"file0"},{"photo_id":"1326775013","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775008":["hashtag1","hashtag2"]},{"1326775010":["hashtag1","hashtag2"]},{"1326775013":["hashtag1","hashtag2"]},{"1326775012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775008, 1326775010, 1326775013, 1326775012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.906965017318726 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:11:22.333503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/10/image_04012025_21_10_02_330474_0003.jpg', '/home/pi/Desktop/images/04012025/21/11/image_04012025_21_11_02_472359_0000.jpg', '/home/pi/Desktop/images/04012025/21/11/image_04012025_21_11_02_472359_0001.jpg', '/home/pi/Desktop/images/04012025/21/11/image_04012025_21_11_02_472359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/10/image_04012025_21_10_02_330474_0003.jpg
/home/pi/Desktop/images/04012025/21/11/image_04012025_21_11_02_472359_0000.jpg
/home/pi/Desktop/images/04012025/21/11/image_04012025_21_11_02_472359_0001.jpg
/home/pi/Desktop/images/04012025/21/11/image_04012025_21_11_02_472359_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.077938079833984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 21:11:42.260743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/10/image_04012025_21_10_02_330474_0003.jpg', '/home/pi/Desktop/images/04012025/21/11/image_04012025_21_11_02_472359_0000.jpg', '/home/pi/Desktop/images/04012025/21/11/image_04012025_21_11_02_472359_0001.jpg', '/home/pi/Desktop/images/04012025/21/11/image_04012025_21_11_02_472359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/10/image_04012025_21_10_02_330474_0003.jpg
/home/pi/Desktop/images/04012025/21/11/image_04012025_21_11_02_472359_0000.jpg
/home/pi/Desktop/images/04012025/21/11/image_04012025_21_11_02_472359_0001.jpg
/home/pi/Desktop/images/04012025/21/11/image_04012025_21_11_02_472359_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775029","1326775031","1326775028","1326775033"],"photo_ids_order":["1326775028","1326775029","1326775031","1326775033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/04aec42a1112cb359978a4e46dea4a26.jpg","text":"TemporaryFile(/tmp/multipartBody8230350330917727898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021572772,"filename":"image_04012025_21_11_02_472359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/636b528ddc9607c5736dcb009e779ad9.jpg","text":"TemporaryFile(/tmp/multipartBody8633267602230279098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021572772,"filename":"image_04012025_21_11_02_472359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ab03ea53c1929d84b31a24ffab3e530.jpg","text":"TemporaryFile(/tmp/multipartBody7403202155588586346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021572772,"filename":"image_04012025_21_10_02_330474_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e4dd985357d57596661f07495c8c2961.jpg","text":"TemporaryFile(/tmp/multipartBody3355178870545003451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021572772,"filename":"image_04012025_21_11_02_472359_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775031","file1":"1326775029","file0":"1326775028","file3":"1326775033"},"map_files_photo_id_array":[{"photo_id":"1326775031","filename":"file2"},{"photo_id":"1326775029","filename":"file1"},{"photo_id":"1326775028","filename":"file0"},{"photo_id":"1326775033","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775029":["hashtag1","hashtag2"]},{"1326775031":["hashtag1","hashtag2"]},{"1326775028":["hashtag1","hashtag2"]},{"1326775033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775029, 1326775031, 1326775028, 1326775033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.59581017494202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 21:12:32.415873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/11/image_04012025_21_11_02_472359_0003.jpg', '/home/pi/Desktop/images/04012025/21/12/image_04012025_21_12_02_603801_0000.jpg', '/home/pi/Desktop/images/04012025/21/12/image_04012025_21_12_02_603801_0001.jpg', '/home/pi/Desktop/images/04012025/21/12/image_04012025_21_12_02_603801_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/11/image_04012025_21_11_02_472359_0003.jpg
/home/pi/Desktop/images/04012025/21/12/image_04012025_21_12_02_603801_0000.jpg
/home/pi/Desktop/images/04012025/21/12/image_04012025_21_12_02_603801_0001.jpg
/home/pi/Desktop/images/04012025/21/12/image_04012025_21_12_02_603801_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775053","1326775052","1326775051","1326775050"],"photo_ids_order":["1326775050","1326775051","1326775052","1326775053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ac205c1753205251f4bac96fb7c97581.jpg","text":"TemporaryFile(/tmp/multipartBody1144642484934589107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021622905,"filename":"image_04012025_21_12_02_603801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cae80b6fd147c86254c9a76d38daa55c.jpg","text":"TemporaryFile(/tmp/multipartBody1104249054570880738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021622905,"filename":"image_04012025_21_12_02_603801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3f4218c0632ad97111cb2e7ac51ccb8d.jpg","text":"TemporaryFile(/tmp/multipartBody6959187348858952781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021622905,"filename":"image_04012025_21_12_02_603801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/360e64791c02b8f51d4bcd15d13de8c6.jpg","text":"TemporaryFile(/tmp/multipartBody6383756284120092027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021622905,"filename":"image_04012025_21_11_02_472359_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775052","file1":"1326775051","file0":"1326775050","file3":"1326775053"},"map_files_photo_id_array":[{"photo_id":"1326775052","filename":"file2"},{"photo_id":"1326775051","filename":"file1"},{"photo_id":"1326775050","filename":"file0"},{"photo_id":"1326775053","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775053":["hashtag1","hashtag2"]},{"1326775052":["hashtag1","hashtag2"]},{"1326775051":["hashtag1","hashtag2"]},{"1326775050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775053, 1326775052, 1326775051, 1326775050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.35088396072388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:13:22.722843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/12/image_04012025_21_12_02_603801_0003.jpg', '/home/pi/Desktop/images/04012025/21/13/image_04012025_21_13_02_801478_0000.jpg', '/home/pi/Desktop/images/04012025/21/13/image_04012025_21_13_02_801478_0001.jpg', '/home/pi/Desktop/images/04012025/21/13/image_04012025_21_13_02_801478_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/12/image_04012025_21_12_02_603801_0003.jpg
/home/pi/Desktop/images/04012025/21/13/image_04012025_21_13_02_801478_0000.jpg
/home/pi/Desktop/images/04012025/21/13/image_04012025_21_13_02_801478_0001.jpg
/home/pi/Desktop/images/04012025/21/13/image_04012025_21_13_02_801478_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775067","1326775068","1326775062","1326775065"],"photo_ids_order":["1326775062","1326775065","1326775067","1326775068"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4e6782b866bf95d7bd859b6bccee3f3f.jpg","text":"TemporaryFile(/tmp/multipartBody5875328772299347617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021673082,"filename":"image_04012025_21_13_02_801478_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e849dea08aca0df25fe7312dea17a7e5.jpg","text":"TemporaryFile(/tmp/multipartBody3425074352776692898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021673082,"filename":"image_04012025_21_13_02_801478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8d865ebc4ca91c1ec196b6bc380b2c92.jpg","text":"TemporaryFile(/tmp/multipartBody2256735291824341551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021673082,"filename":"image_04012025_21_12_02_603801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fdd3784f985631a9a9ac8f056a6dd4cd.jpg","text":"TemporaryFile(/tmp/multipartBody362268277192646073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021673082,"filename":"image_04012025_21_13_02_801478_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775067","file1":"1326775065","file0":"1326775062","file3":"1326775068"},"map_files_photo_id_array":[{"photo_id":"1326775067","filename":"file2"},{"photo_id":"1326775065","filename":"file1"},{"photo_id":"1326775062","filename":"file0"},{"photo_id":"1326775068","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775067":["hashtag1","hashtag2"]},{"1326775068":["hashtag1","hashtag2"]},{"1326775062":["hashtag1","hashtag2"]},{"1326775065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775067, 1326775068, 1326775062, 1326775065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.264790058135986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:14:21.872021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/13/image_04012025_21_13_02_801478_0003.jpg', '/home/pi/Desktop/images/04012025/21/14/image_04012025_21_14_03_063150_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/13/image_04012025_21_13_02_801478_0003.jpg
/home/pi/Desktop/images/04012025/21/14/image_04012025_21_14_03_063150_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":["1326775113","1326775117"],"photo_ids_order":["1326775113","1326775117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d91ef54a91d738168bf20f5e881b2d04.jpg","text":"TemporaryFile(/tmp/multipartBody1197358369130350914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021727680,"filename":"image_04012025_21_13_02_801478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/771073bcc5702e073b7ad9cf9d57d846.jpg","text":"TemporaryFile(/tmp/multipartBody1641749472761700847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021727680,"filename":"image_04012025_21_14_03_063150_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326775117","file0":"1326775113"},"map_files_photo_id_array":[{"photo_id":"1326775117","filename":"file1"},{"photo_id":"1326775113","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775113":["hashtag1","hashtag2"]},{"1326775117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775113, 1326775117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.368595361709595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 21:14:51.848307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 21:15:02.567968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:15:22.064817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/14/image_04012025_21_14_03_063150_0003.jpg', '/home/pi/Desktop/images/04012025/21/15/image_04012025_21_15_02_267720_0000.jpg', '/home/pi/Desktop/images/04012025/21/15/image_04012025_21_15_02_267720_0001.jpg', '/home/pi/Desktop/images/04012025/21/15/image_04012025_21_15_02_267720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/14/image_04012025_21_14_03_063150_0003.jpg
/home/pi/Desktop/images/04012025/21/15/image_04012025_21_15_02_267720_0000.jpg
/home/pi/Desktop/images/04012025/21/15/image_04012025_21_15_02_267720_0001.jpg
/home/pi/Desktop/images/04012025/21/15/image_04012025_21_15_02_267720_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775152","1326775157","1326775156","1326775155"],"photo_ids_order":["1326775152","1326775155","1326775156","1326775157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f9156a307dfe191edf0a953e7f49bfa6.jpg","text":"TemporaryFile(/tmp/multipartBody671662206962653368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021792327,"filename":"image_04012025_21_14_03_063150_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/782c2e1658256915d1f9689ce2f7f0a0.jpg","text":"TemporaryFile(/tmp/multipartBody1044833428914280586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021792327,"filename":"image_04012025_21_15_02_267720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/015646c5114693fe6378104a3302b3e2.jpg","text":"TemporaryFile(/tmp/multipartBody8607245744114116257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021792327,"filename":"image_04012025_21_15_02_267720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a62f4d8420ce59512c9ea08001903dc2.jpg","text":"TemporaryFile(/tmp/multipartBody3884408677059676796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021792327,"filename":"image_04012025_21_15_02_267720_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775156","file1":"1326775155","file0":"1326775152","file3":"1326775157"},"map_files_photo_id_array":[{"photo_id":"1326775156","filename":"file2"},{"photo_id":"1326775155","filename":"file1"},{"photo_id":"1326775152","filename":"file0"},{"photo_id":"1326775157","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775152":["hashtag1","hashtag2"]},{"1326775157":["hashtag1","hashtag2"]},{"1326775156":["hashtag1","hashtag2"]},{"1326775155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775152, 1326775157, 1326775156, 1326775155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.71712946891785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:16:22.206928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/15/image_04012025_21_15_02_267720_0003.jpg', '/home/pi/Desktop/images/04012025/21/16/image_04012025_21_16_02_374490_0000.jpg', '/home/pi/Desktop/images/04012025/21/16/image_04012025_21_16_02_374490_0001.jpg', '/home/pi/Desktop/images/04012025/21/16/image_04012025_21_16_02_374490_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/15/image_04012025_21_15_02_267720_0003.jpg
/home/pi/Desktop/images/04012025/21/16/image_04012025_21_16_02_374490_0000.jpg
/home/pi/Desktop/images/04012025/21/16/image_04012025_21_16_02_374490_0001.jpg
/home/pi/Desktop/images/04012025/21/16/image_04012025_21_16_02_374490_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775166","1326775169","1326775171","1326775170"],"photo_ids_order":["1326775166","1326775169","1326775170","1326775171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2bd65a21d20ba37efd38a756021aabdb.jpg","text":"TemporaryFile(/tmp/multipartBody2664366749630989835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021852359,"filename":"image_04012025_21_15_02_267720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc440c78aa979c8df5076196cd2a37cb.jpg","text":"TemporaryFile(/tmp/multipartBody1978320463312145396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021852359,"filename":"image_04012025_21_16_02_374490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bc8fabf959ef9d82c1c2a68f64ad0f8d.jpg","text":"TemporaryFile(/tmp/multipartBody6133360720708613206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021852359,"filename":"image_04012025_21_16_02_374490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6813614267d533f44367328f05afd652.jpg","text":"TemporaryFile(/tmp/multipartBody3070077286205021255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021852359,"filename":"image_04012025_21_16_02_374490_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775170","file1":"1326775169","file0":"1326775166","file3":"1326775171"},"map_files_photo_id_array":[{"photo_id":"1326775170","filename":"file2"},{"photo_id":"1326775169","filename":"file1"},{"photo_id":"1326775166","filename":"file0"},{"photo_id":"1326775171","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775166":["hashtag1","hashtag2"]},{"1326775169":["hashtag1","hashtag2"]},{"1326775171":["hashtag1","hashtag2"]},{"1326775170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775166, 1326775169, 1326775171, 1326775170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.76517176628113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:17:22.460631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/16/image_04012025_21_16_02_374490_0003.jpg', '/home/pi/Desktop/images/04012025/21/17/image_04012025_21_17_02_589570_0000.jpg', '/home/pi/Desktop/images/04012025/21/17/image_04012025_21_17_02_589570_0001.jpg', '/home/pi/Desktop/images/04012025/21/17/image_04012025_21_17_02_589570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/16/image_04012025_21_16_02_374490_0003.jpg
/home/pi/Desktop/images/04012025/21/17/image_04012025_21_17_02_589570_0000.jpg
/home/pi/Desktop/images/04012025/21/17/image_04012025_21_17_02_589570_0001.jpg
/home/pi/Desktop/images/04012025/21/17/image_04012025_21_17_02_589570_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775184","1326775181","1326775183","1326775185"],"photo_ids_order":["1326775181","1326775183","1326775184","1326775185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/750b14e42618b2be7ae4e4a6512d3c40.jpg","text":"TemporaryFile(/tmp/multipartBody1664802770436633278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021912856,"filename":"image_04012025_21_17_02_589570_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4fb26eadb2e3fec16cbc35f1470c938a.jpg","text":"TemporaryFile(/tmp/multipartBody6566639049136786313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021912856,"filename":"image_04012025_21_16_02_374490_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/90b4035b8dccce37f29f06333d4689b6.jpg","text":"TemporaryFile(/tmp/multipartBody5786254322097071840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021912856,"filename":"image_04012025_21_17_02_589570_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2397212215dc27ecb66b20c0eb602205.jpg","text":"TemporaryFile(/tmp/multipartBody9016080347356331898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021912856,"filename":"image_04012025_21_17_02_589570_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775184","file1":"1326775183","file0":"1326775181","file3":"1326775185"},"map_files_photo_id_array":[{"photo_id":"1326775184","filename":"file2"},{"photo_id":"1326775183","filename":"file1"},{"photo_id":"1326775181","filename":"file0"},{"photo_id":"1326775185","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775184":["hashtag1","hashtag2"]},{"1326775181":["hashtag1","hashtag2"]},{"1326775183":["hashtag1","hashtag2"]},{"1326775185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775184, 1326775181, 1326775183, 1326775185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.98870539665222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:18:22.581399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/17/image_04012025_21_17_02_589570_0003.jpg', '/home/pi/Desktop/images/04012025/21/18/image_04012025_21_18_02_758918_0000.jpg', '/home/pi/Desktop/images/04012025/21/18/image_04012025_21_18_02_758918_0001.jpg', '/home/pi/Desktop/images/04012025/21/18/image_04012025_21_18_02_758918_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/17/image_04012025_21_17_02_589570_0003.jpg
/home/pi/Desktop/images/04012025/21/18/image_04012025_21_18_02_758918_0000.jpg
/home/pi/Desktop/images/04012025/21/18/image_04012025_21_18_02_758918_0001.jpg
/home/pi/Desktop/images/04012025/21/18/image_04012025_21_18_02_758918_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775205","1326775208","1326775225","1326775207"],"photo_ids_order":["1326775205","1326775207","1326775208","1326775225"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d9a51a9773a61fa5fe9670c85fa64c7.jpg","text":"TemporaryFile(/tmp/multipartBody2917210958907412249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021973194,"filename":"image_04012025_21_17_02_589570_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/91dc44abf461e23e80aff7b00112368b.jpg","text":"TemporaryFile(/tmp/multipartBody7872454183079064454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021973194,"filename":"image_04012025_21_18_02_758918_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/56b2a4d87d911af3b32d4fbd1d608170.jpg","text":"TemporaryFile(/tmp/multipartBody9041109169161460741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021973194,"filename":"image_04012025_21_18_02_758918_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e34bc9653ba4f5cd46cace7e1f7c7527.jpg","text":"TemporaryFile(/tmp/multipartBody527081393549538020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736021973194,"filename":"image_04012025_21_18_02_758918_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775208","file1":"1326775207","file0":"1326775205","file3":"1326775225"},"map_files_photo_id_array":[{"photo_id":"1326775208","filename":"file2"},{"photo_id":"1326775207","filename":"file1"},{"photo_id":"1326775205","filename":"file0"},{"photo_id":"1326775225","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775205":["hashtag1","hashtag2"]},{"1326775208":["hashtag1","hashtag2"]},{"1326775225":["hashtag1","hashtag2"]},{"1326775207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775205, 1326775208, 1326775225, 1326775207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.53228425979614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:19:22.793980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/18/image_04012025_21_18_02_758918_0003.jpg', '/home/pi/Desktop/images/04012025/21/19/image_04012025_21_19_02_908806_0000.jpg', '/home/pi/Desktop/images/04012025/21/19/image_04012025_21_19_02_908806_0001.jpg', '/home/pi/Desktop/images/04012025/21/19/image_04012025_21_19_02_908806_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/18/image_04012025_21_18_02_758918_0003.jpg
/home/pi/Desktop/images/04012025/21/19/image_04012025_21_19_02_908806_0000.jpg
/home/pi/Desktop/images/04012025/21/19/image_04012025_21_19_02_908806_0001.jpg
/home/pi/Desktop/images/04012025/21/19/image_04012025_21_19_02_908806_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775232","1326775237","1326775234","1326775236"],"photo_ids_order":["1326775232","1326775234","1326775236","1326775237"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7f644eab25eb895acb76d3ac03e99808.jpg","text":"TemporaryFile(/tmp/multipartBody4117252072723765741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022033296,"filename":"image_04012025_21_18_02_758918_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d4fa54d277aed2f11e47988708259276.jpg","text":"TemporaryFile(/tmp/multipartBody6716389681294386992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022033296,"filename":"image_04012025_21_19_02_908806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a5e804edbe2741fc687cc95a7ebdba26.jpg","text":"TemporaryFile(/tmp/multipartBody8869116252083752136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022033296,"filename":"image_04012025_21_19_02_908806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d3363311ba1901f4ba451b66ebdc4bc6.jpg","text":"TemporaryFile(/tmp/multipartBody6464472182710059810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022033296,"filename":"image_04012025_21_19_02_908806_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775236","file1":"1326775234","file0":"1326775232","file3":"1326775237"},"map_files_photo_id_array":[{"photo_id":"1326775236","filename":"file2"},{"photo_id":"1326775234","filename":"file1"},{"photo_id":"1326775232","filename":"file0"},{"photo_id":"1326775237","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775232":["hashtag1","hashtag2"]},{"1326775237":["hashtag1","hashtag2"]},{"1326775234":["hashtag1","hashtag2"]},{"1326775236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775232, 1326775237, 1326775234, 1326775236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.19259452819824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:20:22.123290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/19/image_04012025_21_19_02_908806_0003.jpg', '/home/pi/Desktop/images/04012025/21/20/image_04012025_21_20_03_157147_0000.jpg', '/home/pi/Desktop/images/04012025/21/20/image_04012025_21_20_03_157147_0001.jpg', '/home/pi/Desktop/images/04012025/21/20/image_04012025_21_20_03_157147_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/19/image_04012025_21_19_02_908806_0003.jpg
/home/pi/Desktop/images/04012025/21/20/image_04012025_21_20_03_157147_0000.jpg
/home/pi/Desktop/images/04012025/21/20/image_04012025_21_20_03_157147_0001.jpg
/home/pi/Desktop/images/04012025/21/20/image_04012025_21_20_03_157147_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775319","1326775318","1326775315","1326775320"],"photo_ids_order":["1326775315","1326775318","1326775319","1326775320"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4a70a2df088341dbb1931b3c0b06974c.jpg","text":"TemporaryFile(/tmp/multipartBody5258048130898765150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022092549,"filename":"image_04012025_21_20_03_157147_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/04173925535e19b50300bed02db164f1.jpg","text":"TemporaryFile(/tmp/multipartBody5953025473809407888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022092549,"filename":"image_04012025_21_20_03_157147_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c0d8b2c0529811585cf7f8b5a7b948f8.jpg","text":"TemporaryFile(/tmp/multipartBody6546679916804797125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022092549,"filename":"image_04012025_21_19_02_908806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/11a985ede2ef39ba5996a425eb9f47d9.jpg","text":"TemporaryFile(/tmp/multipartBody1972590789642018182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022092549,"filename":"image_04012025_21_20_03_157147_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775319","file1":"1326775318","file0":"1326775315","file3":"1326775320"},"map_files_photo_id_array":[{"photo_id":"1326775319","filename":"file2"},{"photo_id":"1326775318","filename":"file1"},{"photo_id":"1326775315","filename":"file0"},{"photo_id":"1326775320","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775319":["hashtag1","hashtag2"]},{"1326775318":["hashtag1","hashtag2"]},{"1326775315":["hashtag1","hashtag2"]},{"1326775320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775319, 1326775318, 1326775315, 1326775320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.37656354904175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:21:22.178988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/20/image_04012025_21_20_03_157147_0003.jpg', '/home/pi/Desktop/images/04012025/21/21/image_04012025_21_21_02_402821_0000.jpg', '/home/pi/Desktop/images/04012025/21/21/image_04012025_21_21_02_402821_0001.jpg', '/home/pi/Desktop/images/04012025/21/21/image_04012025_21_21_02_402821_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/20/image_04012025_21_20_03_157147_0003.jpg
/home/pi/Desktop/images/04012025/21/21/image_04012025_21_21_02_402821_0000.jpg
/home/pi/Desktop/images/04012025/21/21/image_04012025_21_21_02_402821_0001.jpg
/home/pi/Desktop/images/04012025/21/21/image_04012025_21_21_02_402821_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775337","1326775342","1326775339","1326775341"],"photo_ids_order":["1326775337","1326775339","1326775341","1326775342"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/163cc3d87618cef07bb6c164c2b3f49c.jpg","text":"TemporaryFile(/tmp/multipartBody6460404161472874951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022152988,"filename":"image_04012025_21_20_03_157147_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/70e49552996ae3b2bfad8e38b6e4a9ee.jpg","text":"TemporaryFile(/tmp/multipartBody3636056342500582418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022152988,"filename":"image_04012025_21_21_02_402821_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bcabd31b19d813897954a66b5abef627.jpg","text":"TemporaryFile(/tmp/multipartBody2203029279363112895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022152988,"filename":"image_04012025_21_21_02_402821_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6cc5d758fa245f0175e5402f5bde813a.jpg","text":"TemporaryFile(/tmp/multipartBody3898509800444216294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022152988,"filename":"image_04012025_21_21_02_402821_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775341","file1":"1326775339","file0":"1326775337","file3":"1326775342"},"map_files_photo_id_array":[{"photo_id":"1326775341","filename":"file2"},{"photo_id":"1326775339","filename":"file1"},{"photo_id":"1326775337","filename":"file0"},{"photo_id":"1326775342","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775337":["hashtag1","hashtag2"]},{"1326775342":["hashtag1","hashtag2"]},{"1326775339":["hashtag1","hashtag2"]},{"1326775341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775337, 1326775342, 1326775339, 1326775341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.71513271331787 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:22:22.399652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/21/image_04012025_21_21_02_402821_0003.jpg', '/home/pi/Desktop/images/04012025/21/22/image_04012025_21_22_02_623697_0000.jpg', '/home/pi/Desktop/images/04012025/21/22/image_04012025_21_22_02_623697_0001.jpg', '/home/pi/Desktop/images/04012025/21/22/image_04012025_21_22_02_623697_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/21/image_04012025_21_21_02_402821_0003.jpg
/home/pi/Desktop/images/04012025/21/22/image_04012025_21_22_02_623697_0000.jpg
/home/pi/Desktop/images/04012025/21/22/image_04012025_21_22_02_623697_0001.jpg
/home/pi/Desktop/images/04012025/21/22/image_04012025_21_22_02_623697_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775352","1326775354","1326775357","1326775351"],"photo_ids_order":["1326775351","1326775352","1326775354","1326775357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2a248e04b6c0b6c740e5b97948926f1d.jpg","text":"TemporaryFile(/tmp/multipartBody7490009011761428848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022212880,"filename":"image_04012025_21_22_02_623697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a69107d98753e4f08a7614bdbe71d3e5.jpg","text":"TemporaryFile(/tmp/multipartBody3401014799927181153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022212880,"filename":"image_04012025_21_22_02_623697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/939b598b3f4e95a3fe4dadaaf5b35437.jpg","text":"TemporaryFile(/tmp/multipartBody3135503268867994954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022212880,"filename":"image_04012025_21_22_02_623697_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/33d259e029be6bb93868ae410d919f11.jpg","text":"TemporaryFile(/tmp/multipartBody1580699998644568444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022212880,"filename":"image_04012025_21_21_02_402821_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775354","file1":"1326775352","file0":"1326775351","file3":"1326775357"},"map_files_photo_id_array":[{"photo_id":"1326775354","filename":"file2"},{"photo_id":"1326775352","filename":"file1"},{"photo_id":"1326775351","filename":"file0"},{"photo_id":"1326775357","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775352":["hashtag1","hashtag2"]},{"1326775354":["hashtag1","hashtag2"]},{"1326775357":["hashtag1","hashtag2"]},{"1326775351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775352, 1326775354, 1326775357, 1326775351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.897948265075684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:23:22.593933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/22/image_04012025_21_22_02_623697_0003.jpg', '/home/pi/Desktop/images/04012025/21/23/image_04012025_21_23_02_711461_0000.jpg', '/home/pi/Desktop/images/04012025/21/23/image_04012025_21_23_02_711461_0001.jpg', '/home/pi/Desktop/images/04012025/21/23/image_04012025_21_23_02_711461_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/22/image_04012025_21_22_02_623697_0003.jpg
/home/pi/Desktop/images/04012025/21/23/image_04012025_21_23_02_711461_0000.jpg
/home/pi/Desktop/images/04012025/21/23/image_04012025_21_23_02_711461_0001.jpg
/home/pi/Desktop/images/04012025/21/23/image_04012025_21_23_02_711461_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775367","1326775369","1326775363","1326775365"],"photo_ids_order":["1326775363","1326775365","1326775367","1326775369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b09c3c9ba2bfd610fdc7b14e6018ab7.jpg","text":"TemporaryFile(/tmp/multipartBody8333904288901426106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022272794,"filename":"image_04012025_21_23_02_711461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a952a56d3a3883f783b87fb78837e139.jpg","text":"TemporaryFile(/tmp/multipartBody1278208747947650920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022272794,"filename":"image_04012025_21_23_02_711461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6d97d7f879ba8c5c7d2223aa1c1c200a.jpg","text":"TemporaryFile(/tmp/multipartBody8232933025126848220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022272794,"filename":"image_04012025_21_22_02_623697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/071e54dee303a332455b62dc7568403a.jpg","text":"TemporaryFile(/tmp/multipartBody874236187777552555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022272794,"filename":"image_04012025_21_23_02_711461_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775367","file1":"1326775365","file0":"1326775363","file3":"1326775369"},"map_files_photo_id_array":[{"photo_id":"1326775367","filename":"file2"},{"photo_id":"1326775365","filename":"file1"},{"photo_id":"1326775363","filename":"file0"},{"photo_id":"1326775369","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775367":["hashtag1","hashtag2"]},{"1326775369":["hashtag1","hashtag2"]},{"1326775363":["hashtag1","hashtag2"]},{"1326775365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775367, 1326775369, 1326775363, 1326775365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.08152484893799 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:24:21.873105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/23/image_04012025_21_23_02_711461_0003.jpg', '/home/pi/Desktop/images/04012025/21/24/image_04012025_21_24_03_030386_0000.jpg', '/home/pi/Desktop/images/04012025/21/24/image_04012025_21_24_03_030386_0001.jpg', '/home/pi/Desktop/images/04012025/21/24/image_04012025_21_24_03_030386_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/23/image_04012025_21_23_02_711461_0003.jpg
/home/pi/Desktop/images/04012025/21/24/image_04012025_21_24_03_030386_0000.jpg
/home/pi/Desktop/images/04012025/21/24/image_04012025_21_24_03_030386_0001.jpg
/home/pi/Desktop/images/04012025/21/24/image_04012025_21_24_03_030386_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.90802001953125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 21:24:41.801303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/23/image_04012025_21_23_02_711461_0003.jpg', '/home/pi/Desktop/images/04012025/21/24/image_04012025_21_24_03_030386_0000.jpg', '/home/pi/Desktop/images/04012025/21/24/image_04012025_21_24_03_030386_0001.jpg', '/home/pi/Desktop/images/04012025/21/24/image_04012025_21_24_03_030386_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/23/image_04012025_21_23_02_711461_0003.jpg
/home/pi/Desktop/images/04012025/21/24/image_04012025_21_24_03_030386_0000.jpg
/home/pi/Desktop/images/04012025/21/24/image_04012025_21_24_03_030386_0001.jpg
/home/pi/Desktop/images/04012025/21/24/image_04012025_21_24_03_030386_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775397","1326775399","1326775393","1326775395"],"photo_ids_order":["1326775393","1326775395","1326775397","1326775399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f328a9a54f7978aec9eedf0ea6ce7915.jpg","text":"TemporaryFile(/tmp/multipartBody243563568032592440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022352162,"filename":"image_04012025_21_24_03_030386_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ee6f3df708726d56465ef1a725b00266.jpg","text":"TemporaryFile(/tmp/multipartBody126552732425389719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022352162,"filename":"image_04012025_21_24_03_030386_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/71874d4ce9961abee76092d32b35481e.jpg","text":"TemporaryFile(/tmp/multipartBody6551057120330483784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022352162,"filename":"image_04012025_21_23_02_711461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/851de7cb31e78f9e5056e8e37d23ddb3.jpg","text":"TemporaryFile(/tmp/multipartBody6391227331420563318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022352162,"filename":"image_04012025_21_24_03_030386_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775397","file1":"1326775395","file0":"1326775393","file3":"1326775399"},"map_files_photo_id_array":[{"photo_id":"1326775397","filename":"file2"},{"photo_id":"1326775395","filename":"file1"},{"photo_id":"1326775393","filename":"file0"},{"photo_id":"1326775399","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775397":["hashtag1","hashtag2"]},{"1326775399":["hashtag1","hashtag2"]},{"1326775393":["hashtag1","hashtag2"]},{"1326775395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775397, 1326775399, 1326775393, 1326775395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.79996371269226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 21:25:31.939957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/24/image_04012025_21_24_03_030386_0003.jpg', '/home/pi/Desktop/images/04012025/21/25/image_04012025_21_25_02_212258_0000.jpg', '/home/pi/Desktop/images/04012025/21/25/image_04012025_21_25_02_212258_0001.jpg', '/home/pi/Desktop/images/04012025/21/25/image_04012025_21_25_02_212258_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/24/image_04012025_21_24_03_030386_0003.jpg
/home/pi/Desktop/images/04012025/21/25/image_04012025_21_25_02_212258_0000.jpg
/home/pi/Desktop/images/04012025/21/25/image_04012025_21_25_02_212258_0001.jpg
/home/pi/Desktop/images/04012025/21/25/image_04012025_21_25_02_212258_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775404","1326775406","1326775411","1326775408"],"photo_ids_order":["1326775404","1326775406","1326775408","1326775411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f5ea873c08726fd3c3930dc68571fc6.jpg","text":"TemporaryFile(/tmp/multipartBody4139641480975608926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022402785,"filename":"image_04012025_21_24_03_030386_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/37a768e26d2ea0630846572579cd2831.jpg","text":"TemporaryFile(/tmp/multipartBody3551014469276235508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022402785,"filename":"image_04012025_21_25_02_212258_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/72663d86f06bce9932c265923191a04a.jpg","text":"TemporaryFile(/tmp/multipartBody8018260866423256123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022402785,"filename":"image_04012025_21_25_02_212258_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a96dced95ee3687e5a5364b0450e5407.jpg","text":"TemporaryFile(/tmp/multipartBody934894795142558535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022402785,"filename":"image_04012025_21_25_02_212258_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775408","file1":"1326775406","file0":"1326775404","file3":"1326775411"},"map_files_photo_id_array":[{"photo_id":"1326775408","filename":"file2"},{"photo_id":"1326775406","filename":"file1"},{"photo_id":"1326775404","filename":"file0"},{"photo_id":"1326775411","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775404":["hashtag1","hashtag2"]},{"1326775406":["hashtag1","hashtag2"]},{"1326775411":["hashtag1","hashtag2"]},{"1326775408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775404, 1326775406, 1326775411, 1326775408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 54.95347285270691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 21:26:32.113097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/25/image_04012025_21_25_02_212258_0003.jpg', '/home/pi/Desktop/images/04012025/21/26/image_04012025_21_26_02_409682_0000.jpg', '/home/pi/Desktop/images/04012025/21/26/image_04012025_21_26_02_409682_0001.jpg', '/home/pi/Desktop/images/04012025/21/26/image_04012025_21_26_02_409682_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/25/image_04012025_21_25_02_212258_0003.jpg
/home/pi/Desktop/images/04012025/21/26/image_04012025_21_26_02_409682_0000.jpg
/home/pi/Desktop/images/04012025/21/26/image_04012025_21_26_02_409682_0001.jpg
/home/pi/Desktop/images/04012025/21/26/image_04012025_21_26_02_409682_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775422","1326775427","1326775426","1326775429"],"photo_ids_order":["1326775422","1326775426","1326775427","1326775429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8fd68ab754393748baadf4296f3477a1.jpg","text":"TemporaryFile(/tmp/multipartBody50199285815282037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022463066,"filename":"image_04012025_21_25_02_212258_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/938018949e740b01f1cd9cb941a2cf35.jpg","text":"TemporaryFile(/tmp/multipartBody761424441596187203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022463066,"filename":"image_04012025_21_26_02_409682_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/caab9c6e383345ff205cbcab6c398d05.jpg","text":"TemporaryFile(/tmp/multipartBody1745705895246520804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022463066,"filename":"image_04012025_21_26_02_409682_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3aea862ef1f5382e4c1fa41ae820137d.jpg","text":"TemporaryFile(/tmp/multipartBody5843606551474177518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022463066,"filename":"image_04012025_21_26_02_409682_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775427","file1":"1326775426","file0":"1326775422","file3":"1326775429"},"map_files_photo_id_array":[{"photo_id":"1326775427","filename":"file2"},{"photo_id":"1326775426","filename":"file1"},{"photo_id":"1326775422","filename":"file0"},{"photo_id":"1326775429","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775422":["hashtag1","hashtag2"]},{"1326775427":["hashtag1","hashtag2"]},{"1326775426":["hashtag1","hashtag2"]},{"1326775429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775422, 1326775427, 1326775426, 1326775429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.68166756629944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:27:22.382841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/26/image_04012025_21_26_02_409682_0003.jpg', '/home/pi/Desktop/images/04012025/21/27/image_04012025_21_27_02_460206_0000.jpg', '/home/pi/Desktop/images/04012025/21/27/image_04012025_21_27_02_460206_0001.jpg', '/home/pi/Desktop/images/04012025/21/27/image_04012025_21_27_02_460206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/26/image_04012025_21_26_02_409682_0003.jpg
/home/pi/Desktop/images/04012025/21/27/image_04012025_21_27_02_460206_0000.jpg
/home/pi/Desktop/images/04012025/21/27/image_04012025_21_27_02_460206_0001.jpg
/home/pi/Desktop/images/04012025/21/27/image_04012025_21_27_02_460206_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775454","1326775456","1326775450","1326775447"],"photo_ids_order":["1326775447","1326775450","1326775454","1326775456"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/12f3dc217eafbc8809aaf066823b67e7.jpg","text":"TemporaryFile(/tmp/multipartBody2766637358660131719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022513129,"filename":"image_04012025_21_27_02_460206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d8f508fc8a1e8f1a1cfcd6d92fa0178d.jpg","text":"TemporaryFile(/tmp/multipartBody6972379375073758442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022513129,"filename":"image_04012025_21_27_02_460206_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d9a50229d3cfa58a1f585ea2398fbf54.jpg","text":"TemporaryFile(/tmp/multipartBody3201729313460424235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022513129,"filename":"image_04012025_21_27_02_460206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8616aeeaaa853c9edb39cedf33e8ff49.jpg","text":"TemporaryFile(/tmp/multipartBody4411023683203052393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022513129,"filename":"image_04012025_21_26_02_409682_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775454","file1":"1326775450","file0":"1326775447","file3":"1326775456"},"map_files_photo_id_array":[{"photo_id":"1326775454","filename":"file2"},{"photo_id":"1326775450","filename":"file1"},{"photo_id":"1326775447","filename":"file0"},{"photo_id":"1326775456","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775454":["hashtag1","hashtag2"]},{"1326775456":["hashtag1","hashtag2"]},{"1326775450":["hashtag1","hashtag2"]},{"1326775447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775454, 1326775456, 1326775450, 1326775447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 50.05130457878113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:28:22.581547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/27/image_04012025_21_27_02_460206_0003.jpg', '/home/pi/Desktop/images/04012025/21/28/image_04012025_21_28_02_767267_0000.jpg', '/home/pi/Desktop/images/04012025/21/28/image_04012025_21_28_02_767267_0001.jpg', '/home/pi/Desktop/images/04012025/21/28/image_04012025_21_28_02_767267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/27/image_04012025_21_27_02_460206_0003.jpg
/home/pi/Desktop/images/04012025/21/28/image_04012025_21_28_02_767267_0000.jpg
/home/pi/Desktop/images/04012025/21/28/image_04012025_21_28_02_767267_0001.jpg
/home/pi/Desktop/images/04012025/21/28/image_04012025_21_28_02_767267_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775460","1326775462","1326775465","1326775467"],"photo_ids_order":["1326775460","1326775462","1326775465","1326775467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c92eb06fc6de7a4fb84931f7bd0289a1.jpg","text":"TemporaryFile(/tmp/multipartBody4668780731894284287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022573142,"filename":"image_04012025_21_27_02_460206_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b898be0052777c742c493a15052a4fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6883647388077712666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022573142,"filename":"image_04012025_21_28_02_767267_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f94a9d314a918f6c84558c1d374433e8.jpg","text":"TemporaryFile(/tmp/multipartBody7070954058743374283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022573142,"filename":"image_04012025_21_28_02_767267_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bf55b47b7d5b9bf8a9915f544cdcd0fe.jpg","text":"TemporaryFile(/tmp/multipartBody3834941111295615093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022573142,"filename":"image_04012025_21_28_02_767267_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775465","file1":"1326775462","file0":"1326775460","file3":"1326775467"},"map_files_photo_id_array":[{"photo_id":"1326775465","filename":"file2"},{"photo_id":"1326775462","filename":"file1"},{"photo_id":"1326775460","filename":"file0"},{"photo_id":"1326775467","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775460":["hashtag1","hashtag2"]},{"1326775462":["hashtag1","hashtag2"]},{"1326775465":["hashtag1","hashtag2"]},{"1326775467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775460, 1326775462, 1326775465, 1326775467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.72248840332031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:29:22.655524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/28/image_04012025_21_28_02_767267_0003.jpg', '/home/pi/Desktop/images/04012025/21/29/image_04012025_21_29_02_893861_0000.jpg', '/home/pi/Desktop/images/04012025/21/29/image_04012025_21_29_02_893861_0001.jpg', '/home/pi/Desktop/images/04012025/21/29/image_04012025_21_29_02_893861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/28/image_04012025_21_28_02_767267_0003.jpg
/home/pi/Desktop/images/04012025/21/29/image_04012025_21_29_02_893861_0000.jpg
/home/pi/Desktop/images/04012025/21/29/image_04012025_21_29_02_893861_0001.jpg
/home/pi/Desktop/images/04012025/21/29/image_04012025_21_29_02_893861_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775505","1326775510","1326775513","1326775507"],"photo_ids_order":["1326775505","1326775507","1326775510","1326775513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30054ab1cf9125a1f2df8450ebb1e101.jpg","text":"TemporaryFile(/tmp/multipartBody7216344870786282447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022633343,"filename":"image_04012025_21_28_02_767267_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a6acc618424461152c10b68424701591.jpg","text":"TemporaryFile(/tmp/multipartBody940748232605145427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022633343,"filename":"image_04012025_21_29_02_893861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/be46ac178c39a2359de00bdb5119336e.jpg","text":"TemporaryFile(/tmp/multipartBody7349600644916388715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022633343,"filename":"image_04012025_21_29_02_893861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6224a11ac7551cf4b76d34100d1a7678.jpg","text":"TemporaryFile(/tmp/multipartBody5399987309730703862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022633343,"filename":"image_04012025_21_29_02_893861_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775510","file1":"1326775507","file0":"1326775505","file3":"1326775513"},"map_files_photo_id_array":[{"photo_id":"1326775510","filename":"file2"},{"photo_id":"1326775507","filename":"file1"},{"photo_id":"1326775505","filename":"file0"},{"photo_id":"1326775513","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775505":["hashtag1","hashtag2"]},{"1326775510":["hashtag1","hashtag2"]},{"1326775513":["hashtag1","hashtag2"]},{"1326775507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775505, 1326775510, 1326775513, 1326775507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.50507378578186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:30:21.873295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/29/image_04012025_21_29_02_893861_0003.jpg', '/home/pi/Desktop/images/04012025/21/30/image_04012025_21_30_03_061960_0000.jpg', '/home/pi/Desktop/images/04012025/21/30/image_04012025_21_30_03_061960_0001.jpg', '/home/pi/Desktop/images/04012025/21/30/image_04012025_21_30_03_061960_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/29/image_04012025_21_29_02_893861_0003.jpg
/home/pi/Desktop/images/04012025/21/30/image_04012025_21_30_03_061960_0000.jpg
/home/pi/Desktop/images/04012025/21/30/image_04012025_21_30_03_061960_0001.jpg
/home/pi/Desktop/images/04012025/21/30/image_04012025_21_30_03_061960_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326775586","1326775580","1326775552","1326775543"],"photo_ids_order":["1326775543","1326775552","1326775580","1326775586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c566c947eabcfe2fb53098ff1bf41bef.jpg","text":"TemporaryFile(/tmp/multipartBody4297864080177673797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022692295,"filename":"image_04012025_21_30_03_061960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8aa157c96149f298996df1ed6f462069.jpg","text":"TemporaryFile(/tmp/multipartBody4912598123999911240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022692295,"filename":"image_04012025_21_30_03_061960_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ba07b3c9e3d462d8d3ff07889e45cfa4.jpg","text":"TemporaryFile(/tmp/multipartBody8418933191608833673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022692295,"filename":"image_04012025_21_30_03_061960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f3a711e795b82900e12e8e2be11d980a.jpg","text":"TemporaryFile(/tmp/multipartBody2629437240386061310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022692295,"filename":"image_04012025_21_29_02_893861_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775580","file1":"1326775552","file0":"1326775543","file3":"1326775586"},"map_files_photo_id_array":[{"photo_id":"1326775580","filename":"file2"},{"photo_id":"1326775552","filename":"file1"},{"photo_id":"1326775543","filename":"file0"},{"photo_id":"1326775586","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326775586":["hashtag1","hashtag2"]},{"1326775580":["hashtag1","hashtag2"]},{"1326775552":["hashtag1","hashtag2"]},{"1326775543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326775586, 1326775580, 1326775552, 1326775543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.107123374938965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:31:22.149897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/30/image_04012025_21_30_03_061960_0003.jpg', '/home/pi/Desktop/images/04012025/21/31/image_04012025_21_31_02_294281_0000.jpg', '/home/pi/Desktop/images/04012025/21/31/image_04012025_21_31_02_294281_0001.jpg', '/home/pi/Desktop/images/04012025/21/31/image_04012025_21_31_02_294281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/30/image_04012025_21_30_03_061960_0003.jpg
/home/pi/Desktop/images/04012025/21/31/image_04012025_21_31_02_294281_0000.jpg
/home/pi/Desktop/images/04012025/21/31/image_04012025_21_31_02_294281_0001.jpg
/home/pi/Desktop/images/04012025/21/31/image_04012025_21_31_02_294281_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326776027","1326775981","1326775921","1326775923"],"photo_ids_order":["1326775921","1326775923","1326775981","1326776027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bb6915c253445f076129fdaefd8320cb.jpg","text":"TemporaryFile(/tmp/multipartBody3166888755629834290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022752990,"filename":"image_04012025_21_31_02_294281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e58eae72baa0d3788416844feda8a1bc.jpg","text":"TemporaryFile(/tmp/multipartBody555367596844818911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022752990,"filename":"image_04012025_21_31_02_294281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e1e7ab5de64985f398fa4bc9ac75d9a8.jpg","text":"TemporaryFile(/tmp/multipartBody6567078223306072961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022752990,"filename":"image_04012025_21_30_03_061960_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/08c91d56b399cd9503503b4f3a296bb0.jpg","text":"TemporaryFile(/tmp/multipartBody8958820713440621892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022752990,"filename":"image_04012025_21_31_02_294281_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326775981","file1":"1326775923","file0":"1326775921","file3":"1326776027"},"map_files_photo_id_array":[{"photo_id":"1326775981","filename":"file2"},{"photo_id":"1326775923","filename":"file1"},{"photo_id":"1326775921","filename":"file0"},{"photo_id":"1326776027","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326776027":["hashtag1","hashtag2"]},{"1326775981":["hashtag1","hashtag2"]},{"1326775921":["hashtag1","hashtag2"]},{"1326775923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326776027, 1326775981, 1326775921, 1326775923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.76664853096008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:32:22.406718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/31/image_04012025_21_31_02_294281_0003.jpg', '/home/pi/Desktop/images/04012025/21/32/image_04012025_21_32_02_452146_0000.jpg', '/home/pi/Desktop/images/04012025/21/32/image_04012025_21_32_02_452146_0001.jpg', '/home/pi/Desktop/images/04012025/21/32/image_04012025_21_32_02_452146_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/31/image_04012025_21_31_02_294281_0003.jpg
/home/pi/Desktop/images/04012025/21/32/image_04012025_21_32_02_452146_0000.jpg
/home/pi/Desktop/images/04012025/21/32/image_04012025_21_32_02_452146_0001.jpg
/home/pi/Desktop/images/04012025/21/32/image_04012025_21_32_02_452146_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326776084","1326776086","1326776083","1326776088"],"photo_ids_order":["1326776083","1326776084","1326776086","1326776088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cc0b06bbb69d322a85b8fd7be6030817.jpg","text":"TemporaryFile(/tmp/multipartBody2373202061815704242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022813127,"filename":"image_04012025_21_32_02_452146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a256dcb7e149ea1c8f6d5cc7f68bb06a.jpg","text":"TemporaryFile(/tmp/multipartBody6104857060319564931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022813127,"filename":"image_04012025_21_32_02_452146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b5fef7ae13ed92c32eede9c88fe92874.jpg","text":"TemporaryFile(/tmp/multipartBody1909205674461605490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022813127,"filename":"image_04012025_21_31_02_294281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c6591c4d46a152d1a67c3407377e7259.jpg","text":"TemporaryFile(/tmp/multipartBody8034305882803178435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022813127,"filename":"image_04012025_21_32_02_452146_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326776086","file1":"1326776084","file0":"1326776083","file3":"1326776088"},"map_files_photo_id_array":[{"photo_id":"1326776086","filename":"file2"},{"photo_id":"1326776084","filename":"file1"},{"photo_id":"1326776083","filename":"file0"},{"photo_id":"1326776088","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326776084":["hashtag1","hashtag2"]},{"1326776086":["hashtag1","hashtag2"]},{"1326776083":["hashtag1","hashtag2"]},{"1326776088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326776084, 1326776086, 1326776083, 1326776088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.10454535484314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:33:22.606885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/32/image_04012025_21_32_02_452146_0003.jpg', '/home/pi/Desktop/images/04012025/21/33/image_04012025_21_33_02_694891_0000.jpg', '/home/pi/Desktop/images/04012025/21/33/image_04012025_21_33_02_694891_0001.jpg', '/home/pi/Desktop/images/04012025/21/33/image_04012025_21_33_02_694891_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/32/image_04012025_21_32_02_452146_0003.jpg
/home/pi/Desktop/images/04012025/21/33/image_04012025_21_33_02_694891_0000.jpg
/home/pi/Desktop/images/04012025/21/33/image_04012025_21_33_02_694891_0001.jpg
/home/pi/Desktop/images/04012025/21/33/image_04012025_21_33_02_694891_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326776099","1326776345","1326776344","1326776101"],"photo_ids_order":["1326776099","1326776101","1326776344","1326776345"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/63b47d5f987d563c797e75e3f1b3f37b.jpg","text":"TemporaryFile(/tmp/multipartBody5963173530942753153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022873812,"filename":"image_04012025_21_32_02_452146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4f89ec9cceb867679e702072395a3b54.jpg","text":"TemporaryFile(/tmp/multipartBody2143152039046001839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022873812,"filename":"image_04012025_21_33_02_694891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/82e0103081fc46e81995a9a69306354f.jpg","text":"TemporaryFile(/tmp/multipartBody7594998062319985998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022873812,"filename":"image_04012025_21_33_02_694891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/89d24365f681166222302e457e789d0e.jpg","text":"TemporaryFile(/tmp/multipartBody4722308108608841166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022873812,"filename":"image_04012025_21_33_02_694891_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326776344","file1":"1326776101","file0":"1326776099","file3":"1326776345"},"map_files_photo_id_array":[{"photo_id":"1326776344","filename":"file2"},{"photo_id":"1326776101","filename":"file1"},{"photo_id":"1326776099","filename":"file0"},{"photo_id":"1326776345","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326776099":["hashtag1","hashtag2"]},{"1326776345":["hashtag1","hashtag2"]},{"1326776344":["hashtag1","hashtag2"]},{"1326776101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326776099, 1326776345, 1326776344, 1326776101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 49.7979576587677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:34:22.669004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/33/image_04012025_21_33_02_694891_0003.jpg', '/home/pi/Desktop/images/04012025/21/34/image_04012025_21_34_02_902059_0000.jpg', '/home/pi/Desktop/images/04012025/21/34/image_04012025_21_34_02_902059_0001.jpg', '/home/pi/Desktop/images/04012025/21/34/image_04012025_21_34_02_902059_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/33/image_04012025_21_33_02_694891_0003.jpg
/home/pi/Desktop/images/04012025/21/34/image_04012025_21_34_02_902059_0000.jpg
/home/pi/Desktop/images/04012025/21/34/image_04012025_21_34_02_902059_0001.jpg
/home/pi/Desktop/images/04012025/21/34/image_04012025_21_34_02_902059_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326776552","1326776629","1326776556","1326776547"],"photo_ids_order":["1326776547","1326776552","1326776556","1326776629"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a12ab72a49c80e94217e07b8d31d0622.jpg","text":"TemporaryFile(/tmp/multipartBody3127429569541432071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022933796,"filename":"image_04012025_21_34_02_902059_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f66f84911b881f1aece26f9ffd8d139b.jpg","text":"TemporaryFile(/tmp/multipartBody2025892953807529853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022933796,"filename":"image_04012025_21_34_02_902059_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0a2f10615a67f685603740a85e952e7.jpg","text":"TemporaryFile(/tmp/multipartBody2328630951877287668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022933796,"filename":"image_04012025_21_34_02_902059_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0c5618c9dd8652a5fcf77ae7c854c82c.jpg","text":"TemporaryFile(/tmp/multipartBody1297904612395813875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736022933796,"filename":"image_04012025_21_33_02_694891_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326776556","file1":"1326776552","file0":"1326776547","file3":"1326776629"},"map_files_photo_id_array":[{"photo_id":"1326776556","filename":"file2"},{"photo_id":"1326776552","filename":"file1"},{"photo_id":"1326776547","filename":"file0"},{"photo_id":"1326776629","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326776552":["hashtag1","hashtag2"]},{"1326776629":["hashtag1","hashtag2"]},{"1326776556":["hashtag1","hashtag2"]},{"1326776547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326776552, 1326776629, 1326776556, 1326776547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 54.59274077415466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:35:21.842107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/34/image_04012025_21_34_02_902059_0003.jpg', '/home/pi/Desktop/images/04012025/21/35/image_04012025_21_35_03_029944_0000.jpg', '/home/pi/Desktop/images/04012025/21/35/image_04012025_21_35_03_029944_0001.jpg', '/home/pi/Desktop/images/04012025/21/35/image_04012025_21_35_03_029944_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/34/image_04012025_21_34_02_902059_0003.jpg
/home/pi/Desktop/images/04012025/21/35/image_04012025_21_35_03_029944_0000.jpg
/home/pi/Desktop/images/04012025/21/35/image_04012025_21_35_03_029944_0001.jpg
/home/pi/Desktop/images/04012025/21/35/image_04012025_21_35_03_029944_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.09937047958374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 21:35:41.951759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/34/image_04012025_21_34_02_902059_0003.jpg', '/home/pi/Desktop/images/04012025/21/35/image_04012025_21_35_03_029944_0000.jpg', '/home/pi/Desktop/images/04012025/21/35/image_04012025_21_35_03_029944_0001.jpg', '/home/pi/Desktop/images/04012025/21/35/image_04012025_21_35_03_029944_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/34/image_04012025_21_34_02_902059_0003.jpg
/home/pi/Desktop/images/04012025/21/35/image_04012025_21_35_03_029944_0000.jpg
/home/pi/Desktop/images/04012025/21/35/image_04012025_21_35_03_029944_0001.jpg
/home/pi/Desktop/images/04012025/21/35/image_04012025_21_35_03_029944_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326777340","1326777681","1326777582","1326777449"],"photo_ids_order":["1326777340","1326777449","1326777582","1326777681"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce56713b28c47a2962c924ded4ad99d7.jpg","text":"TemporaryFile(/tmp/multipartBody5519695956479511110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023013061,"filename":"image_04012025_21_34_02_902059_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ee787a65ffc82873d5dc04f3b301c5b5.jpg","text":"TemporaryFile(/tmp/multipartBody8537049367946709062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023013061,"filename":"image_04012025_21_35_03_029944_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1e4d8b453a1e4af7581d0a2ea43ab980.jpg","text":"TemporaryFile(/tmp/multipartBody2633776698291236456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023013061,"filename":"image_04012025_21_35_03_029944_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8cd6624b4071452030cc3f31178b91f8.jpg","text":"TemporaryFile(/tmp/multipartBody6303463638950877983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023013061,"filename":"image_04012025_21_35_03_029944_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326777582","file1":"1326777449","file0":"1326777340","file3":"1326777681"},"map_files_photo_id_array":[{"photo_id":"1326777582","filename":"file2"},{"photo_id":"1326777449","filename":"file1"},{"photo_id":"1326777340","filename":"file0"},{"photo_id":"1326777681","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326777340":["hashtag1","hashtag2"]},{"1326777681":["hashtag1","hashtag2"]},{"1326777582":["hashtag1","hashtag2"]},{"1326777449":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326777340, 1326777681, 1326777582, 1326777449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 50.85555982589722 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 21:36:42.110497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/35/image_04012025_21_35_03_029944_0003.jpg', '/home/pi/Desktop/images/04012025/21/36/image_04012025_21_36_02_201393_0000.jpg', '/home/pi/Desktop/images/04012025/21/36/image_04012025_21_36_02_201393_0001.jpg', '/home/pi/Desktop/images/04012025/21/36/image_04012025_21_36_02_201393_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/35/image_04012025_21_35_03_029944_0003.jpg
/home/pi/Desktop/images/04012025/21/36/image_04012025_21_36_02_201393_0000.jpg
/home/pi/Desktop/images/04012025/21/36/image_04012025_21_36_02_201393_0001.jpg
/home/pi/Desktop/images/04012025/21/36/image_04012025_21_36_02_201393_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326777769","1326777765","1326777744","1326777761"],"photo_ids_order":["1326777744","1326777761","1326777765","1326777769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/897a99eb8aee7a5ac36b2a9ea1c3d3bb.jpg","text":"TemporaryFile(/tmp/multipartBody3015805102973352436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023073290,"filename":"image_04012025_21_36_02_201393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b2a3949c4569361a660cdea7eacdd9c.jpg","text":"TemporaryFile(/tmp/multipartBody3019462890576189775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023073290,"filename":"image_04012025_21_36_02_201393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5381ead7a663a4960edbe0b4a41ecabd.jpg","text":"TemporaryFile(/tmp/multipartBody1005698616201678563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023073290,"filename":"image_04012025_21_35_03_029944_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f3405ada773a37b8a59734fff553fcda.jpg","text":"TemporaryFile(/tmp/multipartBody8310328462287352549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023073290,"filename":"image_04012025_21_36_02_201393_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326777765","file1":"1326777761","file0":"1326777744","file3":"1326777769"},"map_files_photo_id_array":[{"photo_id":"1326777765","filename":"file2"},{"photo_id":"1326777761","filename":"file1"},{"photo_id":"1326777744","filename":"file0"},{"photo_id":"1326777769","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326777769":["hashtag1","hashtag2"]},{"1326777765":["hashtag1","hashtag2"]},{"1326777744":["hashtag1","hashtag2"]},{"1326777761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326777769, 1326777765, 1326777744, 1326777761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 54.21677827835083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 21:37:42.262981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/36/image_04012025_21_36_02_201393_0003.jpg', '/home/pi/Desktop/images/04012025/21/37/image_04012025_21_37_02_436500_0000.jpg', '/home/pi/Desktop/images/04012025/21/37/image_04012025_21_37_02_436500_0001.jpg', '/home/pi/Desktop/images/04012025/21/37/image_04012025_21_37_02_436500_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/36/image_04012025_21_36_02_201393_0003.jpg
/home/pi/Desktop/images/04012025/21/37/image_04012025_21_37_02_436500_0000.jpg
/home/pi/Desktop/images/04012025/21/37/image_04012025_21_37_02_436500_0001.jpg
/home/pi/Desktop/images/04012025/21/37/image_04012025_21_37_02_436500_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326777844","1326777780","1326778214","1326777779"],"photo_ids_order":["1326777779","1326777780","1326777844","1326778214"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c8bc4fc8b2240a0f25ec84da3bea00d7.jpg","text":"TemporaryFile(/tmp/multipartBody9147042439461965492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023133057,"filename":"image_04012025_21_37_02_436500_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5f71ba0cd57c2d1fed81c7a228ac04ee.jpg","text":"TemporaryFile(/tmp/multipartBody1064988795328249121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023133057,"filename":"image_04012025_21_37_02_436500_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7873cb12c733554d5d79e346e4527984.jpg","text":"TemporaryFile(/tmp/multipartBody6129518353501564091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023133057,"filename":"image_04012025_21_37_02_436500_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ae5c895012b83c72280dcca19101d456.jpg","text":"TemporaryFile(/tmp/multipartBody5271794175661050878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023133057,"filename":"image_04012025_21_36_02_201393_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326777844","file1":"1326777780","file0":"1326777779","file3":"1326778214"},"map_files_photo_id_array":[{"photo_id":"1326777844","filename":"file2"},{"photo_id":"1326777780","filename":"file1"},{"photo_id":"1326777779","filename":"file0"},{"photo_id":"1326778214","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326777844":["hashtag1","hashtag2"]},{"1326777780":["hashtag1","hashtag2"]},{"1326778214":["hashtag1","hashtag2"]},{"1326777779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326777844, 1326777780, 1326778214, 1326777779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 54.61495804786682 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 21:38:42.553501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/37/image_04012025_21_37_02_436500_0003.jpg', '/home/pi/Desktop/images/04012025/21/38/image_04012025_21_38_02_712654_0000.jpg', '/home/pi/Desktop/images/04012025/21/38/image_04012025_21_38_02_712654_0001.jpg', '/home/pi/Desktop/images/04012025/21/38/image_04012025_21_38_02_712654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/37/image_04012025_21_37_02_436500_0003.jpg
/home/pi/Desktop/images/04012025/21/38/image_04012025_21_38_02_712654_0000.jpg
/home/pi/Desktop/images/04012025/21/38/image_04012025_21_38_02_712654_0001.jpg
/home/pi/Desktop/images/04012025/21/38/image_04012025_21_38_02_712654_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326779577","1326779544","1326779488","1326779572"],"photo_ids_order":["1326779488","1326779544","1326779572","1326779577"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5cdce9fda4685e3356325a499cf54cd8.jpg","text":"TemporaryFile(/tmp/multipartBody6226204975428371129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023194060,"filename":"image_04012025_21_38_02_712654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7b815ff7df86f62319934ae2d5abd6d5.jpg","text":"TemporaryFile(/tmp/multipartBody4259648620723622509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023194060,"filename":"image_04012025_21_38_02_712654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2ee33178c24e7936c2b4dfd149d36bcc.jpg","text":"TemporaryFile(/tmp/multipartBody6992064062742230814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023194060,"filename":"image_04012025_21_37_02_436500_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ad328685c04241601efbb9e036288fc1.jpg","text":"TemporaryFile(/tmp/multipartBody3997150515456747095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023194060,"filename":"image_04012025_21_38_02_712654_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326779572","file1":"1326779544","file0":"1326779488","file3":"1326779577"},"map_files_photo_id_array":[{"photo_id":"1326779572","filename":"file2"},{"photo_id":"1326779544","filename":"file1"},{"photo_id":"1326779488","filename":"file0"},{"photo_id":"1326779577","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326779577":["hashtag1","hashtag2"]},{"1326779544":["hashtag1","hashtag2"]},{"1326779488":["hashtag1","hashtag2"]},{"1326779572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326779577, 1326779544, 1326779488, 1326779572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 56.28933525085449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 21:39:42.638641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/38/image_04012025_21_38_02_712654_0003.jpg', '/home/pi/Desktop/images/04012025/21/39/image_04012025_21_39_02_836662_0000.jpg', '/home/pi/Desktop/images/04012025/21/39/image_04012025_21_39_02_836662_0001.jpg', '/home/pi/Desktop/images/04012025/21/39/image_04012025_21_39_02_836662_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/38/image_04012025_21_38_02_712654_0003.jpg
/home/pi/Desktop/images/04012025/21/39/image_04012025_21_39_02_836662_0000.jpg
/home/pi/Desktop/images/04012025/21/39/image_04012025_21_39_02_836662_0001.jpg
/home/pi/Desktop/images/04012025/21/39/image_04012025_21_39_02_836662_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.272723913192749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 21:40:03.126268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/38/image_04012025_21_38_02_712654_0003.jpg', '/home/pi/Desktop/images/04012025/21/39/image_04012025_21_39_02_836662_0000.jpg', '/home/pi/Desktop/images/04012025/21/39/image_04012025_21_39_02_836662_0001.jpg', '/home/pi/Desktop/images/04012025/21/39/image_04012025_21_39_02_836662_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/38/image_04012025_21_38_02_712654_0003.jpg
/home/pi/Desktop/images/04012025/21/39/image_04012025_21_39_02_836662_0000.jpg
/home/pi/Desktop/images/04012025/21/39/image_04012025_21_39_02_836662_0001.jpg
/home/pi/Desktop/images/04012025/21/39/image_04012025_21_39_02_836662_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326780619","1326780780","1326780750","1326780778"],"photo_ids_order":["1326780619","1326780750","1326780778","1326780780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/50ba3def5c07c0e664fcd07980518af3.jpg","text":"TemporaryFile(/tmp/multipartBody4224357988972233789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023274814,"filename":"image_04012025_21_38_02_712654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7bcfc9683458d796fc7ca0b3c1efbf19.jpg","text":"TemporaryFile(/tmp/multipartBody7003046936814610443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023274814,"filename":"image_04012025_21_39_02_836662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/047fd5b3417fe1fd51fb836956cc0503.jpg","text":"TemporaryFile(/tmp/multipartBody7117924450069730136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023274814,"filename":"image_04012025_21_39_02_836662_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5bcbb4b6ec4cb02846cb4626f45ee548.jpg","text":"TemporaryFile(/tmp/multipartBody3531942966279454294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023274814,"filename":"image_04012025_21_39_02_836662_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326780778","file1":"1326780750","file0":"1326780619","file3":"1326780780"},"map_files_photo_id_array":[{"photo_id":"1326780778","filename":"file2"},{"photo_id":"1326780750","filename":"file1"},{"photo_id":"1326780619","filename":"file0"},{"photo_id":"1326780780","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326780619":["hashtag1","hashtag2"]},{"1326780780":["hashtag1","hashtag2"]},{"1326780750":["hashtag1","hashtag2"]},{"1326780778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326780619, 1326780780, 1326780750, 1326780778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 57.69525218009949 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 21:41:02.582391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/39/image_04012025_21_39_02_836662_0003.jpg', '/home/pi/Desktop/images/04012025/21/40/image_04012025_21_40_02_973842_0000.jpg', '/home/pi/Desktop/images/04012025/21/40/image_04012025_21_40_02_973842_0001.jpg', '/home/pi/Desktop/images/04012025/21/40/image_04012025_21_40_02_973842_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/39/image_04012025_21_39_02_836662_0003.jpg
/home/pi/Desktop/images/04012025/21/40/image_04012025_21_40_02_973842_0000.jpg
/home/pi/Desktop/images/04012025/21/40/image_04012025_21_40_02_973842_0001.jpg
/home/pi/Desktop/images/04012025/21/40/image_04012025_21_40_02_973842_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 12.596832036972046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:41:21.843778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/39/image_04012025_21_39_02_836662_0003.jpg', '/home/pi/Desktop/images/04012025/21/40/image_04012025_21_40_02_973842_0000.jpg', '/home/pi/Desktop/images/04012025/21/40/image_04012025_21_40_02_973842_0001.jpg', '/home/pi/Desktop/images/04012025/21/40/image_04012025_21_40_02_973842_0002.jpg', '/home/pi/Desktop/images/04012025/21/40/image_04012025_21_40_02_973842_0003.jpg', '/home/pi/Desktop/images/04012025/21/41/image_04012025_21_41_03_088640_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/39/image_04012025_21_39_02_836662_0003.jpg
/home/pi/Desktop/images/04012025/21/40/image_04012025_21_40_02_973842_0000.jpg
/home/pi/Desktop/images/04012025/21/40/image_04012025_21_40_02_973842_0001.jpg
/home/pi/Desktop/images/04012025/21/40/image_04012025_21_40_02_973842_0002.jpg
/home/pi/Desktop/images/04012025/21/40/image_04012025_21_40_02_973842_0003.jpg
/home/pi/Desktop/images/04012025/21/41/image_04012025_21_41_03_088640_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":["1326782544","1326782547","1326782075","1326782405","1326782194","1326782119"],"photo_ids_order":["1326782075","1326782119","1326782194","1326782405","1326782544","1326782547"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/58b1e7640a514c3c90ba0c754c649d97.jpg","text":"TemporaryFile(/tmp/multipartBody514344436534415635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023357854,"filename":"image_04012025_21_40_02_973842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4a326ade0c7b8be55d4c2afb665a88ba.jpg","text":"TemporaryFile(/tmp/multipartBody6703655408247426729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023357854,"filename":"image_04012025_21_41_03_088640_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4c1178df70bcbc31bb2e7d844a24885f.jpg","text":"TemporaryFile(/tmp/multipartBody8189263337447547532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023357854,"filename":"image_04012025_21_39_02_836662_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2d2ca7108b0b46bef3349c53a63fc577.jpg","text":"TemporaryFile(/tmp/multipartBody2661734738434111340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023357854,"filename":"image_04012025_21_40_02_973842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e6844196d67c82009066fe6318d3e1bc.jpg","text":"TemporaryFile(/tmp/multipartBody2097591500649489996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023357854,"filename":"image_04012025_21_40_02_973842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1dd64ae63ef77a2d67c0119a8bfa57e4.jpg","text":"TemporaryFile(/tmp/multipartBody5074832403004589671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023357854,"filename":"image_04012025_21_40_02_973842_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326782194","file1":"1326782119","file0":"1326782075","file4":"1326782544","file5":"1326782547","file3":"1326782405"},"map_files_photo_id_array":[{"photo_id":"1326782547","filename":"file5"},{"photo_id":"1326782194","filename":"file2"},{"photo_id":"1326782544","filename":"file4"},{"photo_id":"1326782119","filename":"file1"},{"photo_id":"1326782075","filename":"file0"},{"photo_id":"1326782405","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326782544":["hashtag1","hashtag2"]},{"1326782547":["hashtag1","hashtag2"]},{"1326782075":["hashtag1","hashtag2"]},{"1326782405":["hashtag1","hashtag2"]},{"1326782194":["hashtag1","hashtag2"]},{"1326782119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326782544, 1326782547, 1326782075, 1326782405, 1326782194, 1326782119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.19944643974304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 21:42:52.221040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/41/image_04012025_21_41_03_088640_0001.jpg', '/home/pi/Desktop/images/04012025/21/41/image_04012025_21_41_03_088640_0002.jpg', '/home/pi/Desktop/images/04012025/21/41/image_04012025_21_41_03_088640_0003.jpg', '/home/pi/Desktop/images/04012025/21/42/image_04012025_21_42_02_334770_0000.jpg', '/home/pi/Desktop/images/04012025/21/42/image_04012025_21_42_02_334770_0001.jpg', '/home/pi/Desktop/images/04012025/21/42/image_04012025_21_42_02_334770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/41/image_04012025_21_41_03_088640_0001.jpg
/home/pi/Desktop/images/04012025/21/41/image_04012025_21_41_03_088640_0002.jpg
/home/pi/Desktop/images/04012025/21/41/image_04012025_21_41_03_088640_0003.jpg
/home/pi/Desktop/images/04012025/21/42/image_04012025_21_42_02_334770_0000.jpg
/home/pi/Desktop/images/04012025/21/42/image_04012025_21_42_02_334770_0001.jpg
/home/pi/Desktop/images/04012025/21/42/image_04012025_21_42_02_334770_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.215294599533081 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:43:22.423071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/41/image_04012025_21_41_03_088640_0001.jpg', '/home/pi/Desktop/images/04012025/21/41/image_04012025_21_41_03_088640_0002.jpg', '/home/pi/Desktop/images/04012025/21/41/image_04012025_21_41_03_088640_0003.jpg', '/home/pi/Desktop/images/04012025/21/42/image_04012025_21_42_02_334770_0000.jpg', '/home/pi/Desktop/images/04012025/21/42/image_04012025_21_42_02_334770_0001.jpg', '/home/pi/Desktop/images/04012025/21/42/image_04012025_21_42_02_334770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/41/image_04012025_21_41_03_088640_0001.jpg
/home/pi/Desktop/images/04012025/21/41/image_04012025_21_41_03_088640_0002.jpg
/home/pi/Desktop/images/04012025/21/41/image_04012025_21_41_03_088640_0003.jpg
/home/pi/Desktop/images/04012025/21/42/image_04012025_21_42_02_334770_0000.jpg
/home/pi/Desktop/images/04012025/21/42/image_04012025_21_42_02_334770_0001.jpg
/home/pi/Desktop/images/04012025/21/42/image_04012025_21_42_02_334770_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326782682","1326782699","1326782692","1326782686","1326782680","1326782677"],"photo_ids_order":["1326782677","1326782680","1326782682","1326782686","1326782692","1326782699"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/859c702a2adc3ac24349a4d94a7cda79.jpg","text":"TemporaryFile(/tmp/multipartBody404607657972734715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023478537,"filename":"image_04012025_21_41_03_088640_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/02e060c5b27dc202934e2fe6b65265f3.jpg","text":"TemporaryFile(/tmp/multipartBody3218587086001860222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023478537,"filename":"image_04012025_21_42_02_334770_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ad61edd0a2546343f59381da812cc814.jpg","text":"TemporaryFile(/tmp/multipartBody7232772225939391983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023478537,"filename":"image_04012025_21_42_02_334770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f01cab97e7893648b95fce6de6c8496d.jpg","text":"TemporaryFile(/tmp/multipartBody4045693017055032865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023478537,"filename":"image_04012025_21_42_02_334770_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d483abc93b4a41b4f328f633b126e6db.jpg","text":"TemporaryFile(/tmp/multipartBody2233090364380193982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023478537,"filename":"image_04012025_21_41_03_088640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/313eba880c9c880b614d4e5497026ec3.jpg","text":"TemporaryFile(/tmp/multipartBody8184549913867866158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023478537,"filename":"image_04012025_21_41_03_088640_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326782682","file1":"1326782680","file0":"1326782677","file4":"1326782692","file5":"1326782699","file3":"1326782686"},"map_files_photo_id_array":[{"photo_id":"1326782699","filename":"file5"},{"photo_id":"1326782682","filename":"file2"},{"photo_id":"1326782692","filename":"file4"},{"photo_id":"1326782680","filename":"file1"},{"photo_id":"1326782677","filename":"file0"},{"photo_id":"1326782686","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326782682":["hashtag1","hashtag2"]},{"1326782699":["hashtag1","hashtag2"]},{"1326782692":["hashtag1","hashtag2"]},{"1326782686":["hashtag1","hashtag2"]},{"1326782680":["hashtag1","hashtag2"]},{"1326782677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326782682, 1326782699, 1326782692, 1326782686, 1326782680, 1326782677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.64131093025208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 21:44:42.617975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/42/image_04012025_21_42_02_334770_0003.jpg', '/home/pi/Desktop/images/04012025/21/43/image_04012025_21_43_02_572202_0000.jpg', '/home/pi/Desktop/images/04012025/21/43/image_04012025_21_43_02_572202_0001.jpg', '/home/pi/Desktop/images/04012025/21/43/image_04012025_21_43_02_572202_0002.jpg', '/home/pi/Desktop/images/04012025/21/43/image_04012025_21_43_02_572202_0003.jpg', '/home/pi/Desktop/images/04012025/21/44/image_04012025_21_44_02_772941_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/42/image_04012025_21_42_02_334770_0003.jpg
/home/pi/Desktop/images/04012025/21/43/image_04012025_21_43_02_572202_0000.jpg
/home/pi/Desktop/images/04012025/21/43/image_04012025_21_43_02_572202_0001.jpg
/home/pi/Desktop/images/04012025/21/43/image_04012025_21_43_02_572202_0002.jpg
/home/pi/Desktop/images/04012025/21/43/image_04012025_21_43_02_572202_0003.jpg
/home/pi/Desktop/images/04012025/21/44/image_04012025_21_44_02_772941_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":["1326782727","1326782706","1326782710","1326782713","1326782707","1326782716"],"photo_ids_order":["1326782706","1326782707","1326782710","1326782713","1326782716","1326782727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/597966066c8cfbde433ffb213717cbdb.jpg","text":"TemporaryFile(/tmp/multipartBody4552023634829438912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023558579,"filename":"image_04012025_21_44_02_772941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d1124daab5630bd56814308fddc43493.jpg","text":"TemporaryFile(/tmp/multipartBody3505903874681446052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023558579,"filename":"image_04012025_21_42_02_334770_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/03353f5c959e9838826f164c9d33547b.jpg","text":"TemporaryFile(/tmp/multipartBody854385487283946798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023558579,"filename":"image_04012025_21_43_02_572202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/75777983672cf5e2ac59c06dab7774a4.jpg","text":"TemporaryFile(/tmp/multipartBody2962590790912191179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023558579,"filename":"image_04012025_21_43_02_572202_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3390db5f6aca6c147675ca0a2097bc43.jpg","text":"TemporaryFile(/tmp/multipartBody5655872694602983201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023558579,"filename":"image_04012025_21_43_02_572202_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/884582094f0c94878af005459572b4dc.jpg","text":"TemporaryFile(/tmp/multipartBody7416819558620994197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023558579,"filename":"image_04012025_21_43_02_572202_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326782710","file1":"1326782707","file0":"1326782706","file4":"1326782716","file5":"1326782727","file3":"1326782713"},"map_files_photo_id_array":[{"photo_id":"1326782727","filename":"file5"},{"photo_id":"1326782710","filename":"file2"},{"photo_id":"1326782716","filename":"file4"},{"photo_id":"1326782707","filename":"file1"},{"photo_id":"1326782706","filename":"file0"},{"photo_id":"1326782713","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326782727":["hashtag1","hashtag2"]},{"1326782706":["hashtag1","hashtag2"]},{"1326782710":["hashtag1","hashtag2"]},{"1326782713":["hashtag1","hashtag2"]},{"1326782707":["hashtag1","hashtag2"]},{"1326782716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326782727, 1326782706, 1326782710, 1326782713, 1326782707, 1326782716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.01119875907898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:46:21.968817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/44/image_04012025_21_44_02_772941_0001.jpg', '/home/pi/Desktop/images/04012025/21/44/image_04012025_21_44_02_772941_0002.jpg', '/home/pi/Desktop/images/04012025/21/44/image_04012025_21_44_02_772941_0003.jpg', '/home/pi/Desktop/images/04012025/21/45/image_04012025_21_45_02_955616_0000.jpg', '/home/pi/Desktop/images/04012025/21/45/image_04012025_21_45_02_955616_0001.jpg', '/home/pi/Desktop/images/04012025/21/45/image_04012025_21_45_02_955616_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/44/image_04012025_21_44_02_772941_0001.jpg
/home/pi/Desktop/images/04012025/21/44/image_04012025_21_44_02_772941_0002.jpg
/home/pi/Desktop/images/04012025/21/44/image_04012025_21_44_02_772941_0003.jpg
/home/pi/Desktop/images/04012025/21/45/image_04012025_21_45_02_955616_0000.jpg
/home/pi/Desktop/images/04012025/21/45/image_04012025_21_45_02_955616_0001.jpg
/home/pi/Desktop/images/04012025/21/45/image_04012025_21_45_02_955616_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326782765","1326782768","1326782776","1326782770","1326782764","1326782766"],"photo_ids_order":["1326782764","1326782765","1326782766","1326782768","1326782770","1326782776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b8a0d11eb62b291f1ae58928aef836a5.jpg","text":"TemporaryFile(/tmp/multipartBody8558430062549247716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023657645,"filename":"image_04012025_21_44_02_772941_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0fcc9666a2a0c237bb47ede8c025ec35.jpg","text":"TemporaryFile(/tmp/multipartBody2221973057569708841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023657645,"filename":"image_04012025_21_45_02_955616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/272ce297c49af60209195ff51d8383fc.jpg","text":"TemporaryFile(/tmp/multipartBody3229746297879674827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023657645,"filename":"image_04012025_21_45_02_955616_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8735388aa70667bc8a969cac3eb4049c.jpg","text":"TemporaryFile(/tmp/multipartBody1130717431362840970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023657645,"filename":"image_04012025_21_45_02_955616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d32b56fc85e85b89f7d7dee1f98c95df.jpg","text":"TemporaryFile(/tmp/multipartBody5646382035421487704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023657645,"filename":"image_04012025_21_44_02_772941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ab44d3d4a8d7cc199556c73451397279.jpg","text":"TemporaryFile(/tmp/multipartBody1402273374388367707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023657645,"filename":"image_04012025_21_44_02_772941_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326782766","file1":"1326782765","file0":"1326782764","file4":"1326782770","file5":"1326782776","file3":"1326782768"},"map_files_photo_id_array":[{"photo_id":"1326782776","filename":"file5"},{"photo_id":"1326782766","filename":"file2"},{"photo_id":"1326782770","filename":"file4"},{"photo_id":"1326782765","filename":"file1"},{"photo_id":"1326782764","filename":"file0"},{"photo_id":"1326782768","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326782765":["hashtag1","hashtag2"]},{"1326782768":["hashtag1","hashtag2"]},{"1326782776":["hashtag1","hashtag2"]},{"1326782770":["hashtag1","hashtag2"]},{"1326782764":["hashtag1","hashtag2"]},{"1326782766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326782765, 1326782768, 1326782776, 1326782770, 1326782764, 1326782766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.17844414710999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 21:47:52.153558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/45/image_04012025_21_45_02_955616_0003.jpg', '/home/pi/Desktop/images/04012025/21/46/image_04012025_21_46_03_147480_0000.jpg', '/home/pi/Desktop/images/04012025/21/46/image_04012025_21_46_03_147480_0001.jpg', '/home/pi/Desktop/images/04012025/21/46/image_04012025_21_46_03_147480_0002.jpg', '/home/pi/Desktop/images/04012025/21/46/image_04012025_21_46_03_147480_0003.jpg', '/home/pi/Desktop/images/04012025/21/47/image_04012025_21_47_02_383399_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/45/image_04012025_21_45_02_955616_0003.jpg
/home/pi/Desktop/images/04012025/21/46/image_04012025_21_46_03_147480_0000.jpg
/home/pi/Desktop/images/04012025/21/46/image_04012025_21_46_03_147480_0001.jpg
/home/pi/Desktop/images/04012025/21/46/image_04012025_21_46_03_147480_0002.jpg
/home/pi/Desktop/images/04012025/21/46/image_04012025_21_46_03_147480_0003.jpg
/home/pi/Desktop/images/04012025/21/47/image_04012025_21_47_02_383399_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326782820","1326782798","1326782783","1326782822","1326782784","1326782787"],"photo_ids_order":["1326782783","1326782784","1326782787","1326782798","1326782820","1326782822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b625444d738f1764b50ce9127cc6db23.jpg","text":"TemporaryFile(/tmp/multipartBody1437777275282806398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023747923,"filename":"image_04012025_21_46_03_147480_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0cc2bc7a16f725fe568d7fb44fdeb8f1.jpg","text":"TemporaryFile(/tmp/multipartBody2308640027374439222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023747923,"filename":"image_04012025_21_46_03_147480_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/79fdc1d171707772884d4e116ebab7b4.jpg","text":"TemporaryFile(/tmp/multipartBody2244423940462661217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023747923,"filename":"image_04012025_21_45_02_955616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b9d67486c6b583fa6d49156dbfce624f.jpg","text":"TemporaryFile(/tmp/multipartBody7635510324077928624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023747923,"filename":"image_04012025_21_47_02_383399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ff8e69159c9ff833a687e9433b048d2a.jpg","text":"TemporaryFile(/tmp/multipartBody381499143742643546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023747923,"filename":"image_04012025_21_46_03_147480_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ddc6d930e79c8ea394e6255012898246.jpg","text":"TemporaryFile(/tmp/multipartBody7653460797720133687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023747923,"filename":"image_04012025_21_46_03_147480_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326782787","file1":"1326782784","file0":"1326782783","file4":"1326782820","file5":"1326782822","file3":"1326782798"},"map_files_photo_id_array":[{"photo_id":"1326782822","filename":"file5"},{"photo_id":"1326782787","filename":"file2"},{"photo_id":"1326782820","filename":"file4"},{"photo_id":"1326782784","filename":"file1"},{"photo_id":"1326782783","filename":"file0"},{"photo_id":"1326782798","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326782820":["hashtag1","hashtag2"]},{"1326782798":["hashtag1","hashtag2"]},{"1326782783":["hashtag1","hashtag2"]},{"1326782822":["hashtag1","hashtag2"]},{"1326782784":["hashtag1","hashtag2"]},{"1326782787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326782820, 1326782798, 1326782783, 1326782822, 1326782784, 1326782787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.00700759887695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:49:22.533041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/47/image_04012025_21_47_02_383399_0001.jpg', '/home/pi/Desktop/images/04012025/21/47/image_04012025_21_47_02_383399_0002.jpg', '/home/pi/Desktop/images/04012025/21/47/image_04012025_21_47_02_383399_0003.jpg', '/home/pi/Desktop/images/04012025/21/48/image_04012025_21_48_02_521707_0000.jpg', '/home/pi/Desktop/images/04012025/21/48/image_04012025_21_48_02_521707_0001.jpg', '/home/pi/Desktop/images/04012025/21/48/image_04012025_21_48_02_521707_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/47/image_04012025_21_47_02_383399_0001.jpg
/home/pi/Desktop/images/04012025/21/47/image_04012025_21_47_02_383399_0002.jpg
/home/pi/Desktop/images/04012025/21/47/image_04012025_21_47_02_383399_0003.jpg
/home/pi/Desktop/images/04012025/21/48/image_04012025_21_48_02_521707_0000.jpg
/home/pi/Desktop/images/04012025/21/48/image_04012025_21_48_02_521707_0001.jpg
/home/pi/Desktop/images/04012025/21/48/image_04012025_21_48_02_521707_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326782832","1326782837","1326782831","1326782840","1326782834","1326782830"],"photo_ids_order":["1326782830","1326782831","1326782832","1326782834","1326782837","1326782840"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f1a6a628070bf14f718bb25bc4d9cdc4.jpg","text":"TemporaryFile(/tmp/multipartBody490047058517394657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023838444,"filename":"image_04012025_21_47_02_383399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d487e97b248bc688928eb1b601669ead.jpg","text":"TemporaryFile(/tmp/multipartBody632623785642221491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023838444,"filename":"image_04012025_21_48_02_521707_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/03484b16f9c24221f5906f985c12d231.jpg","text":"TemporaryFile(/tmp/multipartBody3715369521801470095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023838444,"filename":"image_04012025_21_47_02_383399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6f91c49d1c9d1843e75fc3ebeaa15a6e.jpg","text":"TemporaryFile(/tmp/multipartBody8952018849624676383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023838444,"filename":"image_04012025_21_48_02_521707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/05012346195f7dc13e427d725de51170.jpg","text":"TemporaryFile(/tmp/multipartBody8122099557462357610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023838444,"filename":"image_04012025_21_48_02_521707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c586d505857ea17743633841e8d15423.jpg","text":"TemporaryFile(/tmp/multipartBody4292280446196820490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023838444,"filename":"image_04012025_21_47_02_383399_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326782832","file1":"1326782831","file0":"1326782830","file4":"1326782837","file5":"1326782840","file3":"1326782834"},"map_files_photo_id_array":[{"photo_id":"1326782840","filename":"file5"},{"photo_id":"1326782832","filename":"file2"},{"photo_id":"1326782837","filename":"file4"},{"photo_id":"1326782831","filename":"file1"},{"photo_id":"1326782830","filename":"file0"},{"photo_id":"1326782834","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326782832":["hashtag1","hashtag2"]},{"1326782837":["hashtag1","hashtag2"]},{"1326782831":["hashtag1","hashtag2"]},{"1326782840":["hashtag1","hashtag2"]},{"1326782834":["hashtag1","hashtag2"]},{"1326782830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326782832, 1326782837, 1326782831, 1326782840, 1326782834, 1326782830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.13648748397827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 21:50:52.742201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/48/image_04012025_21_48_02_521707_0003.jpg', '/home/pi/Desktop/images/04012025/21/49/image_04012025_21_49_02_745083_0000.jpg', '/home/pi/Desktop/images/04012025/21/49/image_04012025_21_49_02_745083_0001.jpg', '/home/pi/Desktop/images/04012025/21/49/image_04012025_21_49_02_745083_0002.jpg', '/home/pi/Desktop/images/04012025/21/49/image_04012025_21_49_02_745083_0003.jpg', '/home/pi/Desktop/images/04012025/21/50/image_04012025_21_50_02_893073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/48/image_04012025_21_48_02_521707_0003.jpg
/home/pi/Desktop/images/04012025/21/49/image_04012025_21_49_02_745083_0000.jpg
/home/pi/Desktop/images/04012025/21/49/image_04012025_21_49_02_745083_0001.jpg
/home/pi/Desktop/images/04012025/21/49/image_04012025_21_49_02_745083_0002.jpg
/home/pi/Desktop/images/04012025/21/49/image_04012025_21_49_02_745083_0003.jpg
/home/pi/Desktop/images/04012025/21/50/image_04012025_21_50_02_893073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.785171747207642 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:51:21.923301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/48/image_04012025_21_48_02_521707_0003.jpg', '/home/pi/Desktop/images/04012025/21/49/image_04012025_21_49_02_745083_0000.jpg', '/home/pi/Desktop/images/04012025/21/49/image_04012025_21_49_02_745083_0001.jpg', '/home/pi/Desktop/images/04012025/21/49/image_04012025_21_49_02_745083_0002.jpg', '/home/pi/Desktop/images/04012025/21/49/image_04012025_21_49_02_745083_0003.jpg', '/home/pi/Desktop/images/04012025/21/50/image_04012025_21_50_02_893073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/48/image_04012025_21_48_02_521707_0003.jpg
/home/pi/Desktop/images/04012025/21/49/image_04012025_21_49_02_745083_0000.jpg
/home/pi/Desktop/images/04012025/21/49/image_04012025_21_49_02_745083_0001.jpg
/home/pi/Desktop/images/04012025/21/49/image_04012025_21_49_02_745083_0002.jpg
/home/pi/Desktop/images/04012025/21/49/image_04012025_21_49_02_745083_0003.jpg
/home/pi/Desktop/images/04012025/21/50/image_04012025_21_50_02_893073_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326782894","1326782855","1326782900","1326782896","1326782898","1326782859"],"photo_ids_order":["1326782855","1326782859","1326782894","1326782896","1326782898","1326782900"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e873d4b7ad3e4cade233a5aa458eaedd.jpg","text":"TemporaryFile(/tmp/multipartBody5336669010285379074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023957506,"filename":"image_04012025_21_49_02_745083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/447804acb99bfba72bf7f5b5cca6082d.jpg","text":"TemporaryFile(/tmp/multipartBody3112353798282878295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023957506,"filename":"image_04012025_21_48_02_521707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a02b1b7d2e291735bbc2270c44a1401e.jpg","text":"TemporaryFile(/tmp/multipartBody7714582159357687904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023957506,"filename":"image_04012025_21_50_02_893073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c77b5ddd3ecdd0f92242cc13cada4862.jpg","text":"TemporaryFile(/tmp/multipartBody8008581536290626023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023957506,"filename":"image_04012025_21_49_02_745083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c7a5dc0e19db60ec01551848fec8c623.jpg","text":"TemporaryFile(/tmp/multipartBody4316681633034262167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023957506,"filename":"image_04012025_21_49_02_745083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f70b769cd70f28e704a3a1883ed0f98a.jpg","text":"TemporaryFile(/tmp/multipartBody5423002035765013189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736023957506,"filename":"image_04012025_21_49_02_745083_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326782894","file1":"1326782859","file0":"1326782855","file4":"1326782898","file5":"1326782900","file3":"1326782896"},"map_files_photo_id_array":[{"photo_id":"1326782900","filename":"file5"},{"photo_id":"1326782894","filename":"file2"},{"photo_id":"1326782898","filename":"file4"},{"photo_id":"1326782859","filename":"file1"},{"photo_id":"1326782855","filename":"file0"},{"photo_id":"1326782896","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326782894":["hashtag1","hashtag2"]},{"1326782855":["hashtag1","hashtag2"]},{"1326782900":["hashtag1","hashtag2"]},{"1326782896":["hashtag1","hashtag2"]},{"1326782898":["hashtag1","hashtag2"]},{"1326782859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326782894, 1326782855, 1326782900, 1326782896, 1326782898, 1326782859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.56156277656555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 21:52:42.153241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/50/image_04012025_21_50_02_893073_0001.jpg', '/home/pi/Desktop/images/04012025/21/50/image_04012025_21_50_02_893073_0002.jpg', '/home/pi/Desktop/images/04012025/21/50/image_04012025_21_50_02_893073_0003.jpg', '/home/pi/Desktop/images/04012025/21/51/image_04012025_21_51_03_122730_0000.jpg', '/home/pi/Desktop/images/04012025/21/51/image_04012025_21_51_03_122730_0002.jpg', '/home/pi/Desktop/images/04012025/21/51/image_04012025_21_51_03_122730_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/50/image_04012025_21_50_02_893073_0001.jpg
/home/pi/Desktop/images/04012025/21/50/image_04012025_21_50_02_893073_0002.jpg
/home/pi/Desktop/images/04012025/21/50/image_04012025_21_50_02_893073_0003.jpg
/home/pi/Desktop/images/04012025/21/51/image_04012025_21_51_03_122730_0000.jpg
/home/pi/Desktop/images/04012025/21/51/image_04012025_21_51_03_122730_0002.jpg
/home/pi/Desktop/images/04012025/21/51/image_04012025_21_51_03_122730_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.883153915405273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 21:53:02.968477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/50/image_04012025_21_50_02_893073_0001.jpg', '/home/pi/Desktop/images/04012025/21/50/image_04012025_21_50_02_893073_0002.jpg', '/home/pi/Desktop/images/04012025/21/50/image_04012025_21_50_02_893073_0003.jpg', '/home/pi/Desktop/images/04012025/21/51/image_04012025_21_51_03_122730_0000.jpg', '/home/pi/Desktop/images/04012025/21/51/image_04012025_21_51_03_122730_0002.jpg', '/home/pi/Desktop/images/04012025/21/51/image_04012025_21_51_03_122730_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/50/image_04012025_21_50_02_893073_0001.jpg
/home/pi/Desktop/images/04012025/21/50/image_04012025_21_50_02_893073_0002.jpg
/home/pi/Desktop/images/04012025/21/50/image_04012025_21_50_02_893073_0003.jpg
/home/pi/Desktop/images/04012025/21/51/image_04012025_21_51_03_122730_0000.jpg
/home/pi/Desktop/images/04012025/21/51/image_04012025_21_51_03_122730_0002.jpg
/home/pi/Desktop/images/04012025/21/51/image_04012025_21_51_03_122730_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326782952","1326782946","1326782934","1326782939","1326782947","1326782944"],"photo_ids_order":["1326782934","1326782939","1326782944","1326782946","1326782947","1326782952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/98314c42f0de5d09c24c7f8bce502118.jpg","text":"TemporaryFile(/tmp/multipartBody3860201909178225821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024059433,"filename":"image_04012025_21_51_03_122730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/128e079eeb67f367fdb4efa349c3e12f.jpg","text":"TemporaryFile(/tmp/multipartBody461852505105908364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024059433,"filename":"image_04012025_21_51_03_122730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2499d34f1467e3ce08ab404ac2338e22.jpg","text":"TemporaryFile(/tmp/multipartBody6082697635681451665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024059433,"filename":"image_04012025_21_50_02_893073_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30860d6c8e692f6fba6192ba31fd27ea.jpg","text":"TemporaryFile(/tmp/multipartBody5038939550116174552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024059433,"filename":"image_04012025_21_50_02_893073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5dca82763f95886bbd078732507ce6c8.jpg","text":"TemporaryFile(/tmp/multipartBody4927286227304229449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024059433,"filename":"image_04012025_21_51_03_122730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd8fa587e25d41926fbefee7f990f2ef.jpg","text":"TemporaryFile(/tmp/multipartBody7934307077992322827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024059433,"filename":"image_04012025_21_50_02_893073_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326782944","file1":"1326782939","file0":"1326782934","file4":"1326782947","file5":"1326782952","file3":"1326782946"},"map_files_photo_id_array":[{"photo_id":"1326782952","filename":"file5"},{"photo_id":"1326782944","filename":"file2"},{"photo_id":"1326782947","filename":"file4"},{"photo_id":"1326782939","filename":"file1"},{"photo_id":"1326782934","filename":"file0"},{"photo_id":"1326782946","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326782952":["hashtag1","hashtag2"]},{"1326782946":["hashtag1","hashtag2"]},{"1326782934":["hashtag1","hashtag2"]},{"1326782939":["hashtag1","hashtag2"]},{"1326782947":["hashtag1","hashtag2"]},{"1326782944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326782952, 1326782946, 1326782934, 1326782939, 1326782947, 1326782944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.87774348258972 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-04 21:54:32.483951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/52/image_04012025_21_52_02_262877_0000.jpg', '/home/pi/Desktop/images/04012025/21/52/image_04012025_21_52_02_262877_0001.jpg', '/home/pi/Desktop/images/04012025/21/52/image_04012025_21_52_02_262877_0002.jpg', '/home/pi/Desktop/images/04012025/21/52/image_04012025_21_52_02_262877_0003.jpg', '/home/pi/Desktop/images/04012025/21/53/image_04012025_21_53_02_556126_0000.jpg', '/home/pi/Desktop/images/04012025/21/53/image_04012025_21_53_02_556126_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/52/image_04012025_21_52_02_262877_0000.jpg
/home/pi/Desktop/images/04012025/21/52/image_04012025_21_52_02_262877_0001.jpg
/home/pi/Desktop/images/04012025/21/52/image_04012025_21_52_02_262877_0002.jpg
/home/pi/Desktop/images/04012025/21/52/image_04012025_21_52_02_262877_0003.jpg
/home/pi/Desktop/images/04012025/21/53/image_04012025_21_53_02_556126_0000.jpg
/home/pi/Desktop/images/04012025/21/53/image_04012025_21_53_02_556126_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326783006","1326783014","1326783008","1326783016","1326783010","1326783012"],"photo_ids_order":["1326783006","1326783008","1326783010","1326783012","1326783014","1326783016"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d6efe898d6ec810cd7daaaf8d5565926.jpg","text":"TemporaryFile(/tmp/multipartBody126436642730058913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024148524,"filename":"image_04012025_21_52_02_262877_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/24044ea7b808d12c472e98926f835408.jpg","text":"TemporaryFile(/tmp/multipartBody8526666381884092378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024148524,"filename":"image_04012025_21_53_02_556126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/11ed7ddb9bdf39639719796e7d50dcb8.jpg","text":"TemporaryFile(/tmp/multipartBody4828487578827664266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024148524,"filename":"image_04012025_21_52_02_262877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1ca7f4b683f0346cd7f61bd62ac2a27c.jpg","text":"TemporaryFile(/tmp/multipartBody5503898716401020856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024148524,"filename":"image_04012025_21_53_02_556126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/23cd0840af80d9513de0081f78d654e1.jpg","text":"TemporaryFile(/tmp/multipartBody3153675890311426462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024148524,"filename":"image_04012025_21_52_02_262877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0f4bec0f690bb94a6aec0892979f9db2.jpg","text":"TemporaryFile(/tmp/multipartBody4101079210034799448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024148524,"filename":"image_04012025_21_52_02_262877_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326783010","file1":"1326783008","file0":"1326783006","file4":"1326783014","file5":"1326783016","file3":"1326783012"},"map_files_photo_id_array":[{"photo_id":"1326783016","filename":"file5"},{"photo_id":"1326783010","filename":"file2"},{"photo_id":"1326783014","filename":"file4"},{"photo_id":"1326783008","filename":"file1"},{"photo_id":"1326783006","filename":"file0"},{"photo_id":"1326783012","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326783006":["hashtag1","hashtag2"]},{"1326783014":["hashtag1","hashtag2"]},{"1326783008":["hashtag1","hashtag2"]},{"1326783016":["hashtag1","hashtag2"]},{"1326783010":["hashtag1","hashtag2"]},{"1326783012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326783006, 1326783014, 1326783008, 1326783016, 1326783010, 1326783012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.97352313995361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 21:55:52.653794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/53/image_04012025_21_53_02_556126_0002.jpg', '/home/pi/Desktop/images/04012025/21/53/image_04012025_21_53_02_556126_0003.jpg', '/home/pi/Desktop/images/04012025/21/54/image_04012025_21_54_02_658363_0000.jpg', '/home/pi/Desktop/images/04012025/21/54/image_04012025_21_54_02_658363_0001.jpg', '/home/pi/Desktop/images/04012025/21/54/image_04012025_21_54_02_658363_0002.jpg', '/home/pi/Desktop/images/04012025/21/54/image_04012025_21_54_02_658363_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/53/image_04012025_21_53_02_556126_0002.jpg
/home/pi/Desktop/images/04012025/21/53/image_04012025_21_53_02_556126_0003.jpg
/home/pi/Desktop/images/04012025/21/54/image_04012025_21_54_02_658363_0000.jpg
/home/pi/Desktop/images/04012025/21/54/image_04012025_21_54_02_658363_0001.jpg
/home/pi/Desktop/images/04012025/21/54/image_04012025_21_54_02_658363_0002.jpg
/home/pi/Desktop/images/04012025/21/54/image_04012025_21_54_02_658363_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326783021","1326783023","1326783031","1326783019","1326783033","1326783027"],"photo_ids_order":["1326783019","1326783021","1326783023","1326783027","1326783031","1326783033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/003c478994f35d117350ef2e7da6ddf4.jpg","text":"TemporaryFile(/tmp/multipartBody6486510500273458633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024228164,"filename":"image_04012025_21_53_02_556126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/59d7014fa87a8e4e2b68e81719af1b5c.jpg","text":"TemporaryFile(/tmp/multipartBody6101867904446016407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024228164,"filename":"image_04012025_21_54_02_658363_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/91b16752930c8a7a8b97f22ffe402e0e.jpg","text":"TemporaryFile(/tmp/multipartBody4063273151002543724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024228164,"filename":"image_04012025_21_54_02_658363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/981598a0ce12f2b1978904175cb31b0f.jpg","text":"TemporaryFile(/tmp/multipartBody2739055346543783793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024228164,"filename":"image_04012025_21_53_02_556126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b443f74faad8a10f1a003f774ffade1d.jpg","text":"TemporaryFile(/tmp/multipartBody5410905129473805251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024228164,"filename":"image_04012025_21_54_02_658363_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/082e423dee406bf38cdcff74fb2a9cb7.jpg","text":"TemporaryFile(/tmp/multipartBody4316701520340267215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024228164,"filename":"image_04012025_21_54_02_658363_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326783023","file1":"1326783021","file0":"1326783019","file4":"1326783031","file5":"1326783033","file3":"1326783027"},"map_files_photo_id_array":[{"photo_id":"1326783033","filename":"file5"},{"photo_id":"1326783023","filename":"file2"},{"photo_id":"1326783031","filename":"file4"},{"photo_id":"1326783021","filename":"file1"},{"photo_id":"1326783019","filename":"file0"},{"photo_id":"1326783027","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326783021":["hashtag1","hashtag2"]},{"1326783023":["hashtag1","hashtag2"]},{"1326783031":["hashtag1","hashtag2"]},{"1326783019":["hashtag1","hashtag2"]},{"1326783033":["hashtag1","hashtag2"]},{"1326783027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326783021, 1326783023, 1326783031, 1326783019, 1326783033, 1326783027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.3107476234436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 21:57:02.683355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0000.jpg', '/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0001.jpg', '/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0002.jpg', '/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0003.jpg', '/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0000.jpg', '/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0000.jpg
/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0001.jpg
/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0002.jpg
/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0003.jpg
/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0000.jpg
/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.884369850158691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 21:57:22.072937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0000.jpg', '/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0001.jpg', '/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0002.jpg', '/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0003.jpg', '/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0000.jpg', '/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0000.jpg
/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0001.jpg
/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0002.jpg
/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0003.jpg
/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0000.jpg
/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0001.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-04 21:59:03.080374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0000.jpg', '/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0001.jpg', '/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0002.jpg', '/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0003.jpg', '/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0000.jpg', '/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0000.jpg
/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0001.jpg
/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0002.jpg
/home/pi/Desktop/images/04012025/21/55/image_04012025_21_55_02_883985_0003.jpg
/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0000.jpg
/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326785686","1326785854","1326785548","1326785635","1326785588","1326786206"],"photo_ids_order":["1326785548","1326785588","1326785635","1326785686","1326785854","1326786206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/11c223c315bd9d6c8e4fc0d0a3ecdf7e.jpg","text":"TemporaryFile(/tmp/multipartBody397068348800359929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024419268,"filename":"image_04012025_21_55_02_883985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/be4325e610ff84642369976d42a3b0df.jpg","text":"TemporaryFile(/tmp/multipartBody1690342537990273347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024419268,"filename":"image_04012025_21_56_03_009355_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/780b031c7cf735bfeedae81253a8f538.jpg","text":"TemporaryFile(/tmp/multipartBody9056741058467701789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024419268,"filename":"image_04012025_21_55_02_883985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0c5331d6d2eb612b402fd0c0d4a6c88f.jpg","text":"TemporaryFile(/tmp/multipartBody3872999330513278621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024419268,"filename":"image_04012025_21_55_02_883985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/75abddd078ddff07a163dde21f6e93c2.jpg","text":"TemporaryFile(/tmp/multipartBody8144133571897141034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024419268,"filename":"image_04012025_21_55_02_883985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/709192d2c6b5e5b96a16a5266e2e2ad2.jpg","text":"TemporaryFile(/tmp/multipartBody4489664670340931521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024419268,"filename":"image_04012025_21_56_03_009355_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326785635","file1":"1326785588","file0":"1326785548","file4":"1326785854","file5":"1326786206","file3":"1326785686"},"map_files_photo_id_array":[{"photo_id":"1326786206","filename":"file5"},{"photo_id":"1326785635","filename":"file2"},{"photo_id":"1326785854","filename":"file4"},{"photo_id":"1326785588","filename":"file1"},{"photo_id":"1326785548","filename":"file0"},{"photo_id":"1326785686","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326785686":["hashtag1","hashtag2"]},{"1326785854":["hashtag1","hashtag2"]},{"1326785548":["hashtag1","hashtag2"]},{"1326785635":["hashtag1","hashtag2"]},{"1326785588":["hashtag1","hashtag2"]},{"1326786206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326785686, 1326785854, 1326785548, 1326785635, 1326785588, 1326786206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.7913453578949 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 22:00:32.650092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0002.jpg', '/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0003.jpg', '/home/pi/Desktop/images/04012025/21/57/image_04012025_21_57_02_257321_0000.jpg', '/home/pi/Desktop/images/04012025/21/57/image_04012025_21_57_02_257321_0001.jpg', '/home/pi/Desktop/images/04012025/21/57/image_04012025_21_57_02_257321_0002.jpg', '/home/pi/Desktop/images/04012025/21/57/image_04012025_21_57_02_257321_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0002.jpg
/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0003.jpg
/home/pi/Desktop/images/04012025/21/57/image_04012025_21_57_02_257321_0000.jpg
/home/pi/Desktop/images/04012025/21/57/image_04012025_21_57_02_257321_0001.jpg
/home/pi/Desktop/images/04012025/21/57/image_04012025_21_57_02_257321_0002.jpg
/home/pi/Desktop/images/04012025/21/57/image_04012025_21_57_02_257321_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.042033910751343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 22:00:52.725839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0002.jpg', '/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0003.jpg', '/home/pi/Desktop/images/04012025/21/57/image_04012025_21_57_02_257321_0000.jpg', '/home/pi/Desktop/images/04012025/21/57/image_04012025_21_57_02_257321_0001.jpg', '/home/pi/Desktop/images/04012025/21/57/image_04012025_21_57_02_257321_0002.jpg', '/home/pi/Desktop/images/04012025/21/57/image_04012025_21_57_02_257321_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0002.jpg
/home/pi/Desktop/images/04012025/21/56/image_04012025_21_56_03_009355_0003.jpg
/home/pi/Desktop/images/04012025/21/57/image_04012025_21_57_02_257321_0000.jpg
/home/pi/Desktop/images/04012025/21/57/image_04012025_21_57_02_257321_0001.jpg
/home/pi/Desktop/images/04012025/21/57/image_04012025_21_57_02_257321_0002.jpg
/home/pi/Desktop/images/04012025/21/57/image_04012025_21_57_02_257321_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326787545","1326787484","1326787311","1326786842","1326786845","1326786982"],"photo_ids_order":["1326786842","1326786845","1326786982","1326787311","1326787484","1326787545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0b40c28b3b6050170a2b89ff407c5263.jpg","text":"TemporaryFile(/tmp/multipartBody9150310828336031822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024528603,"filename":"image_04012025_21_57_02_257321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dea977f8ccd5d419358f81d8f3f25a08.jpg","text":"TemporaryFile(/tmp/multipartBody6211905600299171485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024528603,"filename":"image_04012025_21_57_02_257321_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dad21b2e02b651234c111536438dd262.jpg","text":"TemporaryFile(/tmp/multipartBody9182033941128701260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024528603,"filename":"image_04012025_21_57_02_257321_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0eea0500ef4cf83d4380fd0196118d89.jpg","text":"TemporaryFile(/tmp/multipartBody3143228745637715474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024528603,"filename":"image_04012025_21_56_03_009355_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/353992d10c7974d95b0ff28d899fd5af.jpg","text":"TemporaryFile(/tmp/multipartBody3642544490001045859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024528603,"filename":"image_04012025_21_56_03_009355_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aee233f9027ea2422ad30cd0d60bdd34.jpg","text":"TemporaryFile(/tmp/multipartBody8430639009355902121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024528603,"filename":"image_04012025_21_57_02_257321_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326786982","file1":"1326786845","file0":"1326786842","file4":"1326787484","file5":"1326787545","file3":"1326787311"},"map_files_photo_id_array":[{"photo_id":"1326787545","filename":"file5"},{"photo_id":"1326786982","filename":"file2"},{"photo_id":"1326787484","filename":"file4"},{"photo_id":"1326786845","filename":"file1"},{"photo_id":"1326786842","filename":"file0"},{"photo_id":"1326787311","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326787545":["hashtag1","hashtag2"]},{"1326787484":["hashtag1","hashtag2"]},{"1326787311":["hashtag1","hashtag2"]},{"1326786842":["hashtag1","hashtag2"]},{"1326786845":["hashtag1","hashtag2"]},{"1326786982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326787545, 1326787484, 1326787311, 1326786842, 1326786845, 1326786982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.33467102050781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:02:22.069235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/58/image_04012025_21_58_02_515040_0000.jpg', '/home/pi/Desktop/images/04012025/21/58/image_04012025_21_58_02_515040_0001.jpg', '/home/pi/Desktop/images/04012025/21/58/image_04012025_21_58_02_515040_0002.jpg', '/home/pi/Desktop/images/04012025/21/58/image_04012025_21_58_02_515040_0003.jpg', '/home/pi/Desktop/images/04012025/21/59/image_04012025_21_59_02_628947_0000.jpg', '/home/pi/Desktop/images/04012025/21/59/image_04012025_21_59_02_628947_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/58/image_04012025_21_58_02_515040_0000.jpg
/home/pi/Desktop/images/04012025/21/58/image_04012025_21_58_02_515040_0001.jpg
/home/pi/Desktop/images/04012025/21/58/image_04012025_21_58_02_515040_0002.jpg
/home/pi/Desktop/images/04012025/21/58/image_04012025_21_58_02_515040_0003.jpg
/home/pi/Desktop/images/04012025/21/59/image_04012025_21_59_02_628947_0000.jpg
/home/pi/Desktop/images/04012025/21/59/image_04012025_21_59_02_628947_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326787944","1326787830","1326787905","1326788210","1326788009","1326788137"],"photo_ids_order":["1326787830","1326787905","1326787944","1326788009","1326788137","1326788210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5aa1d7afd6e5d6cd2e5d1d01edb07c67.jpg","text":"TemporaryFile(/tmp/multipartBody5556159898574760524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024618452,"filename":"image_04012025_21_58_02_515040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cb9556ba68a99da60a4321086de955a0.jpg","text":"TemporaryFile(/tmp/multipartBody5531262025269264263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024618452,"filename":"image_04012025_21_58_02_515040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd488efd3dae405302e35c61804e2e15.jpg","text":"TemporaryFile(/tmp/multipartBody5525331932524905628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024618452,"filename":"image_04012025_21_58_02_515040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ad2b94892eb41553e9b17ef8d94fab83.jpg","text":"TemporaryFile(/tmp/multipartBody8031577965500481793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024618452,"filename":"image_04012025_21_59_02_628947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6da6f0e16fdb315a5bf470a4458a41c1.jpg","text":"TemporaryFile(/tmp/multipartBody3540745880946288218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024618452,"filename":"image_04012025_21_58_02_515040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2956456324072c774d2feede7e58c22a.jpg","text":"TemporaryFile(/tmp/multipartBody3590311492374750390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024618452,"filename":"image_04012025_21_59_02_628947_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326787944","file1":"1326787905","file0":"1326787830","file4":"1326788137","file5":"1326788210","file3":"1326788009"},"map_files_photo_id_array":[{"photo_id":"1326788210","filename":"file5"},{"photo_id":"1326787944","filename":"file2"},{"photo_id":"1326788137","filename":"file4"},{"photo_id":"1326787905","filename":"file1"},{"photo_id":"1326787830","filename":"file0"},{"photo_id":"1326788009","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326787944":["hashtag1","hashtag2"]},{"1326787830":["hashtag1","hashtag2"]},{"1326787905":["hashtag1","hashtag2"]},{"1326788210":["hashtag1","hashtag2"]},{"1326788009":["hashtag1","hashtag2"]},{"1326788137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326787944, 1326787830, 1326787905, 1326788210, 1326788009, 1326788137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.22067785263062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 22:03:52.361027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/21/59/image_04012025_21_59_02_628947_0002.jpg', '/home/pi/Desktop/images/04012025/21/59/image_04012025_21_59_02_628947_0003.jpg', '/home/pi/Desktop/images/04012025/22/00/image_04012025_22_00_02_921763_0000.jpg', '/home/pi/Desktop/images/04012025/22/00/image_04012025_22_00_02_921763_0001.jpg', '/home/pi/Desktop/images/04012025/22/00/image_04012025_22_00_02_921763_0002.jpg', '/home/pi/Desktop/images/04012025/22/00/image_04012025_22_00_02_921763_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/21/59/image_04012025_21_59_02_628947_0002.jpg
/home/pi/Desktop/images/04012025/21/59/image_04012025_21_59_02_628947_0003.jpg
/home/pi/Desktop/images/04012025/22/00/image_04012025_22_00_02_921763_0000.jpg
/home/pi/Desktop/images/04012025/22/00/image_04012025_22_00_02_921763_0001.jpg
/home/pi/Desktop/images/04012025/22/00/image_04012025_22_00_02_921763_0002.jpg
/home/pi/Desktop/images/04012025/22/00/image_04012025_22_00_02_921763_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326788541","1326788409","1326788510","1326788539","1326788530","1326788454"],"photo_ids_order":["1326788409","1326788454","1326788510","1326788530","1326788539","1326788541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3332739cdc3e18f6f34ac2ebb6984ae2.jpg","text":"TemporaryFile(/tmp/multipartBody6257354270722375317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024708992,"filename":"image_04012025_22_00_02_921763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/48c8bb1ebb743582a4b230a729bbc58e.jpg","text":"TemporaryFile(/tmp/multipartBody3852322769167183745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024708992,"filename":"image_04012025_21_59_02_628947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9fb78b8d86fc0e18a7f051aa3bff4940.jpg","text":"TemporaryFile(/tmp/multipartBody749339989608232611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024708992,"filename":"image_04012025_22_00_02_921763_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/45da1cf786c801caaa7566d1ed0d1bd6.jpg","text":"TemporaryFile(/tmp/multipartBody7065128536702391712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024708992,"filename":"image_04012025_22_00_02_921763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a9c64ab98dc101acd1180b2cec1fb5de.jpg","text":"TemporaryFile(/tmp/multipartBody672675023808387015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024708992,"filename":"image_04012025_22_00_02_921763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e383043814ed70717dfd0a0a21fb3877.jpg","text":"TemporaryFile(/tmp/multipartBody6782408189940398877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024708992,"filename":"image_04012025_21_59_02_628947_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326788510","file1":"1326788454","file0":"1326788409","file4":"1326788539","file5":"1326788541","file3":"1326788530"},"map_files_photo_id_array":[{"photo_id":"1326788541","filename":"file5"},{"photo_id":"1326788510","filename":"file2"},{"photo_id":"1326788539","filename":"file4"},{"photo_id":"1326788454","filename":"file1"},{"photo_id":"1326788409","filename":"file0"},{"photo_id":"1326788530","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326788541":["hashtag1","hashtag2"]},{"1326788409":["hashtag1","hashtag2"]},{"1326788510":["hashtag1","hashtag2"]},{"1326788539":["hashtag1","hashtag2"]},{"1326788530":["hashtag1","hashtag2"]},{"1326788454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326788541, 1326788409, 1326788510, 1326788539, 1326788530, 1326788454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.13318729400635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:05:22.687261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/01/image_04012025_22_01_03_047192_0000.jpg', '/home/pi/Desktop/images/04012025/22/01/image_04012025_22_01_03_047192_0001.jpg', '/home/pi/Desktop/images/04012025/22/01/image_04012025_22_01_03_047192_0002.jpg', '/home/pi/Desktop/images/04012025/22/01/image_04012025_22_01_03_047192_0003.jpg', '/home/pi/Desktop/images/04012025/22/02/image_04012025_22_02_02_291387_0000.jpg', '/home/pi/Desktop/images/04012025/22/02/image_04012025_22_02_02_291387_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/01/image_04012025_22_01_03_047192_0000.jpg
/home/pi/Desktop/images/04012025/22/01/image_04012025_22_01_03_047192_0001.jpg
/home/pi/Desktop/images/04012025/22/01/image_04012025_22_01_03_047192_0002.jpg
/home/pi/Desktop/images/04012025/22/01/image_04012025_22_01_03_047192_0003.jpg
/home/pi/Desktop/images/04012025/22/02/image_04012025_22_02_02_291387_0000.jpg
/home/pi/Desktop/images/04012025/22/02/image_04012025_22_02_02_291387_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326789788","1326789467","1326789685","1326788732","1326788549","1326788548"],"photo_ids_order":["1326788548","1326788549","1326788732","1326789467","1326789685","1326789788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/27b140e52ed912408635b459348efa4c.jpg","text":"TemporaryFile(/tmp/multipartBody3644203285569954357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024806832,"filename":"image_04012025_22_02_02_291387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1619c53fd0175a070525abff7550fb93.jpg","text":"TemporaryFile(/tmp/multipartBody6442089000088704523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024806832,"filename":"image_04012025_22_01_03_047192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7cffa43a7abe7eaab1227d68465d77c3.jpg","text":"TemporaryFile(/tmp/multipartBody6847302375068972508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024806832,"filename":"image_04012025_22_02_02_291387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2770e151aee1d1e2388083f293c23526.jpg","text":"TemporaryFile(/tmp/multipartBody7416222836315858396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024806832,"filename":"image_04012025_22_01_03_047192_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2515e32b992aa207d84193c944180cf4.jpg","text":"TemporaryFile(/tmp/multipartBody325189076355185110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024806832,"filename":"image_04012025_22_01_03_047192_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d312fa5f178a3335e82790eb951ad6b3.jpg","text":"TemporaryFile(/tmp/multipartBody434531414969986092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024806832,"filename":"image_04012025_22_01_03_047192_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326788732","file1":"1326788549","file0":"1326788548","file4":"1326789685","file5":"1326789788","file3":"1326789467"},"map_files_photo_id_array":[{"photo_id":"1326789788","filename":"file5"},{"photo_id":"1326788732","filename":"file2"},{"photo_id":"1326789685","filename":"file4"},{"photo_id":"1326788549","filename":"file1"},{"photo_id":"1326788548","filename":"file0"},{"photo_id":"1326789467","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326789788":["hashtag1","hashtag2"]},{"1326789467":["hashtag1","hashtag2"]},{"1326789685":["hashtag1","hashtag2"]},{"1326788732":["hashtag1","hashtag2"]},{"1326788549":["hashtag1","hashtag2"]},{"1326788548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326789788, 1326789467, 1326789685, 1326788732, 1326788549, 1326788548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.71985912322998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 22:07:02.572430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/02/image_04012025_22_02_02_291387_0002.jpg', '/home/pi/Desktop/images/04012025/22/02/image_04012025_22_02_02_291387_0003.jpg', '/home/pi/Desktop/images/04012025/22/03/image_04012025_22_03_02_391223_0000.jpg', '/home/pi/Desktop/images/04012025/22/03/image_04012025_22_03_02_391223_0001.jpg', '/home/pi/Desktop/images/04012025/22/03/image_04012025_22_03_02_391223_0002.jpg', '/home/pi/Desktop/images/04012025/22/03/image_04012025_22_03_02_391223_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/02/image_04012025_22_02_02_291387_0002.jpg
/home/pi/Desktop/images/04012025/22/02/image_04012025_22_02_02_291387_0003.jpg
/home/pi/Desktop/images/04012025/22/03/image_04012025_22_03_02_391223_0000.jpg
/home/pi/Desktop/images/04012025/22/03/image_04012025_22_03_02_391223_0001.jpg
/home/pi/Desktop/images/04012025/22/03/image_04012025_22_03_02_391223_0002.jpg
/home/pi/Desktop/images/04012025/22/03/image_04012025_22_03_02_391223_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326790506","1326790529","1326790103","1326790588","1326790587","1326789852"],"photo_ids_order":["1326789852","1326790103","1326790506","1326790529","1326790587","1326790588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5e6dc2db8fc559b644edc623741fcd79.jpg","text":"TemporaryFile(/tmp/multipartBody6830771495448150980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024899406,"filename":"image_04012025_22_03_02_391223_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e26aa5ad3f97899aaece1d9de214303a.jpg","text":"TemporaryFile(/tmp/multipartBody1586977094813959045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024899406,"filename":"image_04012025_22_03_02_391223_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/501160c77ffd625e23c1719935f3c813.jpg","text":"TemporaryFile(/tmp/multipartBody7825339886126826108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024899406,"filename":"image_04012025_22_02_02_291387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9cc5c0b7729ca83a122f9cc98b3514e0.jpg","text":"TemporaryFile(/tmp/multipartBody1216797609043145776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024899406,"filename":"image_04012025_22_03_02_391223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9306d0481d7d8cdd898ddd483133734f.jpg","text":"TemporaryFile(/tmp/multipartBody7259043203550835817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024899406,"filename":"image_04012025_22_03_02_391223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6bc2c666120490072a81c1d8616d4ece.jpg","text":"TemporaryFile(/tmp/multipartBody4252850731075151867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024899406,"filename":"image_04012025_22_02_02_291387_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326790506","file1":"1326790103","file0":"1326789852","file4":"1326790587","file5":"1326790588","file3":"1326790529"},"map_files_photo_id_array":[{"photo_id":"1326790588","filename":"file5"},{"photo_id":"1326790506","filename":"file2"},{"photo_id":"1326790587","filename":"file4"},{"photo_id":"1326790103","filename":"file1"},{"photo_id":"1326789852","filename":"file0"},{"photo_id":"1326790529","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326790506":["hashtag1","hashtag2"]},{"1326790529":["hashtag1","hashtag2"]},{"1326790103":["hashtag1","hashtag2"]},{"1326790588":["hashtag1","hashtag2"]},{"1326790587":["hashtag1","hashtag2"]},{"1326789852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326790506, 1326790529, 1326790103, 1326790588, 1326790587, 1326789852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.03077292442322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 22:08:32.294129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/04/image_04012025_22_04_02_644336_0000.jpg', '/home/pi/Desktop/images/04012025/22/04/image_04012025_22_04_02_644336_0001.jpg', '/home/pi/Desktop/images/04012025/22/04/image_04012025_22_04_02_644336_0002.jpg', '/home/pi/Desktop/images/04012025/22/04/image_04012025_22_04_02_644336_0003.jpg', '/home/pi/Desktop/images/04012025/22/05/image_04012025_22_05_02_921431_0000.jpg', '/home/pi/Desktop/images/04012025/22/05/image_04012025_22_05_02_921431_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/04/image_04012025_22_04_02_644336_0000.jpg
/home/pi/Desktop/images/04012025/22/04/image_04012025_22_04_02_644336_0001.jpg
/home/pi/Desktop/images/04012025/22/04/image_04012025_22_04_02_644336_0002.jpg
/home/pi/Desktop/images/04012025/22/04/image_04012025_22_04_02_644336_0003.jpg
/home/pi/Desktop/images/04012025/22/05/image_04012025_22_05_02_921431_0000.jpg
/home/pi/Desktop/images/04012025/22/05/image_04012025_22_05_02_921431_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326791555","1326791549","1326791332","1326791442","1326791172","1326791445"],"photo_ids_order":["1326791172","1326791332","1326791442","1326791445","1326791549","1326791555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce76823e5aaba959bba413843c640478.jpg","text":"TemporaryFile(/tmp/multipartBody9001712080007243525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024988605,"filename":"image_04012025_22_05_02_921431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a3f63fe323cfc33e50f8eaa6c21bbcbd.jpg","text":"TemporaryFile(/tmp/multipartBody3190663335480196160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024988605,"filename":"image_04012025_22_05_02_921431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fbcd08789d05f513e5f4703585d84d47.jpg","text":"TemporaryFile(/tmp/multipartBody1496875689680343181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024988605,"filename":"image_04012025_22_04_02_644336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/65bc887846b6b603b2a7691b8981ed9d.jpg","text":"TemporaryFile(/tmp/multipartBody5621681349687606349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024988605,"filename":"image_04012025_22_04_02_644336_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca4e488045be0aa3dbc8699d2340c13d.jpg","text":"TemporaryFile(/tmp/multipartBody713303104187098894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024988605,"filename":"image_04012025_22_04_02_644336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9f88f36c6fbd229a20d05098b410f03e.jpg","text":"TemporaryFile(/tmp/multipartBody632499517240424488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736024988605,"filename":"image_04012025_22_04_02_644336_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326791442","file1":"1326791332","file0":"1326791172","file4":"1326791549","file5":"1326791555","file3":"1326791445"},"map_files_photo_id_array":[{"photo_id":"1326791555","filename":"file5"},{"photo_id":"1326791442","filename":"file2"},{"photo_id":"1326791549","filename":"file4"},{"photo_id":"1326791332","filename":"file1"},{"photo_id":"1326791172","filename":"file0"},{"photo_id":"1326791445","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326791555":["hashtag1","hashtag2"]},{"1326791549":["hashtag1","hashtag2"]},{"1326791332":["hashtag1","hashtag2"]},{"1326791442":["hashtag1","hashtag2"]},{"1326791172":["hashtag1","hashtag2"]},{"1326791445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326791555, 1326791549, 1326791332, 1326791442, 1326791172, 1326791445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.87113809585571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 22:09:52.340792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/05/image_04012025_22_05_02_921431_0002.jpg', '/home/pi/Desktop/images/04012025/22/05/image_04012025_22_05_02_921431_0003.jpg', '/home/pi/Desktop/images/04012025/22/06/image_04012025_22_06_03_036093_0000.jpg', '/home/pi/Desktop/images/04012025/22/06/image_04012025_22_06_03_036093_0001.jpg', '/home/pi/Desktop/images/04012025/22/06/image_04012025_22_06_03_036093_0002.jpg', '/home/pi/Desktop/images/04012025/22/06/image_04012025_22_06_03_036093_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/05/image_04012025_22_05_02_921431_0002.jpg
/home/pi/Desktop/images/04012025/22/05/image_04012025_22_05_02_921431_0003.jpg
/home/pi/Desktop/images/04012025/22/06/image_04012025_22_06_03_036093_0000.jpg
/home/pi/Desktop/images/04012025/22/06/image_04012025_22_06_03_036093_0001.jpg
/home/pi/Desktop/images/04012025/22/06/image_04012025_22_06_03_036093_0002.jpg
/home/pi/Desktop/images/04012025/22/06/image_04012025_22_06_03_036093_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326792503","1326793302","1326792420","1326792801","1326792152","1326792074"],"photo_ids_order":["1326792074","1326792152","1326792420","1326792503","1326792801","1326793302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bbfe7bc19f753f2809adc0696eea9c9f.jpg","text":"TemporaryFile(/tmp/multipartBody559074973153141039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025068599,"filename":"image_04012025_22_06_03_036093_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/db19e36d80a1de2100b6c4b1a9f5a0cd.jpg","text":"TemporaryFile(/tmp/multipartBody2762619202764287253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025068599,"filename":"image_04012025_22_06_03_036093_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e37c87b98aa9c4d963b07f2080cadde6.jpg","text":"TemporaryFile(/tmp/multipartBody7292106493102708859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025068599,"filename":"image_04012025_22_06_03_036093_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f70eaa12cb39b5755ebdc8b67a79e643.jpg","text":"TemporaryFile(/tmp/multipartBody6813599172451471274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025068599,"filename":"image_04012025_22_06_03_036093_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9995113d9602725267dfdc5ba6f92867.jpg","text":"TemporaryFile(/tmp/multipartBody9098814580108028973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025068599,"filename":"image_04012025_22_05_02_921431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6b16eac491d91174b2f436215103e485.jpg","text":"TemporaryFile(/tmp/multipartBody2718505676698355727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025068599,"filename":"image_04012025_22_05_02_921431_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326792420","file1":"1326792152","file0":"1326792074","file4":"1326792801","file5":"1326793302","file3":"1326792503"},"map_files_photo_id_array":[{"photo_id":"1326793302","filename":"file5"},{"photo_id":"1326792420","filename":"file2"},{"photo_id":"1326792801","filename":"file4"},{"photo_id":"1326792152","filename":"file1"},{"photo_id":"1326792074","filename":"file0"},{"photo_id":"1326792503","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326792503":["hashtag1","hashtag2"]},{"1326793302":["hashtag1","hashtag2"]},{"1326792420":["hashtag1","hashtag2"]},{"1326792801":["hashtag1","hashtag2"]},{"1326792152":["hashtag1","hashtag2"]},{"1326792074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326792503, 1326793302, 1326792420, 1326792801, 1326792152, 1326792074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.95751142501831 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:11:22.784424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/07/image_04012025_22_07_02_212300_0000.jpg', '/home/pi/Desktop/images/04012025/22/07/image_04012025_22_07_02_212300_0001.jpg', '/home/pi/Desktop/images/04012025/22/07/image_04012025_22_07_02_212300_0002.jpg', '/home/pi/Desktop/images/04012025/22/07/image_04012025_22_07_02_212300_0003.jpg', '/home/pi/Desktop/images/04012025/22/08/image_04012025_22_08_02_454048_0000.jpg', '/home/pi/Desktop/images/04012025/22/08/image_04012025_22_08_02_454048_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/07/image_04012025_22_07_02_212300_0000.jpg
/home/pi/Desktop/images/04012025/22/07/image_04012025_22_07_02_212300_0001.jpg
/home/pi/Desktop/images/04012025/22/07/image_04012025_22_07_02_212300_0002.jpg
/home/pi/Desktop/images/04012025/22/07/image_04012025_22_07_02_212300_0003.jpg
/home/pi/Desktop/images/04012025/22/08/image_04012025_22_08_02_454048_0000.jpg
/home/pi/Desktop/images/04012025/22/08/image_04012025_22_08_02_454048_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326793783","1326793759","1326794160","1326794162","1326793772","1326793940"],"photo_ids_order":["1326793759","1326793772","1326793783","1326793940","1326794160","1326794162"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e248cc81fa0d705f69a3af992db91cb6.jpg","text":"TemporaryFile(/tmp/multipartBody7279104319923339322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025165345,"filename":"image_04012025_22_07_02_212300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/68dbe540acc76abdde80510c2396c41c.jpg","text":"TemporaryFile(/tmp/multipartBody5279818179625968594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025165345,"filename":"image_04012025_22_07_02_212300_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/036d6bc2a9a4ac408062081b93f89462.jpg","text":"TemporaryFile(/tmp/multipartBody7908200161938973876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025165345,"filename":"image_04012025_22_08_02_454048_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd08620292fe0af54bc82044105ad903.jpg","text":"TemporaryFile(/tmp/multipartBody5554523988733291677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025165345,"filename":"image_04012025_22_08_02_454048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e574b247aea6b963f084146eadeea266.jpg","text":"TemporaryFile(/tmp/multipartBody867508235097772170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025165345,"filename":"image_04012025_22_07_02_212300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3e60e7efb7210f212e1680cac79523e5.jpg","text":"TemporaryFile(/tmp/multipartBody7910194900567690066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025165345,"filename":"image_04012025_22_07_02_212300_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326793783","file1":"1326793772","file0":"1326793759","file4":"1326794160","file5":"1326794162","file3":"1326793940"},"map_files_photo_id_array":[{"photo_id":"1326794162","filename":"file5"},{"photo_id":"1326793783","filename":"file2"},{"photo_id":"1326794160","filename":"file4"},{"photo_id":"1326793772","filename":"file1"},{"photo_id":"1326793759","filename":"file0"},{"photo_id":"1326793940","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326793783":["hashtag1","hashtag2"]},{"1326793759":["hashtag1","hashtag2"]},{"1326794160":["hashtag1","hashtag2"]},{"1326794162":["hashtag1","hashtag2"]},{"1326793772":["hashtag1","hashtag2"]},{"1326793940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326793783, 1326793759, 1326794160, 1326794162, 1326793772, 1326793940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.19378066062927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 22:12:51.911217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/08/image_04012025_22_08_02_454048_0002.jpg', '/home/pi/Desktop/images/04012025/22/08/image_04012025_22_08_02_454048_0003.jpg', '/home/pi/Desktop/images/04012025/22/09/image_04012025_22_09_02_646259_0000.jpg', '/home/pi/Desktop/images/04012025/22/09/image_04012025_22_09_02_646259_0001.jpg', '/home/pi/Desktop/images/04012025/22/09/image_04012025_22_09_02_646259_0002.jpg', '/home/pi/Desktop/images/04012025/22/09/image_04012025_22_09_02_646259_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/08/image_04012025_22_08_02_454048_0002.jpg
/home/pi/Desktop/images/04012025/22/08/image_04012025_22_08_02_454048_0003.jpg
/home/pi/Desktop/images/04012025/22/09/image_04012025_22_09_02_646259_0000.jpg
/home/pi/Desktop/images/04012025/22/09/image_04012025_22_09_02_646259_0001.jpg
/home/pi/Desktop/images/04012025/22/09/image_04012025_22_09_02_646259_0002.jpg
/home/pi/Desktop/images/04012025/22/09/image_04012025_22_09_02_646259_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326795273","1326795584","1326795485","1326795560","1326795815","1326795416"],"photo_ids_order":["1326795273","1326795416","1326795485","1326795560","1326795584","1326795815"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f9d8bc01e985206f974faa5adf5f9f20.jpg","text":"TemporaryFile(/tmp/multipartBody1558706989118646837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025247749,"filename":"image_04012025_22_08_02_454048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f3708a6b4c76ef00d42e3ce6df18f63f.jpg","text":"TemporaryFile(/tmp/multipartBody5788495000898425842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025247749,"filename":"image_04012025_22_09_02_646259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/758b2d892d146b44ad0a077e97438452.jpg","text":"TemporaryFile(/tmp/multipartBody455492533538395676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025247749,"filename":"image_04012025_22_09_02_646259_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5795f4bb9402f24b6a8cf4a567784027.jpg","text":"TemporaryFile(/tmp/multipartBody3644423540768407809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025247749,"filename":"image_04012025_22_09_02_646259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/08aee542ee7581543bbfac9ac2d500fd.jpg","text":"TemporaryFile(/tmp/multipartBody8969615027149857629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025247749,"filename":"image_04012025_22_09_02_646259_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c135e5f701bd90e9b85d385fce48d63a.jpg","text":"TemporaryFile(/tmp/multipartBody6197222452436531051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025247749,"filename":"image_04012025_22_08_02_454048_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326795485","file1":"1326795416","file0":"1326795273","file4":"1326795584","file5":"1326795815","file3":"1326795560"},"map_files_photo_id_array":[{"photo_id":"1326795815","filename":"file5"},{"photo_id":"1326795485","filename":"file2"},{"photo_id":"1326795584","filename":"file4"},{"photo_id":"1326795416","filename":"file1"},{"photo_id":"1326795273","filename":"file0"},{"photo_id":"1326795560","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326795273":["hashtag1","hashtag2"]},{"1326795584":["hashtag1","hashtag2"]},{"1326795485":["hashtag1","hashtag2"]},{"1326795560":["hashtag1","hashtag2"]},{"1326795815":["hashtag1","hashtag2"]},{"1326795416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326795273, 1326795584, 1326795485, 1326795560, 1326795815, 1326795416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.27251100540161 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:14:22.352909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/10/image_04012025_22_10_02_816258_0000.jpg', '/home/pi/Desktop/images/04012025/22/10/image_04012025_22_10_02_816258_0001.jpg', '/home/pi/Desktop/images/04012025/22/10/image_04012025_22_10_02_816258_0002.jpg', '/home/pi/Desktop/images/04012025/22/10/image_04012025_22_10_02_816258_0003.jpg', '/home/pi/Desktop/images/04012025/22/11/image_04012025_22_11_02_878698_0000.jpg', '/home/pi/Desktop/images/04012025/22/11/image_04012025_22_11_02_878698_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/10/image_04012025_22_10_02_816258_0000.jpg
/home/pi/Desktop/images/04012025/22/10/image_04012025_22_10_02_816258_0001.jpg
/home/pi/Desktop/images/04012025/22/10/image_04012025_22_10_02_816258_0002.jpg
/home/pi/Desktop/images/04012025/22/10/image_04012025_22_10_02_816258_0003.jpg
/home/pi/Desktop/images/04012025/22/11/image_04012025_22_11_02_878698_0000.jpg
/home/pi/Desktop/images/04012025/22/11/image_04012025_22_11_02_878698_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326795915","1326795924","1326795927","1326796480","1326796192","1326796074"],"photo_ids_order":["1326795915","1326795924","1326795927","1326796074","1326796192","1326796480"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/00a866a9c53526c3870439d0fcc04306.jpg","text":"TemporaryFile(/tmp/multipartBody14781718020346762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025337968,"filename":"image_04012025_22_10_02_816258_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fac130ceb41f9c8c9aa7fd0f3de3332f.jpg","text":"TemporaryFile(/tmp/multipartBody6668758869610437496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025337968,"filename":"image_04012025_22_10_02_816258_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0bde7b871a9e5358b75821c11c9ac9c0.jpg","text":"TemporaryFile(/tmp/multipartBody8737475690506921043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025337968,"filename":"image_04012025_22_10_02_816258_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/47f9114cd2fc64abb6548e0d04f2a761.jpg","text":"TemporaryFile(/tmp/multipartBody3549239562619263576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025337968,"filename":"image_04012025_22_11_02_878698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/87889fa59437f9de0200085031ce0f66.jpg","text":"TemporaryFile(/tmp/multipartBody974459648019082941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025337968,"filename":"image_04012025_22_11_02_878698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/432fab934820460508d7e84255c2ed45.jpg","text":"TemporaryFile(/tmp/multipartBody5855500968094648292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025337968,"filename":"image_04012025_22_10_02_816258_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326795927","file1":"1326795924","file0":"1326795915","file4":"1326796192","file5":"1326796480","file3":"1326796074"},"map_files_photo_id_array":[{"photo_id":"1326796480","filename":"file5"},{"photo_id":"1326795927","filename":"file2"},{"photo_id":"1326796192","filename":"file4"},{"photo_id":"1326795924","filename":"file1"},{"photo_id":"1326795915","filename":"file0"},{"photo_id":"1326796074","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326795915":["hashtag1","hashtag2"]},{"1326795924":["hashtag1","hashtag2"]},{"1326795927":["hashtag1","hashtag2"]},{"1326796480":["hashtag1","hashtag2"]},{"1326796192":["hashtag1","hashtag2"]},{"1326796074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326795915, 1326795924, 1326795927, 1326796480, 1326796192, 1326796074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.8588514328003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 22:15:32.513996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/11/image_04012025_22_11_02_878698_0002.jpg', '/home/pi/Desktop/images/04012025/22/11/image_04012025_22_11_02_878698_0003.jpg', '/home/pi/Desktop/images/04012025/22/12/image_04012025_22_12_03_083208_0000.jpg', '/home/pi/Desktop/images/04012025/22/12/image_04012025_22_12_03_083208_0001.jpg', '/home/pi/Desktop/images/04012025/22/12/image_04012025_22_12_03_083208_0002.jpg', '/home/pi/Desktop/images/04012025/22/13/image_04012025_22_13_02_337125_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/11/image_04012025_22_11_02_878698_0002.jpg
/home/pi/Desktop/images/04012025/22/11/image_04012025_22_11_02_878698_0003.jpg
/home/pi/Desktop/images/04012025/22/12/image_04012025_22_12_03_083208_0000.jpg
/home/pi/Desktop/images/04012025/22/12/image_04012025_22_12_03_083208_0001.jpg
/home/pi/Desktop/images/04012025/22/12/image_04012025_22_12_03_083208_0002.jpg
/home/pi/Desktop/images/04012025/22/13/image_04012025_22_13_02_337125_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":["1326798023","1326797794","1326797884","1326797791","1326797788","1326798030"],"photo_ids_order":["1326797788","1326797791","1326797794","1326797884","1326798023","1326798030"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d43cae080d8e99aaa4c2c8ce29155cbc.jpg","text":"TemporaryFile(/tmp/multipartBody1916022003199389337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025408832,"filename":"image_04012025_22_12_03_083208_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4bdd4dc7b43205a5337e4357ec925d79.jpg","text":"TemporaryFile(/tmp/multipartBody1496604319024867843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025408832,"filename":"image_04012025_22_12_03_083208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/03ec531b887358e57ec5b375b68ce7a7.jpg","text":"TemporaryFile(/tmp/multipartBody7684766311177800795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025408832,"filename":"image_04012025_22_12_03_083208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6b302423ac28163f32e07e0591b28291.jpg","text":"TemporaryFile(/tmp/multipartBody5759008740324353687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025408832,"filename":"image_04012025_22_11_02_878698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4597a86e70c9908279063422b21b6d59.jpg","text":"TemporaryFile(/tmp/multipartBody3643912952861677213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025408832,"filename":"image_04012025_22_11_02_878698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/34b0b3b259a3d6d36bd0e9ac43f40847.jpg","text":"TemporaryFile(/tmp/multipartBody7486746805479181341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025408832,"filename":"image_04012025_22_13_02_337125_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326797794","file1":"1326797791","file0":"1326797788","file4":"1326798023","file5":"1326798030","file3":"1326797884"},"map_files_photo_id_array":[{"photo_id":"1326798030","filename":"file5"},{"photo_id":"1326797794","filename":"file2"},{"photo_id":"1326798023","filename":"file4"},{"photo_id":"1326797791","filename":"file1"},{"photo_id":"1326797788","filename":"file0"},{"photo_id":"1326797884","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326798023":["hashtag1","hashtag2"]},{"1326797794":["hashtag1","hashtag2"]},{"1326797884":["hashtag1","hashtag2"]},{"1326797791":["hashtag1","hashtag2"]},{"1326797788":["hashtag1","hashtag2"]},{"1326798030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326798023, 1326797794, 1326797884, 1326797791, 1326797788, 1326798030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.42166185379028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 22:16:42.727977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/13/image_04012025_22_13_02_337125_0001.jpg', '/home/pi/Desktop/images/04012025/22/13/image_04012025_22_13_02_337125_0002.jpg', '/home/pi/Desktop/images/04012025/22/13/image_04012025_22_13_02_337125_0003.jpg', '/home/pi/Desktop/images/04012025/22/14/image_04012025_22_14_02_510777_0000.jpg', '/home/pi/Desktop/images/04012025/22/14/image_04012025_22_14_02_510777_0001.jpg', '/home/pi/Desktop/images/04012025/22/14/image_04012025_22_14_02_510777_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/13/image_04012025_22_13_02_337125_0001.jpg
/home/pi/Desktop/images/04012025/22/13/image_04012025_22_13_02_337125_0002.jpg
/home/pi/Desktop/images/04012025/22/13/image_04012025_22_13_02_337125_0003.jpg
/home/pi/Desktop/images/04012025/22/14/image_04012025_22_14_02_510777_0000.jpg
/home/pi/Desktop/images/04012025/22/14/image_04012025_22_14_02_510777_0001.jpg
/home/pi/Desktop/images/04012025/22/14/image_04012025_22_14_02_510777_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326798215","1326798492","1326798346","1326798447","1326798216","1326798497"],"photo_ids_order":["1326798215","1326798216","1326798346","1326798447","1326798492","1326798497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/05dd8ec74f2e4bfe65b10b6dbaf2719d.jpg","text":"TemporaryFile(/tmp/multipartBody730403276153533162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025478344,"filename":"image_04012025_22_13_02_337125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/63b80b7a3056d5adb6b521814e69bb0a.jpg","text":"TemporaryFile(/tmp/multipartBody3465290192984573434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025478344,"filename":"image_04012025_22_14_02_510777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7ac61e748219169e36897a8c5f27f848.jpg","text":"TemporaryFile(/tmp/multipartBody1349767360170540735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025478344,"filename":"image_04012025_22_13_02_337125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e71de1f9c544e71c20f160aeac6808a5.jpg","text":"TemporaryFile(/tmp/multipartBody5620459392630807328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025478344,"filename":"image_04012025_22_14_02_510777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f0c023e9ac07c11b144c51b0c8d8fdd5.jpg","text":"TemporaryFile(/tmp/multipartBody7237841674211708591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025478344,"filename":"image_04012025_22_13_02_337125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6537d6c4e7238aa6578c4ba9c56dc088.jpg","text":"TemporaryFile(/tmp/multipartBody6971741191521402051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025478344,"filename":"image_04012025_22_14_02_510777_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326798346","file1":"1326798216","file0":"1326798215","file4":"1326798492","file5":"1326798497","file3":"1326798447"},"map_files_photo_id_array":[{"photo_id":"1326798497","filename":"file5"},{"photo_id":"1326798346","filename":"file2"},{"photo_id":"1326798492","filename":"file4"},{"photo_id":"1326798216","filename":"file1"},{"photo_id":"1326798215","filename":"file0"},{"photo_id":"1326798447","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326798215":["hashtag1","hashtag2"]},{"1326798492":["hashtag1","hashtag2"]},{"1326798346":["hashtag1","hashtag2"]},{"1326798447":["hashtag1","hashtag2"]},{"1326798216":["hashtag1","hashtag2"]},{"1326798497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326798215, 1326798492, 1326798346, 1326798447, 1326798216, 1326798497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.0482087135315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 22:17:51.885355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/14/image_04012025_22_14_02_510777_0003.jpg', '/home/pi/Desktop/images/04012025/22/15/image_04012025_22_15_02_702050_0000.jpg', '/home/pi/Desktop/images/04012025/22/15/image_04012025_22_15_02_702050_0001.jpg', '/home/pi/Desktop/images/04012025/22/15/image_04012025_22_15_02_702050_0002.jpg', '/home/pi/Desktop/images/04012025/22/15/image_04012025_22_15_02_702050_0003.jpg', '/home/pi/Desktop/images/04012025/22/16/image_04012025_22_16_02_877079_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/14/image_04012025_22_14_02_510777_0003.jpg
/home/pi/Desktop/images/04012025/22/15/image_04012025_22_15_02_702050_0000.jpg
/home/pi/Desktop/images/04012025/22/15/image_04012025_22_15_02_702050_0001.jpg
/home/pi/Desktop/images/04012025/22/15/image_04012025_22_15_02_702050_0002.jpg
/home/pi/Desktop/images/04012025/22/15/image_04012025_22_15_02_702050_0003.jpg
/home/pi/Desktop/images/04012025/22/16/image_04012025_22_16_02_877079_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":["1326799855","1326799330","1326799201","1326799896","1326799662","1326799199"],"photo_ids_order":["1326799199","1326799201","1326799330","1326799662","1326799855","1326799896"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/73435e9cf44499c5ae65265f7a3719ce.jpg","text":"TemporaryFile(/tmp/multipartBody1873119852806526823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025547821,"filename":"image_04012025_22_15_02_702050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3185b4edc7f48ef119e2aff371be8580.jpg","text":"TemporaryFile(/tmp/multipartBody4979334021606484037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025547821,"filename":"image_04012025_22_15_02_702050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/38f93172eb4c5891bfbe695580b39ce7.jpg","text":"TemporaryFile(/tmp/multipartBody3324568345081072294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025547821,"filename":"image_04012025_22_15_02_702050_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bc0a3eb912dcbd495970c0c49db0801f.jpg","text":"TemporaryFile(/tmp/multipartBody4635306196847226672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025547821,"filename":"image_04012025_22_16_02_877079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/77cf2f3fd27262738302c262dfeba343.jpg","text":"TemporaryFile(/tmp/multipartBody3933631857798008612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025547821,"filename":"image_04012025_22_15_02_702050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3abcf38977c21a289c8d6d19df93c454.jpg","text":"TemporaryFile(/tmp/multipartBody8625186517642654791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025547821,"filename":"image_04012025_22_14_02_510777_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326799330","file1":"1326799201","file0":"1326799199","file4":"1326799855","file5":"1326799896","file3":"1326799662"},"map_files_photo_id_array":[{"photo_id":"1326799896","filename":"file5"},{"photo_id":"1326799330","filename":"file2"},{"photo_id":"1326799855","filename":"file4"},{"photo_id":"1326799201","filename":"file1"},{"photo_id":"1326799199","filename":"file0"},{"photo_id":"1326799662","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326799855":["hashtag1","hashtag2"]},{"1326799330":["hashtag1","hashtag2"]},{"1326799201":["hashtag1","hashtag2"]},{"1326799896":["hashtag1","hashtag2"]},{"1326799662":["hashtag1","hashtag2"]},{"1326799199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326799855, 1326799330, 1326799201, 1326799896, 1326799662, 1326799199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.91101956367493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 22:19:02.738639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/16/image_04012025_22_16_02_877079_0001.jpg', '/home/pi/Desktop/images/04012025/22/16/image_04012025_22_16_02_877079_0002.jpg', '/home/pi/Desktop/images/04012025/22/16/image_04012025_22_16_02_877079_0003.jpg', '/home/pi/Desktop/images/04012025/22/17/image_04012025_22_17_03_056002_0000.jpg', '/home/pi/Desktop/images/04012025/22/17/image_04012025_22_17_03_056002_0001.jpg', '/home/pi/Desktop/images/04012025/22/17/image_04012025_22_17_03_056002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/16/image_04012025_22_16_02_877079_0001.jpg
/home/pi/Desktop/images/04012025/22/16/image_04012025_22_16_02_877079_0002.jpg
/home/pi/Desktop/images/04012025/22/16/image_04012025_22_16_02_877079_0003.jpg
/home/pi/Desktop/images/04012025/22/17/image_04012025_22_17_03_056002_0000.jpg
/home/pi/Desktop/images/04012025/22/17/image_04012025_22_17_03_056002_0001.jpg
/home/pi/Desktop/images/04012025/22/17/image_04012025_22_17_03_056002_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326800484","1326800454","1326800482","1326800216","1326800204","1326800218"],"photo_ids_order":["1326800204","1326800216","1326800218","1326800454","1326800482","1326800484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ecbfa52283299be63eb8f1618efa4326.jpg","text":"TemporaryFile(/tmp/multipartBody8152780700865326164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025618813,"filename":"image_04012025_22_17_03_056002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/471550ca565ae2ea35fb3e4baaf93d53.jpg","text":"TemporaryFile(/tmp/multipartBody4914047379373113541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025618813,"filename":"image_04012025_22_17_03_056002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/43c1467a614c280cc3ade78c61ad40d6.jpg","text":"TemporaryFile(/tmp/multipartBody6728849183306698334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025618813,"filename":"image_04012025_22_17_03_056002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/00bcc3f78e9415ca4b1eef58f815d29f.jpg","text":"TemporaryFile(/tmp/multipartBody8938518041530850210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025618813,"filename":"image_04012025_22_16_02_877079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ec52fdc2488d8bffb419c1b435ac6db5.jpg","text":"TemporaryFile(/tmp/multipartBody8865068819464704616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025618813,"filename":"image_04012025_22_16_02_877079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e53f482a3170acf947a213763d8e2bc4.jpg","text":"TemporaryFile(/tmp/multipartBody2187763111333413867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025618813,"filename":"image_04012025_22_16_02_877079_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326800218","file1":"1326800216","file0":"1326800204","file4":"1326800482","file5":"1326800484","file3":"1326800454"},"map_files_photo_id_array":[{"photo_id":"1326800484","filename":"file5"},{"photo_id":"1326800218","filename":"file2"},{"photo_id":"1326800482","filename":"file4"},{"photo_id":"1326800216","filename":"file1"},{"photo_id":"1326800204","filename":"file0"},{"photo_id":"1326800454","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326800484":["hashtag1","hashtag2"]},{"1326800454":["hashtag1","hashtag2"]},{"1326800482":["hashtag1","hashtag2"]},{"1326800216":["hashtag1","hashtag2"]},{"1326800204":["hashtag1","hashtag2"]},{"1326800218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326800484, 1326800454, 1326800482, 1326800216, 1326800204, 1326800218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.61478614807129 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:20:22.431020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/17/image_04012025_22_17_03_056002_0003.jpg', '/home/pi/Desktop/images/04012025/22/18/image_04012025_22_18_02_257227_0000.jpg', '/home/pi/Desktop/images/04012025/22/18/image_04012025_22_18_02_257227_0001.jpg', '/home/pi/Desktop/images/04012025/22/18/image_04012025_22_18_02_257227_0002.jpg', '/home/pi/Desktop/images/04012025/22/18/image_04012025_22_18_02_257227_0003.jpg', '/home/pi/Desktop/images/04012025/22/19/image_04012025_22_19_02_350875_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/17/image_04012025_22_17_03_056002_0003.jpg
/home/pi/Desktop/images/04012025/22/18/image_04012025_22_18_02_257227_0000.jpg
/home/pi/Desktop/images/04012025/22/18/image_04012025_22_18_02_257227_0001.jpg
/home/pi/Desktop/images/04012025/22/18/image_04012025_22_18_02_257227_0002.jpg
/home/pi/Desktop/images/04012025/22/18/image_04012025_22_18_02_257227_0003.jpg
/home/pi/Desktop/images/04012025/22/19/image_04012025_22_19_02_350875_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326800595","1326800604","1326800597","1326800601","1326800591","1326800593"],"photo_ids_order":["1326800591","1326800593","1326800595","1326800597","1326800601","1326800604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3c9c22faf7df626bb1066992543bdb7a.jpg","text":"TemporaryFile(/tmp/multipartBody7582834424482449400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025697852,"filename":"image_04012025_22_18_02_257227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b0805cb5afc3890bb3a647d7df460bf1.jpg","text":"TemporaryFile(/tmp/multipartBody4069024033092726511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025697852,"filename":"image_04012025_22_19_02_350875_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dadda74942213c338e810cf3c567d6c1.jpg","text":"TemporaryFile(/tmp/multipartBody7781717725266270927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025697852,"filename":"image_04012025_22_18_02_257227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/df8e66dc868b6af769728e2da7ffc039.jpg","text":"TemporaryFile(/tmp/multipartBody3459849489021139429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025697852,"filename":"image_04012025_22_18_02_257227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e8e04937a9a79a08e683f9610c38e56e.jpg","text":"TemporaryFile(/tmp/multipartBody1432569629915298052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025697852,"filename":"image_04012025_22_17_03_056002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7e8de113924696d71646335d761a63f9.jpg","text":"TemporaryFile(/tmp/multipartBody3321652546463557435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025697852,"filename":"image_04012025_22_18_02_257227_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326800595","file1":"1326800593","file0":"1326800591","file4":"1326800601","file5":"1326800604","file3":"1326800597"},"map_files_photo_id_array":[{"photo_id":"1326800604","filename":"file5"},{"photo_id":"1326800595","filename":"file2"},{"photo_id":"1326800601","filename":"file4"},{"photo_id":"1326800593","filename":"file1"},{"photo_id":"1326800591","filename":"file0"},{"photo_id":"1326800597","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326800595":["hashtag1","hashtag2"]},{"1326800604":["hashtag1","hashtag2"]},{"1326800597":["hashtag1","hashtag2"]},{"1326800601":["hashtag1","hashtag2"]},{"1326800591":["hashtag1","hashtag2"]},{"1326800593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326800595, 1326800604, 1326800597, 1326800601, 1326800591, 1326800593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.843406200408936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 22:21:32.579715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/19/image_04012025_22_19_02_350875_0002.jpg', '/home/pi/Desktop/images/04012025/22/19/image_04012025_22_19_02_350875_0003.jpg', '/home/pi/Desktop/images/04012025/22/20/image_04012025_22_20_02_594286_0000.jpg', '/home/pi/Desktop/images/04012025/22/20/image_04012025_22_20_02_594286_0001.jpg', '/home/pi/Desktop/images/04012025/22/20/image_04012025_22_20_02_594286_0002.jpg', '/home/pi/Desktop/images/04012025/22/20/image_04012025_22_20_02_594286_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/19/image_04012025_22_19_02_350875_0002.jpg
/home/pi/Desktop/images/04012025/22/19/image_04012025_22_19_02_350875_0003.jpg
/home/pi/Desktop/images/04012025/22/20/image_04012025_22_20_02_594286_0000.jpg
/home/pi/Desktop/images/04012025/22/20/image_04012025_22_20_02_594286_0001.jpg
/home/pi/Desktop/images/04012025/22/20/image_04012025_22_20_02_594286_0002.jpg
/home/pi/Desktop/images/04012025/22/20/image_04012025_22_20_02_594286_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326801482","1326801383","1326801290","1326801517","1326801319","1326800994"],"photo_ids_order":["1326800994","1326801290","1326801319","1326801383","1326801482","1326801517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3a0bd019b97706f45c4892f21e2a5387.jpg","text":"TemporaryFile(/tmp/multipartBody429054312042271510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025767941,"filename":"image_04012025_22_20_02_594286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d48abffe681653bbe256033c7bd1e24a.jpg","text":"TemporaryFile(/tmp/multipartBody5230510497272712996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025767941,"filename":"image_04012025_22_20_02_594286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/24cf98dd61184e82e8262940b0e63a34.jpg","text":"TemporaryFile(/tmp/multipartBody3021172590007496968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025767941,"filename":"image_04012025_22_19_02_350875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a3a93a103759ce4cee7404b7ed720c67.jpg","text":"TemporaryFile(/tmp/multipartBody1052530094741055836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025767941,"filename":"image_04012025_22_20_02_594286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/86baa1ee424ae99befd23a76f37bec07.jpg","text":"TemporaryFile(/tmp/multipartBody3266945378896892585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025767941,"filename":"image_04012025_22_20_02_594286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d4178b52aade5a192818fbd95a6f6bbb.jpg","text":"TemporaryFile(/tmp/multipartBody4405192799344126494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025767941,"filename":"image_04012025_22_19_02_350875_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326801319","file1":"1326801290","file0":"1326800994","file4":"1326801482","file5":"1326801517","file3":"1326801383"},"map_files_photo_id_array":[{"photo_id":"1326801517","filename":"file5"},{"photo_id":"1326801319","filename":"file2"},{"photo_id":"1326801482","filename":"file4"},{"photo_id":"1326801290","filename":"file1"},{"photo_id":"1326800994","filename":"file0"},{"photo_id":"1326801383","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326801482":["hashtag1","hashtag2"]},{"1326801383":["hashtag1","hashtag2"]},{"1326801290":["hashtag1","hashtag2"]},{"1326801517":["hashtag1","hashtag2"]},{"1326801319":["hashtag1","hashtag2"]},{"1326800994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326801482, 1326801383, 1326801290, 1326801517, 1326801319, 1326800994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.48232865333557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 22:22:42.745437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/21/image_04012025_22_21_02_818082_0000.jpg', '/home/pi/Desktop/images/04012025/22/21/image_04012025_22_21_02_818082_0001.jpg', '/home/pi/Desktop/images/04012025/22/21/image_04012025_22_21_02_818082_0002.jpg', '/home/pi/Desktop/images/04012025/22/21/image_04012025_22_21_02_818082_0003.jpg', '/home/pi/Desktop/images/04012025/22/22/image_04012025_22_22_02_977815_0000.jpg', '/home/pi/Desktop/images/04012025/22/22/image_04012025_22_22_02_977815_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/21/image_04012025_22_21_02_818082_0000.jpg
/home/pi/Desktop/images/04012025/22/21/image_04012025_22_21_02_818082_0001.jpg
/home/pi/Desktop/images/04012025/22/21/image_04012025_22_21_02_818082_0002.jpg
/home/pi/Desktop/images/04012025/22/21/image_04012025_22_21_02_818082_0003.jpg
/home/pi/Desktop/images/04012025/22/22/image_04012025_22_22_02_977815_0000.jpg
/home/pi/Desktop/images/04012025/22/22/image_04012025_22_22_02_977815_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326801581","1326801578","1326801709","1326801651","1326801573","1326801576"],"photo_ids_order":["1326801573","1326801576","1326801578","1326801581","1326801651","1326801709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc15fc2f886787b668efb1d0f57763e6.jpg","text":"TemporaryFile(/tmp/multipartBody5434073036611528417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025838242,"filename":"image_04012025_22_21_02_818082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e23892f7531b2a40c78e7dfde457ce7e.jpg","text":"TemporaryFile(/tmp/multipartBody5618658420855828712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025838242,"filename":"image_04012025_22_21_02_818082_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/48256e62dbbf613c764267fbfff96939.jpg","text":"TemporaryFile(/tmp/multipartBody181894535177954438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025838242,"filename":"image_04012025_22_22_02_977815_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0ea5211cf0542cbdccdfe3c08438b310.jpg","text":"TemporaryFile(/tmp/multipartBody4703483462464005004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025838242,"filename":"image_04012025_22_22_02_977815_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2cba16f5ac8f42f919625b721baa17b3.jpg","text":"TemporaryFile(/tmp/multipartBody1970994859154963615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025838242,"filename":"image_04012025_22_21_02_818082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2487ab9ea82f20ce240ad11e01c5f8c3.jpg","text":"TemporaryFile(/tmp/multipartBody2319080827458585217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025838242,"filename":"image_04012025_22_21_02_818082_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326801578","file1":"1326801576","file0":"1326801573","file4":"1326801651","file5":"1326801709","file3":"1326801581"},"map_files_photo_id_array":[{"photo_id":"1326801709","filename":"file5"},{"photo_id":"1326801578","filename":"file2"},{"photo_id":"1326801651","filename":"file4"},{"photo_id":"1326801576","filename":"file1"},{"photo_id":"1326801573","filename":"file0"},{"photo_id":"1326801581","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326801581":["hashtag1","hashtag2"]},{"1326801578":["hashtag1","hashtag2"]},{"1326801709":["hashtag1","hashtag2"]},{"1326801651":["hashtag1","hashtag2"]},{"1326801573":["hashtag1","hashtag2"]},{"1326801576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326801581, 1326801578, 1326801709, 1326801651, 1326801573, 1326801576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.76425433158875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 22:24:02.609995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/22/image_04012025_22_22_02_977815_0002.jpg', '/home/pi/Desktop/images/04012025/22/22/image_04012025_22_22_02_977815_0003.jpg', '/home/pi/Desktop/images/04012025/22/23/image_04012025_22_23_03_115299_0000.jpg', '/home/pi/Desktop/images/04012025/22/23/image_04012025_22_23_03_115299_0001.jpg', '/home/pi/Desktop/images/04012025/22/23/image_04012025_22_23_03_115299_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/22/image_04012025_22_22_02_977815_0002.jpg
/home/pi/Desktop/images/04012025/22/22/image_04012025_22_22_02_977815_0003.jpg
/home/pi/Desktop/images/04012025/22/23/image_04012025_22_23_03_115299_0000.jpg
/home/pi/Desktop/images/04012025/22/23/image_04012025_22_23_03_115299_0001.jpg
/home/pi/Desktop/images/04012025/22/23/image_04012025_22_23_03_115299_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326802541","1326802693","1326802698","1326802697","1326802617"],"photo_ids_order":["1326802541","1326802617","1326802693","1326802697","1326802698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/226a43b0f9f2bcf1ffe26ff25bdf7328.jpg","text":"TemporaryFile(/tmp/multipartBody8280619147519750418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025915909,"filename":"image_04012025_22_22_02_977815_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/30b0be0e62dab904de28142db8a4fe8f.jpg","text":"TemporaryFile(/tmp/multipartBody6764427619151668378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025915909,"filename":"image_04012025_22_23_03_115299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8583348f701810d5257593e6b2137ec0.jpg","text":"TemporaryFile(/tmp/multipartBody475189055880132010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025915909,"filename":"image_04012025_22_23_03_115299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4b24b173a0f6506895fd8e70eae4f181.jpg","text":"TemporaryFile(/tmp/multipartBody7967738032948372048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025915909,"filename":"image_04012025_22_23_03_115299_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b66c014e0c5e99b80ea35e27552a50d4.jpg","text":"TemporaryFile(/tmp/multipartBody7883854776328953616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025915909,"filename":"image_04012025_22_22_02_977815_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326802693","file1":"1326802617","file0":"1326802541","file4":"1326802698","file3":"1326802697"},"map_files_photo_id_array":[{"photo_id":"1326802693","filename":"file2"},{"photo_id":"1326802698","filename":"file4"},{"photo_id":"1326802617","filename":"file1"},{"photo_id":"1326802541","filename":"file0"},{"photo_id":"1326802697","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326802541":["hashtag1","hashtag2"]},{"1326802693":["hashtag1","hashtag2"]},{"1326802698":["hashtag1","hashtag2"]},{"1326802697":["hashtag1","hashtag2"]},{"1326802617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326802541, 1326802693, 1326802698, 1326802697, 1326802617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 53.198941707611084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 22:25:03.002534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/23/image_04012025_22_23_03_115299_0003.jpg', '/home/pi/Desktop/images/04012025/22/24/image_04012025_22_24_02_251801_0000.jpg', '/home/pi/Desktop/images/04012025/22/24/image_04012025_22_24_02_251801_0001.jpg', '/home/pi/Desktop/images/04012025/22/24/image_04012025_22_24_02_251801_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/23/image_04012025_22_23_03_115299_0003.jpg
/home/pi/Desktop/images/04012025/22/24/image_04012025_22_24_02_251801_0000.jpg
/home/pi/Desktop/images/04012025/22/24/image_04012025_22_24_02_251801_0001.jpg
/home/pi/Desktop/images/04012025/22/24/image_04012025_22_24_02_251801_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326802867","1326802872","1326802875","1326802869"],"photo_ids_order":["1326802867","1326802869","1326802872","1326802875"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6234131dda62adcc0c9e23abcac9b20b.jpg","text":"TemporaryFile(/tmp/multipartBody8528745479420721875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025973992,"filename":"image_04012025_22_23_03_115299_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a093e8fa8be046be40f77a3a546fc0e8.jpg","text":"TemporaryFile(/tmp/multipartBody6662650798153557782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025973992,"filename":"image_04012025_22_24_02_251801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/599d71161edb97678e12fb7c07b6535c.jpg","text":"TemporaryFile(/tmp/multipartBody7226171863799354827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025973992,"filename":"image_04012025_22_24_02_251801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d2c7b48669eecd6e9deaa604777ad4ea.jpg","text":"TemporaryFile(/tmp/multipartBody1575926913732504766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736025973992,"filename":"image_04012025_22_24_02_251801_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326802872","file1":"1326802869","file0":"1326802867","file3":"1326802875"},"map_files_photo_id_array":[{"photo_id":"1326802872","filename":"file2"},{"photo_id":"1326802869","filename":"file1"},{"photo_id":"1326802867","filename":"file0"},{"photo_id":"1326802875","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326802867":["hashtag1","hashtag2"]},{"1326802872":["hashtag1","hashtag2"]},{"1326802875":["hashtag1","hashtag2"]},{"1326802869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326802867, 1326802872, 1326802875, 1326802869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.95167255401611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 22:25:52.220035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/24/image_04012025_22_24_02_251801_0003.jpg', '/home/pi/Desktop/images/04012025/22/25/image_04012025_22_25_02_448634_0000.jpg', '/home/pi/Desktop/images/04012025/22/25/image_04012025_22_25_02_448634_0001.jpg', '/home/pi/Desktop/images/04012025/22/25/image_04012025_22_25_02_448634_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/24/image_04012025_22_24_02_251801_0003.jpg
/home/pi/Desktop/images/04012025/22/25/image_04012025_22_25_02_448634_0000.jpg
/home/pi/Desktop/images/04012025/22/25/image_04012025_22_25_02_448634_0001.jpg
/home/pi/Desktop/images/04012025/22/25/image_04012025_22_25_02_448634_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326803033","1326803533","1326803394","1326803406"],"photo_ids_order":["1326803033","1326803394","1326803406","1326803533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7e87bab8d5c22ce5cc8fef26b1d81c48.jpg","text":"TemporaryFile(/tmp/multipartBody7764440568765322055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026022616,"filename":"image_04012025_22_24_02_251801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0c424e0e6dc867d57852a9014617022f.jpg","text":"TemporaryFile(/tmp/multipartBody3127515939045026864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026022616,"filename":"image_04012025_22_25_02_448634_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5d03e2fcb3f86afdd848edea9edab453.jpg","text":"TemporaryFile(/tmp/multipartBody6373071778386359514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026022616,"filename":"image_04012025_22_25_02_448634_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/72286d46c6d1bdb21a9d7b2ad0ff4aaa.jpg","text":"TemporaryFile(/tmp/multipartBody6365967244070509547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026022616,"filename":"image_04012025_22_25_02_448634_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326803406","file1":"1326803394","file0":"1326803033","file3":"1326803533"},"map_files_photo_id_array":[{"photo_id":"1326803406","filename":"file2"},{"photo_id":"1326803394","filename":"file1"},{"photo_id":"1326803033","filename":"file0"},{"photo_id":"1326803533","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326803033":["hashtag1","hashtag2"]},{"1326803533":["hashtag1","hashtag2"]},{"1326803394":["hashtag1","hashtag2"]},{"1326803406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326803033, 1326803533, 1326803394, 1326803406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.05757117271423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 22:26:42.457301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/25/image_04012025_22_25_02_448634_0003.jpg', '/home/pi/Desktop/images/04012025/22/26/image_04012025_22_26_02_707106_0000.jpg', '/home/pi/Desktop/images/04012025/22/26/image_04012025_22_26_02_707106_0001.jpg', '/home/pi/Desktop/images/04012025/22/26/image_04012025_22_26_02_707106_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/25/image_04012025_22_25_02_448634_0003.jpg
/home/pi/Desktop/images/04012025/22/26/image_04012025_22_26_02_707106_0000.jpg
/home/pi/Desktop/images/04012025/22/26/image_04012025_22_26_02_707106_0001.jpg
/home/pi/Desktop/images/04012025/22/26/image_04012025_22_26_02_707106_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326804538","1326804483","1326803976","1326804479"],"photo_ids_order":["1326803976","1326804479","1326804483","1326804538"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/79fdebd53fbb920ef4bbf34309b68c79.jpg","text":"TemporaryFile(/tmp/multipartBody4764722581704575962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026073452,"filename":"image_04012025_22_26_02_707106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3c80af810737eda8c9f69e486f2a02b6.jpg","text":"TemporaryFile(/tmp/multipartBody183781417912010049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026073452,"filename":"image_04012025_22_26_02_707106_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/63748239df52484ad6c7d441162f3f46.jpg","text":"TemporaryFile(/tmp/multipartBody4757009085453144564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026073452,"filename":"image_04012025_22_25_02_448634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/056b1db6a5276f8ee173700687823c5e.jpg","text":"TemporaryFile(/tmp/multipartBody2516943739775540169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026073452,"filename":"image_04012025_22_26_02_707106_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326804483","file1":"1326804479","file0":"1326803976","file3":"1326804538"},"map_files_photo_id_array":[{"photo_id":"1326804483","filename":"file2"},{"photo_id":"1326804479","filename":"file1"},{"photo_id":"1326803976","filename":"file0"},{"photo_id":"1326804538","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326804538":["hashtag1","hashtag2"]},{"1326804483":["hashtag1","hashtag2"]},{"1326803976":["hashtag1","hashtag2"]},{"1326804479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326804538, 1326804483, 1326803976, 1326804479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.01367998123169 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 22:27:32.623135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/26/image_04012025_22_26_02_707106_0003.jpg', '/home/pi/Desktop/images/04012025/22/27/image_04012025_22_27_02_846469_0000.jpg', '/home/pi/Desktop/images/04012025/22/27/image_04012025_22_27_02_846469_0001.jpg', '/home/pi/Desktop/images/04012025/22/27/image_04012025_22_27_02_846469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/26/image_04012025_22_26_02_707106_0003.jpg
/home/pi/Desktop/images/04012025/22/27/image_04012025_22_27_02_846469_0000.jpg
/home/pi/Desktop/images/04012025/22/27/image_04012025_22_27_02_846469_0001.jpg
/home/pi/Desktop/images/04012025/22/27/image_04012025_22_27_02_846469_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326804820","1326804808","1326804807","1326804809"],"photo_ids_order":["1326804807","1326804808","1326804809","1326804820"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2828b72f9e5c40619b209c67364266b5.jpg","text":"TemporaryFile(/tmp/multipartBody8610439902711316659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026123644,"filename":"image_04012025_22_27_02_846469_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2bf6145348f18722f6fd1369ce7d0122.jpg","text":"TemporaryFile(/tmp/multipartBody8912304197905797256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026123644,"filename":"image_04012025_22_27_02_846469_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a3e40f372de184f3b33c6d784b21d8db.jpg","text":"TemporaryFile(/tmp/multipartBody6876935100249433831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026123644,"filename":"image_04012025_22_26_02_707106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/846ed8c2e39f64415a74ebbeb9990dbc.jpg","text":"TemporaryFile(/tmp/multipartBody7444597510540339482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026123644,"filename":"image_04012025_22_27_02_846469_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326804809","file1":"1326804808","file0":"1326804807","file3":"1326804820"},"map_files_photo_id_array":[{"photo_id":"1326804809","filename":"file2"},{"photo_id":"1326804808","filename":"file1"},{"photo_id":"1326804807","filename":"file0"},{"photo_id":"1326804820","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326804820":["hashtag1","hashtag2"]},{"1326804808":["hashtag1","hashtag2"]},{"1326804807":["hashtag1","hashtag2"]},{"1326804809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326804820, 1326804808, 1326804807, 1326804809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 52.63260817527771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 22:28:31.794014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/27/image_04012025_22_27_02_846469_0003.jpg', '/home/pi/Desktop/images/04012025/22/28/image_04012025_22_28_03_016467_0000.jpg', '/home/pi/Desktop/images/04012025/22/28/image_04012025_22_28_03_016467_0001.jpg', '/home/pi/Desktop/images/04012025/22/28/image_04012025_22_28_03_016467_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/27/image_04012025_22_27_02_846469_0003.jpg
/home/pi/Desktop/images/04012025/22/28/image_04012025_22_28_03_016467_0000.jpg
/home/pi/Desktop/images/04012025/22/28/image_04012025_22_28_03_016467_0001.jpg
/home/pi/Desktop/images/04012025/22/28/image_04012025_22_28_03_016467_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326805501","1326805324","1326805682","1326805633"],"photo_ids_order":["1326805324","1326805501","1326805633","1326805682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/83bfce941b2bb575763f59f51bd4c96a.jpg","text":"TemporaryFile(/tmp/multipartBody5841280108898403116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026183174,"filename":"image_04012025_22_28_03_016467_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ee71488d61021072344b407c2e2c0d36.jpg","text":"TemporaryFile(/tmp/multipartBody2958481586713880162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026183174,"filename":"image_04012025_22_27_02_846469_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/de62a56d40a1a085315d5f8e06b2123e.jpg","text":"TemporaryFile(/tmp/multipartBody926262213627687458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026183174,"filename":"image_04012025_22_28_03_016467_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a184075e1f2244364c19efdf0ecf4cc2.jpg","text":"TemporaryFile(/tmp/multipartBody5086936624873020016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026183174,"filename":"image_04012025_22_28_03_016467_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326805633","file1":"1326805501","file0":"1326805324","file3":"1326805682"},"map_files_photo_id_array":[{"photo_id":"1326805633","filename":"file2"},{"photo_id":"1326805501","filename":"file1"},{"photo_id":"1326805324","filename":"file0"},{"photo_id":"1326805682","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326805501":["hashtag1","hashtag2"]},{"1326805324":["hashtag1","hashtag2"]},{"1326805682":["hashtag1","hashtag2"]},{"1326805633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326805501, 1326805324, 1326805682, 1326805633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.98870611190796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:29:22.027890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/28/image_04012025_22_28_03_016467_0003.jpg', '/home/pi/Desktop/images/04012025/22/29/image_04012025_22_29_02_230907_0000.jpg', '/home/pi/Desktop/images/04012025/22/29/image_04012025_22_29_02_230907_0001.jpg', '/home/pi/Desktop/images/04012025/22/29/image_04012025_22_29_02_230907_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/28/image_04012025_22_28_03_016467_0003.jpg
/home/pi/Desktop/images/04012025/22/29/image_04012025_22_29_02_230907_0000.jpg
/home/pi/Desktop/images/04012025/22/29/image_04012025_22_29_02_230907_0001.jpg
/home/pi/Desktop/images/04012025/22/29/image_04012025_22_29_02_230907_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326805782","1326805778","1326805774","1326805786"],"photo_ids_order":["1326805774","1326805778","1326805782","1326805786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d21ce2bfcbc5d9ba6757c5e5420c6887.jpg","text":"TemporaryFile(/tmp/multipartBody312269296497009252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026232588,"filename":"image_04012025_22_29_02_230907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/16c871a4b5364a5fd77733cb053f68a9.jpg","text":"TemporaryFile(/tmp/multipartBody7166997648670200738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026232588,"filename":"image_04012025_22_29_02_230907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6f8d68d6c1d8c03a89edf1c675232c51.jpg","text":"TemporaryFile(/tmp/multipartBody30256393719962330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026232588,"filename":"image_04012025_22_28_03_016467_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4ff1c56328018ec6541e5fb454427e1e.jpg","text":"TemporaryFile(/tmp/multipartBody6147952930386624022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026232588,"filename":"image_04012025_22_29_02_230907_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326805782","file1":"1326805778","file0":"1326805774","file3":"1326805786"},"map_files_photo_id_array":[{"photo_id":"1326805782","filename":"file2"},{"photo_id":"1326805778","filename":"file1"},{"photo_id":"1326805774","filename":"file0"},{"photo_id":"1326805786","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326805782":["hashtag1","hashtag2"]},{"1326805778":["hashtag1","hashtag2"]},{"1326805774":["hashtag1","hashtag2"]},{"1326805786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326805782, 1326805778, 1326805774, 1326805786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.38279318809509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:30:22.219348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/29/image_04012025_22_29_02_230907_0003.jpg', '/home/pi/Desktop/images/04012025/22/30/image_04012025_22_30_02_441078_0000.jpg', '/home/pi/Desktop/images/04012025/22/30/image_04012025_22_30_02_441078_0001.jpg', '/home/pi/Desktop/images/04012025/22/30/image_04012025_22_30_02_441078_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/29/image_04012025_22_29_02_230907_0003.jpg
/home/pi/Desktop/images/04012025/22/30/image_04012025_22_30_02_441078_0000.jpg
/home/pi/Desktop/images/04012025/22/30/image_04012025_22_30_02_441078_0001.jpg
/home/pi/Desktop/images/04012025/22/30/image_04012025_22_30_02_441078_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.155451536178589 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 22:30:42.153429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/29/image_04012025_22_29_02_230907_0003.jpg', '/home/pi/Desktop/images/04012025/22/30/image_04012025_22_30_02_441078_0000.jpg', '/home/pi/Desktop/images/04012025/22/30/image_04012025_22_30_02_441078_0001.jpg', '/home/pi/Desktop/images/04012025/22/30/image_04012025_22_30_02_441078_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/29/image_04012025_22_29_02_230907_0003.jpg
/home/pi/Desktop/images/04012025/22/30/image_04012025_22_30_02_441078_0000.jpg
/home/pi/Desktop/images/04012025/22/30/image_04012025_22_30_02_441078_0001.jpg
/home/pi/Desktop/images/04012025/22/30/image_04012025_22_30_02_441078_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326806259","1326806220","1326806077","1326806020"],"photo_ids_order":["1326806020","1326806077","1326806220","1326806259"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a10457fef4dd90494ba55af556615516.jpg","text":"TemporaryFile(/tmp/multipartBody8258188215542494813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026312710,"filename":"image_04012025_22_30_02_441078_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7cd95992f1f18a19a73c5de711ede7d1.jpg","text":"TemporaryFile(/tmp/multipartBody8762218615229653584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026312710,"filename":"image_04012025_22_30_02_441078_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6d8fbeb75f08ad1c7e589236fbff6415.jpg","text":"TemporaryFile(/tmp/multipartBody3494736174294751396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026312710,"filename":"image_04012025_22_30_02_441078_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a1d503d47d06d335348dba948eaefe21.jpg","text":"TemporaryFile(/tmp/multipartBody4729973646197257297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026312710,"filename":"image_04012025_22_29_02_230907_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326806220","file1":"1326806077","file0":"1326806020","file3":"1326806259"},"map_files_photo_id_array":[{"photo_id":"1326806220","filename":"file2"},{"photo_id":"1326806077","filename":"file1"},{"photo_id":"1326806020","filename":"file0"},{"photo_id":"1326806259","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326806259":["hashtag1","hashtag2"]},{"1326806220":["hashtag1","hashtag2"]},{"1326806077":["hashtag1","hashtag2"]},{"1326806020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326806259, 1326806220, 1326806077, 1326806020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.96074986457825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 22:31:32.297650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/30/image_04012025_22_30_02_441078_0003.jpg', '/home/pi/Desktop/images/04012025/22/31/image_04012025_22_31_02_521604_0000.jpg', '/home/pi/Desktop/images/04012025/22/31/image_04012025_22_31_02_521604_0001.jpg', '/home/pi/Desktop/images/04012025/22/31/image_04012025_22_31_02_521604_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/30/image_04012025_22_30_02_441078_0003.jpg
/home/pi/Desktop/images/04012025/22/31/image_04012025_22_31_02_521604_0000.jpg
/home/pi/Desktop/images/04012025/22/31/image_04012025_22_31_02_521604_0001.jpg
/home/pi/Desktop/images/04012025/22/31/image_04012025_22_31_02_521604_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326807062","1326806910","1326807008","1326807007"],"photo_ids_order":["1326806910","1326807007","1326807008","1326807062"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/59e132d79e5f3db2e5d23e56374a37d0.jpg","text":"TemporaryFile(/tmp/multipartBody5281841888752862694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026362861,"filename":"image_04012025_22_31_02_521604_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7b3c128eae85d06cacd8fe7b1c5d6f6.jpg","text":"TemporaryFile(/tmp/multipartBody8550644309645734947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026362861,"filename":"image_04012025_22_30_02_441078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2645345bd80fcdc279601b6b80e95f1b.jpg","text":"TemporaryFile(/tmp/multipartBody3373106579893714808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026362861,"filename":"image_04012025_22_31_02_521604_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d7609a1e013660d18991707928d6a96f.jpg","text":"TemporaryFile(/tmp/multipartBody3856885785892561723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026362861,"filename":"image_04012025_22_31_02_521604_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326807008","file1":"1326807007","file0":"1326806910","file3":"1326807062"},"map_files_photo_id_array":[{"photo_id":"1326807008","filename":"file2"},{"photo_id":"1326807007","filename":"file1"},{"photo_id":"1326806910","filename":"file0"},{"photo_id":"1326807062","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326807062":["hashtag1","hashtag2"]},{"1326806910":["hashtag1","hashtag2"]},{"1326807008":["hashtag1","hashtag2"]},{"1326807007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326807062, 1326806910, 1326807008, 1326807007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.13196063041687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:32:22.597357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/31/image_04012025_22_31_02_521604_0003.jpg', '/home/pi/Desktop/images/04012025/22/32/image_04012025_22_32_02_677392_0000.jpg', '/home/pi/Desktop/images/04012025/22/32/image_04012025_22_32_02_677392_0001.jpg', '/home/pi/Desktop/images/04012025/22/32/image_04012025_22_32_02_677392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/31/image_04012025_22_31_02_521604_0003.jpg
/home/pi/Desktop/images/04012025/22/32/image_04012025_22_32_02_677392_0000.jpg
/home/pi/Desktop/images/04012025/22/32/image_04012025_22_32_02_677392_0001.jpg
/home/pi/Desktop/images/04012025/22/32/image_04012025_22_32_02_677392_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326807132","1326807128","1326807130","1326807133"],"photo_ids_order":["1326807128","1326807130","1326807132","1326807133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/60eb885825726e8200ec10573b161e74.jpg","text":"TemporaryFile(/tmp/multipartBody756752299902858446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026413129,"filename":"image_04012025_22_32_02_677392_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a138e4dcffe184496ffec9917d1aede7.jpg","text":"TemporaryFile(/tmp/multipartBody5761520304542842168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026413129,"filename":"image_04012025_22_31_02_521604_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7796e61d4a56c22ae1433c5e0a777732.jpg","text":"TemporaryFile(/tmp/multipartBody4266433048498144956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026413129,"filename":"image_04012025_22_32_02_677392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c86ba7100bc9734aca53a0fcbf860430.jpg","text":"TemporaryFile(/tmp/multipartBody3631190747662226777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026413129,"filename":"image_04012025_22_32_02_677392_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326807132","file1":"1326807130","file0":"1326807128","file3":"1326807133"},"map_files_photo_id_array":[{"photo_id":"1326807132","filename":"file2"},{"photo_id":"1326807130","filename":"file1"},{"photo_id":"1326807128","filename":"file0"},{"photo_id":"1326807133","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326807132":["hashtag1","hashtag2"]},{"1326807128":["hashtag1","hashtag2"]},{"1326807130":["hashtag1","hashtag2"]},{"1326807133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326807132, 1326807128, 1326807130, 1326807133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.111993074417114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:33:22.754304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/32/image_04012025_22_32_02_677392_0003.jpg', '/home/pi/Desktop/images/04012025/22/33/image_04012025_22_33_02_897148_0000.jpg', '/home/pi/Desktop/images/04012025/22/33/image_04012025_22_33_02_897148_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/32/image_04012025_22_32_02_677392_0003.jpg
/home/pi/Desktop/images/04012025/22/33/image_04012025_22_33_02_897148_0000.jpg
/home/pi/Desktop/images/04012025/22/33/image_04012025_22_33_02_897148_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":["1326807525","1326807451","1326807448"],"photo_ids_order":["1326807448","1326807451","1326807525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8d94c1684d701d17a8929c2027f23a6f.jpg","text":"TemporaryFile(/tmp/multipartBody7826605364533985423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026470869,"filename":"image_04012025_22_33_02_897148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3e7e440e9dce082434ca2a2e4988aed1.jpg","text":"TemporaryFile(/tmp/multipartBody6961295412313553757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026470869,"filename":"image_04012025_22_33_02_897148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/87b815848830b07f628228aacecf9c12.jpg","text":"TemporaryFile(/tmp/multipartBody1983634935158447143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026470869,"filename":"image_04012025_22_32_02_677392_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326807525","file1":"1326807451","file0":"1326807448"},"map_files_photo_id_array":[{"photo_id":"1326807525","filename":"file2"},{"photo_id":"1326807451","filename":"file1"},{"photo_id":"1326807448","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326807525":["hashtag1","hashtag2"]},{"1326807451":["hashtag1","hashtag2"]},{"1326807448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326807525, 1326807451, 1326807448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.25303864479065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 22:34:02.461810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:34:22.061177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/33/image_04012025_22_33_02_897148_0003.jpg', '/home/pi/Desktop/images/04012025/22/34/image_04012025_22_34_03_095926_0000.jpg', '/home/pi/Desktop/images/04012025/22/34/image_04012025_22_34_03_095926_0001.jpg', '/home/pi/Desktop/images/04012025/22/34/image_04012025_22_34_03_095926_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/33/image_04012025_22_33_02_897148_0003.jpg
/home/pi/Desktop/images/04012025/22/34/image_04012025_22_34_03_095926_0000.jpg
/home/pi/Desktop/images/04012025/22/34/image_04012025_22_34_03_095926_0001.jpg
/home/pi/Desktop/images/04012025/22/34/image_04012025_22_34_03_095926_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326807801","1326807938","1326807937","1326808023"],"photo_ids_order":["1326807801","1326807937","1326807938","1326808023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/881f4a8006adda6f74215609846af906.jpg","text":"TemporaryFile(/tmp/multipartBody1817520555274252134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026532962,"filename":"image_04012025_22_33_02_897148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/52a3eda12ac4c11ad9943105fef6add8.jpg","text":"TemporaryFile(/tmp/multipartBody8389736729166901937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026532962,"filename":"image_04012025_22_34_03_095926_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/098f00d68bea62b62832776f7112fac3.jpg","text":"TemporaryFile(/tmp/multipartBody2804583118735536888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026532962,"filename":"image_04012025_22_34_03_095926_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/813fec7b7da9649064b8e34ae94f1b4c.jpg","text":"TemporaryFile(/tmp/multipartBody7799683378017800108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026532962,"filename":"image_04012025_22_34_03_095926_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326807938","file1":"1326807937","file0":"1326807801","file3":"1326808023"},"map_files_photo_id_array":[{"photo_id":"1326807938","filename":"file2"},{"photo_id":"1326807937","filename":"file1"},{"photo_id":"1326807801","filename":"file0"},{"photo_id":"1326808023","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326807801":["hashtag1","hashtag2"]},{"1326807938":["hashtag1","hashtag2"]},{"1326807937":["hashtag1","hashtag2"]},{"1326808023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326807801, 1326807938, 1326807937, 1326808023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.13936519622803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:35:22.221497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/34/image_04012025_22_34_03_095926_0003.jpg', '/home/pi/Desktop/images/04012025/22/35/image_04012025_22_35_02_365791_0000.jpg', '/home/pi/Desktop/images/04012025/22/35/image_04012025_22_35_02_365791_0001.jpg', '/home/pi/Desktop/images/04012025/22/35/image_04012025_22_35_02_365791_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/34/image_04012025_22_34_03_095926_0003.jpg
/home/pi/Desktop/images/04012025/22/35/image_04012025_22_35_02_365791_0000.jpg
/home/pi/Desktop/images/04012025/22/35/image_04012025_22_35_02_365791_0001.jpg
/home/pi/Desktop/images/04012025/22/35/image_04012025_22_35_02_365791_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326808496","1326808633","1326808632","1326808602"],"photo_ids_order":["1326808496","1326808602","1326808632","1326808633"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3ed35d3ce32aa4c00633f07392bf252a.jpg","text":"TemporaryFile(/tmp/multipartBody3682514300803906447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026592679,"filename":"image_04012025_22_34_03_095926_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/02c735d30dae6ba38c6932ab5581c46d.jpg","text":"TemporaryFile(/tmp/multipartBody5603767296169993405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026592679,"filename":"image_04012025_22_35_02_365791_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a3b69f2433681b9fc49f09eb39735c33.jpg","text":"TemporaryFile(/tmp/multipartBody3826271851738301617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026592679,"filename":"image_04012025_22_35_02_365791_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/51aeb449af41d0c96c44cea4bb517c35.jpg","text":"TemporaryFile(/tmp/multipartBody3624696125543087874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026592679,"filename":"image_04012025_22_35_02_365791_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326808632","file1":"1326808602","file0":"1326808496","file3":"1326808633"},"map_files_photo_id_array":[{"photo_id":"1326808632","filename":"file2"},{"photo_id":"1326808602","filename":"file1"},{"photo_id":"1326808496","filename":"file0"},{"photo_id":"1326808633","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326808496":["hashtag1","hashtag2"]},{"1326808633":["hashtag1","hashtag2"]},{"1326808632":["hashtag1","hashtag2"]},{"1326808602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326808496, 1326808633, 1326808632, 1326808602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.69572138786316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:36:22.403311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/35/image_04012025_22_35_02_365791_0003.jpg', '/home/pi/Desktop/images/04012025/22/36/image_04012025_22_36_02_632436_0000.jpg', '/home/pi/Desktop/images/04012025/22/36/image_04012025_22_36_02_632436_0001.jpg', '/home/pi/Desktop/images/04012025/22/36/image_04012025_22_36_02_632436_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/35/image_04012025_22_35_02_365791_0003.jpg
/home/pi/Desktop/images/04012025/22/36/image_04012025_22_36_02_632436_0000.jpg
/home/pi/Desktop/images/04012025/22/36/image_04012025_22_36_02_632436_0001.jpg
/home/pi/Desktop/images/04012025/22/36/image_04012025_22_36_02_632436_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.179144382476807 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 22:36:42.402155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/35/image_04012025_22_35_02_365791_0003.jpg', '/home/pi/Desktop/images/04012025/22/36/image_04012025_22_36_02_632436_0000.jpg', '/home/pi/Desktop/images/04012025/22/36/image_04012025_22_36_02_632436_0001.jpg', '/home/pi/Desktop/images/04012025/22/36/image_04012025_22_36_02_632436_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/35/image_04012025_22_35_02_365791_0003.jpg
/home/pi/Desktop/images/04012025/22/36/image_04012025_22_36_02_632436_0000.jpg
/home/pi/Desktop/images/04012025/22/36/image_04012025_22_36_02_632436_0001.jpg
/home/pi/Desktop/images/04012025/22/36/image_04012025_22_36_02_632436_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326808808","1326808810","1326808807","1326808806"],"photo_ids_order":["1326808806","1326808807","1326808808","1326808810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f5165858c3142501d37c8e9b8fc6675a.jpg","text":"TemporaryFile(/tmp/multipartBody5983701385967936514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026672828,"filename":"image_04012025_22_36_02_632436_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/513cc33824edcc770a7ee19384a1d450.jpg","text":"TemporaryFile(/tmp/multipartBody6495869479224439517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026672828,"filename":"image_04012025_22_36_02_632436_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0758bc233ab5be8546537c7c972f7860.jpg","text":"TemporaryFile(/tmp/multipartBody9061614794463263185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026672828,"filename":"image_04012025_22_36_02_632436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cdbd9369701535d31aa779d2b15bc033.jpg","text":"TemporaryFile(/tmp/multipartBody3233960883865521584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026672828,"filename":"image_04012025_22_35_02_365791_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326808808","file1":"1326808807","file0":"1326808806","file3":"1326808810"},"map_files_photo_id_array":[{"photo_id":"1326808808","filename":"file2"},{"photo_id":"1326808807","filename":"file1"},{"photo_id":"1326808806","filename":"file0"},{"photo_id":"1326808810","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326808808":["hashtag1","hashtag2"]},{"1326808810":["hashtag1","hashtag2"]},{"1326808807":["hashtag1","hashtag2"]},{"1326808806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326808808, 1326808810, 1326808807, 1326808806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.38373947143555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 22:37:32.543584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/36/image_04012025_22_36_02_632436_0003.jpg', '/home/pi/Desktop/images/04012025/22/37/image_04012025_22_37_02_710987_0000.jpg', '/home/pi/Desktop/images/04012025/22/37/image_04012025_22_37_02_710987_0001.jpg', '/home/pi/Desktop/images/04012025/22/37/image_04012025_22_37_02_710987_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/36/image_04012025_22_36_02_632436_0003.jpg
/home/pi/Desktop/images/04012025/22/37/image_04012025_22_37_02_710987_0000.jpg
/home/pi/Desktop/images/04012025/22/37/image_04012025_22_37_02_710987_0001.jpg
/home/pi/Desktop/images/04012025/22/37/image_04012025_22_37_02_710987_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326809048","1326808825","1326808819","1326808818"],"photo_ids_order":["1326808818","1326808819","1326808825","1326809048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8cd59c492c0f761bff0ce864b1439500.jpg","text":"TemporaryFile(/tmp/multipartBody6360902237155808736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026723378,"filename":"image_04012025_22_37_02_710987_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3457382b46fcce13a2b68efe57a27f8a.jpg","text":"TemporaryFile(/tmp/multipartBody3236251925750150418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026723378,"filename":"image_04012025_22_37_02_710987_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7aa1639482bb59f586b266cdcc29687a.jpg","text":"TemporaryFile(/tmp/multipartBody5358197052349478125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026723378,"filename":"image_04012025_22_37_02_710987_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7a46035332b1bf8e1a936c7798473ac8.jpg","text":"TemporaryFile(/tmp/multipartBody2376261847344532460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026723378,"filename":"image_04012025_22_36_02_632436_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326808825","file1":"1326808819","file0":"1326808818","file3":"1326809048"},"map_files_photo_id_array":[{"photo_id":"1326808825","filename":"file2"},{"photo_id":"1326808819","filename":"file1"},{"photo_id":"1326808818","filename":"file0"},{"photo_id":"1326809048","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326809048":["hashtag1","hashtag2"]},{"1326808825":["hashtag1","hashtag2"]},{"1326808819":["hashtag1","hashtag2"]},{"1326808818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326809048, 1326808825, 1326808819, 1326808818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.79045295715332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:38:22.737677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/37/image_04012025_22_37_02_710987_0003.jpg', '/home/pi/Desktop/images/04012025/22/38/image_04012025_22_38_02_936952_0000.jpg', '/home/pi/Desktop/images/04012025/22/38/image_04012025_22_38_02_936952_0001.jpg', '/home/pi/Desktop/images/04012025/22/38/image_04012025_22_38_02_936952_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/37/image_04012025_22_37_02_710987_0003.jpg
/home/pi/Desktop/images/04012025/22/38/image_04012025_22_38_02_936952_0000.jpg
/home/pi/Desktop/images/04012025/22/38/image_04012025_22_38_02_936952_0001.jpg
/home/pi/Desktop/images/04012025/22/38/image_04012025_22_38_02_936952_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326809617","1326809647","1326809646","1326809508"],"photo_ids_order":["1326809508","1326809617","1326809646","1326809647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/dd57e887a85302e535f400a6995f8bc8.jpg","text":"TemporaryFile(/tmp/multipartBody6305525917404019127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026773825,"filename":"image_04012025_22_38_02_936952_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/752b44d322d2a8bd3272e53c7253f91d.jpg","text":"TemporaryFile(/tmp/multipartBody2643632956393860381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026773825,"filename":"image_04012025_22_38_02_936952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/447ad9028bf149809d5074327d140a0f.jpg","text":"TemporaryFile(/tmp/multipartBody7811940762973523610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026773825,"filename":"image_04012025_22_38_02_936952_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ad435393155db9ecf6c237bc9e1b1fb5.jpg","text":"TemporaryFile(/tmp/multipartBody2914307071454907649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026773825,"filename":"image_04012025_22_37_02_710987_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326809646","file1":"1326809617","file0":"1326809508","file3":"1326809647"},"map_files_photo_id_array":[{"photo_id":"1326809646","filename":"file2"},{"photo_id":"1326809617","filename":"file1"},{"photo_id":"1326809508","filename":"file0"},{"photo_id":"1326809647","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326809617":["hashtag1","hashtag2"]},{"1326809647":["hashtag1","hashtag2"]},{"1326809646":["hashtag1","hashtag2"]},{"1326809508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326809617, 1326809647, 1326809646, 1326809508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.38895797729492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:39:21.840758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/38/image_04012025_22_38_02_936952_0003.jpg', '/home/pi/Desktop/images/04012025/22/39/image_04012025_22_39_03_067693_0000.jpg', '/home/pi/Desktop/images/04012025/22/39/image_04012025_22_39_03_067693_0001.jpg', '/home/pi/Desktop/images/04012025/22/39/image_04012025_22_39_03_067693_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/38/image_04012025_22_38_02_936952_0003.jpg
/home/pi/Desktop/images/04012025/22/39/image_04012025_22_39_03_067693_0000.jpg
/home/pi/Desktop/images/04012025/22/39/image_04012025_22_39_03_067693_0001.jpg
/home/pi/Desktop/images/04012025/22/39/image_04012025_22_39_03_067693_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326810002","1326810001","1326809987","1326810000"],"photo_ids_order":["1326809987","1326810000","1326810001","1326810002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a2251817feba8226c658376359f63345.jpg","text":"TemporaryFile(/tmp/multipartBody3761713409803631844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026832399,"filename":"image_04012025_22_39_03_067693_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/909216f47a06af73ed6a5d05001bce06.jpg","text":"TemporaryFile(/tmp/multipartBody7398968281230325564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026832399,"filename":"image_04012025_22_39_03_067693_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6ac2090f250da606b96bef96b8e963aa.jpg","text":"TemporaryFile(/tmp/multipartBody7889203158682916063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026832399,"filename":"image_04012025_22_38_02_936952_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e28ec3897d65cc4624a179c22ddf8bc7.jpg","text":"TemporaryFile(/tmp/multipartBody711362675918408940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026832399,"filename":"image_04012025_22_39_03_067693_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326810001","file1":"1326810000","file0":"1326809987","file3":"1326810002"},"map_files_photo_id_array":[{"photo_id":"1326810001","filename":"file2"},{"photo_id":"1326810000","filename":"file1"},{"photo_id":"1326809987","filename":"file0"},{"photo_id":"1326810002","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326810002":["hashtag1","hashtag2"]},{"1326810001":["hashtag1","hashtag2"]},{"1326809987":["hashtag1","hashtag2"]},{"1326810000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326810002, 1326810001, 1326809987, 1326810000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.489224672317505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:40:22.104850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/39/image_04012025_22_39_03_067693_0003.jpg', '/home/pi/Desktop/images/04012025/22/40/image_04012025_22_40_02_290234_0000.jpg', '/home/pi/Desktop/images/04012025/22/40/image_04012025_22_40_02_290234_0001.jpg', '/home/pi/Desktop/images/04012025/22/40/image_04012025_22_40_02_290234_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/39/image_04012025_22_39_03_067693_0003.jpg
/home/pi/Desktop/images/04012025/22/40/image_04012025_22_40_02_290234_0000.jpg
/home/pi/Desktop/images/04012025/22/40/image_04012025_22_40_02_290234_0001.jpg
/home/pi/Desktop/images/04012025/22/40/image_04012025_22_40_02_290234_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326810014","1326810016","1326810010","1326810027"],"photo_ids_order":["1326810010","1326810014","1326810016","1326810027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f42b4cfec6df92e6fae5af08331b7c3c.jpg","text":"TemporaryFile(/tmp/multipartBody1355884187730591566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026892816,"filename":"image_04012025_22_40_02_290234_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f5d8f31b9430e4d66c7b1a36786324ff.jpg","text":"TemporaryFile(/tmp/multipartBody2569833712658573359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026892816,"filename":"image_04012025_22_40_02_290234_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b9a0a79e0b6f709460ec3f36d85895b4.jpg","text":"TemporaryFile(/tmp/multipartBody7122990956138495170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026892816,"filename":"image_04012025_22_39_03_067693_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fed7a6c9caf6704f33c01d38b74c3523.jpg","text":"TemporaryFile(/tmp/multipartBody3784130313987184938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026892816,"filename":"image_04012025_22_40_02_290234_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326810016","file1":"1326810014","file0":"1326810010","file3":"1326810027"},"map_files_photo_id_array":[{"photo_id":"1326810016","filename":"file2"},{"photo_id":"1326810014","filename":"file1"},{"photo_id":"1326810010","filename":"file0"},{"photo_id":"1326810027","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326810014":["hashtag1","hashtag2"]},{"1326810016":["hashtag1","hashtag2"]},{"1326810010":["hashtag1","hashtag2"]},{"1326810027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326810014, 1326810016, 1326810010, 1326810027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.724550008773804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:41:22.291577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/40/image_04012025_22_40_02_290234_0003.jpg', '/home/pi/Desktop/images/04012025/22/41/image_04012025_22_41_02_417396_0000.jpg', '/home/pi/Desktop/images/04012025/22/41/image_04012025_22_41_02_417396_0001.jpg', '/home/pi/Desktop/images/04012025/22/41/image_04012025_22_41_02_417396_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/40/image_04012025_22_40_02_290234_0003.jpg
/home/pi/Desktop/images/04012025/22/41/image_04012025_22_41_02_417396_0000.jpg
/home/pi/Desktop/images/04012025/22/41/image_04012025_22_41_02_417396_0001.jpg
/home/pi/Desktop/images/04012025/22/41/image_04012025_22_41_02_417396_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326810506","1326810428","1326810432","1326810507"],"photo_ids_order":["1326810428","1326810432","1326810506","1326810507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/deb8f4d66adba774134dcf4f5c80ebd8.jpg","text":"TemporaryFile(/tmp/multipartBody2971384477875485878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026952809,"filename":"image_04012025_22_41_02_417396_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/78b76985c18bc44eadf7fb42b111240d.jpg","text":"TemporaryFile(/tmp/multipartBody4055819803907227850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026952809,"filename":"image_04012025_22_40_02_290234_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0b18ca25c083fd577bdd786223e2ec43.jpg","text":"TemporaryFile(/tmp/multipartBody5978796687226446172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026952809,"filename":"image_04012025_22_41_02_417396_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9b47c8d9347ea6d3ebe86b1161c7e486.jpg","text":"TemporaryFile(/tmp/multipartBody3048565488215681324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736026952809,"filename":"image_04012025_22_41_02_417396_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326810506","file1":"1326810432","file0":"1326810428","file3":"1326810507"},"map_files_photo_id_array":[{"photo_id":"1326810506","filename":"file2"},{"photo_id":"1326810432","filename":"file1"},{"photo_id":"1326810428","filename":"file0"},{"photo_id":"1326810507","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326810506":["hashtag1","hashtag2"]},{"1326810428":["hashtag1","hashtag2"]},{"1326810432":["hashtag1","hashtag2"]},{"1326810507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326810506, 1326810428, 1326810432, 1326810507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.509079933166504 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-04 22:42:22.386868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/41/image_04012025_22_41_02_417396_0003.jpg', '/home/pi/Desktop/images/04012025/22/42/image_04012025_22_42_02_577570_0000.jpg', '/home/pi/Desktop/images/04012025/22/42/image_04012025_22_42_02_577570_0001.jpg', '/home/pi/Desktop/images/04012025/22/42/image_04012025_22_42_02_577570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/41/image_04012025_22_41_02_417396_0003.jpg
/home/pi/Desktop/images/04012025/22/42/image_04012025_22_42_02_577570_0000.jpg
/home/pi/Desktop/images/04012025/22/42/image_04012025_22_42_02_577570_0001.jpg
/home/pi/Desktop/images/04012025/22/42/image_04012025_22_42_02_577570_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326811375","1326811327","1326811359","1326811325"],"photo_ids_order":["1326811325","1326811327","1326811359","1326811375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d55f1a55245c69558ffde8995c15b84c.jpg","text":"TemporaryFile(/tmp/multipartBody8540981517676278254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027012998,"filename":"image_04012025_22_42_02_577570_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d9cae2b192dbb507b46f025e1998f058.jpg","text":"TemporaryFile(/tmp/multipartBody1326356116979778732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027012998,"filename":"image_04012025_22_42_02_577570_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cb41e136a3994e35d01246fab62291c4.jpg","text":"TemporaryFile(/tmp/multipartBody8896592619779388045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027012998,"filename":"image_04012025_22_42_02_577570_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bb874b6f79fea5f6488dfd02166be60a.jpg","text":"TemporaryFile(/tmp/multipartBody7247971525274393142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027012998,"filename":"image_04012025_22_41_02_417396_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326811359","file1":"1326811327","file0":"1326811325","file3":"1326811375"},"map_files_photo_id_array":[{"photo_id":"1326811359","filename":"file2"},{"photo_id":"1326811327","filename":"file1"},{"photo_id":"1326811325","filename":"file0"},{"photo_id":"1326811375","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326811375":["hashtag1","hashtag2"]},{"1326811327":["hashtag1","hashtag2"]},{"1326811359":["hashtag1","hashtag2"]},{"1326811325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326811375, 1326811327, 1326811359, 1326811325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.29948353767395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 22:43:03.250552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:43:22.562509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/42/image_04012025_22_42_02_577570_0003.jpg', '/home/pi/Desktop/images/04012025/22/43/image_04012025_22_43_02_796000_0000.jpg', '/home/pi/Desktop/images/04012025/22/43/image_04012025_22_43_02_796000_0001.jpg', '/home/pi/Desktop/images/04012025/22/43/image_04012025_22_43_02_796000_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/42/image_04012025_22_42_02_577570_0003.jpg
/home/pi/Desktop/images/04012025/22/43/image_04012025_22_43_02_796000_0000.jpg
/home/pi/Desktop/images/04012025/22/43/image_04012025_22_43_02_796000_0001.jpg
/home/pi/Desktop/images/04012025/22/43/image_04012025_22_43_02_796000_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326811696","1326811597","1326811421","1326811437"],"photo_ids_order":["1326811421","1326811437","1326811597","1326811696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8b04db9d748817ec77269b778966ede7.jpg","text":"TemporaryFile(/tmp/multipartBody110487965805086624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027072919,"filename":"image_04012025_22_43_02_796000_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/11eecb4849af10c310fa1286f760d6a8.jpg","text":"TemporaryFile(/tmp/multipartBody7388964647265735368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027072919,"filename":"image_04012025_22_43_02_796000_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/41c07d3d845e8a802c7af2aeecd91c55.jpg","text":"TemporaryFile(/tmp/multipartBody8269156019638900921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027072919,"filename":"image_04012025_22_42_02_577570_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a053ff6f67988da97e7949e86daf8324.jpg","text":"TemporaryFile(/tmp/multipartBody1031619592948727685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027072919,"filename":"image_04012025_22_43_02_796000_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326811597","file1":"1326811437","file0":"1326811421","file3":"1326811696"},"map_files_photo_id_array":[{"photo_id":"1326811597","filename":"file2"},{"photo_id":"1326811437","filename":"file1"},{"photo_id":"1326811421","filename":"file0"},{"photo_id":"1326811696","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326811696":["hashtag1","hashtag2"]},{"1326811597":["hashtag1","hashtag2"]},{"1326811421":["hashtag1","hashtag2"]},{"1326811437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326811696, 1326811597, 1326811421, 1326811437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.1386501789093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:44:21.804230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/43/image_04012025_22_43_02_796000_0003.jpg', '/home/pi/Desktop/images/04012025/22/44/image_04012025_22_44_02_948656_0000.jpg', '/home/pi/Desktop/images/04012025/22/44/image_04012025_22_44_02_948656_0001.jpg', '/home/pi/Desktop/images/04012025/22/44/image_04012025_22_44_02_948656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/43/image_04012025_22_43_02_796000_0003.jpg
/home/pi/Desktop/images/04012025/22/44/image_04012025_22_44_02_948656_0000.jpg
/home/pi/Desktop/images/04012025/22/44/image_04012025_22_44_02_948656_0001.jpg
/home/pi/Desktop/images/04012025/22/44/image_04012025_22_44_02_948656_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326812095","1326812119","1326812110","1326812175"],"photo_ids_order":["1326812095","1326812110","1326812119","1326812175"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e1dff078b1e3a4f516a1b12da3b1ec4c.jpg","text":"TemporaryFile(/tmp/multipartBody6310358364497919444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027132376,"filename":"image_04012025_22_43_02_796000_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3220e6905495f3167b36d6e1c92fe1c0.jpg","text":"TemporaryFile(/tmp/multipartBody5854461173427714769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027132376,"filename":"image_04012025_22_44_02_948656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a909c227c2d26612db6091f413797635.jpg","text":"TemporaryFile(/tmp/multipartBody6840382939595174988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027132376,"filename":"image_04012025_22_44_02_948656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1da1721f983e2fc29cb5328498dce844.jpg","text":"TemporaryFile(/tmp/multipartBody683592098868352556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027132376,"filename":"image_04012025_22_44_02_948656_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326812119","file1":"1326812110","file0":"1326812095","file3":"1326812175"},"map_files_photo_id_array":[{"photo_id":"1326812119","filename":"file2"},{"photo_id":"1326812110","filename":"file1"},{"photo_id":"1326812095","filename":"file0"},{"photo_id":"1326812175","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326812095":["hashtag1","hashtag2"]},{"1326812119":["hashtag1","hashtag2"]},{"1326812110":["hashtag1","hashtag2"]},{"1326812175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326812095, 1326812119, 1326812110, 1326812175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.54284906387329 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 22:45:02.595117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:45:22.009761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/44/image_04012025_22_44_02_948656_0003.jpg', '/home/pi/Desktop/images/04012025/22/45/image_04012025_22_45_02_153435_0000.jpg', '/home/pi/Desktop/images/04012025/22/45/image_04012025_22_45_02_153435_0001.jpg', '/home/pi/Desktop/images/04012025/22/45/image_04012025_22_45_02_153435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/44/image_04012025_22_44_02_948656_0003.jpg
/home/pi/Desktop/images/04012025/22/45/image_04012025_22_45_02_153435_0000.jpg
/home/pi/Desktop/images/04012025/22/45/image_04012025_22_45_02_153435_0001.jpg
/home/pi/Desktop/images/04012025/22/45/image_04012025_22_45_02_153435_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326812691","1326812439","1326812315","1326812689"],"photo_ids_order":["1326812315","1326812439","1326812689","1326812691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8a93bd5e52644c11c5d97208d1c35450.jpg","text":"TemporaryFile(/tmp/multipartBody7277477111361583715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027192465,"filename":"image_04012025_22_45_02_153435_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9a0aea47b2735a4c91e4405512cc9d18.jpg","text":"TemporaryFile(/tmp/multipartBody2063767790295318273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027192465,"filename":"image_04012025_22_45_02_153435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/27fdba3e8464577d0fff0c3a9a843017.jpg","text":"TemporaryFile(/tmp/multipartBody2177489072358361939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027192465,"filename":"image_04012025_22_44_02_948656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b5a1385dbd1298a7491af707022b61bd.jpg","text":"TemporaryFile(/tmp/multipartBody1966579291129687566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027192465,"filename":"image_04012025_22_45_02_153435_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326812689","file1":"1326812439","file0":"1326812315","file3":"1326812691"},"map_files_photo_id_array":[{"photo_id":"1326812689","filename":"file2"},{"photo_id":"1326812439","filename":"file1"},{"photo_id":"1326812315","filename":"file0"},{"photo_id":"1326812691","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326812691":["hashtag1","hashtag2"]},{"1326812439":["hashtag1","hashtag2"]},{"1326812315":["hashtag1","hashtag2"]},{"1326812689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326812691, 1326812439, 1326812315, 1326812689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.9266562461853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:46:22.208869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/45/image_04012025_22_45_02_153435_0003.jpg', '/home/pi/Desktop/images/04012025/22/46/image_04012025_22_46_02_336586_0000.jpg', '/home/pi/Desktop/images/04012025/22/46/image_04012025_22_46_02_336586_0001.jpg', '/home/pi/Desktop/images/04012025/22/46/image_04012025_22_46_02_336586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/45/image_04012025_22_45_02_153435_0003.jpg
/home/pi/Desktop/images/04012025/22/46/image_04012025_22_46_02_336586_0000.jpg
/home/pi/Desktop/images/04012025/22/46/image_04012025_22_46_02_336586_0001.jpg
/home/pi/Desktop/images/04012025/22/46/image_04012025_22_46_02_336586_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326812815","1326812826","1326812822","1326812918"],"photo_ids_order":["1326812815","1326812822","1326812826","1326812918"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9925ac00bb95008545ed8515f1ba2338.jpg","text":"TemporaryFile(/tmp/multipartBody3628756595493032282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027252578,"filename":"image_04012025_22_45_02_153435_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/06329b8d36b10fde0339f113dcfa13fb.jpg","text":"TemporaryFile(/tmp/multipartBody1611498488353123088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027252578,"filename":"image_04012025_22_46_02_336586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/546259a616bbea2780671e82b0c6d53c.jpg","text":"TemporaryFile(/tmp/multipartBody5489888107072017149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027252578,"filename":"image_04012025_22_46_02_336586_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d8c0eb41693bf10b68d313b3caf133d4.jpg","text":"TemporaryFile(/tmp/multipartBody3961768184067984815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027252578,"filename":"image_04012025_22_46_02_336586_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326812826","file1":"1326812822","file0":"1326812815","file3":"1326812918"},"map_files_photo_id_array":[{"photo_id":"1326812826","filename":"file2"},{"photo_id":"1326812822","filename":"file1"},{"photo_id":"1326812815","filename":"file0"},{"photo_id":"1326812918","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326812815":["hashtag1","hashtag2"]},{"1326812826":["hashtag1","hashtag2"]},{"1326812822":["hashtag1","hashtag2"]},{"1326812918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326812815, 1326812826, 1326812822, 1326812918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.382057189941406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 22:47:02.974766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:47:22.448945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/46/image_04012025_22_46_02_336586_0003.jpg', '/home/pi/Desktop/images/04012025/22/47/image_04012025_22_47_02_522074_0000.jpg', '/home/pi/Desktop/images/04012025/22/47/image_04012025_22_47_02_522074_0001.jpg', '/home/pi/Desktop/images/04012025/22/47/image_04012025_22_47_02_522074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/46/image_04012025_22_46_02_336586_0003.jpg
/home/pi/Desktop/images/04012025/22/47/image_04012025_22_47_02_522074_0000.jpg
/home/pi/Desktop/images/04012025/22/47/image_04012025_22_47_02_522074_0001.jpg
/home/pi/Desktop/images/04012025/22/47/image_04012025_22_47_02_522074_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326813831","1326813878","1326813881","1326813917"],"photo_ids_order":["1326813831","1326813878","1326813881","1326813917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca66aeaa8bf16a353bbfe5117b105914.jpg","text":"TemporaryFile(/tmp/multipartBody4623479449793594163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027312751,"filename":"image_04012025_22_46_02_336586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/54fbb95e21ae181e6eecc8ab1b7e0809.jpg","text":"TemporaryFile(/tmp/multipartBody7029811447470414493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027312751,"filename":"image_04012025_22_47_02_522074_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af0f2480962387039ba30d6fbc8685a2.jpg","text":"TemporaryFile(/tmp/multipartBody325249396033643729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027312751,"filename":"image_04012025_22_47_02_522074_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ca4bf0e57e0df28664ab1b2148c14de7.jpg","text":"TemporaryFile(/tmp/multipartBody8898283085592333863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027312751,"filename":"image_04012025_22_47_02_522074_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326813881","file1":"1326813878","file0":"1326813831","file3":"1326813917"},"map_files_photo_id_array":[{"photo_id":"1326813881","filename":"file2"},{"photo_id":"1326813878","filename":"file1"},{"photo_id":"1326813831","filename":"file0"},{"photo_id":"1326813917","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326813831":["hashtag1","hashtag2"]},{"1326813878":["hashtag1","hashtag2"]},{"1326813881":["hashtag1","hashtag2"]},{"1326813917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326813831, 1326813878, 1326813881, 1326813917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8903226852417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 22:48:03.009951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:48:22.556284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/47/image_04012025_22_47_02_522074_0003.jpg', '/home/pi/Desktop/images/04012025/22/48/image_04012025_22_48_02_804772_0000.jpg', '/home/pi/Desktop/images/04012025/22/48/image_04012025_22_48_02_804772_0001.jpg', '/home/pi/Desktop/images/04012025/22/48/image_04012025_22_48_02_804772_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/47/image_04012025_22_47_02_522074_0003.jpg
/home/pi/Desktop/images/04012025/22/48/image_04012025_22_48_02_804772_0000.jpg
/home/pi/Desktop/images/04012025/22/48/image_04012025_22_48_02_804772_0001.jpg
/home/pi/Desktop/images/04012025/22/48/image_04012025_22_48_02_804772_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326814397","1326814400","1326814471","1326814447"],"photo_ids_order":["1326814397","1326814400","1326814447","1326814471"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/574f5bbdc4eb9b864a166d42e185639c.jpg","text":"TemporaryFile(/tmp/multipartBody2174575633052865972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027372933,"filename":"image_04012025_22_47_02_522074_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/278f825bcab96c3172ee5b02ad637c6f.jpg","text":"TemporaryFile(/tmp/multipartBody6876313935811289707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027372933,"filename":"image_04012025_22_48_02_804772_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/178580be08ddb1a97e3c266c33aadf17.jpg","text":"TemporaryFile(/tmp/multipartBody6721430180873825384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027372933,"filename":"image_04012025_22_48_02_804772_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fd284e81ab5844637b173b19ad0cdbd8.jpg","text":"TemporaryFile(/tmp/multipartBody3759571275293750933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027372933,"filename":"image_04012025_22_48_02_804772_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326814447","file1":"1326814400","file0":"1326814397","file3":"1326814471"},"map_files_photo_id_array":[{"photo_id":"1326814447","filename":"file2"},{"photo_id":"1326814400","filename":"file1"},{"photo_id":"1326814397","filename":"file0"},{"photo_id":"1326814471","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326814397":["hashtag1","hashtag2"]},{"1326814400":["hashtag1","hashtag2"]},{"1326814471":["hashtag1","hashtag2"]},{"1326814447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326814397, 1326814400, 1326814471, 1326814447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.41470789909363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:49:22.810651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/48/image_04012025_22_48_02_804772_0003.jpg', '/home/pi/Desktop/images/04012025/22/49/image_04012025_22_49_02_925007_0000.jpg', '/home/pi/Desktop/images/04012025/22/49/image_04012025_22_49_02_925007_0001.jpg', '/home/pi/Desktop/images/04012025/22/49/image_04012025_22_49_02_925007_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/48/image_04012025_22_48_02_804772_0003.jpg
/home/pi/Desktop/images/04012025/22/49/image_04012025_22_49_02_925007_0000.jpg
/home/pi/Desktop/images/04012025/22/49/image_04012025_22_49_02_925007_0001.jpg
/home/pi/Desktop/images/04012025/22/49/image_04012025_22_49_02_925007_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326814479","1326814874","1326814556","1326815020"],"photo_ids_order":["1326814479","1326814556","1326814874","1326815020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9b69a1be9091feaa1f52d34b4f953cc2.jpg","text":"TemporaryFile(/tmp/multipartBody7907269903622491301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027433138,"filename":"image_04012025_22_48_02_804772_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/348e377c2a547709551acb57f4e8f372.jpg","text":"TemporaryFile(/tmp/multipartBody9192936201510241252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027433138,"filename":"image_04012025_22_49_02_925007_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e36235ab464a3646987f2ff74b3f496e.jpg","text":"TemporaryFile(/tmp/multipartBody7991607166123449306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027433138,"filename":"image_04012025_22_49_02_925007_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aa44ab055f8a70a21bf14b0942ab0667.jpg","text":"TemporaryFile(/tmp/multipartBody2373627274044453454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027433138,"filename":"image_04012025_22_49_02_925007_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326814874","file1":"1326814556","file0":"1326814479","file3":"1326815020"},"map_files_photo_id_array":[{"photo_id":"1326814874","filename":"file2"},{"photo_id":"1326814556","filename":"file1"},{"photo_id":"1326814479","filename":"file0"},{"photo_id":"1326815020","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326814479":["hashtag1","hashtag2"]},{"1326814874":["hashtag1","hashtag2"]},{"1326814556":["hashtag1","hashtag2"]},{"1326815020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326814479, 1326814874, 1326814556, 1326815020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0632266998291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:50:21.949579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/49/image_04012025_22_49_02_925007_0003.jpg', '/home/pi/Desktop/images/04012025/22/50/image_04012025_22_50_03_139589_0000.jpg', '/home/pi/Desktop/images/04012025/22/50/image_04012025_22_50_03_139589_0001.jpg', '/home/pi/Desktop/images/04012025/22/50/image_04012025_22_50_03_139589_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/49/image_04012025_22_49_02_925007_0003.jpg
/home/pi/Desktop/images/04012025/22/50/image_04012025_22_50_03_139589_0000.jpg
/home/pi/Desktop/images/04012025/22/50/image_04012025_22_50_03_139589_0001.jpg
/home/pi/Desktop/images/04012025/22/50/image_04012025_22_50_03_139589_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326815225","1326815228","1326815230","1326815232"],"photo_ids_order":["1326815225","1326815228","1326815230","1326815232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0d3f7fd353f71d50910cd2b52772b234.jpg","text":"TemporaryFile(/tmp/multipartBody1319350166030228759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027492293,"filename":"image_04012025_22_49_02_925007_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0536d6907630a5a8dcc4fae8ff7173ac.jpg","text":"TemporaryFile(/tmp/multipartBody6265460863972873149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027492293,"filename":"image_04012025_22_50_03_139589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bee87b81826a941c7f2cf1729006fb09.jpg","text":"TemporaryFile(/tmp/multipartBody5689473869723361568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027492293,"filename":"image_04012025_22_50_03_139589_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1affd2f9f599a4fd1ac955ee97077267.jpg","text":"TemporaryFile(/tmp/multipartBody7713317868741729409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027492293,"filename":"image_04012025_22_50_03_139589_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326815230","file1":"1326815228","file0":"1326815225","file3":"1326815232"},"map_files_photo_id_array":[{"photo_id":"1326815230","filename":"file2"},{"photo_id":"1326815228","filename":"file1"},{"photo_id":"1326815225","filename":"file0"},{"photo_id":"1326815232","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326815225":["hashtag1","hashtag2"]},{"1326815228":["hashtag1","hashtag2"]},{"1326815230":["hashtag1","hashtag2"]},{"1326815232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326815225, 1326815228, 1326815230, 1326815232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70883917808533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 22:51:02.692759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:51:22.064775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/50/image_04012025_22_50_03_139589_0003.jpg', '/home/pi/Desktop/images/04012025/22/51/image_04012025_22_51_02_292850_0000.jpg', '/home/pi/Desktop/images/04012025/22/51/image_04012025_22_51_02_292850_0001.jpg', '/home/pi/Desktop/images/04012025/22/51/image_04012025_22_51_02_292850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/50/image_04012025_22_50_03_139589_0003.jpg
/home/pi/Desktop/images/04012025/22/51/image_04012025_22_51_02_292850_0000.jpg
/home/pi/Desktop/images/04012025/22/51/image_04012025_22_51_02_292850_0001.jpg
/home/pi/Desktop/images/04012025/22/51/image_04012025_22_51_02_292850_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326815411","1326815629","1326815242","1326815631"],"photo_ids_order":["1326815242","1326815411","1326815629","1326815631"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e3afa8b21db367452a4cb4afc2a44f3f.jpg","text":"TemporaryFile(/tmp/multipartBody1412765572771876509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027552360,"filename":"image_04012025_22_51_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/4/8959aa8fa68ed09e181ac8531a8371da.jpg","text":"TemporaryFile(/tmp/multipartBody6057918188033501878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027552360,"filename":"image_04012025_22_51_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/4/f78bc58c79edfbc2dbaff061e745abcc.jpg","text":"TemporaryFile(/tmp/multipartBody843152252605845164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027552360,"filename":"image_04012025_22_50_03_139589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/897ef1495d2d822be1d96740ee6ad292.jpg","text":"TemporaryFile(/tmp/multipartBody8063118789799214972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027552360,"filename":"image_04012025_22_51_02_292850_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326815629","file1":"1326815411","file0":"1326815242","file3":"1326815631"},"map_files_photo_id_array":[{"photo_id":"1326815629","filename":"file2"},{"photo_id":"1326815411","filename":"file1"},{"photo_id":"1326815242","filename":"file0"},{"photo_id":"1326815631","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326815411":["hashtag1","hashtag2"]},{"1326815629":["hashtag1","hashtag2"]},{"1326815242":["hashtag1","hashtag2"]},{"1326815631":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326815411, 1326815629, 1326815242, 1326815631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.037728786468506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 22:52:02.710702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:52:22.226438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/51/image_04012025_22_51_02_292850_0003.jpg', '/home/pi/Desktop/images/04012025/22/52/image_04012025_22_52_02_395770_0000.jpg', '/home/pi/Desktop/images/04012025/22/52/image_04012025_22_52_02_395770_0001.jpg', '/home/pi/Desktop/images/04012025/22/52/image_04012025_22_52_02_395770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/51/image_04012025_22_51_02_292850_0003.jpg
/home/pi/Desktop/images/04012025/22/52/image_04012025_22_52_02_395770_0000.jpg
/home/pi/Desktop/images/04012025/22/52/image_04012025_22_52_02_395770_0001.jpg
/home/pi/Desktop/images/04012025/22/52/image_04012025_22_52_02_395770_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.057161808013916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 22:52:42.286594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/51/image_04012025_22_51_02_292850_0003.jpg', '/home/pi/Desktop/images/04012025/22/52/image_04012025_22_52_02_395770_0000.jpg', '/home/pi/Desktop/images/04012025/22/52/image_04012025_22_52_02_395770_0001.jpg', '/home/pi/Desktop/images/04012025/22/52/image_04012025_22_52_02_395770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/51/image_04012025_22_51_02_292850_0003.jpg
/home/pi/Desktop/images/04012025/22/52/image_04012025_22_52_02_395770_0000.jpg
/home/pi/Desktop/images/04012025/22/52/image_04012025_22_52_02_395770_0001.jpg
/home/pi/Desktop/images/04012025/22/52/image_04012025_22_52_02_395770_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326816247","1326816195","1326816194","1326816284"],"photo_ids_order":["1326816194","1326816195","1326816247","1326816284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/67d17e9b3b1f69d5346d30a5614e5993.jpg","text":"TemporaryFile(/tmp/multipartBody4987728789848455169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027632726,"filename":"image_04012025_22_52_02_395770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/770f32bde007056b12b2f0d28e2e5d5f.jpg","text":"TemporaryFile(/tmp/multipartBody1797829578236376735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027632726,"filename":"image_04012025_22_52_02_395770_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/280d7e8c7390e2cb53861b4601915739.jpg","text":"TemporaryFile(/tmp/multipartBody2127450679325666850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027632726,"filename":"image_04012025_22_51_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/4/bac63c685d7e98ee22f20d0419e14144.jpg","text":"TemporaryFile(/tmp/multipartBody6673718441506771746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027632726,"filename":"image_04012025_22_52_02_395770_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326816247","file1":"1326816195","file0":"1326816194","file3":"1326816284"},"map_files_photo_id_array":[{"photo_id":"1326816247","filename":"file2"},{"photo_id":"1326816195","filename":"file1"},{"photo_id":"1326816194","filename":"file0"},{"photo_id":"1326816284","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326816247":["hashtag1","hashtag2"]},{"1326816195":["hashtag1","hashtag2"]},{"1326816194":["hashtag1","hashtag2"]},{"1326816284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326816247, 1326816195, 1326816194, 1326816284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.764981269836426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 22:53:32.440446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/52/image_04012025_22_52_02_395770_0003.jpg', '/home/pi/Desktop/images/04012025/22/53/image_04012025_22_53_02_587480_0000.jpg', '/home/pi/Desktop/images/04012025/22/53/image_04012025_22_53_02_587480_0001.jpg', '/home/pi/Desktop/images/04012025/22/53/image_04012025_22_53_02_587480_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/52/image_04012025_22_52_02_395770_0003.jpg
/home/pi/Desktop/images/04012025/22/53/image_04012025_22_53_02_587480_0000.jpg
/home/pi/Desktop/images/04012025/22/53/image_04012025_22_53_02_587480_0001.jpg
/home/pi/Desktop/images/04012025/22/53/image_04012025_22_53_02_587480_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326816344","1326816347","1326816346","1326816345"],"photo_ids_order":["1326816344","1326816345","1326816346","1326816347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/352ef674fcfb4c692b9ad5b95445a8b2.jpg","text":"TemporaryFile(/tmp/multipartBody5517720714425790556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027682792,"filename":"image_04012025_22_52_02_395770_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4fe95e9d9a6efbccba7a97ec21089539.jpg","text":"TemporaryFile(/tmp/multipartBody9088886486264709379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027682792,"filename":"image_04012025_22_53_02_587480_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a377fa944321fe64c87009051d8e8232.jpg","text":"TemporaryFile(/tmp/multipartBody5652683111567342162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027682792,"filename":"image_04012025_22_53_02_587480_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/844c4c71901993ae054190863cd67895.jpg","text":"TemporaryFile(/tmp/multipartBody5976540450318558184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027682792,"filename":"image_04012025_22_53_02_587480_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326816346","file1":"1326816345","file0":"1326816344","file3":"1326816347"},"map_files_photo_id_array":[{"photo_id":"1326816346","filename":"file2"},{"photo_id":"1326816345","filename":"file1"},{"photo_id":"1326816344","filename":"file0"},{"photo_id":"1326816347","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326816344":["hashtag1","hashtag2"]},{"1326816347":["hashtag1","hashtag2"]},{"1326816346":["hashtag1","hashtag2"]},{"1326816345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326816344, 1326816347, 1326816346, 1326816345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03461480140686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:54:22.643527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/53/image_04012025_22_53_02_587480_0003.jpg', '/home/pi/Desktop/images/04012025/22/54/image_04012025_22_54_02_787723_0000.jpg', '/home/pi/Desktop/images/04012025/22/54/image_04012025_22_54_02_787723_0001.jpg', '/home/pi/Desktop/images/04012025/22/54/image_04012025_22_54_02_787723_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/53/image_04012025_22_53_02_587480_0003.jpg
/home/pi/Desktop/images/04012025/22/54/image_04012025_22_54_02_787723_0000.jpg
/home/pi/Desktop/images/04012025/22/54/image_04012025_22_54_02_787723_0001.jpg
/home/pi/Desktop/images/04012025/22/54/image_04012025_22_54_02_787723_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326816466","1326816462","1326816459","1326816456"],"photo_ids_order":["1326816456","1326816459","1326816462","1326816466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/26116cd44b63be9cf0fb1083d8d7e4de.jpg","text":"TemporaryFile(/tmp/multipartBody8621724820292842149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027733062,"filename":"image_04012025_22_54_02_787723_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ed2d27cf5d8ca27ccc4b223058a0d965.jpg","text":"TemporaryFile(/tmp/multipartBody3692506124856206952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027733062,"filename":"image_04012025_22_54_02_787723_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c32a578e57d63d9c472ccaedb601d810.jpg","text":"TemporaryFile(/tmp/multipartBody210551228227439375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027733062,"filename":"image_04012025_22_54_02_787723_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d6ac27a088e2bef4b1042bbd2a2bef4e.jpg","text":"TemporaryFile(/tmp/multipartBody2304319346903481659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027733062,"filename":"image_04012025_22_53_02_587480_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326816462","file1":"1326816459","file0":"1326816456","file3":"1326816466"},"map_files_photo_id_array":[{"photo_id":"1326816462","filename":"file2"},{"photo_id":"1326816459","filename":"file1"},{"photo_id":"1326816456","filename":"file0"},{"photo_id":"1326816466","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326816466":["hashtag1","hashtag2"]},{"1326816462":["hashtag1","hashtag2"]},{"1326816459":["hashtag1","hashtag2"]},{"1326816456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326816466, 1326816462, 1326816459, 1326816456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.833331823349 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:55:21.882606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/54/image_04012025_22_54_02_787723_0003.jpg', '/home/pi/Desktop/images/04012025/22/55/image_04012025_22_55_03_047794_0000.jpg', '/home/pi/Desktop/images/04012025/22/55/image_04012025_22_55_03_047794_0001.jpg', '/home/pi/Desktop/images/04012025/22/55/image_04012025_22_55_03_047794_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/54/image_04012025_22_54_02_787723_0003.jpg
/home/pi/Desktop/images/04012025/22/55/image_04012025_22_55_03_047794_0000.jpg
/home/pi/Desktop/images/04012025/22/55/image_04012025_22_55_03_047794_0001.jpg
/home/pi/Desktop/images/04012025/22/55/image_04012025_22_55_03_047794_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326816506","1326816502","1326816508","1326816510"],"photo_ids_order":["1326816502","1326816506","1326816508","1326816510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/af585def389587cf5866055af5dbcdb5.jpg","text":"TemporaryFile(/tmp/multipartBody2501823196489990082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027792358,"filename":"image_04012025_22_55_03_047794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cc4b195cc7291974ddf3e1c0b3e227bb.jpg","text":"TemporaryFile(/tmp/multipartBody6057776319735446346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027792358,"filename":"image_04012025_22_54_02_787723_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7d00f4d6caa296d98f09782ca86e045c.jpg","text":"TemporaryFile(/tmp/multipartBody5715577953000337277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027792358,"filename":"image_04012025_22_55_03_047794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9affbe98ef8366fd8e0e0ba75322b527.jpg","text":"TemporaryFile(/tmp/multipartBody5310589584632392568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027792358,"filename":"image_04012025_22_55_03_047794_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326816508","file1":"1326816506","file0":"1326816502","file3":"1326816510"},"map_files_photo_id_array":[{"photo_id":"1326816508","filename":"file2"},{"photo_id":"1326816506","filename":"file1"},{"photo_id":"1326816502","filename":"file0"},{"photo_id":"1326816510","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326816506":["hashtag1","hashtag2"]},{"1326816502":["hashtag1","hashtag2"]},{"1326816508":["hashtag1","hashtag2"]},{"1326816510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326816506, 1326816502, 1326816508, 1326816510)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.71023678779602 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:56:21.962679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/55/image_04012025_22_55_03_047794_0003.jpg', '/home/pi/Desktop/images/04012025/22/56/image_04012025_22_56_02_214697_0000.jpg', '/home/pi/Desktop/images/04012025/22/56/image_04012025_22_56_02_214697_0001.jpg', '/home/pi/Desktop/images/04012025/22/56/image_04012025_22_56_02_214697_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/55/image_04012025_22_55_03_047794_0003.jpg
/home/pi/Desktop/images/04012025/22/56/image_04012025_22_56_02_214697_0000.jpg
/home/pi/Desktop/images/04012025/22/56/image_04012025_22_56_02_214697_0001.jpg
/home/pi/Desktop/images/04012025/22/56/image_04012025_22_56_02_214697_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326816523","1326816525","1326816537","1326816773"],"photo_ids_order":["1326816523","1326816525","1326816537","1326816773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/60bea8f6db646ce24be0247512560ee9.jpg","text":"TemporaryFile(/tmp/multipartBody1102975796280168416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027852416,"filename":"image_04012025_22_55_03_047794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aa8c9ca91c513549133a189edd1e6666.jpg","text":"TemporaryFile(/tmp/multipartBody1533506051453005947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027852416,"filename":"image_04012025_22_56_02_214697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/befeb55c90410572f3a585c0b3528b6b.jpg","text":"TemporaryFile(/tmp/multipartBody8626484341088750246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027852416,"filename":"image_04012025_22_56_02_214697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fdb966fd7a9b7513b1c6130c77acdf1d.jpg","text":"TemporaryFile(/tmp/multipartBody4767058033492382015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027852416,"filename":"image_04012025_22_56_02_214697_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326816537","file1":"1326816525","file0":"1326816523","file3":"1326816773"},"map_files_photo_id_array":[{"photo_id":"1326816537","filename":"file2"},{"photo_id":"1326816525","filename":"file1"},{"photo_id":"1326816523","filename":"file0"},{"photo_id":"1326816773","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326816523":["hashtag1","hashtag2"]},{"1326816525":["hashtag1","hashtag2"]},{"1326816537":["hashtag1","hashtag2"]},{"1326816773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326816523, 1326816525, 1326816537, 1326816773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.636428117752075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 22:57:02.708353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 22:57:22.270365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/56/image_04012025_22_56_02_214697_0003.jpg', '/home/pi/Desktop/images/04012025/22/57/image_04012025_22_57_02_366513_0000.jpg', '/home/pi/Desktop/images/04012025/22/57/image_04012025_22_57_02_366513_0001.jpg', '/home/pi/Desktop/images/04012025/22/57/image_04012025_22_57_02_366513_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/56/image_04012025_22_56_02_214697_0003.jpg
/home/pi/Desktop/images/04012025/22/57/image_04012025_22_57_02_366513_0000.jpg
/home/pi/Desktop/images/04012025/22/57/image_04012025_22_57_02_366513_0001.jpg
/home/pi/Desktop/images/04012025/22/57/image_04012025_22_57_02_366513_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326816926","1326816917","1326816919","1326816864"],"photo_ids_order":["1326816864","1326816917","1326816919","1326816926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3b85de4b9917a6008e7273db21e839e3.jpg","text":"TemporaryFile(/tmp/multipartBody5119451650221687818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027912740,"filename":"image_04012025_22_57_02_366513_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5dbb17d9d7ab1480fd5b96ac2474df49.jpg","text":"TemporaryFile(/tmp/multipartBody3885005354198814760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027912740,"filename":"image_04012025_22_57_02_366513_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2fe687b86571c38da5ee8c89f1936c88.jpg","text":"TemporaryFile(/tmp/multipartBody7624769134715622694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027912740,"filename":"image_04012025_22_57_02_366513_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/65183e29c67d09d47e55884a7d52def0.jpg","text":"TemporaryFile(/tmp/multipartBody5946179644317340668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736027912740,"filename":"image_04012025_22_56_02_214697_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326816919","file1":"1326816917","file0":"1326816864","file3":"1326816926"},"map_files_photo_id_array":[{"photo_id":"1326816919","filename":"file2"},{"photo_id":"1326816917","filename":"file1"},{"photo_id":"1326816864","filename":"file0"},{"photo_id":"1326816926","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326816926":["hashtag1","hashtag2"]},{"1326816917":["hashtag1","hashtag2"]},{"1326816919":["hashtag1","hashtag2"]},{"1326816864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326816926, 1326816917, 1326816919, 1326816864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.52259588241577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 22:59:03.097536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/57/image_04012025_22_57_02_366513_0003.jpg', '/home/pi/Desktop/images/04012025/22/58/image_04012025_22_58_02_509535_0000.jpg', '/home/pi/Desktop/images/04012025/22/58/image_04012025_22_58_02_509535_0001.jpg', '/home/pi/Desktop/images/04012025/22/58/image_04012025_22_58_02_509535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/57/image_04012025_22_57_02_366513_0003.jpg
/home/pi/Desktop/images/04012025/22/58/image_04012025_22_58_02_509535_0000.jpg
/home/pi/Desktop/images/04012025/22/58/image_04012025_22_58_02_509535_0001.jpg
/home/pi/Desktop/images/04012025/22/58/image_04012025_22_58_02_509535_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326817842","1326817850","1326817838","1326817847"],"photo_ids_order":["1326817838","1326817842","1326817847","1326817850"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/60f689ec914205c11c42d94c56833f2a.jpg","text":"TemporaryFile(/tmp/multipartBody1204285037713199997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028013572,"filename":"image_04012025_22_58_02_509535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ccc45c5b589abd55d9204f2d3752a5f9.jpg","text":"TemporaryFile(/tmp/multipartBody4367000350747141822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028013572,"filename":"image_04012025_22_58_02_509535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/edda5bb87622c0f835957b85a58d2c6c.jpg","text":"TemporaryFile(/tmp/multipartBody3106096752580614550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028013572,"filename":"image_04012025_22_57_02_366513_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/73c996855635f41244f465560af22d13.jpg","text":"TemporaryFile(/tmp/multipartBody2263643409531575225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028013572,"filename":"image_04012025_22_58_02_509535_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326817847","file1":"1326817842","file0":"1326817838","file3":"1326817850"},"map_files_photo_id_array":[{"photo_id":"1326817847","filename":"file2"},{"photo_id":"1326817842","filename":"file1"},{"photo_id":"1326817838","filename":"file0"},{"photo_id":"1326817850","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326817842":["hashtag1","hashtag2"]},{"1326817850":["hashtag1","hashtag2"]},{"1326817838":["hashtag1","hashtag2"]},{"1326817847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326817842, 1326817850, 1326817838, 1326817847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.84728407859802 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-04 22:59:52.593197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/58/image_04012025_22_58_02_509535_0003.jpg', '/home/pi/Desktop/images/04012025/22/59/image_04012025_22_59_02_733435_0000.jpg', '/home/pi/Desktop/images/04012025/22/59/image_04012025_22_59_02_733435_0001.jpg', '/home/pi/Desktop/images/04012025/22/59/image_04012025_22_59_02_733435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/58/image_04012025_22_58_02_509535_0003.jpg
/home/pi/Desktop/images/04012025/22/59/image_04012025_22_59_02_733435_0000.jpg
/home/pi/Desktop/images/04012025/22/59/image_04012025_22_59_02_733435_0001.jpg
/home/pi/Desktop/images/04012025/22/59/image_04012025_22_59_02_733435_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326817870","1326817867","1326817863","1326817860"],"photo_ids_order":["1326817860","1326817863","1326817867","1326817870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8802e1048d90dff26182c066f3ada6dd.jpg","text":"TemporaryFile(/tmp/multipartBody1286934831826987188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028063195,"filename":"image_04012025_22_59_02_733435_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f399c32e164fcc9f9558973412a116cf.jpg","text":"TemporaryFile(/tmp/multipartBody6667652967686581529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028063195,"filename":"image_04012025_22_59_02_733435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7fdfaaa980d6994c9028f6ee7750ab2d.jpg","text":"TemporaryFile(/tmp/multipartBody8661932564003390694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028063195,"filename":"image_04012025_22_59_02_733435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7071264fe34ba9995dd88af29afafaa.jpg","text":"TemporaryFile(/tmp/multipartBody8298850349575110468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028063195,"filename":"image_04012025_22_58_02_509535_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326817867","file1":"1326817863","file0":"1326817860","file3":"1326817870"},"map_files_photo_id_array":[{"photo_id":"1326817867","filename":"file2"},{"photo_id":"1326817863","filename":"file1"},{"photo_id":"1326817860","filename":"file0"},{"photo_id":"1326817870","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326817870":["hashtag1","hashtag2"]},{"1326817867":["hashtag1","hashtag2"]},{"1326817863":["hashtag1","hashtag2"]},{"1326817860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326817870, 1326817867, 1326817863, 1326817860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0981285572052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 23:00:41.778125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/22/59/image_04012025_22_59_02_733435_0003.jpg', '/home/pi/Desktop/images/04012025/23/00/image_04012025_23_00_02_979650_0000.jpg', '/home/pi/Desktop/images/04012025/23/00/image_04012025_23_00_02_979650_0001.jpg', '/home/pi/Desktop/images/04012025/23/00/image_04012025_23_00_02_979650_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/22/59/image_04012025_22_59_02_733435_0003.jpg
/home/pi/Desktop/images/04012025/23/00/image_04012025_23_00_02_979650_0000.jpg
/home/pi/Desktop/images/04012025/23/00/image_04012025_23_00_02_979650_0001.jpg
/home/pi/Desktop/images/04012025/23/00/image_04012025_23_00_02_979650_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326817891","1326817920","1326817923","1326817889"],"photo_ids_order":["1326817889","1326817891","1326817920","1326817923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0bf074b5d129c705dd32cd186da7319b.jpg","text":"TemporaryFile(/tmp/multipartBody2050525836012959848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028112249,"filename":"image_04012025_23_00_02_979650_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6b0b78486af2683a44ea14fb2baad8ef.jpg","text":"TemporaryFile(/tmp/multipartBody456217427601308033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028112249,"filename":"image_04012025_23_00_02_979650_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1cf598f466e711f57820785bdf7b94cf.jpg","text":"TemporaryFile(/tmp/multipartBody2370231987684604413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028112249,"filename":"image_04012025_23_00_02_979650_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a6b38c6265155947e1daf9df7fe00282.jpg","text":"TemporaryFile(/tmp/multipartBody2653359204720964980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028112249,"filename":"image_04012025_22_59_02_733435_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326817920","file1":"1326817891","file0":"1326817889","file3":"1326817923"},"map_files_photo_id_array":[{"photo_id":"1326817920","filename":"file2"},{"photo_id":"1326817891","filename":"file1"},{"photo_id":"1326817889","filename":"file0"},{"photo_id":"1326817923","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326817891":["hashtag1","hashtag2"]},{"1326817920":["hashtag1","hashtag2"]},{"1326817923":["hashtag1","hashtag2"]},{"1326817889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326817891, 1326817920, 1326817923, 1326817889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.358710527420044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:01:21.934640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/00/image_04012025_23_00_02_979650_0003.jpg', '/home/pi/Desktop/images/04012025/23/01/image_04012025_23_01_02_129194_0000.jpg', '/home/pi/Desktop/images/04012025/23/01/image_04012025_23_01_02_129194_0001.jpg', '/home/pi/Desktop/images/04012025/23/01/image_04012025_23_01_02_129194_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/00/image_04012025_23_00_02_979650_0003.jpg
/home/pi/Desktop/images/04012025/23/01/image_04012025_23_01_02_129194_0000.jpg
/home/pi/Desktop/images/04012025/23/01/image_04012025_23_01_02_129194_0001.jpg
/home/pi/Desktop/images/04012025/23/01/image_04012025_23_01_02_129194_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326817933","1326817944","1326817941","1326817937"],"photo_ids_order":["1326817933","1326817937","1326817941","1326817944"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3bdb908124adabf4284ab308fa84949b.jpg","text":"TemporaryFile(/tmp/multipartBody8961890379751649740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028152228,"filename":"image_04012025_23_00_02_979650_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/304d0b544746899999a0400632598f8c.jpg","text":"TemporaryFile(/tmp/multipartBody5859415124630158086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028152228,"filename":"image_04012025_23_01_02_129194_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5f3ba0cf4a3937c2468f03d0bda6f1eb.jpg","text":"TemporaryFile(/tmp/multipartBody5517605520413930690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028152228,"filename":"image_04012025_23_01_02_129194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aa55df78e36f6165451b6fb837bb9f6f.jpg","text":"TemporaryFile(/tmp/multipartBody6491273999365790348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028152228,"filename":"image_04012025_23_01_02_129194_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326817941","file1":"1326817937","file0":"1326817933","file3":"1326817944"},"map_files_photo_id_array":[{"photo_id":"1326817941","filename":"file2"},{"photo_id":"1326817937","filename":"file1"},{"photo_id":"1326817933","filename":"file0"},{"photo_id":"1326817944","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326817933":["hashtag1","hashtag2"]},{"1326817944":["hashtag1","hashtag2"]},{"1326817941":["hashtag1","hashtag2"]},{"1326817937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326817933, 1326817944, 1326817941, 1326817937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.428003787994385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:02:22.105631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/01/image_04012025_23_01_02_129194_0003.jpg', '/home/pi/Desktop/images/04012025/23/02/image_04012025_23_02_02_313046_0000.jpg', '/home/pi/Desktop/images/04012025/23/02/image_04012025_23_02_02_313046_0001.jpg', '/home/pi/Desktop/images/04012025/23/02/image_04012025_23_02_02_313046_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/01/image_04012025_23_01_02_129194_0003.jpg
/home/pi/Desktop/images/04012025/23/02/image_04012025_23_02_02_313046_0000.jpg
/home/pi/Desktop/images/04012025/23/02/image_04012025_23_02_02_313046_0001.jpg
/home/pi/Desktop/images/04012025/23/02/image_04012025_23_02_02_313046_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326817960","1326817956","1326817953","1326817958"],"photo_ids_order":["1326817953","1326817956","1326817958","1326817960"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6d2bdf2892e4a809f2e032c245a0e6a2.jpg","text":"TemporaryFile(/tmp/multipartBody6315722322333583923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028212529,"filename":"image_04012025_23_02_02_313046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/090c25eb62aa3c730b81a91aec1c0290.jpg","text":"TemporaryFile(/tmp/multipartBody6416589378567668446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028212529,"filename":"image_04012025_23_02_02_313046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9574241f8e191c61577cf0d7754e2f47.jpg","text":"TemporaryFile(/tmp/multipartBody2276478779998988381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028212529,"filename":"image_04012025_23_01_02_129194_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/85864ffc662a9ad6913074385c3c1fa1.jpg","text":"TemporaryFile(/tmp/multipartBody8846420786459544248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028212529,"filename":"image_04012025_23_02_02_313046_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326817958","file1":"1326817956","file0":"1326817953","file3":"1326817960"},"map_files_photo_id_array":[{"photo_id":"1326817958","filename":"file2"},{"photo_id":"1326817956","filename":"file1"},{"photo_id":"1326817953","filename":"file0"},{"photo_id":"1326817960","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326817960":["hashtag1","hashtag2"]},{"1326817956":["hashtag1","hashtag2"]},{"1326817953":["hashtag1","hashtag2"]},{"1326817958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326817960, 1326817956, 1326817953, 1326817958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.05826497077942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:03:22.320242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/02/image_04012025_23_02_02_313046_0003.jpg', '/home/pi/Desktop/images/04012025/23/03/image_04012025_23_03_02_495620_0000.jpg', '/home/pi/Desktop/images/04012025/23/03/image_04012025_23_03_02_495620_0001.jpg', '/home/pi/Desktop/images/04012025/23/03/image_04012025_23_03_02_495620_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/02/image_04012025_23_02_02_313046_0003.jpg
/home/pi/Desktop/images/04012025/23/03/image_04012025_23_03_02_495620_0000.jpg
/home/pi/Desktop/images/04012025/23/03/image_04012025_23_03_02_495620_0001.jpg
/home/pi/Desktop/images/04012025/23/03/image_04012025_23_03_02_495620_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326817972","1326817975","1326817969","1326817995"],"photo_ids_order":["1326817969","1326817972","1326817975","1326817995"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eb707c460ef55db0b43da0980bd791e5.jpg","text":"TemporaryFile(/tmp/multipartBody1658234985970080855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028272790,"filename":"image_04012025_23_03_02_495620_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/48a575201f8389f31880e9842428dfcf.jpg","text":"TemporaryFile(/tmp/multipartBody3304198492583858998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028272790,"filename":"image_04012025_23_03_02_495620_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9157817187189be08098eae03a45f97f.jpg","text":"TemporaryFile(/tmp/multipartBody7891477812909331460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028272790,"filename":"image_04012025_23_02_02_313046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/57131057acb3eaa7e41f0e0b23cdfc56.jpg","text":"TemporaryFile(/tmp/multipartBody5180729155996953881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028272790,"filename":"image_04012025_23_03_02_495620_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326817975","file1":"1326817972","file0":"1326817969","file3":"1326817995"},"map_files_photo_id_array":[{"photo_id":"1326817975","filename":"file2"},{"photo_id":"1326817972","filename":"file1"},{"photo_id":"1326817969","filename":"file0"},{"photo_id":"1326817995","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326817972":["hashtag1","hashtag2"]},{"1326817975":["hashtag1","hashtag2"]},{"1326817969":["hashtag1","hashtag2"]},{"1326817995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326817972, 1326817975, 1326817969, 1326817995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46569466590881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:04:02.904063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:04:22.611895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/03/image_04012025_23_03_02_495620_0003.jpg', '/home/pi/Desktop/images/04012025/23/04/image_04012025_23_04_02_794698_0000.jpg', '/home/pi/Desktop/images/04012025/23/04/image_04012025_23_04_02_794698_0001.jpg', '/home/pi/Desktop/images/04012025/23/04/image_04012025_23_04_02_794698_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/03/image_04012025_23_03_02_495620_0003.jpg
/home/pi/Desktop/images/04012025/23/04/image_04012025_23_04_02_794698_0000.jpg
/home/pi/Desktop/images/04012025/23/04/image_04012025_23_04_02_794698_0001.jpg
/home/pi/Desktop/images/04012025/23/04/image_04012025_23_04_02_794698_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326818011","1326818007","1326818004","1326818009"],"photo_ids_order":["1326818004","1326818007","1326818009","1326818011"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/575e12fe9ccc9c7f06ff8141f4e11243.jpg","text":"TemporaryFile(/tmp/multipartBody3420422665764610383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028332871,"filename":"image_04012025_23_04_02_794698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ab7d8d276f810e56c43128a25a9bd125.jpg","text":"TemporaryFile(/tmp/multipartBody934936716552778982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028332871,"filename":"image_04012025_23_04_02_794698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/04277519b426d459e0b737f6091364a6.jpg","text":"TemporaryFile(/tmp/multipartBody5079336179576743406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028332871,"filename":"image_04012025_23_03_02_495620_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4ba78f2bda5ecbf665262af9ee9ba748.jpg","text":"TemporaryFile(/tmp/multipartBody4820895673155326636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028332871,"filename":"image_04012025_23_04_02_794698_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326818009","file1":"1326818007","file0":"1326818004","file3":"1326818011"},"map_files_photo_id_array":[{"photo_id":"1326818009","filename":"file2"},{"photo_id":"1326818007","filename":"file1"},{"photo_id":"1326818004","filename":"file0"},{"photo_id":"1326818011","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326818011":["hashtag1","hashtag2"]},{"1326818007":["hashtag1","hashtag2"]},{"1326818004":["hashtag1","hashtag2"]},{"1326818009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326818011, 1326818007, 1326818004, 1326818009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.95611047744751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:05:22.615523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/04/image_04012025_23_04_02_794698_0003.jpg', '/home/pi/Desktop/images/04012025/23/05/image_04012025_23_05_02_869698_0000.jpg', '/home/pi/Desktop/images/04012025/23/05/image_04012025_23_05_02_869698_0001.jpg', '/home/pi/Desktop/images/04012025/23/05/image_04012025_23_05_02_869698_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/04/image_04012025_23_04_02_794698_0003.jpg
/home/pi/Desktop/images/04012025/23/05/image_04012025_23_05_02_869698_0000.jpg
/home/pi/Desktop/images/04012025/23/05/image_04012025_23_05_02_869698_0001.jpg
/home/pi/Desktop/images/04012025/23/05/image_04012025_23_05_02_869698_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326818023","1326818025","1326818021","1326818024"],"photo_ids_order":["1326818021","1326818023","1326818024","1326818025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b702761cc983d1a27a1988b9d3b2218e.jpg","text":"TemporaryFile(/tmp/multipartBody4917911851568912839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028393004,"filename":"image_04012025_23_05_02_869698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5fa5b4f8ececed169972851daf1ec97e.jpg","text":"TemporaryFile(/tmp/multipartBody4643351097957826869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028393004,"filename":"image_04012025_23_05_02_869698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/237893a9dd568c95bf3aca13deeb589e.jpg","text":"TemporaryFile(/tmp/multipartBody7489733387156218699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028393004,"filename":"image_04012025_23_04_02_794698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6a43bf67064ced7975d7c684fb2c7afb.jpg","text":"TemporaryFile(/tmp/multipartBody5676638700759930981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028393004,"filename":"image_04012025_23_05_02_869698_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326818024","file1":"1326818023","file0":"1326818021","file3":"1326818025"},"map_files_photo_id_array":[{"photo_id":"1326818024","filename":"file2"},{"photo_id":"1326818023","filename":"file1"},{"photo_id":"1326818021","filename":"file0"},{"photo_id":"1326818025","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326818023":["hashtag1","hashtag2"]},{"1326818025":["hashtag1","hashtag2"]},{"1326818021":["hashtag1","hashtag2"]},{"1326818024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326818023, 1326818025, 1326818021, 1326818024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.884366035461426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:06:21.819139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/05/image_04012025_23_05_02_869698_0003.jpg', '/home/pi/Desktop/images/04012025/23/06/image_04012025_23_06_03_060021_0000.jpg', '/home/pi/Desktop/images/04012025/23/06/image_04012025_23_06_03_060021_0001.jpg', '/home/pi/Desktop/images/04012025/23/06/image_04012025_23_06_03_060021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/05/image_04012025_23_05_02_869698_0003.jpg
/home/pi/Desktop/images/04012025/23/06/image_04012025_23_06_03_060021_0000.jpg
/home/pi/Desktop/images/04012025/23/06/image_04012025_23_06_03_060021_0001.jpg
/home/pi/Desktop/images/04012025/23/06/image_04012025_23_06_03_060021_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326818044","1326818042","1326818036","1326818033"],"photo_ids_order":["1326818033","1326818036","1326818042","1326818044"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/621344832030f4acde7554e1592215b3.jpg","text":"TemporaryFile(/tmp/multipartBody944779058419675200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028452079,"filename":"image_04012025_23_06_03_060021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/66cd6ba715dd8075f32be81a8b11ba4f.jpg","text":"TemporaryFile(/tmp/multipartBody2278983542755992932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028452079,"filename":"image_04012025_23_06_03_060021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5f7d400cd3839d80fee6d16024fe5d90.jpg","text":"TemporaryFile(/tmp/multipartBody1427144127903736861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028452079,"filename":"image_04012025_23_06_03_060021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f6b6b17dc0d52ba0099c1b899f22232d.jpg","text":"TemporaryFile(/tmp/multipartBody6249974462848688842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028452079,"filename":"image_04012025_23_05_02_869698_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326818042","file1":"1326818036","file0":"1326818033","file3":"1326818044"},"map_files_photo_id_array":[{"photo_id":"1326818042","filename":"file2"},{"photo_id":"1326818036","filename":"file1"},{"photo_id":"1326818033","filename":"file0"},{"photo_id":"1326818044","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326818044":["hashtag1","hashtag2"]},{"1326818042":["hashtag1","hashtag2"]},{"1326818036":["hashtag1","hashtag2"]},{"1326818033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326818044, 1326818042, 1326818036, 1326818033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.19428062438965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:07:02.482713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:07:22.038307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/06/image_04012025_23_06_03_060021_0003.jpg', '/home/pi/Desktop/images/04012025/23/07/image_04012025_23_07_02_168649_0000.jpg', '/home/pi/Desktop/images/04012025/23/07/image_04012025_23_07_02_168649_0001.jpg', '/home/pi/Desktop/images/04012025/23/07/image_04012025_23_07_02_168649_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/06/image_04012025_23_06_03_060021_0003.jpg
/home/pi/Desktop/images/04012025/23/07/image_04012025_23_07_02_168649_0000.jpg
/home/pi/Desktop/images/04012025/23/07/image_04012025_23_07_02_168649_0001.jpg
/home/pi/Desktop/images/04012025/23/07/image_04012025_23_07_02_168649_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326818101","1326818100","1326818078","1326818102"],"photo_ids_order":["1326818078","1326818100","1326818101","1326818102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7237858a666b751de16b8e48209e9d26.jpg","text":"TemporaryFile(/tmp/multipartBody3339790036221509862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028512406,"filename":"image_04012025_23_07_02_168649_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/768c43fc98fb0c313a5a17efde175a52.jpg","text":"TemporaryFile(/tmp/multipartBody3890812995451684549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028512406,"filename":"image_04012025_23_07_02_168649_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/81ddfeecb8e3d6283e9d03ebc011b58d.jpg","text":"TemporaryFile(/tmp/multipartBody6951982747014720180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028512406,"filename":"image_04012025_23_06_03_060021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8e8e73d516fba02906ba9d111d62d70f.jpg","text":"TemporaryFile(/tmp/multipartBody9028078300385880834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028512406,"filename":"image_04012025_23_07_02_168649_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326818101","file1":"1326818100","file0":"1326818078","file3":"1326818102"},"map_files_photo_id_array":[{"photo_id":"1326818101","filename":"file2"},{"photo_id":"1326818100","filename":"file1"},{"photo_id":"1326818078","filename":"file0"},{"photo_id":"1326818102","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326818101":["hashtag1","hashtag2"]},{"1326818100":["hashtag1","hashtag2"]},{"1326818078":["hashtag1","hashtag2"]},{"1326818102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326818101, 1326818100, 1326818078, 1326818102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15497088432312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:08:02.423836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:08:22.123861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/07/image_04012025_23_07_02_168649_0003.jpg', '/home/pi/Desktop/images/04012025/23/08/image_04012025_23_08_02_453885_0000.jpg', '/home/pi/Desktop/images/04012025/23/08/image_04012025_23_08_02_453885_0001.jpg', '/home/pi/Desktop/images/04012025/23/08/image_04012025_23_08_02_453885_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/07/image_04012025_23_07_02_168649_0003.jpg
/home/pi/Desktop/images/04012025/23/08/image_04012025_23_08_02_453885_0000.jpg
/home/pi/Desktop/images/04012025/23/08/image_04012025_23_08_02_453885_0001.jpg
/home/pi/Desktop/images/04012025/23/08/image_04012025_23_08_02_453885_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326818116","1326818117","1326818111","1326818114"],"photo_ids_order":["1326818111","1326818114","1326818116","1326818117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c1660d36479f4c43ea86a2b6fe29716d.jpg","text":"TemporaryFile(/tmp/multipartBody3835383171508581640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028572479,"filename":"image_04012025_23_08_02_453885_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c160e1ce544efae8d5e6def8a1b4064b.jpg","text":"TemporaryFile(/tmp/multipartBody823568970042539442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028572479,"filename":"image_04012025_23_08_02_453885_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/648ea1d79ffd3e7f0228315bbe7e5aef.jpg","text":"TemporaryFile(/tmp/multipartBody3040373827974518138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028572479,"filename":"image_04012025_23_07_02_168649_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/912f3c222c2af9169c71ab7374743c88.jpg","text":"TemporaryFile(/tmp/multipartBody7040947715516582664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028572479,"filename":"image_04012025_23_08_02_453885_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326818116","file1":"1326818114","file0":"1326818111","file3":"1326818117"},"map_files_photo_id_array":[{"photo_id":"1326818116","filename":"file2"},{"photo_id":"1326818114","filename":"file1"},{"photo_id":"1326818111","filename":"file0"},{"photo_id":"1326818117","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326818116":["hashtag1","hashtag2"]},{"1326818117":["hashtag1","hashtag2"]},{"1326818111":["hashtag1","hashtag2"]},{"1326818114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326818116, 1326818117, 1326818111, 1326818114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03279495239258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:09:02.925732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:09:22.220876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/08/image_04012025_23_08_02_453885_0003.jpg', '/home/pi/Desktop/images/04012025/23/09/image_04012025_23_09_02_421377_0000.jpg', '/home/pi/Desktop/images/04012025/23/09/image_04012025_23_09_02_421377_0001.jpg', '/home/pi/Desktop/images/04012025/23/09/image_04012025_23_09_02_421377_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/08/image_04012025_23_08_02_453885_0003.jpg
/home/pi/Desktop/images/04012025/23/09/image_04012025_23_09_02_421377_0000.jpg
/home/pi/Desktop/images/04012025/23/09/image_04012025_23_09_02_421377_0001.jpg
/home/pi/Desktop/images/04012025/23/09/image_04012025_23_09_02_421377_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326818128","1326818160","1326818151","1326818126"],"photo_ids_order":["1326818126","1326818128","1326818151","1326818160"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5f552ef54412a0f73cf9e071a9b656e2.jpg","text":"TemporaryFile(/tmp/multipartBody2580179023788914449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028632730,"filename":"image_04012025_23_09_02_421377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/23f5b3742fcbb1295e6a1c1a508a758c.jpg","text":"TemporaryFile(/tmp/multipartBody7152688761953739087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028632730,"filename":"image_04012025_23_09_02_421377_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/52de4a4fedf877febfd3fceb430ecac9.jpg","text":"TemporaryFile(/tmp/multipartBody7067307578145447414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028632730,"filename":"image_04012025_23_09_02_421377_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/10815836b1b701d096a9a7bcbb78396f.jpg","text":"TemporaryFile(/tmp/multipartBody964331316622813739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028632730,"filename":"image_04012025_23_08_02_453885_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326818151","file1":"1326818128","file0":"1326818126","file3":"1326818160"},"map_files_photo_id_array":[{"photo_id":"1326818151","filename":"file2"},{"photo_id":"1326818128","filename":"file1"},{"photo_id":"1326818126","filename":"file0"},{"photo_id":"1326818160","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326818128":["hashtag1","hashtag2"]},{"1326818160":["hashtag1","hashtag2"]},{"1326818151":["hashtag1","hashtag2"]},{"1326818126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326818128, 1326818160, 1326818151, 1326818126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.419838190078735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:10:02.841139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:10:22.387507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/09/image_04012025_23_09_02_421377_0003.jpg', '/home/pi/Desktop/images/04012025/23/10/image_04012025_23_10_02_624932_0000.jpg', '/home/pi/Desktop/images/04012025/23/10/image_04012025_23_10_02_624932_0001.jpg', '/home/pi/Desktop/images/04012025/23/10/image_04012025_23_10_02_624932_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/09/image_04012025_23_09_02_421377_0003.jpg
/home/pi/Desktop/images/04012025/23/10/image_04012025_23_10_02_624932_0000.jpg
/home/pi/Desktop/images/04012025/23/10/image_04012025_23_10_02_624932_0001.jpg
/home/pi/Desktop/images/04012025/23/10/image_04012025_23_10_02_624932_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326818200","1326818198","1326818202","1326818204"],"photo_ids_order":["1326818198","1326818200","1326818202","1326818204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d749cb874bd81d3def759a8e74c87ecd.jpg","text":"TemporaryFile(/tmp/multipartBody3075474854696154864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028692710,"filename":"image_04012025_23_10_02_624932_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f34da51854dd451cbc84053aea75f872.jpg","text":"TemporaryFile(/tmp/multipartBody2976084393050529004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028692710,"filename":"image_04012025_23_09_02_421377_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/622906b96b7f6785a11974c3e3d27d9a.jpg","text":"TemporaryFile(/tmp/multipartBody2245389365073362232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028692710,"filename":"image_04012025_23_10_02_624932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a34aa602c749acfb5ac93f806e3dd26c.jpg","text":"TemporaryFile(/tmp/multipartBody5045142870695669097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028692710,"filename":"image_04012025_23_10_02_624932_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326818202","file1":"1326818200","file0":"1326818198","file3":"1326818204"},"map_files_photo_id_array":[{"photo_id":"1326818202","filename":"file2"},{"photo_id":"1326818200","filename":"file1"},{"photo_id":"1326818198","filename":"file0"},{"photo_id":"1326818204","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326818200":["hashtag1","hashtag2"]},{"1326818198":["hashtag1","hashtag2"]},{"1326818202":["hashtag1","hashtag2"]},{"1326818204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326818200, 1326818198, 1326818202, 1326818204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6518235206604 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-04 23:11:22.656063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/10/image_04012025_23_10_02_624932_0003.jpg', '/home/pi/Desktop/images/04012025/23/11/image_04012025_23_11_02_757039_0000.jpg', '/home/pi/Desktop/images/04012025/23/11/image_04012025_23_11_02_757039_0001.jpg', '/home/pi/Desktop/images/04012025/23/11/image_04012025_23_11_02_757039_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/10/image_04012025_23_10_02_624932_0003.jpg
/home/pi/Desktop/images/04012025/23/11/image_04012025_23_11_02_757039_0000.jpg
/home/pi/Desktop/images/04012025/23/11/image_04012025_23_11_02_757039_0001.jpg
/home/pi/Desktop/images/04012025/23/11/image_04012025_23_11_02_757039_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326818212","1326818217","1326818214","1326818219"],"photo_ids_order":["1326818212","1326818214","1326818217","1326818219"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8bb508bd1443e6d06ec1bcd88231e1d4.jpg","text":"TemporaryFile(/tmp/multipartBody2063382305067736259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028752943,"filename":"image_04012025_23_10_02_624932_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b6342047a82f660bef1ad80e21842ecc.jpg","text":"TemporaryFile(/tmp/multipartBody1985438155017752691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028752943,"filename":"image_04012025_23_11_02_757039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/152fbb166b176b61f33a7fb6fe4592c7.jpg","text":"TemporaryFile(/tmp/multipartBody784298807605601906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028752943,"filename":"image_04012025_23_11_02_757039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4a264af3ad2152a74cd35da2a5706174.jpg","text":"TemporaryFile(/tmp/multipartBody4906007301503658231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028752943,"filename":"image_04012025_23_11_02_757039_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326818217","file1":"1326818214","file0":"1326818212","file3":"1326818219"},"map_files_photo_id_array":[{"photo_id":"1326818217","filename":"file2"},{"photo_id":"1326818214","filename":"file1"},{"photo_id":"1326818212","filename":"file0"},{"photo_id":"1326818219","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326818212":["hashtag1","hashtag2"]},{"1326818217":["hashtag1","hashtag2"]},{"1326818214":["hashtag1","hashtag2"]},{"1326818219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326818212, 1326818217, 1326818214, 1326818219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.08892369270325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:12:02.173440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:12:21.741074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/11/image_04012025_23_11_02_757039_0003.jpg', '/home/pi/Desktop/images/04012025/23/12/image_04012025_23_12_02_936073_0000.jpg', '/home/pi/Desktop/images/04012025/23/12/image_04012025_23_12_02_936073_0001.jpg', '/home/pi/Desktop/images/04012025/23/12/image_04012025_23_12_02_936073_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/11/image_04012025_23_11_02_757039_0003.jpg
/home/pi/Desktop/images/04012025/23/12/image_04012025_23_12_02_936073_0000.jpg
/home/pi/Desktop/images/04012025/23/12/image_04012025_23_12_02_936073_0001.jpg
/home/pi/Desktop/images/04012025/23/12/image_04012025_23_12_02_936073_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326818598","1326818698","1326818600","1326818596"],"photo_ids_order":["1326818596","1326818598","1326818600","1326818698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b72ae809904d55e030173b5fbcf3d6b3.jpg","text":"TemporaryFile(/tmp/multipartBody3063299067727861127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028812001,"filename":"image_04012025_23_12_02_936073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7360caac1e1c8befd9144b679dfdc681.jpg","text":"TemporaryFile(/tmp/multipartBody3501060314681231178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028812001,"filename":"image_04012025_23_12_02_936073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e196eacc91b8e7011dc9200904174466.jpg","text":"TemporaryFile(/tmp/multipartBody1411111703602900192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028812001,"filename":"image_04012025_23_12_02_936073_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e5c1f79aa17a7cbd41d8160fe85577ac.jpg","text":"TemporaryFile(/tmp/multipartBody5622326387843952432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028812001,"filename":"image_04012025_23_11_02_757039_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326818600","file1":"1326818598","file0":"1326818596","file3":"1326818698"},"map_files_photo_id_array":[{"photo_id":"1326818600","filename":"file2"},{"photo_id":"1326818598","filename":"file1"},{"photo_id":"1326818596","filename":"file0"},{"photo_id":"1326818698","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326818598":["hashtag1","hashtag2"]},{"1326818698":["hashtag1","hashtag2"]},{"1326818600":["hashtag1","hashtag2"]},{"1326818596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326818598, 1326818698, 1326818600, 1326818596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3830463886261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:13:02.572076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:13:21.869973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/12/image_04012025_23_12_02_936073_0003.jpg', '/home/pi/Desktop/images/04012025/23/13/image_04012025_23_13_02_194645_0000.jpg', '/home/pi/Desktop/images/04012025/23/13/image_04012025_23_13_02_194645_0001.jpg', '/home/pi/Desktop/images/04012025/23/13/image_04012025_23_13_02_194645_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/12/image_04012025_23_12_02_936073_0003.jpg
/home/pi/Desktop/images/04012025/23/13/image_04012025_23_13_02_194645_0000.jpg
/home/pi/Desktop/images/04012025/23/13/image_04012025_23_13_02_194645_0001.jpg
/home/pi/Desktop/images/04012025/23/13/image_04012025_23_13_02_194645_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326818967","1326818961","1326818963","1326818965"],"photo_ids_order":["1326818961","1326818963","1326818965","1326818967"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/765d247ba322d81e5183c8b9a86eb163.jpg","text":"TemporaryFile(/tmp/multipartBody6297503205512456791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028872168,"filename":"image_04012025_23_13_02_194645_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/08f9ce4180c55744cdec20a0e4edb325.jpg","text":"TemporaryFile(/tmp/multipartBody8020498969047673284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028872168,"filename":"image_04012025_23_12_02_936073_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5655496188064a567a454570b1ceecc4.jpg","text":"TemporaryFile(/tmp/multipartBody3229993541159152300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028872168,"filename":"image_04012025_23_13_02_194645_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/53bfbd4cb2a2515063ccf3f7d2f27ebe.jpg","text":"TemporaryFile(/tmp/multipartBody7334323304573494803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028872168,"filename":"image_04012025_23_13_02_194645_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326818965","file1":"1326818963","file0":"1326818961","file3":"1326818967"},"map_files_photo_id_array":[{"photo_id":"1326818965","filename":"file2"},{"photo_id":"1326818963","filename":"file1"},{"photo_id":"1326818961","filename":"file0"},{"photo_id":"1326818967","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326818967":["hashtag1","hashtag2"]},{"1326818961":["hashtag1","hashtag2"]},{"1326818963":["hashtag1","hashtag2"]},{"1326818965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326818967, 1326818961, 1326818963, 1326818965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.33346676826477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:14:02.428907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:14:22.140458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/13/image_04012025_23_13_02_194645_0003.jpg', '/home/pi/Desktop/images/04012025/23/14/image_04012025_23_14_02_352161_0000.jpg', '/home/pi/Desktop/images/04012025/23/14/image_04012025_23_14_02_352161_0001.jpg', '/home/pi/Desktop/images/04012025/23/14/image_04012025_23_14_02_352161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/13/image_04012025_23_13_02_194645_0003.jpg
/home/pi/Desktop/images/04012025/23/14/image_04012025_23_14_02_352161_0000.jpg
/home/pi/Desktop/images/04012025/23/14/image_04012025_23_14_02_352161_0001.jpg
/home/pi/Desktop/images/04012025/23/14/image_04012025_23_14_02_352161_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.920649290084839 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 23:14:42.059703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/13/image_04012025_23_13_02_194645_0003.jpg', '/home/pi/Desktop/images/04012025/23/14/image_04012025_23_14_02_352161_0000.jpg', '/home/pi/Desktop/images/04012025/23/14/image_04012025_23_14_02_352161_0001.jpg', '/home/pi/Desktop/images/04012025/23/14/image_04012025_23_14_02_352161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/13/image_04012025_23_13_02_194645_0003.jpg
/home/pi/Desktop/images/04012025/23/14/image_04012025_23_14_02_352161_0000.jpg
/home/pi/Desktop/images/04012025/23/14/image_04012025_23_14_02_352161_0001.jpg
/home/pi/Desktop/images/04012025/23/14/image_04012025_23_14_02_352161_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326819003","1326818999","1326818995","1326819007"],"photo_ids_order":["1326818995","1326818999","1326819003","1326819007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f3f606b61050d045ba8b73a81043f0bc.jpg","text":"TemporaryFile(/tmp/multipartBody3020666988031442673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028952366,"filename":"image_04012025_23_14_02_352161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b9a9a7f286e50b6906b69d612a650189.jpg","text":"TemporaryFile(/tmp/multipartBody7622756531338534034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028952366,"filename":"image_04012025_23_14_02_352161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/67c6c6d0e3ae947ed2eff8e86e8ba773.jpg","text":"TemporaryFile(/tmp/multipartBody3253815233394294436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028952366,"filename":"image_04012025_23_13_02_194645_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fbbded492791931b12cea1a1767ea134.jpg","text":"TemporaryFile(/tmp/multipartBody5662946443459452921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736028952366,"filename":"image_04012025_23_14_02_352161_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326819003","file1":"1326818999","file0":"1326818995","file3":"1326819007"},"map_files_photo_id_array":[{"photo_id":"1326819003","filename":"file2"},{"photo_id":"1326818999","filename":"file1"},{"photo_id":"1326818995","filename":"file0"},{"photo_id":"1326819007","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326819003":["hashtag1","hashtag2"]},{"1326818999":["hashtag1","hashtag2"]},{"1326818995":["hashtag1","hashtag2"]},{"1326819007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326819003, 1326818999, 1326818995, 1326819007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.035038471221924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 23:15:32.247428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/14/image_04012025_23_14_02_352161_0003.jpg', '/home/pi/Desktop/images/04012025/23/15/image_04012025_23_15_02_481242_0000.jpg', '/home/pi/Desktop/images/04012025/23/15/image_04012025_23_15_02_481242_0001.jpg', '/home/pi/Desktop/images/04012025/23/15/image_04012025_23_15_02_481242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/14/image_04012025_23_14_02_352161_0003.jpg
/home/pi/Desktop/images/04012025/23/15/image_04012025_23_15_02_481242_0000.jpg
/home/pi/Desktop/images/04012025/23/15/image_04012025_23_15_02_481242_0001.jpg
/home/pi/Desktop/images/04012025/23/15/image_04012025_23_15_02_481242_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326819057","1326819051","1326819059","1326819055"],"photo_ids_order":["1326819051","1326819055","1326819057","1326819059"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/79ad1cd068d15039b5eb4e7fed695e4d.jpg","text":"TemporaryFile(/tmp/multipartBody5261066278978473832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029002586,"filename":"image_04012025_23_15_02_481242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f6f0c62c9ede564772afbe02bcc43b88.jpg","text":"TemporaryFile(/tmp/multipartBody2846043416955790351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029002586,"filename":"image_04012025_23_14_02_352161_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/faef851a2c3f35872cf0f5eb61883014.jpg","text":"TemporaryFile(/tmp/multipartBody6198010280581193644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029002586,"filename":"image_04012025_23_15_02_481242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/403763bd0f9d2f4158494e6193ebe49a.jpg","text":"TemporaryFile(/tmp/multipartBody2178823208000235399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029002586,"filename":"image_04012025_23_15_02_481242_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326819057","file1":"1326819055","file0":"1326819051","file3":"1326819059"},"map_files_photo_id_array":[{"photo_id":"1326819057","filename":"file2"},{"photo_id":"1326819055","filename":"file1"},{"photo_id":"1326819051","filename":"file0"},{"photo_id":"1326819059","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326819057":["hashtag1","hashtag2"]},{"1326819051":["hashtag1","hashtag2"]},{"1326819059":["hashtag1","hashtag2"]},{"1326819055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326819057, 1326819051, 1326819059, 1326819055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71959614753723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:16:22.478285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/15/image_04012025_23_15_02_481242_0003.jpg', '/home/pi/Desktop/images/04012025/23/16/image_04012025_23_16_02_745441_0000.jpg', '/home/pi/Desktop/images/04012025/23/16/image_04012025_23_16_02_745441_0001.jpg', '/home/pi/Desktop/images/04012025/23/16/image_04012025_23_16_02_745441_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/15/image_04012025_23_15_02_481242_0003.jpg
/home/pi/Desktop/images/04012025/23/16/image_04012025_23_16_02_745441_0000.jpg
/home/pi/Desktop/images/04012025/23/16/image_04012025_23_16_02_745441_0001.jpg
/home/pi/Desktop/images/04012025/23/16/image_04012025_23_16_02_745441_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326819066","1326819065","1326819068","1326819070"],"photo_ids_order":["1326819065","1326819066","1326819068","1326819070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/02d4065ec063cafb97684c033cee0de2.jpg","text":"TemporaryFile(/tmp/multipartBody7045154804452173164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029052710,"filename":"image_04012025_23_16_02_745441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/acbdbca640b35b661171e8c4b31dba93.jpg","text":"TemporaryFile(/tmp/multipartBody7014442929345890697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029052710,"filename":"image_04012025_23_15_02_481242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d3ace9133abdc06faab44405eda02a6.jpg","text":"TemporaryFile(/tmp/multipartBody7114666289659726579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029052710,"filename":"image_04012025_23_16_02_745441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a48109547c8463eb8fabaac3200b45c7.jpg","text":"TemporaryFile(/tmp/multipartBody4207498822968059184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029052710,"filename":"image_04012025_23_16_02_745441_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326819068","file1":"1326819066","file0":"1326819065","file3":"1326819070"},"map_files_photo_id_array":[{"photo_id":"1326819068","filename":"file2"},{"photo_id":"1326819066","filename":"file1"},{"photo_id":"1326819065","filename":"file0"},{"photo_id":"1326819070","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326819066":["hashtag1","hashtag2"]},{"1326819065":["hashtag1","hashtag2"]},{"1326819068":["hashtag1","hashtag2"]},{"1326819070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326819066, 1326819065, 1326819068, 1326819070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.837952852249146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:17:03.112435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:17:22.752393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/16/image_04012025_23_16_02_745441_0003.jpg', '/home/pi/Desktop/images/04012025/23/17/image_04012025_23_17_02_800907_0000.jpg', '/home/pi/Desktop/images/04012025/23/17/image_04012025_23_17_02_800907_0001.jpg', '/home/pi/Desktop/images/04012025/23/17/image_04012025_23_17_02_800907_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/16/image_04012025_23_16_02_745441_0003.jpg
/home/pi/Desktop/images/04012025/23/17/image_04012025_23_17_02_800907_0000.jpg
/home/pi/Desktop/images/04012025/23/17/image_04012025_23_17_02_800907_0001.jpg
/home/pi/Desktop/images/04012025/23/17/image_04012025_23_17_02_800907_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326819084","1326819078","1326819080","1326819082"],"photo_ids_order":["1326819078","1326819080","1326819082","1326819084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7eaf98725a81993d2cf07592f94b50fa.jpg","text":"TemporaryFile(/tmp/multipartBody5348916383993318590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029113205,"filename":"image_04012025_23_17_02_800907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/955abee2a29cfad8478871c5d98354cf.jpg","text":"TemporaryFile(/tmp/multipartBody7992591337722378616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029113205,"filename":"image_04012025_23_16_02_745441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3448a12b1d12c24443536241aeaeffbe.jpg","text":"TemporaryFile(/tmp/multipartBody5488430911563812296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029113205,"filename":"image_04012025_23_17_02_800907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4aad340f52fa17f691abfd9767f55cb4.jpg","text":"TemporaryFile(/tmp/multipartBody7939362168160629702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029113205,"filename":"image_04012025_23_17_02_800907_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326819082","file1":"1326819080","file0":"1326819078","file3":"1326819084"},"map_files_photo_id_array":[{"photo_id":"1326819082","filename":"file2"},{"photo_id":"1326819080","filename":"file1"},{"photo_id":"1326819078","filename":"file0"},{"photo_id":"1326819084","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326819084":["hashtag1","hashtag2"]},{"1326819078":["hashtag1","hashtag2"]},{"1326819080":["hashtag1","hashtag2"]},{"1326819082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326819084, 1326819078, 1326819080, 1326819082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58110857009888 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-04 23:18:21.802369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/17/image_04012025_23_17_02_800907_0003.jpg', '/home/pi/Desktop/images/04012025/23/18/image_04012025_23_18_03_022866_0000.jpg', '/home/pi/Desktop/images/04012025/23/18/image_04012025_23_18_03_022866_0001.jpg', '/home/pi/Desktop/images/04012025/23/18/image_04012025_23_18_03_022866_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/17/image_04012025_23_17_02_800907_0003.jpg
/home/pi/Desktop/images/04012025/23/18/image_04012025_23_18_03_022866_0000.jpg
/home/pi/Desktop/images/04012025/23/18/image_04012025_23_18_03_022866_0001.jpg
/home/pi/Desktop/images/04012025/23/18/image_04012025_23_18_03_022866_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326819095","1326819092","1326819094","1326819097"],"photo_ids_order":["1326819092","1326819094","1326819095","1326819097"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e6b98ef22d8a1ce20f705577125206a8.jpg","text":"TemporaryFile(/tmp/multipartBody7238369834533568482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029172254,"filename":"image_04012025_23_18_03_022866_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c4b9b3d2775f136dbea238ad78f9ad9b.jpg","text":"TemporaryFile(/tmp/multipartBody7959218865907057723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029172254,"filename":"image_04012025_23_17_02_800907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/257a3c1476469423bb97306d77d1bd15.jpg","text":"TemporaryFile(/tmp/multipartBody176221729220015115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029172254,"filename":"image_04012025_23_18_03_022866_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d7b68126682fa8e055805eed3e1fe6d2.jpg","text":"TemporaryFile(/tmp/multipartBody2012880532888612068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029172254,"filename":"image_04012025_23_18_03_022866_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326819095","file1":"1326819094","file0":"1326819092","file3":"1326819097"},"map_files_photo_id_array":[{"photo_id":"1326819095","filename":"file2"},{"photo_id":"1326819094","filename":"file1"},{"photo_id":"1326819092","filename":"file0"},{"photo_id":"1326819097","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326819095":["hashtag1","hashtag2"]},{"1326819092":["hashtag1","hashtag2"]},{"1326819094":["hashtag1","hashtag2"]},{"1326819097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326819095, 1326819092, 1326819094, 1326819097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2064790725708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:19:02.492481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:19:21.903522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/18/image_04012025_23_18_03_022866_0003.jpg', '/home/pi/Desktop/images/04012025/23/19/image_04012025_23_19_02_236968_0000.jpg', '/home/pi/Desktop/images/04012025/23/19/image_04012025_23_19_02_236968_0001.jpg', '/home/pi/Desktop/images/04012025/23/19/image_04012025_23_19_02_236968_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/18/image_04012025_23_18_03_022866_0003.jpg
/home/pi/Desktop/images/04012025/23/19/image_04012025_23_19_02_236968_0000.jpg
/home/pi/Desktop/images/04012025/23/19/image_04012025_23_19_02_236968_0001.jpg
/home/pi/Desktop/images/04012025/23/19/image_04012025_23_19_02_236968_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326819141","1326819135","1326819134","1326819133"],"photo_ids_order":["1326819133","1326819134","1326819135","1326819141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7a67b979dde6edbbc8992c3b33bae792.jpg","text":"TemporaryFile(/tmp/multipartBody5898152718726245639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029232470,"filename":"image_04012025_23_19_02_236968_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/088e5a6263cba3a28753878915c1e4ea.jpg","text":"TemporaryFile(/tmp/multipartBody7471007581886646502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029232470,"filename":"image_04012025_23_19_02_236968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/734769f0ab40f7ed09aed7bf30e1b020.jpg","text":"TemporaryFile(/tmp/multipartBody7984069125578022355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029232470,"filename":"image_04012025_23_19_02_236968_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f5cb2406cc4172ae5884eb101a63e81e.jpg","text":"TemporaryFile(/tmp/multipartBody5044359105901684744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029232470,"filename":"image_04012025_23_18_03_022866_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326819135","file1":"1326819134","file0":"1326819133","file3":"1326819141"},"map_files_photo_id_array":[{"photo_id":"1326819135","filename":"file2"},{"photo_id":"1326819134","filename":"file1"},{"photo_id":"1326819133","filename":"file0"},{"photo_id":"1326819141","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326819141":["hashtag1","hashtag2"]},{"1326819135":["hashtag1","hashtag2"]},{"1326819134":["hashtag1","hashtag2"]},{"1326819133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326819141, 1326819135, 1326819134, 1326819133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.18224239349365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:20:02.643114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:20:22.086218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/19/image_04012025_23_19_02_236968_0003.jpg', '/home/pi/Desktop/images/04012025/23/20/image_04012025_23_20_02_269268_0000.jpg', '/home/pi/Desktop/images/04012025/23/20/image_04012025_23_20_02_269268_0001.jpg', '/home/pi/Desktop/images/04012025/23/20/image_04012025_23_20_02_269268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/19/image_04012025_23_19_02_236968_0003.jpg
/home/pi/Desktop/images/04012025/23/20/image_04012025_23_20_02_269268_0000.jpg
/home/pi/Desktop/images/04012025/23/20/image_04012025_23_20_02_269268_0001.jpg
/home/pi/Desktop/images/04012025/23/20/image_04012025_23_20_02_269268_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326819356","1326819358","1326819310","1326819232"],"photo_ids_order":["1326819232","1326819310","1326819356","1326819358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8fa24db8e3cf3f727672671c9c90555b.jpg","text":"TemporaryFile(/tmp/multipartBody1422663039914028234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029292399,"filename":"image_04012025_23_20_02_269268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/130af75f83e16578e77cc630d47b7816.jpg","text":"TemporaryFile(/tmp/multipartBody327674361136420254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029292399,"filename":"image_04012025_23_20_02_269268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6cf9b2533bcee5faf8f532eab2e1dbdb.jpg","text":"TemporaryFile(/tmp/multipartBody4007474474420968339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029292399,"filename":"image_04012025_23_20_02_269268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b3c2efb470e567fc1749bf635a5f65bc.jpg","text":"TemporaryFile(/tmp/multipartBody7807895473190329515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029292399,"filename":"image_04012025_23_19_02_236968_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326819356","file1":"1326819310","file0":"1326819232","file3":"1326819358"},"map_files_photo_id_array":[{"photo_id":"1326819356","filename":"file2"},{"photo_id":"1326819310","filename":"file1"},{"photo_id":"1326819232","filename":"file0"},{"photo_id":"1326819358","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326819356":["hashtag1","hashtag2"]},{"1326819358":["hashtag1","hashtag2"]},{"1326819310":["hashtag1","hashtag2"]},{"1326819232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326819356, 1326819358, 1326819310, 1326819232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.386929512023926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:21:22.309188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/20/image_04012025_23_20_02_269268_0003.jpg', '/home/pi/Desktop/images/04012025/23/21/image_04012025_23_21_02_487817_0000.jpg', '/home/pi/Desktop/images/04012025/23/21/image_04012025_23_21_02_487817_0001.jpg', '/home/pi/Desktop/images/04012025/23/21/image_04012025_23_21_02_487817_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/20/image_04012025_23_20_02_269268_0003.jpg
/home/pi/Desktop/images/04012025/23/21/image_04012025_23_21_02_487817_0000.jpg
/home/pi/Desktop/images/04012025/23/21/image_04012025_23_21_02_487817_0001.jpg
/home/pi/Desktop/images/04012025/23/21/image_04012025_23_21_02_487817_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326819386","1326819404","1326819388","1326819393"],"photo_ids_order":["1326819386","1326819388","1326819393","1326819404"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6807307f530b73548c1817a7aa545dd5.jpg","text":"TemporaryFile(/tmp/multipartBody3769953422930150162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029352638,"filename":"image_04012025_23_20_02_269268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b11b4943b337e310bfc4fdf15d8e8e39.jpg","text":"TemporaryFile(/tmp/multipartBody8770086840612375108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029352638,"filename":"image_04012025_23_21_02_487817_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2fdda02af479a741ed2ad7f7ed0cf5fd.jpg","text":"TemporaryFile(/tmp/multipartBody1406574265285019604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029352638,"filename":"image_04012025_23_21_02_487817_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/56295bfa6d583d5e648ee36baed9eaba.jpg","text":"TemporaryFile(/tmp/multipartBody5351552240901138812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029352638,"filename":"image_04012025_23_21_02_487817_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326819393","file1":"1326819388","file0":"1326819386","file3":"1326819404"},"map_files_photo_id_array":[{"photo_id":"1326819393","filename":"file2"},{"photo_id":"1326819388","filename":"file1"},{"photo_id":"1326819386","filename":"file0"},{"photo_id":"1326819404","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326819386":["hashtag1","hashtag2"]},{"1326819404":["hashtag1","hashtag2"]},{"1326819388":["hashtag1","hashtag2"]},{"1326819393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326819386, 1326819404, 1326819388, 1326819393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.3323233127594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:22:03.046561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:22:22.565093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/21/image_04012025_23_21_02_487817_0003.jpg', '/home/pi/Desktop/images/04012025/23/22/image_04012025_23_22_02_674833_0000.jpg', '/home/pi/Desktop/images/04012025/23/22/image_04012025_23_22_02_674833_0001.jpg', '/home/pi/Desktop/images/04012025/23/22/image_04012025_23_22_02_674833_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/21/image_04012025_23_21_02_487817_0003.jpg
/home/pi/Desktop/images/04012025/23/22/image_04012025_23_22_02_674833_0000.jpg
/home/pi/Desktop/images/04012025/23/22/image_04012025_23_22_02_674833_0001.jpg
/home/pi/Desktop/images/04012025/23/22/image_04012025_23_22_02_674833_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326819432","1326819451","1326819574","1326819601"],"photo_ids_order":["1326819432","1326819451","1326819574","1326819601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/df9966b3e8b925aa297da08780f8b1cf.jpg","text":"TemporaryFile(/tmp/multipartBody750289417229603934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029412870,"filename":"image_04012025_23_21_02_487817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/96b1307384d4c9d655f86c075decca39.jpg","text":"TemporaryFile(/tmp/multipartBody162472703274428475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029412870,"filename":"image_04012025_23_22_02_674833_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e214b73da8fc3372127a61dfef70423b.jpg","text":"TemporaryFile(/tmp/multipartBody867022031768882866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029412870,"filename":"image_04012025_23_22_02_674833_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/070edc4ea04f9294931135695f3a30f3.jpg","text":"TemporaryFile(/tmp/multipartBody443280505193175065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029412870,"filename":"image_04012025_23_22_02_674833_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326819574","file1":"1326819451","file0":"1326819432","file3":"1326819601"},"map_files_photo_id_array":[{"photo_id":"1326819574","filename":"file2"},{"photo_id":"1326819451","filename":"file1"},{"photo_id":"1326819432","filename":"file0"},{"photo_id":"1326819601","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326819432":["hashtag1","hashtag2"]},{"1326819451":["hashtag1","hashtag2"]},{"1326819574":["hashtag1","hashtag2"]},{"1326819601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326819432, 1326819451, 1326819574, 1326819601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.658859968185425 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-04 23:23:21.781535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/22/image_04012025_23_22_02_674833_0003.jpg', '/home/pi/Desktop/images/04012025/23/23/image_04012025_23_23_02_902934_0000.jpg', '/home/pi/Desktop/images/04012025/23/23/image_04012025_23_23_02_902934_0001.jpg', '/home/pi/Desktop/images/04012025/23/23/image_04012025_23_23_02_902934_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/22/image_04012025_23_22_02_674833_0003.jpg
/home/pi/Desktop/images/04012025/23/23/image_04012025_23_23_02_902934_0000.jpg
/home/pi/Desktop/images/04012025/23/23/image_04012025_23_23_02_902934_0001.jpg
/home/pi/Desktop/images/04012025/23/23/image_04012025_23_23_02_902934_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326819612","1326819615","1326819609","1326819613"],"photo_ids_order":["1326819609","1326819612","1326819613","1326819615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/eb1130e165a57718cd4700e68e969267.jpg","text":"TemporaryFile(/tmp/multipartBody4477437525850943445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029471871,"filename":"image_04012025_23_23_02_902934_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6c97e709450255027cb6bbdb0ff5692d.jpg","text":"TemporaryFile(/tmp/multipartBody5773850423208770504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029471871,"filename":"image_04012025_23_23_02_902934_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7501bc2216ac97a0fa3d320d291382d1.jpg","text":"TemporaryFile(/tmp/multipartBody29780664677924552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029471871,"filename":"image_04012025_23_22_02_674833_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5eb7edd6097e55e37a2f2f977496fd22.jpg","text":"TemporaryFile(/tmp/multipartBody8705003652975719155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029471871,"filename":"image_04012025_23_23_02_902934_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326819613","file1":"1326819612","file0":"1326819609","file3":"1326819615"},"map_files_photo_id_array":[{"photo_id":"1326819613","filename":"file2"},{"photo_id":"1326819612","filename":"file1"},{"photo_id":"1326819609","filename":"file0"},{"photo_id":"1326819615","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326819612":["hashtag1","hashtag2"]},{"1326819615":["hashtag1","hashtag2"]},{"1326819609":["hashtag1","hashtag2"]},{"1326819613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326819612, 1326819615, 1326819609, 1326819613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.14375591278076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:24:02.502681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:24:22.022876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/23/image_04012025_23_23_02_902934_0003.jpg', '/home/pi/Desktop/images/04012025/23/24/image_04012025_23_24_02_131545_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/23/image_04012025_23_23_02_902934_0003.jpg
/home/pi/Desktop/images/04012025/23/24/image_04012025_23_24_02_131545_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":["1326819692","1326819688"],"photo_ids_order":["1326819688","1326819692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c7b07e83a1bbe3557fe128bebb6d6b8b.jpg","text":"TemporaryFile(/tmp/multipartBody8318884263000066383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029527340,"filename":"image_04012025_23_24_02_131545_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3687f13bfc1b27fafd1686f899982c74.jpg","text":"TemporaryFile(/tmp/multipartBody3310136235595467927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029527340,"filename":"image_04012025_23_23_02_902934_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326819692","file0":"1326819688"},"map_files_photo_id_array":[{"photo_id":"1326819692","filename":"file1"},{"photo_id":"1326819688","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326819692":["hashtag1","hashtag2"]},{"1326819688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326819692, 1326819688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.18842315673828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 23:24:52.011518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:25:02.839597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:25:22.274231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/24/image_04012025_23_24_02_131545_0002.jpg', '/home/pi/Desktop/images/04012025/23/25/image_04012025_23_25_02_372015_0000.jpg', '/home/pi/Desktop/images/04012025/23/25/image_04012025_23_25_02_372015_0001.jpg', '/home/pi/Desktop/images/04012025/23/25/image_04012025_23_25_02_372015_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/24/image_04012025_23_24_02_131545_0002.jpg
/home/pi/Desktop/images/04012025/23/25/image_04012025_23_25_02_372015_0000.jpg
/home/pi/Desktop/images/04012025/23/25/image_04012025_23_25_02_372015_0001.jpg
/home/pi/Desktop/images/04012025/23/25/image_04012025_23_25_02_372015_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326819735","1326819740","1326819737","1326819733"],"photo_ids_order":["1326819733","1326819735","1326819737","1326819740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a4606e2a109f70eedda15504d91de43b.jpg","text":"TemporaryFile(/tmp/multipartBody8418504211832610102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029592090,"filename":"image_04012025_23_25_02_372015_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/931b0fe2d40597ca397457c0cb9b440c.jpg","text":"TemporaryFile(/tmp/multipartBody6803831246007159373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029592090,"filename":"image_04012025_23_25_02_372015_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ccce52870e159ceaba24023002168d3b.jpg","text":"TemporaryFile(/tmp/multipartBody2942447888326590192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029592090,"filename":"image_04012025_23_25_02_372015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/39d7fc869b621aa8cf8cf66942381cc9.jpg","text":"TemporaryFile(/tmp/multipartBody3407372207723947689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029592090,"filename":"image_04012025_23_24_02_131545_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326819737","file1":"1326819735","file0":"1326819733","file3":"1326819740"},"map_files_photo_id_array":[{"photo_id":"1326819737","filename":"file2"},{"photo_id":"1326819735","filename":"file1"},{"photo_id":"1326819733","filename":"file0"},{"photo_id":"1326819740","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326819735":["hashtag1","hashtag2"]},{"1326819740":["hashtag1","hashtag2"]},{"1326819737":["hashtag1","hashtag2"]},{"1326819733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326819735, 1326819740, 1326819737, 1326819733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.20081853866577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:26:02.861654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:26:22.376013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/25/image_04012025_23_25_02_372015_0003.jpg', '/home/pi/Desktop/images/04012025/23/26/image_04012025_23_26_02_557356_0001.jpg', '/home/pi/Desktop/images/04012025/23/26/image_04012025_23_26_02_557356_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/25/image_04012025_23_25_02_372015_0003.jpg
/home/pi/Desktop/images/04012025/23/26/image_04012025_23_26_02_557356_0001.jpg
/home/pi/Desktop/images/04012025/23/26/image_04012025_23_26_02_557356_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326819747","1326819746","1326819748"],"photo_ids_order":["1326819746","1326819747","1326819748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e130dbd6abde2f15844cb99f54d5e42e.jpg","text":"TemporaryFile(/tmp/multipartBody203658812632597917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029650264,"filename":"image_04012025_23_26_02_557356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/157e368e18dc8e5af115d8c5538afff8.jpg","text":"TemporaryFile(/tmp/multipartBody8094712729688114518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029650264,"filename":"image_04012025_23_25_02_372015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/856d150e16046a8f2633cdf35bcf4e8c.jpg","text":"TemporaryFile(/tmp/multipartBody8929284886708472506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029650264,"filename":"image_04012025_23_26_02_557356_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326819748","file1":"1326819747","file0":"1326819746"},"map_files_photo_id_array":[{"photo_id":"1326819748","filename":"file2"},{"photo_id":"1326819747","filename":"file1"},{"photo_id":"1326819746","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326819747":["hashtag1","hashtag2"]},{"1326819746":["hashtag1","hashtag2"]},{"1326819748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326819747, 1326819746, 1326819748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.211023807525635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:27:03.323233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:27:22.644181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/26/image_04012025_23_26_02_557356_0003.jpg', '/home/pi/Desktop/images/04012025/23/27/image_04012025_23_27_02_822249_0001.jpg', '/home/pi/Desktop/images/04012025/23/27/image_04012025_23_27_02_822249_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/26/image_04012025_23_26_02_557356_0003.jpg
/home/pi/Desktop/images/04012025/23/27/image_04012025_23_27_02_822249_0001.jpg
/home/pi/Desktop/images/04012025/23/27/image_04012025_23_27_02_822249_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326819771","1326819765","1326819757"],"photo_ids_order":["1326819757","1326819765","1326819771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/65082a662354ad68251ef178a23b4cc7.jpg","text":"TemporaryFile(/tmp/multipartBody7171913154869663266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029710318,"filename":"image_04012025_23_27_02_822249_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d72ac5c42893ea8d8accaf1a9570d5dd.jpg","text":"TemporaryFile(/tmp/multipartBody2497401361411792613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029710318,"filename":"image_04012025_23_27_02_822249_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c999d8125ac006da88e1ac69adf258dc.jpg","text":"TemporaryFile(/tmp/multipartBody8022657436005461413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029710318,"filename":"image_04012025_23_26_02_557356_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326819771","file1":"1326819765","file0":"1326819757"},"map_files_photo_id_array":[{"photo_id":"1326819771","filename":"file2"},{"photo_id":"1326819765","filename":"file1"},{"photo_id":"1326819757","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326819771":["hashtag1","hashtag2"]},{"1326819765":["hashtag1","hashtag2"]},{"1326819757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326819771, 1326819765, 1326819757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.10209584236145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:28:02.192740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:28:21.789486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/27/image_04012025_23_27_02_822249_0003.jpg', '/home/pi/Desktop/images/04012025/23/28/image_04012025_23_28_03_080694_0000.jpg', '/home/pi/Desktop/images/04012025/23/28/image_04012025_23_28_03_080694_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/27/image_04012025_23_27_02_822249_0003.jpg
/home/pi/Desktop/images/04012025/23/28/image_04012025_23_28_03_080694_0000.jpg
/home/pi/Desktop/images/04012025/23/28/image_04012025_23_28_03_080694_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":["1326819972","1326819974","1326819970"],"photo_ids_order":["1326819970","1326819972","1326819974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3508a2b259ab25c30c28321de9789fe0.jpg","text":"TemporaryFile(/tmp/multipartBody4682857309820611788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029769405,"filename":"image_04012025_23_28_03_080694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/81957541b4f5f8a8316593637dde94b7.jpg","text":"TemporaryFile(/tmp/multipartBody3196459030593405423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029769405,"filename":"image_04012025_23_28_03_080694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a79d2319586e1164ace51986c5895408.jpg","text":"TemporaryFile(/tmp/multipartBody6924839114522414420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029769405,"filename":"image_04012025_23_27_02_822249_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326819974","file1":"1326819972","file0":"1326819970"},"map_files_photo_id_array":[{"photo_id":"1326819974","filename":"file2"},{"photo_id":"1326819972","filename":"file1"},{"photo_id":"1326819970","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326819972":["hashtag1","hashtag2"]},{"1326819974":["hashtag1","hashtag2"]},{"1326819970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326819972, 1326819974, 1326819970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.857287406921387 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:29:02.640476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:29:21.931990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/28/image_04012025_23_28_03_080694_0002.jpg', '/home/pi/Desktop/images/04012025/23/29/image_04012025_23_29_02_133162_0000.jpg', '/home/pi/Desktop/images/04012025/23/29/image_04012025_23_29_02_133162_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/28/image_04012025_23_28_03_080694_0002.jpg
/home/pi/Desktop/images/04012025/23/29/image_04012025_23_29_02_133162_0000.jpg
/home/pi/Desktop/images/04012025/23/29/image_04012025_23_29_02_133162_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326819993","1326819997","1326820001"],"photo_ids_order":["1326819993","1326819997","1326820001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3397262ff8bd11c8eac405d4eb7b5721.jpg","text":"TemporaryFile(/tmp/multipartBody2791377943346441154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029829661,"filename":"image_04012025_23_28_03_080694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/532220194608cf1bbd3d7cad1973fe28.jpg","text":"TemporaryFile(/tmp/multipartBody4653790818549347596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029829661,"filename":"image_04012025_23_29_02_133162_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3e4bc681dcac2331044f921eb1da42e0.jpg","text":"TemporaryFile(/tmp/multipartBody5022576785677061774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029829661,"filename":"image_04012025_23_29_02_133162_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326820001","file1":"1326819997","file0":"1326819993"},"map_files_photo_id_array":[{"photo_id":"1326820001","filename":"file2"},{"photo_id":"1326819997","filename":"file1"},{"photo_id":"1326819993","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326819993":["hashtag1","hashtag2"]},{"1326819997":["hashtag1","hashtag2"]},{"1326820001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326819993, 1326819997, 1326820001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.36426639556885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:30:02.471302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:30:22.146414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/29/image_04012025_23_29_02_133162_0003.jpg', '/home/pi/Desktop/images/04012025/23/30/image_04012025_23_30_02_309851_0000.jpg', '/home/pi/Desktop/images/04012025/23/30/image_04012025_23_30_02_309851_0001.jpg', '/home/pi/Desktop/images/04012025/23/30/image_04012025_23_30_02_309851_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/29/image_04012025_23_29_02_133162_0003.jpg
/home/pi/Desktop/images/04012025/23/30/image_04012025_23_30_02_309851_0000.jpg
/home/pi/Desktop/images/04012025/23/30/image_04012025_23_30_02_309851_0001.jpg
/home/pi/Desktop/images/04012025/23/30/image_04012025_23_30_02_309851_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326820021","1326820017","1326820025","1326820019"],"photo_ids_order":["1326820017","1326820019","1326820021","1326820025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cd93cb35b9140148fac3f020b17b8a74.jpg","text":"TemporaryFile(/tmp/multipartBody1542258213142834083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029892057,"filename":"image_04012025_23_30_02_309851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9bf51aa0ea5812fa0cbdd9985858522d.jpg","text":"TemporaryFile(/tmp/multipartBody7919003639302649206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029892057,"filename":"image_04012025_23_29_02_133162_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ce2fc4147eaaebb6b523eedafc472b00.jpg","text":"TemporaryFile(/tmp/multipartBody7126151657114539583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029892057,"filename":"image_04012025_23_30_02_309851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6af1b89a8ebffb0c0d1befa7eb15cefe.jpg","text":"TemporaryFile(/tmp/multipartBody2240097474798410333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029892057,"filename":"image_04012025_23_30_02_309851_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326820021","file1":"1326820019","file0":"1326820017","file3":"1326820025"},"map_files_photo_id_array":[{"photo_id":"1326820021","filename":"file2"},{"photo_id":"1326820019","filename":"file1"},{"photo_id":"1326820017","filename":"file0"},{"photo_id":"1326820025","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326820021":["hashtag1","hashtag2"]},{"1326820017":["hashtag1","hashtag2"]},{"1326820025":["hashtag1","hashtag2"]},{"1326820019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326820021, 1326820017, 1326820025, 1326820019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.34748339653015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:31:02.951272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:31:22.336628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/30/image_04012025_23_30_02_309851_0003.jpg', '/home/pi/Desktop/images/04012025/23/31/image_04012025_23_31_02_500740_0000.jpg', '/home/pi/Desktop/images/04012025/23/31/image_04012025_23_31_02_500740_0001.jpg', '/home/pi/Desktop/images/04012025/23/31/image_04012025_23_31_02_500740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/30/image_04012025_23_30_02_309851_0003.jpg
/home/pi/Desktop/images/04012025/23/31/image_04012025_23_31_02_500740_0000.jpg
/home/pi/Desktop/images/04012025/23/31/image_04012025_23_31_02_500740_0001.jpg
/home/pi/Desktop/images/04012025/23/31/image_04012025_23_31_02_500740_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326820051","1326820050","1326820047","1326820043"],"photo_ids_order":["1326820043","1326820047","1326820050","1326820051"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/29088857e1b983b40b0c6b0b647c3b6d.jpg","text":"TemporaryFile(/tmp/multipartBody8808458999269155608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029952429,"filename":"image_04012025_23_31_02_500740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5854c18441f35bfe9bf8cda83acc7209.jpg","text":"TemporaryFile(/tmp/multipartBody645735600193558140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029952429,"filename":"image_04012025_23_31_02_500740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/40e2646de2b5dbe4834090eab644a0fc.jpg","text":"TemporaryFile(/tmp/multipartBody3808729926794499861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029952429,"filename":"image_04012025_23_31_02_500740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bfb446819d511f5cc95a46c0315f2606.jpg","text":"TemporaryFile(/tmp/multipartBody2700962725928524257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736029952429,"filename":"image_04012025_23_30_02_309851_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326820050","file1":"1326820047","file0":"1326820043","file3":"1326820051"},"map_files_photo_id_array":[{"photo_id":"1326820050","filename":"file2"},{"photo_id":"1326820047","filename":"file1"},{"photo_id":"1326820043","filename":"file0"},{"photo_id":"1326820051","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326820051":["hashtag1","hashtag2"]},{"1326820050":["hashtag1","hashtag2"]},{"1326820047":["hashtag1","hashtag2"]},{"1326820043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326820051, 1326820050, 1326820047, 1326820043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.21603798866272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:32:22.568155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/31/image_04012025_23_31_02_500740_0003.jpg', '/home/pi/Desktop/images/04012025/23/32/image_04012025_23_32_02_759821_0000.jpg', '/home/pi/Desktop/images/04012025/23/32/image_04012025_23_32_02_759821_0001.jpg', '/home/pi/Desktop/images/04012025/23/32/image_04012025_23_32_02_759821_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/31/image_04012025_23_31_02_500740_0003.jpg
/home/pi/Desktop/images/04012025/23/32/image_04012025_23_32_02_759821_0000.jpg
/home/pi/Desktop/images/04012025/23/32/image_04012025_23_32_02_759821_0001.jpg
/home/pi/Desktop/images/04012025/23/32/image_04012025_23_32_02_759821_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.62757420539856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 23:32:42.553218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/31/image_04012025_23_31_02_500740_0003.jpg', '/home/pi/Desktop/images/04012025/23/32/image_04012025_23_32_02_759821_0000.jpg', '/home/pi/Desktop/images/04012025/23/32/image_04012025_23_32_02_759821_0001.jpg', '/home/pi/Desktop/images/04012025/23/32/image_04012025_23_32_02_759821_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/31/image_04012025_23_31_02_500740_0003.jpg
/home/pi/Desktop/images/04012025/23/32/image_04012025_23_32_02_759821_0000.jpg
/home/pi/Desktop/images/04012025/23/32/image_04012025_23_32_02_759821_0001.jpg
/home/pi/Desktop/images/04012025/23/32/image_04012025_23_32_02_759821_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326820185","1326820187","1326820186","1326820189"],"photo_ids_order":["1326820185","1326820186","1326820187","1326820189"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0364793789df1da400f8d20ce82d5b86.jpg","text":"TemporaryFile(/tmp/multipartBody7280372728162999924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030032619,"filename":"image_04012025_23_31_02_500740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/da19cd368c3267bd201dd52d07cac73e.jpg","text":"TemporaryFile(/tmp/multipartBody3943378236598190189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030032619,"filename":"image_04012025_23_32_02_759821_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7583de2b0cf47738cd5997b59d053940.jpg","text":"TemporaryFile(/tmp/multipartBody5436373921682634960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030032619,"filename":"image_04012025_23_32_02_759821_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6b89fda0382ae030b4ba51b33768973e.jpg","text":"TemporaryFile(/tmp/multipartBody7448476719534096383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030032619,"filename":"image_04012025_23_32_02_759821_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326820187","file1":"1326820186","file0":"1326820185","file3":"1326820189"},"map_files_photo_id_array":[{"photo_id":"1326820187","filename":"file2"},{"photo_id":"1326820186","filename":"file1"},{"photo_id":"1326820185","filename":"file0"},{"photo_id":"1326820189","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326820185":["hashtag1","hashtag2"]},{"1326820187":["hashtag1","hashtag2"]},{"1326820186":["hashtag1","hashtag2"]},{"1326820189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326820185, 1326820187, 1326820186, 1326820189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.37547945976257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:33:22.686425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/32/image_04012025_23_32_02_759821_0003.jpg', '/home/pi/Desktop/images/04012025/23/33/image_04012025_23_33_02_853399_0000.jpg', '/home/pi/Desktop/images/04012025/23/33/image_04012025_23_33_02_853399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/32/image_04012025_23_32_02_759821_0003.jpg
/home/pi/Desktop/images/04012025/23/33/image_04012025_23_33_02_853399_0000.jpg
/home/pi/Desktop/images/04012025/23/33/image_04012025_23_33_02_853399_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326820222","1326820201","1326820224"],"photo_ids_order":["1326820201","1326820222","1326820224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a34a5230e2150ae023e7ee273b1ad749.jpg","text":"TemporaryFile(/tmp/multipartBody728798141402777787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030070215,"filename":"image_04012025_23_33_02_853399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e0f07dab1b53fe19575cf9278776d78d.jpg","text":"TemporaryFile(/tmp/multipartBody3388571253858839261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030070215,"filename":"image_04012025_23_32_02_759821_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5c4a280688ed6d55be595b038f2980dc.jpg","text":"TemporaryFile(/tmp/multipartBody2079660102855381374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030070215,"filename":"image_04012025_23_33_02_853399_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326820224","file1":"1326820222","file0":"1326820201"},"map_files_photo_id_array":[{"photo_id":"1326820224","filename":"file2"},{"photo_id":"1326820222","filename":"file1"},{"photo_id":"1326820201","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326820222":["hashtag1","hashtag2"]},{"1326820201":["hashtag1","hashtag2"]},{"1326820224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326820222, 1326820201, 1326820224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.007946491241455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:34:02.298059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:34:21.881548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/33/image_04012025_23_33_02_853399_0003.jpg', '/home/pi/Desktop/images/04012025/23/34/image_04012025_23_34_03_014958_0000.jpg', '/home/pi/Desktop/images/04012025/23/34/image_04012025_23_34_03_014958_0001.jpg', '/home/pi/Desktop/images/04012025/23/34/image_04012025_23_34_03_014958_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/33/image_04012025_23_33_02_853399_0003.jpg
/home/pi/Desktop/images/04012025/23/34/image_04012025_23_34_03_014958_0000.jpg
/home/pi/Desktop/images/04012025/23/34/image_04012025_23_34_03_014958_0001.jpg
/home/pi/Desktop/images/04012025/23/34/image_04012025_23_34_03_014958_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326820261","1326820258","1326820274","1326820256"],"photo_ids_order":["1326820256","1326820258","1326820261","1326820274"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f2629314db7ad68d3239e5ff11281c82.jpg","text":"TemporaryFile(/tmp/multipartBody5812544415717646441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030131693,"filename":"image_04012025_23_34_03_014958_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f885d08893d6d63178cc3b740e98b222.jpg","text":"TemporaryFile(/tmp/multipartBody191652643331672506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030131693,"filename":"image_04012025_23_34_03_014958_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7e0bdc5cec049d72661aa8f21c12eee1.jpg","text":"TemporaryFile(/tmp/multipartBody1184176652805219813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030131693,"filename":"image_04012025_23_34_03_014958_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d1dd5aecb5ac4d334484f923cabb4995.jpg","text":"TemporaryFile(/tmp/multipartBody4415070855852957466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030131693,"filename":"image_04012025_23_33_02_853399_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326820261","file1":"1326820258","file0":"1326820256","file3":"1326820274"},"map_files_photo_id_array":[{"photo_id":"1326820261","filename":"file2"},{"photo_id":"1326820258","filename":"file1"},{"photo_id":"1326820256","filename":"file0"},{"photo_id":"1326820274","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326820261":["hashtag1","hashtag2"]},{"1326820258":["hashtag1","hashtag2"]},{"1326820274":["hashtag1","hashtag2"]},{"1326820256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326820261, 1326820258, 1326820274, 1326820256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92197561264038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:35:02.575992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:35:21.931454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/34/image_04012025_23_34_03_014958_0003.jpg', '/home/pi/Desktop/images/04012025/23/35/image_04012025_23_35_02_299916_0000.jpg', '/home/pi/Desktop/images/04012025/23/35/image_04012025_23_35_02_299916_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/34/image_04012025_23_34_03_014958_0003.jpg
/home/pi/Desktop/images/04012025/23/35/image_04012025_23_35_02_299916_0000.jpg
/home/pi/Desktop/images/04012025/23/35/image_04012025_23_35_02_299916_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326820394","1326820373","1326820378"],"photo_ids_order":["1326820373","1326820378","1326820394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bef72aaa6f982ddbbcbebcf09c5b8cb9.jpg","text":"TemporaryFile(/tmp/multipartBody2729781696900584611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030189422,"filename":"image_04012025_23_35_02_299916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/efc88102d6eb681b0a02118f14e911f6.jpg","text":"TemporaryFile(/tmp/multipartBody7840540968762995403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030189422,"filename":"image_04012025_23_34_03_014958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3bf37bb1d586ec821cce6319e0012c48.jpg","text":"TemporaryFile(/tmp/multipartBody9102479865687574015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030189422,"filename":"image_04012025_23_35_02_299916_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326820394","file1":"1326820378","file0":"1326820373"},"map_files_photo_id_array":[{"photo_id":"1326820394","filename":"file2"},{"photo_id":"1326820378","filename":"file1"},{"photo_id":"1326820373","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326820394":["hashtag1","hashtag2"]},{"1326820373":["hashtag1","hashtag2"]},{"1326820378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326820394, 1326820373, 1326820378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.37177038192749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:36:02.682497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:36:22.229314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/35/image_04012025_23_35_02_299916_0003.jpg', '/home/pi/Desktop/images/04012025/23/36/image_04012025_23_36_02_368317_0000.jpg', '/home/pi/Desktop/images/04012025/23/36/image_04012025_23_36_02_368317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/35/image_04012025_23_35_02_299916_0003.jpg
/home/pi/Desktop/images/04012025/23/36/image_04012025_23_36_02_368317_0000.jpg
/home/pi/Desktop/images/04012025/23/36/image_04012025_23_36_02_368317_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326820658","1326820646","1326820660"],"photo_ids_order":["1326820646","1326820658","1326820660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bbfd9c83baf39a9a13192f91ca6d02c7.jpg","text":"TemporaryFile(/tmp/multipartBody6062896830590176659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030249749,"filename":"image_04012025_23_36_02_368317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9960d56a05fce9a82e95c3d96c0d65e2.jpg","text":"TemporaryFile(/tmp/multipartBody7236499639209702169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030249749,"filename":"image_04012025_23_35_02_299916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0d664155bd46d1ba010ff7a6ae4fdcba.jpg","text":"TemporaryFile(/tmp/multipartBody2516702853542672098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030249749,"filename":"image_04012025_23_36_02_368317_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326820660","file1":"1326820658","file0":"1326820646"},"map_files_photo_id_array":[{"photo_id":"1326820660","filename":"file2"},{"photo_id":"1326820658","filename":"file1"},{"photo_id":"1326820646","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326820658":["hashtag1","hashtag2"]},{"1326820646":["hashtag1","hashtag2"]},{"1326820660":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326820658, 1326820646, 1326820660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.26102638244629 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:37:02.893887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:37:22.333840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/36/image_04012025_23_36_02_368317_0003.jpg', '/home/pi/Desktop/images/04012025/23/37/image_04012025_23_37_02_582634_0000.jpg', '/home/pi/Desktop/images/04012025/23/37/image_04012025_23_37_02_582634_0001.jpg', '/home/pi/Desktop/images/04012025/23/37/image_04012025_23_37_02_582634_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/36/image_04012025_23_36_02_368317_0003.jpg
/home/pi/Desktop/images/04012025/23/37/image_04012025_23_37_02_582634_0000.jpg
/home/pi/Desktop/images/04012025/23/37/image_04012025_23_37_02_582634_0001.jpg
/home/pi/Desktop/images/04012025/23/37/image_04012025_23_37_02_582634_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326820695","1326820694","1326820693","1326820690"],"photo_ids_order":["1326820690","1326820693","1326820694","1326820695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/14547b933300f4608830ae8c54cb243b.jpg","text":"TemporaryFile(/tmp/multipartBody6575907071513938826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030312144,"filename":"image_04012025_23_37_02_582634_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/fc52eb2d429dacba81f1b5a885412dbe.jpg","text":"TemporaryFile(/tmp/multipartBody9121214462945505766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030312144,"filename":"image_04012025_23_37_02_582634_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/72ab75dcc161deebdfa5c962d38ace52.jpg","text":"TemporaryFile(/tmp/multipartBody6380169590605543285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030312144,"filename":"image_04012025_23_37_02_582634_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/7d6813cfcdece205436403a6a3ea4328.jpg","text":"TemporaryFile(/tmp/multipartBody7342553905264718887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030312144,"filename":"image_04012025_23_36_02_368317_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326820694","file1":"1326820693","file0":"1326820690","file3":"1326820695"},"map_files_photo_id_array":[{"photo_id":"1326820694","filename":"file2"},{"photo_id":"1326820693","filename":"file1"},{"photo_id":"1326820690","filename":"file0"},{"photo_id":"1326820695","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326820695":["hashtag1","hashtag2"]},{"1326820694":["hashtag1","hashtag2"]},{"1326820693":["hashtag1","hashtag2"]},{"1326820690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326820695, 1326820694, 1326820693, 1326820690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.200817346572876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:38:02.965559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:38:22.525242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/37/image_04012025_23_37_02_582634_0003.jpg', '/home/pi/Desktop/images/04012025/23/38/image_04012025_23_38_02_822784_0001.jpg', '/home/pi/Desktop/images/04012025/23/38/image_04012025_23_38_02_822784_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/37/image_04012025_23_37_02_582634_0003.jpg
/home/pi/Desktop/images/04012025/23/38/image_04012025_23_38_02_822784_0001.jpg
/home/pi/Desktop/images/04012025/23/38/image_04012025_23_38_02_822784_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.086625814437866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 23:38:32.609606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/37/image_04012025_23_37_02_582634_0003.jpg', '/home/pi/Desktop/images/04012025/23/38/image_04012025_23_38_02_822784_0001.jpg', '/home/pi/Desktop/images/04012025/23/38/image_04012025_23_38_02_822784_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/37/image_04012025_23_37_02_582634_0003.jpg
/home/pi/Desktop/images/04012025/23/38/image_04012025_23_38_02_822784_0001.jpg
/home/pi/Desktop/images/04012025/23/38/image_04012025_23_38_02_822784_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326820749","1326820739","1326820748"],"photo_ids_order":["1326820739","1326820748","1326820749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/983baf164ef0a1c0a1f0103a7eb69fd2.jpg","text":"TemporaryFile(/tmp/multipartBody8560088049531790118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030380104,"filename":"image_04012025_23_38_02_822784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b47ff854fff96624a831e1a45a4baf0c.jpg","text":"TemporaryFile(/tmp/multipartBody252475970291637292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030380104,"filename":"image_04012025_23_37_02_582634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/49a1eb0fd08bc155b0385c5583016b6c.jpg","text":"TemporaryFile(/tmp/multipartBody2527404022494854994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030380104,"filename":"image_04012025_23_38_02_822784_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326820749","file1":"1326820748","file0":"1326820739"},"map_files_photo_id_array":[{"photo_id":"1326820749","filename":"file2"},{"photo_id":"1326820748","filename":"file1"},{"photo_id":"1326820739","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326820749":["hashtag1","hashtag2"]},{"1326820739":["hashtag1","hashtag2"]},{"1326820748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326820749, 1326820739, 1326820748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.15067267417908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:39:22.741620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/38/image_04012025_23_38_02_822784_0003.jpg', '/home/pi/Desktop/images/04012025/23/39/image_04012025_23_39_02_926598_0000.jpg', '/home/pi/Desktop/images/04012025/23/39/image_04012025_23_39_02_926598_0001.jpg', '/home/pi/Desktop/images/04012025/23/39/image_04012025_23_39_02_926598_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/38/image_04012025_23_38_02_822784_0003.jpg
/home/pi/Desktop/images/04012025/23/39/image_04012025_23_39_02_926598_0000.jpg
/home/pi/Desktop/images/04012025/23/39/image_04012025_23_39_02_926598_0001.jpg
/home/pi/Desktop/images/04012025/23/39/image_04012025_23_39_02_926598_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326820794","1326820793","1326820769","1326820766"],"photo_ids_order":["1326820766","1326820769","1326820793","1326820794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1ec3f6e0cc61b474de243155680db4bd.jpg","text":"TemporaryFile(/tmp/multipartBody4910978980394689087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030432536,"filename":"image_04012025_23_39_02_926598_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1d3c1d7fc4da952527b91be670752622.jpg","text":"TemporaryFile(/tmp/multipartBody3584866045922162491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030432536,"filename":"image_04012025_23_39_02_926598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5f1d9d5434f04cc249c4446d0e769f01.jpg","text":"TemporaryFile(/tmp/multipartBody2647527417090489037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030432536,"filename":"image_04012025_23_39_02_926598_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/58066cbc288e1b9e64761a3c02b2edf2.jpg","text":"TemporaryFile(/tmp/multipartBody830179515103619652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030432536,"filename":"image_04012025_23_38_02_822784_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326820793","file1":"1326820769","file0":"1326820766","file3":"1326820794"},"map_files_photo_id_array":[{"photo_id":"1326820793","filename":"file2"},{"photo_id":"1326820769","filename":"file1"},{"photo_id":"1326820766","filename":"file0"},{"photo_id":"1326820794","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326820794":["hashtag1","hashtag2"]},{"1326820793":["hashtag1","hashtag2"]},{"1326820769":["hashtag1","hashtag2"]},{"1326820766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326820794, 1326820793, 1326820769, 1326820766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.93227553367615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:40:21.887592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/39/image_04012025_23_39_02_926598_0003.jpg', '/home/pi/Desktop/images/04012025/23/40/image_04012025_23_40_03_055177_0000.jpg', '/home/pi/Desktop/images/04012025/23/40/image_04012025_23_40_03_055177_0001.jpg', '/home/pi/Desktop/images/04012025/23/40/image_04012025_23_40_03_055177_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/39/image_04012025_23_39_02_926598_0003.jpg
/home/pi/Desktop/images/04012025/23/40/image_04012025_23_40_03_055177_0000.jpg
/home/pi/Desktop/images/04012025/23/40/image_04012025_23_40_03_055177_0001.jpg
/home/pi/Desktop/images/04012025/23/40/image_04012025_23_40_03_055177_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326820801","1326820803","1326820799","1326820805"],"photo_ids_order":["1326820799","1326820801","1326820803","1326820805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/be11ac1947ac5604d6ec3e4d93d1ab95.jpg","text":"TemporaryFile(/tmp/multipartBody3730140787000250375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030491965,"filename":"image_04012025_23_40_03_055177_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/539d329db4e6f13326b6bf2fc386b73b.jpg","text":"TemporaryFile(/tmp/multipartBody711288901706628796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030491965,"filename":"image_04012025_23_40_03_055177_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/588eb8cc738609a7a5b039e8cd0cb1c7.jpg","text":"TemporaryFile(/tmp/multipartBody6917908517741719913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030491965,"filename":"image_04012025_23_39_02_926598_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/83be96ad4032912110d9edc137534d48.jpg","text":"TemporaryFile(/tmp/multipartBody2490423246945024007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030491965,"filename":"image_04012025_23_40_03_055177_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326820803","file1":"1326820801","file0":"1326820799","file3":"1326820805"},"map_files_photo_id_array":[{"photo_id":"1326820803","filename":"file2"},{"photo_id":"1326820801","filename":"file1"},{"photo_id":"1326820799","filename":"file0"},{"photo_id":"1326820805","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326820801":["hashtag1","hashtag2"]},{"1326820803":["hashtag1","hashtag2"]},{"1326820799":["hashtag1","hashtag2"]},{"1326820805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326820801, 1326820803, 1326820799, 1326820805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.06969857215881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:41:22.135153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/40/image_04012025_23_40_03_055177_0003.jpg', '/home/pi/Desktop/images/04012025/23/41/image_04012025_23_41_02_239561_0000.jpg', '/home/pi/Desktop/images/04012025/23/41/image_04012025_23_41_02_239561_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/40/image_04012025_23_40_03_055177_0003.jpg
/home/pi/Desktop/images/04012025/23/41/image_04012025_23_41_02_239561_0000.jpg
/home/pi/Desktop/images/04012025/23/41/image_04012025_23_41_02_239561_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":["1326820815","1326820818","1326820812"],"photo_ids_order":["1326820812","1326820815","1326820818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a7c3c7e373e408e561561ec3f1038b33.jpg","text":"TemporaryFile(/tmp/multipartBody7829459418605482599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030549635,"filename":"image_04012025_23_41_02_239561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9cd9b131356bc753f50b121e8b43c427.jpg","text":"TemporaryFile(/tmp/multipartBody5872333467887219392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030549635,"filename":"image_04012025_23_41_02_239561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b88f0aa73c749fdb339d069dfa846e11.jpg","text":"TemporaryFile(/tmp/multipartBody2139463456147345443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030549635,"filename":"image_04012025_23_40_03_055177_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326820818","file1":"1326820815","file0":"1326820812"},"map_files_photo_id_array":[{"photo_id":"1326820818","filename":"file2"},{"photo_id":"1326820815","filename":"file1"},{"photo_id":"1326820812","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326820815":["hashtag1","hashtag2"]},{"1326820818":["hashtag1","hashtag2"]},{"1326820812":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326820815, 1326820818, 1326820812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.7359037399292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:42:02.657921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:42:22.215780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/41/image_04012025_23_41_02_239561_0002.jpg', '/home/pi/Desktop/images/04012025/23/42/image_04012025_23_42_02_400034_0000.jpg', '/home/pi/Desktop/images/04012025/23/42/image_04012025_23_42_02_400034_0001.jpg', '/home/pi/Desktop/images/04012025/23/42/image_04012025_23_42_02_400034_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/41/image_04012025_23_41_02_239561_0002.jpg
/home/pi/Desktop/images/04012025/23/42/image_04012025_23_42_02_400034_0000.jpg
/home/pi/Desktop/images/04012025/23/42/image_04012025_23_42_02_400034_0001.jpg
/home/pi/Desktop/images/04012025/23/42/image_04012025_23_42_02_400034_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326820842","1326820839","1326820832","1326820867"],"photo_ids_order":["1326820832","1326820839","1326820842","1326820867"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ad215483f6a233c316a109565c20b6b8.jpg","text":"TemporaryFile(/tmp/multipartBody1578612338224916443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030611993,"filename":"image_04012025_23_42_02_400034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/29ddbba53db927ebee701e5771ad8f2d.jpg","text":"TemporaryFile(/tmp/multipartBody2677240741971506439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030611993,"filename":"image_04012025_23_42_02_400034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f7df7095eeda4243f141492f927c5aa8.jpg","text":"TemporaryFile(/tmp/multipartBody1790886426681852735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030611993,"filename":"image_04012025_23_41_02_239561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b6b569502bde91561a8df125fe614c43.jpg","text":"TemporaryFile(/tmp/multipartBody3185928242017643744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030611993,"filename":"image_04012025_23_42_02_400034_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326820842","file1":"1326820839","file0":"1326820832","file3":"1326820867"},"map_files_photo_id_array":[{"photo_id":"1326820842","filename":"file2"},{"photo_id":"1326820839","filename":"file1"},{"photo_id":"1326820832","filename":"file0"},{"photo_id":"1326820867","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326820842":["hashtag1","hashtag2"]},{"1326820839":["hashtag1","hashtag2"]},{"1326820832":["hashtag1","hashtag2"]},{"1326820867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326820842, 1326820839, 1326820832, 1326820867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.03678822517395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:43:02.971089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:43:22.382961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/42/image_04012025_23_42_02_400034_0003.jpg', '/home/pi/Desktop/images/04012025/23/43/image_04012025_23_43_02_582763_0001.jpg', '/home/pi/Desktop/images/04012025/23/43/image_04012025_23_43_02_582763_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/42/image_04012025_23_42_02_400034_0003.jpg
/home/pi/Desktop/images/04012025/23/43/image_04012025_23_43_02_582763_0001.jpg
/home/pi/Desktop/images/04012025/23/43/image_04012025_23_43_02_582763_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326820886","1326820880","1326820883"],"photo_ids_order":["1326820880","1326820883","1326820886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6206c9b0fe7c50eecb01bb86360d077a.jpg","text":"TemporaryFile(/tmp/multipartBody2930706446887496330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030669917,"filename":"image_04012025_23_43_02_582763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/268034a3f312997220206a1b8c573ff5.jpg","text":"TemporaryFile(/tmp/multipartBody7499030174161680212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030669917,"filename":"image_04012025_23_42_02_400034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/a88a74af0ab5f0e96ff2a4382617e1a2.jpg","text":"TemporaryFile(/tmp/multipartBody836006097047262826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030669917,"filename":"image_04012025_23_43_02_582763_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326820886","file1":"1326820883","file0":"1326820880"},"map_files_photo_id_array":[{"photo_id":"1326820886","filename":"file2"},{"photo_id":"1326820883","filename":"file1"},{"photo_id":"1326820880","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326820886":["hashtag1","hashtag2"]},{"1326820880":["hashtag1","hashtag2"]},{"1326820883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326820886, 1326820880, 1326820883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.612736225128174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:44:03.027471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:44:22.702008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/43/image_04012025_23_43_02_582763_0003.jpg', '/home/pi/Desktop/images/04012025/23/44/image_04012025_23_44_02_764458_0000.jpg', '/home/pi/Desktop/images/04012025/23/44/image_04012025_23_44_02_764458_0001.jpg', '/home/pi/Desktop/images/04012025/23/44/image_04012025_23_44_02_764458_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/43/image_04012025_23_43_02_582763_0003.jpg
/home/pi/Desktop/images/04012025/23/44/image_04012025_23_44_02_764458_0000.jpg
/home/pi/Desktop/images/04012025/23/44/image_04012025_23_44_02_764458_0001.jpg
/home/pi/Desktop/images/04012025/23/44/image_04012025_23_44_02_764458_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326821013","1326821016","1326821018","1326821017"],"photo_ids_order":["1326821013","1326821016","1326821017","1326821018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/557cc5d775253c50cb4366220bb933f1.jpg","text":"TemporaryFile(/tmp/multipartBody5825467420017083706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030732513,"filename":"image_04012025_23_43_02_582763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/81fce34237ada18414f304595e17059c.jpg","text":"TemporaryFile(/tmp/multipartBody2465010744170530090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030732513,"filename":"image_04012025_23_44_02_764458_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/bf1fd1f661902d8e52cc0c21c01869d8.jpg","text":"TemporaryFile(/tmp/multipartBody5780777525148820450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030732513,"filename":"image_04012025_23_44_02_764458_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4b7b2585c594933e1cc7d2dcf8b96b47.jpg","text":"TemporaryFile(/tmp/multipartBody4002920505130805612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030732513,"filename":"image_04012025_23_44_02_764458_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326821017","file1":"1326821016","file0":"1326821013","file3":"1326821018"},"map_files_photo_id_array":[{"photo_id":"1326821017","filename":"file2"},{"photo_id":"1326821016","filename":"file1"},{"photo_id":"1326821013","filename":"file0"},{"photo_id":"1326821018","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326821013":["hashtag1","hashtag2"]},{"1326821016":["hashtag1","hashtag2"]},{"1326821018":["hashtag1","hashtag2"]},{"1326821017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326821013, 1326821016, 1326821018, 1326821017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.7587251663208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:45:22.792854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/44/image_04012025_23_44_02_764458_0003.jpg', '/home/pi/Desktop/images/04012025/23/45/image_04012025_23_45_02_996109_0000.jpg', '/home/pi/Desktop/images/04012025/23/45/image_04012025_23_45_02_996109_0001.jpg', '/home/pi/Desktop/images/04012025/23/45/image_04012025_23_45_02_996109_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/44/image_04012025_23_44_02_764458_0003.jpg
/home/pi/Desktop/images/04012025/23/45/image_04012025_23_45_02_996109_0000.jpg
/home/pi/Desktop/images/04012025/23/45/image_04012025_23_45_02_996109_0001.jpg
/home/pi/Desktop/images/04012025/23/45/image_04012025_23_45_02_996109_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326821058","1326821034","1326821054","1326821057"],"photo_ids_order":["1326821034","1326821054","1326821057","1326821058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/565cceb383b9caf9ba592f443d4e9681.jpg","text":"TemporaryFile(/tmp/multipartBody6965865627610084611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030792692,"filename":"image_04012025_23_45_02_996109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6485871885360e91c56592d1dcf61cff.jpg","text":"TemporaryFile(/tmp/multipartBody6776492680198956048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030792692,"filename":"image_04012025_23_44_02_764458_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5e5b38d6ebf5c5da43cc0ab1713df7b6.jpg","text":"TemporaryFile(/tmp/multipartBody3831556921143873377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030792692,"filename":"image_04012025_23_45_02_996109_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2dffe6f8db4822164a0447111686c7d0.jpg","text":"TemporaryFile(/tmp/multipartBody4548456062737522561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030792692,"filename":"image_04012025_23_45_02_996109_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326821057","file1":"1326821054","file0":"1326821034","file3":"1326821058"},"map_files_photo_id_array":[{"photo_id":"1326821057","filename":"file2"},{"photo_id":"1326821054","filename":"file1"},{"photo_id":"1326821034","filename":"file0"},{"photo_id":"1326821058","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326821058":["hashtag1","hashtag2"]},{"1326821034":["hashtag1","hashtag2"]},{"1326821054":["hashtag1","hashtag2"]},{"1326821057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326821058, 1326821034, 1326821054, 1326821057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07087206840515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:46:21.890236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/45/image_04012025_23_45_02_996109_0003.jpg', '/home/pi/Desktop/images/04012025/23/46/image_04012025_23_46_03_099653_0000.jpg', '/home/pi/Desktop/images/04012025/23/46/image_04012025_23_46_03_099653_0001.jpg', '/home/pi/Desktop/images/04012025/23/46/image_04012025_23_46_03_099653_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/45/image_04012025_23_45_02_996109_0003.jpg
/home/pi/Desktop/images/04012025/23/46/image_04012025_23_46_03_099653_0000.jpg
/home/pi/Desktop/images/04012025/23/46/image_04012025_23_46_03_099653_0001.jpg
/home/pi/Desktop/images/04012025/23/46/image_04012025_23_46_03_099653_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326821070","1326821067","1326821072","1326821068"],"photo_ids_order":["1326821067","1326821068","1326821070","1326821072"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9a143c759599f3527b3570383a90cafc.jpg","text":"TemporaryFile(/tmp/multipartBody341949599763758319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030852236,"filename":"image_04012025_23_46_03_099653_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/84c9863b87693d3be1de52c111b7806e.jpg","text":"TemporaryFile(/tmp/multipartBody6701666856227760620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030852236,"filename":"image_04012025_23_45_02_996109_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/835dac87c24a55cbef844ef45d055c07.jpg","text":"TemporaryFile(/tmp/multipartBody773964706313102857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030852236,"filename":"image_04012025_23_46_03_099653_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d637a54850c7c8af09ddffa807aa06c7.jpg","text":"TemporaryFile(/tmp/multipartBody8846490819498547876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030852236,"filename":"image_04012025_23_46_03_099653_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326821070","file1":"1326821068","file0":"1326821067","file3":"1326821072"},"map_files_photo_id_array":[{"photo_id":"1326821070","filename":"file2"},{"photo_id":"1326821068","filename":"file1"},{"photo_id":"1326821067","filename":"file0"},{"photo_id":"1326821072","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326821070":["hashtag1","hashtag2"]},{"1326821067":["hashtag1","hashtag2"]},{"1326821072":["hashtag1","hashtag2"]},{"1326821068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326821070, 1326821067, 1326821072, 1326821068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.04419255256653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:47:22.112084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/46/image_04012025_23_46_03_099653_0003.jpg', '/home/pi/Desktop/images/04012025/23/47/image_04012025_23_47_02_253027_0000.jpg', '/home/pi/Desktop/images/04012025/23/47/image_04012025_23_47_02_253027_0001.jpg', '/home/pi/Desktop/images/04012025/23/47/image_04012025_23_47_02_253027_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/46/image_04012025_23_46_03_099653_0003.jpg
/home/pi/Desktop/images/04012025/23/47/image_04012025_23_47_02_253027_0000.jpg
/home/pi/Desktop/images/04012025/23/47/image_04012025_23_47_02_253027_0001.jpg
/home/pi/Desktop/images/04012025/23/47/image_04012025_23_47_02_253027_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326821094","1326821091","1326821096","1326821092"],"photo_ids_order":["1326821091","1326821092","1326821094","1326821096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c9ba1b7cedbc148d067cf4b28345394b.jpg","text":"TemporaryFile(/tmp/multipartBody3352741467519303293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030912641,"filename":"image_04012025_23_47_02_253027_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2f48a9490c98dcdd25d822f7eb4c538e.jpg","text":"TemporaryFile(/tmp/multipartBody1119710943132159861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030912641,"filename":"image_04012025_23_46_03_099653_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/2f81fdc25f5c676cb8c97ce2ba69823a.jpg","text":"TemporaryFile(/tmp/multipartBody6861912098771387871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030912641,"filename":"image_04012025_23_47_02_253027_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3170cfbfea7497a58937f018192e9f02.jpg","text":"TemporaryFile(/tmp/multipartBody2252897767720266449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030912641,"filename":"image_04012025_23_47_02_253027_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326821094","file1":"1326821092","file0":"1326821091","file3":"1326821096"},"map_files_photo_id_array":[{"photo_id":"1326821094","filename":"file2"},{"photo_id":"1326821092","filename":"file1"},{"photo_id":"1326821091","filename":"file0"},{"photo_id":"1326821096","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326821094":["hashtag1","hashtag2"]},{"1326821091":["hashtag1","hashtag2"]},{"1326821096":["hashtag1","hashtag2"]},{"1326821092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326821094, 1326821091, 1326821096, 1326821092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.239826917648315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:48:22.291321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/47/image_04012025_23_47_02_253027_0003.jpg', '/home/pi/Desktop/images/04012025/23/48/image_04012025_23_48_02_497366_0000.jpg', '/home/pi/Desktop/images/04012025/23/48/image_04012025_23_48_02_497366_0001.jpg', '/home/pi/Desktop/images/04012025/23/48/image_04012025_23_48_02_497366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/47/image_04012025_23_47_02_253027_0003.jpg
/home/pi/Desktop/images/04012025/23/48/image_04012025_23_48_02_497366_0000.jpg
/home/pi/Desktop/images/04012025/23/48/image_04012025_23_48_02_497366_0001.jpg
/home/pi/Desktop/images/04012025/23/48/image_04012025_23_48_02_497366_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.037428379058838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-04 23:48:42.290034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/47/image_04012025_23_47_02_253027_0003.jpg', '/home/pi/Desktop/images/04012025/23/48/image_04012025_23_48_02_497366_0000.jpg', '/home/pi/Desktop/images/04012025/23/48/image_04012025_23_48_02_497366_0001.jpg', '/home/pi/Desktop/images/04012025/23/48/image_04012025_23_48_02_497366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/47/image_04012025_23_47_02_253027_0003.jpg
/home/pi/Desktop/images/04012025/23/48/image_04012025_23_48_02_497366_0000.jpg
/home/pi/Desktop/images/04012025/23/48/image_04012025_23_48_02_497366_0001.jpg
/home/pi/Desktop/images/04012025/23/48/image_04012025_23_48_02_497366_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326821292","1326821294","1326821204","1326821296"],"photo_ids_order":["1326821204","1326821292","1326821294","1326821296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/450b85c5da5d77f0cdef274150d67e63.jpg","text":"TemporaryFile(/tmp/multipartBody7975300639611868065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030992779,"filename":"image_04012025_23_48_02_497366_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ee1d93a104a30b699c95cdb2ae4576c1.jpg","text":"TemporaryFile(/tmp/multipartBody8360404983077791029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030992779,"filename":"image_04012025_23_48_02_497366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/8427f5954000a86a8756ea4d191767a6.jpg","text":"TemporaryFile(/tmp/multipartBody7992405509301445782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030992779,"filename":"image_04012025_23_47_02_253027_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ec2e3738dac1a8d5535e619d54d83c90.jpg","text":"TemporaryFile(/tmp/multipartBody2201606114412379909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736030992779,"filename":"image_04012025_23_48_02_497366_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326821294","file1":"1326821292","file0":"1326821204","file3":"1326821296"},"map_files_photo_id_array":[{"photo_id":"1326821294","filename":"file2"},{"photo_id":"1326821292","filename":"file1"},{"photo_id":"1326821204","filename":"file0"},{"photo_id":"1326821296","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326821292":["hashtag1","hashtag2"]},{"1326821294":["hashtag1","hashtag2"]},{"1326821204":["hashtag1","hashtag2"]},{"1326821296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326821292, 1326821294, 1326821204, 1326821296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.57454776763916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-04 23:49:32.442880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/48/image_04012025_23_48_02_497366_0003.jpg', '/home/pi/Desktop/images/04012025/23/49/image_04012025_23_49_02_703643_0000.jpg', '/home/pi/Desktop/images/04012025/23/49/image_04012025_23_49_02_703643_0001.jpg', '/home/pi/Desktop/images/04012025/23/49/image_04012025_23_49_02_703643_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/48/image_04012025_23_48_02_497366_0003.jpg
/home/pi/Desktop/images/04012025/23/49/image_04012025_23_49_02_703643_0000.jpg
/home/pi/Desktop/images/04012025/23/49/image_04012025_23_49_02_703643_0001.jpg
/home/pi/Desktop/images/04012025/23/49/image_04012025_23_49_02_703643_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326821305","1326821310","1326821303","1326821308"],"photo_ids_order":["1326821303","1326821305","1326821308","1326821310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e519bb8dc132dcc511f50b96ea7118bd.jpg","text":"TemporaryFile(/tmp/multipartBody7207194715918132796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031042773,"filename":"image_04012025_23_49_02_703643_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aa959a50fdeba4109b5a6acde6e496b0.jpg","text":"TemporaryFile(/tmp/multipartBody7534276032278332698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031042773,"filename":"image_04012025_23_49_02_703643_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/b5c46ef97bf62e8823610a91c5a5dbd2.jpg","text":"TemporaryFile(/tmp/multipartBody3268849824198431023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031042773,"filename":"image_04012025_23_48_02_497366_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3d95afa689cc2b808259983f0df057aa.jpg","text":"TemporaryFile(/tmp/multipartBody8858290479139048402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031042773,"filename":"image_04012025_23_49_02_703643_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326821308","file1":"1326821305","file0":"1326821303","file3":"1326821310"},"map_files_photo_id_array":[{"photo_id":"1326821308","filename":"file2"},{"photo_id":"1326821305","filename":"file1"},{"photo_id":"1326821303","filename":"file0"},{"photo_id":"1326821310","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326821305":["hashtag1","hashtag2"]},{"1326821310":["hashtag1","hashtag2"]},{"1326821303":["hashtag1","hashtag2"]},{"1326821308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326821305, 1326821310, 1326821303, 1326821308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.088667154312134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:50:22.747130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/49/image_04012025_23_49_02_703643_0003.jpg', '/home/pi/Desktop/images/04012025/23/50/image_04012025_23_50_02_827000_0000.jpg', '/home/pi/Desktop/images/04012025/23/50/image_04012025_23_50_02_827000_0001.jpg', '/home/pi/Desktop/images/04012025/23/50/image_04012025_23_50_02_827000_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/49/image_04012025_23_49_02_703643_0003.jpg
/home/pi/Desktop/images/04012025/23/50/image_04012025_23_50_02_827000_0000.jpg
/home/pi/Desktop/images/04012025/23/50/image_04012025_23_50_02_827000_0001.jpg
/home/pi/Desktop/images/04012025/23/50/image_04012025_23_50_02_827000_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326821331","1326821327","1326821330","1326821329"],"photo_ids_order":["1326821327","1326821329","1326821330","1326821331"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/63da0e91bcb2111584c4520b3facc981.jpg","text":"TemporaryFile(/tmp/multipartBody8549563816767000965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031093165,"filename":"image_04012025_23_50_02_827000_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/9c975b407d49e474504897fa4320af8d.jpg","text":"TemporaryFile(/tmp/multipartBody7343476841185288759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031093165,"filename":"image_04012025_23_49_02_703643_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/3cec1b82e25f20ed936b8ffc742718b6.jpg","text":"TemporaryFile(/tmp/multipartBody2657376869813704036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031093165,"filename":"image_04012025_23_50_02_827000_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/e51bdb8cf4db2e708de23479f836a0de.jpg","text":"TemporaryFile(/tmp/multipartBody676163922624165977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031093165,"filename":"image_04012025_23_50_02_827000_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326821330","file1":"1326821329","file0":"1326821327","file3":"1326821331"},"map_files_photo_id_array":[{"photo_id":"1326821330","filename":"file2"},{"photo_id":"1326821329","filename":"file1"},{"photo_id":"1326821327","filename":"file0"},{"photo_id":"1326821331","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326821331":["hashtag1","hashtag2"]},{"1326821327":["hashtag1","hashtag2"]},{"1326821330":["hashtag1","hashtag2"]},{"1326821329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326821331, 1326821327, 1326821330, 1326821329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.20164632797241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:51:21.837174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/50/image_04012025_23_50_02_827000_0003.jpg', '/home/pi/Desktop/images/04012025/23/51/image_04012025_23_51_03_058226_0000.jpg', '/home/pi/Desktop/images/04012025/23/51/image_04012025_23_51_03_058226_0001.jpg', '/home/pi/Desktop/images/04012025/23/51/image_04012025_23_51_03_058226_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/50/image_04012025_23_50_02_827000_0003.jpg
/home/pi/Desktop/images/04012025/23/51/image_04012025_23_51_03_058226_0000.jpg
/home/pi/Desktop/images/04012025/23/51/image_04012025_23_51_03_058226_0001.jpg
/home/pi/Desktop/images/04012025/23/51/image_04012025_23_51_03_058226_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326821355","1326821358","1326821445","1326821363"],"photo_ids_order":["1326821355","1326821358","1326821363","1326821445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ea6fbe36d68fba2304d24d5fb2873594.jpg","text":"TemporaryFile(/tmp/multipartBody4914764034356092244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031152243,"filename":"image_04012025_23_50_02_827000_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/d1a4606687e2746bd945bfeea262bc53.jpg","text":"TemporaryFile(/tmp/multipartBody5142108104824760742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031152243,"filename":"image_04012025_23_51_03_058226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/27cab1b14a1d8e01c0eebe4852d9da07.jpg","text":"TemporaryFile(/tmp/multipartBody7706414304881462511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031152243,"filename":"image_04012025_23_51_03_058226_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/640149c0fce6e0c105e45c79af20e773.jpg","text":"TemporaryFile(/tmp/multipartBody4958201949511118835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031152243,"filename":"image_04012025_23_51_03_058226_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326821363","file1":"1326821358","file0":"1326821355","file3":"1326821445"},"map_files_photo_id_array":[{"photo_id":"1326821363","filename":"file2"},{"photo_id":"1326821358","filename":"file1"},{"photo_id":"1326821355","filename":"file0"},{"photo_id":"1326821445","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326821355":["hashtag1","hashtag2"]},{"1326821358":["hashtag1","hashtag2"]},{"1326821445":["hashtag1","hashtag2"]},{"1326821363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326821355, 1326821358, 1326821445, 1326821363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.71639275550842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:52:22.035372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/51/image_04012025_23_51_03_058226_0003.jpg', '/home/pi/Desktop/images/04012025/23/52/image_04012025_23_52_02_191292_0000.jpg', '/home/pi/Desktop/images/04012025/23/52/image_04012025_23_52_02_191292_0001.jpg', '/home/pi/Desktop/images/04012025/23/52/image_04012025_23_52_02_191292_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/51/image_04012025_23_51_03_058226_0003.jpg
/home/pi/Desktop/images/04012025/23/52/image_04012025_23_52_02_191292_0000.jpg
/home/pi/Desktop/images/04012025/23/52/image_04012025_23_52_02_191292_0001.jpg
/home/pi/Desktop/images/04012025/23/52/image_04012025_23_52_02_191292_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326821490","1326821492","1326821494","1326821488"],"photo_ids_order":["1326821488","1326821490","1326821492","1326821494"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/0d03b6956d56b15ab273f71a4c7c91f4.jpg","text":"TemporaryFile(/tmp/multipartBody8771512985124302642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031212347,"filename":"image_04012025_23_52_02_191292_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5559cbd08953dc06c9c2930ccdf128ed.jpg","text":"TemporaryFile(/tmp/multipartBody6660207754749061255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031212347,"filename":"image_04012025_23_52_02_191292_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/5d2a62ec33fdd22b8081b1de06e6c500.jpg","text":"TemporaryFile(/tmp/multipartBody4235896299125060798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031212347,"filename":"image_04012025_23_52_02_191292_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/21355b27663c84b2b702f435fba7cfdb.jpg","text":"TemporaryFile(/tmp/multipartBody1442217278463191091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031212347,"filename":"image_04012025_23_51_03_058226_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326821492","file1":"1326821490","file0":"1326821488","file3":"1326821494"},"map_files_photo_id_array":[{"photo_id":"1326821492","filename":"file2"},{"photo_id":"1326821490","filename":"file1"},{"photo_id":"1326821488","filename":"file0"},{"photo_id":"1326821494","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326821490":["hashtag1","hashtag2"]},{"1326821492":["hashtag1","hashtag2"]},{"1326821494":["hashtag1","hashtag2"]},{"1326821488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326821490, 1326821492, 1326821494, 1326821488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.24023723602295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:53:22.220873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/52/image_04012025_23_52_02_191292_0003.jpg', '/home/pi/Desktop/images/04012025/23/53/image_04012025_23_53_02_365709_0000.jpg', '/home/pi/Desktop/images/04012025/23/53/image_04012025_23_53_02_365709_0001.jpg', '/home/pi/Desktop/images/04012025/23/53/image_04012025_23_53_02_365709_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/52/image_04012025_23_52_02_191292_0003.jpg
/home/pi/Desktop/images/04012025/23/53/image_04012025_23_53_02_365709_0000.jpg
/home/pi/Desktop/images/04012025/23/53/image_04012025_23_53_02_365709_0001.jpg
/home/pi/Desktop/images/04012025/23/53/image_04012025_23_53_02_365709_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326821509","1326821510","1326821504","1326821506"],"photo_ids_order":["1326821504","1326821506","1326821509","1326821510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f5eef0c31368033763436ee51acb1ff5.jpg","text":"TemporaryFile(/tmp/multipartBody1027326860771857766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031272541,"filename":"image_04012025_23_53_02_365709_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c40873fb72aa5de763617cb3b4023937.jpg","text":"TemporaryFile(/tmp/multipartBody2874330216202995587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031272541,"filename":"image_04012025_23_53_02_365709_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/c1e2f9dc01a41a41aa440a02ac762863.jpg","text":"TemporaryFile(/tmp/multipartBody8324823066903564439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031272541,"filename":"image_04012025_23_52_02_191292_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/50fae9d29a6eb43cb06f5ad6dcc12cb0.jpg","text":"TemporaryFile(/tmp/multipartBody5051247940362605562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031272541,"filename":"image_04012025_23_53_02_365709_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326821509","file1":"1326821506","file0":"1326821504","file3":"1326821510"},"map_files_photo_id_array":[{"photo_id":"1326821509","filename":"file2"},{"photo_id":"1326821506","filename":"file1"},{"photo_id":"1326821504","filename":"file0"},{"photo_id":"1326821510","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326821509":["hashtag1","hashtag2"]},{"1326821510":["hashtag1","hashtag2"]},{"1326821504":["hashtag1","hashtag2"]},{"1326821506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326821509, 1326821510, 1326821504, 1326821506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.06864356994629 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:54:22.422775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/53/image_04012025_23_53_02_365709_0003.jpg', '/home/pi/Desktop/images/04012025/23/54/image_04012025_23_54_02_572642_0000.jpg', '/home/pi/Desktop/images/04012025/23/54/image_04012025_23_54_02_572642_0001.jpg', '/home/pi/Desktop/images/04012025/23/54/image_04012025_23_54_02_572642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/53/image_04012025_23_53_02_365709_0003.jpg
/home/pi/Desktop/images/04012025/23/54/image_04012025_23_54_02_572642_0000.jpg
/home/pi/Desktop/images/04012025/23/54/image_04012025_23_54_02_572642_0001.jpg
/home/pi/Desktop/images/04012025/23/54/image_04012025_23_54_02_572642_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326821559","1326821561","1326821531","1326821533"],"photo_ids_order":["1326821531","1326821533","1326821559","1326821561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/042b53ef7edae8d011a39be08e51ada8.jpg","text":"TemporaryFile(/tmp/multipartBody5166083140879198180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031332906,"filename":"image_04012025_23_54_02_572642_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/aa440063fbaed388667616585a289957.jpg","text":"TemporaryFile(/tmp/multipartBody718160312558557203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031332906,"filename":"image_04012025_23_54_02_572642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/68b9ae51f7d25bca07a162b32e486da0.jpg","text":"TemporaryFile(/tmp/multipartBody5694199527308810775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031332906,"filename":"image_04012025_23_53_02_365709_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/6f1eef07c01e8fcb17a339e94a29301c.jpg","text":"TemporaryFile(/tmp/multipartBody1738684995382651894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031332906,"filename":"image_04012025_23_54_02_572642_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326821559","file1":"1326821533","file0":"1326821531","file3":"1326821561"},"map_files_photo_id_array":[{"photo_id":"1326821559","filename":"file2"},{"photo_id":"1326821533","filename":"file1"},{"photo_id":"1326821531","filename":"file0"},{"photo_id":"1326821561","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326821559":["hashtag1","hashtag2"]},{"1326821561":["hashtag1","hashtag2"]},{"1326821531":["hashtag1","hashtag2"]},{"1326821533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326821559, 1326821561, 1326821531, 1326821533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.466471672058105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:55:03.179497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:55:22.574600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/54/image_04012025_23_54_02_572642_0003.jpg', '/home/pi/Desktop/images/04012025/23/55/image_04012025_23_55_02_759797_0000.jpg', '/home/pi/Desktop/images/04012025/23/55/image_04012025_23_55_02_759797_0001.jpg', '/home/pi/Desktop/images/04012025/23/55/image_04012025_23_55_02_759797_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/54/image_04012025_23_54_02_572642_0003.jpg
/home/pi/Desktop/images/04012025/23/55/image_04012025_23_55_02_759797_0000.jpg
/home/pi/Desktop/images/04012025/23/55/image_04012025_23_55_02_759797_0001.jpg
/home/pi/Desktop/images/04012025/23/55/image_04012025_23_55_02_759797_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326821571","1326821573","1326821570","1326821575"],"photo_ids_order":["1326821570","1326821571","1326821573","1326821575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cd745964c9202a39fcdfd6cebd16688d.jpg","text":"TemporaryFile(/tmp/multipartBody4740519445510433070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031392967,"filename":"image_04012025_23_55_02_759797_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/62999d5b5ba9d753f8cd72078960ed29.jpg","text":"TemporaryFile(/tmp/multipartBody5873551090871882348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031392967,"filename":"image_04012025_23_55_02_759797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/cd292082a4bb53e89ea2a2df61becad0.jpg","text":"TemporaryFile(/tmp/multipartBody603974793535469871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031392967,"filename":"image_04012025_23_54_02_572642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/955c848c0816072346e2196637b4ee5a.jpg","text":"TemporaryFile(/tmp/multipartBody509695393516851560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031392967,"filename":"image_04012025_23_55_02_759797_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326821573","file1":"1326821571","file0":"1326821570","file3":"1326821575"},"map_files_photo_id_array":[{"photo_id":"1326821573","filename":"file2"},{"photo_id":"1326821571","filename":"file1"},{"photo_id":"1326821570","filename":"file0"},{"photo_id":"1326821575","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326821571":["hashtag1","hashtag2"]},{"1326821573":["hashtag1","hashtag2"]},{"1326821570":["hashtag1","hashtag2"]},{"1326821575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326821571, 1326821573, 1326821570, 1326821575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.301724672317505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:56:22.830600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/55/image_04012025_23_55_02_759797_0003.jpg', '/home/pi/Desktop/images/04012025/23/56/image_04012025_23_56_02_967151_0001.jpg', '/home/pi/Desktop/images/04012025/23/56/image_04012025_23_56_02_967151_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/55/image_04012025_23_55_02_759797_0003.jpg
/home/pi/Desktop/images/04012025/23/56/image_04012025_23_56_02_967151_0001.jpg
/home/pi/Desktop/images/04012025/23/56/image_04012025_23_56_02_967151_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326821583","1326821582","1326821585"],"photo_ids_order":["1326821582","1326821583","1326821585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/033754968f446113aa4ffc2808790c58.jpg","text":"TemporaryFile(/tmp/multipartBody8045715625878573034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031450785,"filename":"image_04012025_23_56_02_967151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/990359b19e01d1e28d12886661d121aa.jpg","text":"TemporaryFile(/tmp/multipartBody1245666457125314218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031450785,"filename":"image_04012025_23_55_02_759797_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/f798c08fd6d78c9d7c2490720426b884.jpg","text":"TemporaryFile(/tmp/multipartBody3228682575425998091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031450785,"filename":"image_04012025_23_56_02_967151_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326821585","file1":"1326821583","file0":"1326821582"},"map_files_photo_id_array":[{"photo_id":"1326821585","filename":"file2"},{"photo_id":"1326821583","filename":"file1"},{"photo_id":"1326821582","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326821583":["hashtag1","hashtag2"]},{"1326821582":["hashtag1","hashtag2"]},{"1326821585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326821583, 1326821582, 1326821585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.856534481048584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:57:02.612341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-04 23:57:21.920696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/56/image_04012025_23_56_02_967151_0003.jpg', '/home/pi/Desktop/images/04012025/23/57/image_04012025_23_57_03_136470_0000.jpg', '/home/pi/Desktop/images/04012025/23/57/image_04012025_23_57_03_136470_0001.jpg', '/home/pi/Desktop/images/04012025/23/57/image_04012025_23_57_03_136470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/56/image_04012025_23_56_02_967151_0003.jpg
/home/pi/Desktop/images/04012025/23/57/image_04012025_23_57_03_136470_0000.jpg
/home/pi/Desktop/images/04012025/23/57/image_04012025_23_57_03_136470_0001.jpg
/home/pi/Desktop/images/04012025/23/57/image_04012025_23_57_03_136470_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326821973","1326821975","1326821965","1326822084"],"photo_ids_order":["1326821965","1326821973","1326821975","1326822084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/4e450d3339f193bb929dbaa4e2a3fb05.jpg","text":"TemporaryFile(/tmp/multipartBody8740752906254517051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031512345,"filename":"image_04012025_23_57_03_136470_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/1965c435b5bee75fe7c2dbddec81be34.jpg","text":"TemporaryFile(/tmp/multipartBody3169449194824907334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031512345,"filename":"image_04012025_23_57_03_136470_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/17ca7af9a0be0c265f43da4dbfa7e655.jpg","text":"TemporaryFile(/tmp/multipartBody7659619260624470789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031512345,"filename":"image_04012025_23_56_02_967151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/4/ae6c5448316d60f0c8b2485bd29b4913.jpg","text":"TemporaryFile(/tmp/multipartBody4047723288230072567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031512345,"filename":"image_04012025_23_57_03_136470_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326821975","file1":"1326821973","file0":"1326821965","file3":"1326822084"},"map_files_photo_id_array":[{"photo_id":"1326821975","filename":"file2"},{"photo_id":"1326821973","filename":"file1"},{"photo_id":"1326821965","filename":"file0"},{"photo_id":"1326822084","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326821973":["hashtag1","hashtag2"]},{"1326821975":["hashtag1","hashtag2"]},{"1326821965":["hashtag1","hashtag2"]},{"1326822084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326821973, 1326821975, 1326821965, 1326822084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.65372443199158 secondes ---
